CN102231852A - Method and device for programming serial number of set-top box - Google Patents

Method and device for programming serial number of set-top box Download PDF

Info

Publication number
CN102231852A
CN102231852A CN2011101166091A CN201110116609A CN102231852A CN 102231852 A CN102231852 A CN 102231852A CN 2011101166091 A CN2011101166091 A CN 2011101166091A CN 201110116609 A CN201110116609 A CN 201110116609A CN 102231852 A CN102231852 A CN 102231852A
Authority
CN
China
Prior art keywords
programming
top box
sequence number
data
memory device
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
CN2011101166091A
Other languages
Chinese (zh)
Other versions
CN102231852B (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.)
Shenzhen Jiuzhou Electric Appliance Co Ltd
Original Assignee
Shenzhen Jiuzhou Electric Appliance 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 Shenzhen Jiuzhou Electric Appliance Co Ltd filed Critical Shenzhen Jiuzhou Electric Appliance Co Ltd
Priority to CN201110116609.1A priority Critical patent/CN102231852B/en
Publication of CN102231852A publication Critical patent/CN102231852A/en
Application granted granted Critical
Publication of CN102231852B publication Critical patent/CN102231852B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Read Only Memory (AREA)

Abstract

The invention is applicable to the technical field of set-top boxes, provides a method for programming a serial number of a set-top box. The method comprises the following steps of pre-writing a programming document in an external memory device, wherein the programming document comprises at least one valid programming data; electrically connecting the external memory device with the set-top box; reading the programming document by the set-top box, obtaining valid first programming data; extracting the serial number from the first programming data by the set-top box, and writing the serial number in the set-top box; and setting the first programming data in the programming document to be invalid. In the invention, the programming process of the serial number is finished based on a memory device interface of the set-top box, the serial number that is not programmed is obtained according to the programming state of the programming data in the programming document of the external memory device, and after programming, the programming data corresponding to the programming document is set to be invalid, thus the serial number programming step is simplified, the manufacturing cost of the set-top box is reduced, and the production efficiency is increased.

Description

A kind of sequence number of set top box programming method and device
Technical field
The invention belongs to the set-top box technique field, relate in particular to a kind of sequence number of set top box programming method and device.
Background technology
The sequence number of set-top box has generally included the information such as production firm, production batch, model classification and fuselage number of set-top box, and with fixing data format programming in flash (flash) memory of set-top box.Because the sequence number of set-top box can identify a set-top box uniquely, so all plays an important role aspect its production in set-top box, maintenance, operation and the monitoring.
Existing sequence number of set top box programming method is based on the set-top box realization of communicating by letter with computer by serial, as shown in Figure 1, the serial number data that prestored in computer storehouse, the programming of sequence number must depend on the transfer of data of computer operation and serial port data line and finish, computer and set-top box all must possess the RS232 interface that is used to connect serial port data line, and all must connect debugging through serial ports before each operation, processing speed is slow, directly causes the production efficiency of set-top box low.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of sequence number of set top box programming method, is intended to solve existing sequence number of set top box programming program complexity, inefficiency, and the problem that needs to add burn writing equipment.
The embodiment of the invention is achieved in that a kind of sequence number of set top box programming method, and described method comprises the steps:
In advance the programming file is write in the external memory device, described programming file has comprised at least one effective programming data;
Described external memory device is electrically connected with set-top box;
Set-top box reads described programming file, obtains effective first programming data;
Set-top box goes out sequence number from the described first programming extracting data, and described sequence number is write set-top box;
It is invalid that the first programming data described in the described programming file are set to.
Another purpose of the embodiment of the invention is to provide a kind of sequence number of set top box programming device, and described device comprises:
The programming data capture unit is used to read the programming file, obtains effective first programming data;
The sequence number extraction unit is used for going out sequence number from the described first programming extracting data;
Sequence number programming unit, the sequence number that is used for extracting writes set-top box.
The storage device interface that the embodiment of the invention carries based on set-top box itself is finished the programming process of sequence number, by reading the programming file in the external memory device, obtain wherein without effective programming data of crossing programming and extract wherein sequence number, to finish the programming process of sequence number, simultaneously, it is invalid in the programming file these programming data to be changed to, and has simplified sequence number programming step thus, has improved production efficiency.
Description of drawings
Fig. 1 is the sequence number of set top box programming method schematic diagram that prior art provides;
Fig. 2 is the flow chart of the sequence number of set top box programming method that provides of first embodiment of the invention;
Fig. 3 is the external structure of the sequence number of set top box programming device that provides of second embodiment of the invention;
Fig. 4 is the cut-away view of the sequence number of set top box programming device that provides of second embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The storage device interface that the embodiment of the invention carries based on set-top box itself is finished the programming process of sequence number, by reading the programming file in the external memory device, obtain wherein without effective programming data of crossing programming and extract wherein sequence number, to finish the programming process of sequence number, simultaneously, it is invalid in the programming file these programming data to be changed to, and has simplified sequence number programming step thus, has improved production efficiency.
Fig. 2 shows the realization flow of the sequence number of set top box programming method that first embodiment of the invention provides, and details are as follows.
In step S201, in advance the programming file is write in the external memory device, this programming file has comprised at least one effective programming data.
Be used for the programming file of writing sequence number and can be directly be stored in the external memory device that is applicable to set top box interface with the form or the extended formatting of text, equipment such as smart card, USB flash disk, portable hard drive and storage card for example, to make full use of the mobile portability of above-mentioned external memory device, and the existing interface by set-top box carries out programming work, do not need additionally to utilize serial port data line, needn't be subject to peripheral hardwares such as computer yet and assist the programming work of finishing.
In embodiments of the present invention, above-mentioned programming file is the set of a plurality of programming data, and each programming data has all comprised a sequence number and a programming mode bit, this programming mode bit can be positioned at beginning, end or other ad-hoc locations of programming data, by with corresponding programming state position 0 or put 1 identify in these programming data sequence number whether programming go into other set-top box, if it is invalid that the programming mode bit is labeled as, show that then other set-top box are gone in the sequence number programming in these programming data.If the programming mode bit is labeled as effectively, show that then the sequence number in these programming data can be gone into current set-top box by programming.
For example, the programming data of having added the programming mode bit are antina050000010, wherein, " antina " is production firm, and " 05 " is production batch, " 000001 " is for producing numbering, last position is the programming mode bit, and programming state position 1 represents these programming data effective, puts 0 and represents these programming data invalid, the current state of then programming data antina05000001 is effectively, can be gone into current set-top box by programming.
In embodiments of the present invention, the programming data programming mode bit in the initial programming file that generates all is set to effectively, represents the programming data in the current programming file all not pass through programming.
In step S202, should be electrically connected with set-top box by external memory device.
In step S203, set-top box reads the programming file in the external storage, obtains effective first programming data.
In embodiments of the present invention, whether effective by the programming mode bit in the identification programming data, thus learn whether its corresponding programming data have passed through programming.Effectively the obtain manner of programming data can obtain the effective programming data of current first programming mode bit in order from the programming file, in order to carry out sequence number of set top box programming work.
In embodiments of the present invention, the programming file can be stored with a fixing filename, in set-top box with after external memory device is electrically connected, by detecting the file that whether contains particular file name and form in the external memory device, to determine whether this external memory device comprises the programming file.When set-top box detects when comprising the programming file in the external memory device, then learn and to carry out sequence number programming work.
As one embodiment of the present of invention, detecting after external memory device comprised the programming file, also need to detect this set-top box and whether possessed an effective sequence number, if, then be not need to carry out following steps, promptly do not need to carry out the programming work of sequence number.It is sequence number legal, that obtain manufacturer or operator's approval that this effective sequence number refers to sequence number in the current set-top box.
Simultaneously, detecting after this set-top box do not possess an effective sequence number, whether the sequence number that set-top box also needs to detect in these programming data is effective sequence number, goes into invalid sequence number to avoid programming.
In step S204, set-top box goes out sequence number from the first programming extracting data that gets access to, and this sequence number is write set-top box.
According to the effective programming data of the programming mode bit that in step S203, obtains, extract the sequence number in these programming data, and its programming is gone into the ad-hoc location in the flash memory of set-top box, thereby finish the programming work of sequence number of set top box.
In step S205, it is invalid that these first programming data are set to.
In embodiments of the present invention, the programming state position of programming data in the programming file by will carrying out programming is invalid, to reach the purpose of synchronous renewal programming file, thus, when next set-top box is carried out the sequence number programming by this programming file, then can not get access to the programming data of having passed through programming.
Fig. 3 and Fig. 4 are respectively the external structure and the cut-away view of the sequence number of set top box programming device that second embodiment of the invention provides, and for convenience of explanation, only show the part relevant with present embodiment.
With reference to Fig. 3, this sequence number of set top box programming device is positioned at set-top box, can be for running on the unit of hardware cell, software unit or software and hardware combining in the set-top box, its external storage device interface by set-top box reads the programming file in the external memory device, and by the ordered sequence programming that will the extract flash memory to the set-top box, to finish the programming work of sequence number.
With reference to Fig. 4, this sequence number of set top box programming device has comprised:
Programming data capture unit 41 by reading the programming file in the external memory device, obtains effective first programming data.
In embodiments of the present invention, can from the programming file that is stored in external memory device, obtain the effective programming data of current first programming mode bit in order, in order to carry out sequence number of set top box programming work.This external memory device has comprised equipment such as smart card, USB flash disk, portable hard drive and storage card, made full use of the mobile portability of above-mentioned external memory device, and carry out the work of reading of programming by the existing interface of set-top box, do not need additionally to utilize serial port data line, needn't be subject to peripheral hardwares such as computer yet and assist the programming work of finishing.
Sequence number extraction unit 42 goes out sequence number from the first programming extracting data of obtaining.
The sequence number programming of extracting is gone into the flash memory of set-top box in sequence number programming unit 43.
In embodiments of the present invention, after getting access to effective programming data by programming data capture unit 41, its programming mode bit is removed in the programming data of obtaining by sequence number extraction unit 42, to extract corresponding sequence number, and this sequence number programming is gone into ad-hoc location in the flash memory of set-top box by sequence number programming unit 43, thereby finish the programming work of sequence number of set top box.
This set-top box also comprises:
Memory device detecting unit 44, it detects whether comprise the programming file in the external memory device.
Sequence number detection unit 45, its memory device detecting unit 44 detect comprised the programming file in the memory device after, whether comprise an effective sequence number in the machines top box, whether the sequence number that detects programming data in the programming file simultaneously effective.In embodiments of the present invention, effectively sequence number refers to that sequence number is a sequence number legal, that obtain manufacturer or operator's approval in the current set-top box.
The storage device interface that the embodiment of the invention carries based on set-top box itself is finished the programming process of sequence number, it is according to the programming mode bit of programming data in the external memory device programming file, judge the validity of programming data, get access to thus without the sequence number of crossing programming, set-top box is carried out the sequence number programming, and after programming, corresponding programming data in the programming file are changed to invalidly, simplified sequence number programming step thus, reduce the set-top box production cost, improved production efficiency.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. a sequence number of set top box programming method is characterized in that described method comprises the steps:
In advance the programming file is write in the external memory device, described programming file has comprised at least one effective programming data;
Described external memory device is electrically connected with set-top box;
Set-top box reads described programming file, obtains effective first programming data;
Set-top box goes out sequence number from the described first programming extracting data, and described sequence number is write set-top box;
It is invalid that the first programming data described in the described programming file are set to.
2. the method for claim 1 is characterized in that, each described programming data all comprises a sequence number and a programming mode bit.
3. method as claimed in claim 2 is characterized in that, whether described programming mode bit is used for its corresponding programming data of mark effective.
4. the method for claim 1 is characterized in that, described external memory device comprises smart card, USB flash disk, portable hard drive and storage card.
5. sequence number of set top box programming device is characterized in that described device comprises:
The programming data capture unit is used to read the programming file, obtains effective first programming data;
The sequence number extraction unit is used for going out sequence number from the described first programming extracting data;
Sequence number programming unit, the sequence number that is used for extracting writes set-top box.
6. device as claimed in claim 5 is characterized in that, described device also comprises:
The memory device detecting unit is used for detecting the external memory device that is electrically connected with set-top box and whether comprises the programming file.
7. device as claimed in claim 5 is characterized in that, described device also comprises:
The sequence number detection unit is used for the machines top box and whether comprises an effective sequence number, and whether the sequence number that also is used for detecting described programming file programming data is effective.
CN201110116609.1A 2011-05-06 2011-05-06 Method and device for programming serial number of set-top box Expired - Fee Related CN102231852B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110116609.1A CN102231852B (en) 2011-05-06 2011-05-06 Method and device for programming serial number of set-top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110116609.1A CN102231852B (en) 2011-05-06 2011-05-06 Method and device for programming serial number of set-top box

Publications (2)

Publication Number Publication Date
CN102231852A true CN102231852A (en) 2011-11-02
CN102231852B CN102231852B (en) 2014-05-28

Family

ID=44844377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110116609.1A Expired - Fee Related CN102231852B (en) 2011-05-06 2011-05-06 Method and device for programming serial number of set-top box

Country Status (1)

Country Link
CN (1) CN102231852B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102495740A (en) * 2011-11-16 2012-06-13 康佳集团股份有限公司 Method for updating MAC (Media Access Control) address, HDCPKEY (High-bandwidth Digital Content Protection Key) and television ID (Identity) by utilizing mobile storage equipment
CN102522119A (en) * 2011-12-14 2012-06-27 广东长虹电子有限公司 Method and digital device for intelligently burning HDCP (High-bandwidth Digital-content Copy Protection) KEY
CN102622190A (en) * 2012-02-15 2012-08-01 青岛海信电器股份有限公司 On-line write-in method for product identifying information and electronic product
CN102831933A (en) * 2012-08-23 2012-12-19 广东长虹电子有限公司 Method for automatically burning MAC address through USB
CN103176820A (en) * 2013-02-27 2013-06-26 深圳创维数字技术股份有限公司 Burning method for software
CN103220578A (en) * 2013-03-26 2013-07-24 深圳市九洲电器有限公司 High-safety set top box and production method and system thereof
CN103677885A (en) * 2012-09-21 2014-03-26 厦门雅迅网络股份有限公司 ARM FLASH simple program programming method
CN104469501A (en) * 2014-10-27 2015-03-25 福建新大陆通信科技股份有限公司 Set top box automatic set-up method based on serial communication protocol
CN105224831A (en) * 2015-09-29 2016-01-06 深圳市九洲电器有限公司 Terminal Equipment Identifier method for writing data and system
CN105426940A (en) * 2015-12-17 2016-03-23 福建新大陆通信科技股份有限公司 Automatic factory production method and system for set-top boxes
CN106131687A (en) * 2016-06-21 2016-11-16 深圳创维-Rgb电子有限公司 Data burning method and device
CN106792015A (en) * 2016-11-30 2017-05-31 广东九联科技股份有限公司 A kind of programming serial number of set-top box method and device
CN107613406A (en) * 2017-09-27 2018-01-19 深圳市九洲电器有限公司 A kind of set top box number of writing method and system
CN107609415A (en) * 2017-09-26 2018-01-19 重庆市珞宾信息技术有限公司 A kind of equipment Serial Number write protection method
CN107943492A (en) * 2017-11-28 2018-04-20 四川长虹电器股份有限公司 It is a kind of based on method of the USB flash disk to embedded product write sequence number
CN111651173A (en) * 2020-06-11 2020-09-11 深圳创维-Rgb电子有限公司 Key code data burning method and device, terminal equipment and readable storage medium
CN114173196A (en) * 2021-11-05 2022-03-11 深圳市华曦达科技股份有限公司 Data burning method and device and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764918A (en) * 2009-12-16 2010-06-30 康佳集团股份有限公司 Method for programming MAC address into set top box
CN101790027A (en) * 2010-02-05 2010-07-28 广东九联科技股份有限公司 Writing method of sequence number of set top box
CN102104800A (en) * 2009-12-22 2011-06-22 康佳集团股份有限公司 Method and system for burning serial number of set-top box

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764918A (en) * 2009-12-16 2010-06-30 康佳集团股份有限公司 Method for programming MAC address into set top box
CN102104800A (en) * 2009-12-22 2011-06-22 康佳集团股份有限公司 Method and system for burning serial number of set-top box
CN101790027A (en) * 2010-02-05 2010-07-28 广东九联科技股份有限公司 Writing method of sequence number of set top box

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102495740A (en) * 2011-11-16 2012-06-13 康佳集团股份有限公司 Method for updating MAC (Media Access Control) address, HDCPKEY (High-bandwidth Digital Content Protection Key) and television ID (Identity) by utilizing mobile storage equipment
CN102522119A (en) * 2011-12-14 2012-06-27 广东长虹电子有限公司 Method and digital device for intelligently burning HDCP (High-bandwidth Digital-content Copy Protection) KEY
CN102622190A (en) * 2012-02-15 2012-08-01 青岛海信电器股份有限公司 On-line write-in method for product identifying information and electronic product
CN102622190B (en) * 2012-02-15 2018-09-04 青岛海信电器股份有限公司 The online wiring method of product identification information and electronic product
CN102831933A (en) * 2012-08-23 2012-12-19 广东长虹电子有限公司 Method for automatically burning MAC address through USB
CN103677885A (en) * 2012-09-21 2014-03-26 厦门雅迅网络股份有限公司 ARM FLASH simple program programming method
CN103176820B (en) * 2013-02-27 2016-08-03 深圳创维数字技术有限公司 A kind of method for burn-recording of software
CN103176820A (en) * 2013-02-27 2013-06-26 深圳创维数字技术股份有限公司 Burning method for software
CN103220578B (en) * 2013-03-26 2016-03-09 深圳市九洲电器有限公司 A kind of high safe machine top box and production method, system
CN103220578A (en) * 2013-03-26 2013-07-24 深圳市九洲电器有限公司 High-safety set top box and production method and system thereof
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
CN105224831B (en) * 2015-09-29 2018-06-15 深圳市九洲电器有限公司 Terminal Equipment Identifier method for writing data and system
CN105224831A (en) * 2015-09-29 2016-01-06 深圳市九洲电器有限公司 Terminal Equipment Identifier method for writing data and system
CN105426940A (en) * 2015-12-17 2016-03-23 福建新大陆通信科技股份有限公司 Automatic factory production method and system for set-top boxes
CN106131687A (en) * 2016-06-21 2016-11-16 深圳创维-Rgb电子有限公司 Data burning method and device
CN106792015A (en) * 2016-11-30 2017-05-31 广东九联科技股份有限公司 A kind of programming serial number of set-top box method and device
CN107609415A (en) * 2017-09-26 2018-01-19 重庆市珞宾信息技术有限公司 A kind of equipment Serial Number write protection method
CN107613406A (en) * 2017-09-27 2018-01-19 深圳市九洲电器有限公司 A kind of set top box number of writing method and system
CN107943492A (en) * 2017-11-28 2018-04-20 四川长虹电器股份有限公司 It is a kind of based on method of the USB flash disk to embedded product write sequence number
CN111651173A (en) * 2020-06-11 2020-09-11 深圳创维-Rgb电子有限公司 Key code data burning method and device, terminal equipment and readable storage medium
CN111651173B (en) * 2020-06-11 2024-03-26 深圳创维-Rgb电子有限公司 Key code data burning method and device, terminal equipment and readable storage medium
CN114173196A (en) * 2021-11-05 2022-03-11 深圳市华曦达科技股份有限公司 Data burning method and device and computer readable storage medium

Also Published As

Publication number Publication date
CN102231852B (en) 2014-05-28

Similar Documents

Publication Publication Date Title
CN102231852B (en) Method and device for programming serial number of set-top box
CN106708421A (en) Data storage device and data maintenance method thereof
CN104346296A (en) Data storage device and voltage protection method thereof
CN101859604A (en) Utilization method of flash memory bad block
CN101794261B (en) Mapping table data recovery method and device
CN204347876U (en) Based on RFID Work tool intelligent management apapratus
CN103823642A (en) Method and system used for Flash balance storage
US20120166706A1 (en) Data management method, memory controller and embedded memory storage apparatus using the same
CN101567220A (en) Bad block identifying method, storage system and controller thereof for flash memory
CN102955751A (en) Storer storage device, storer controller and data write-in method
CN102902626B (en) Block management method, Memory Controller and memorizer memory devices
CN103810440B (en) Access system and method
CN102915209A (en) Storage control chip, storage equipment and system data writing method
CN102629212A (en) Method for indirectly programming to NANDFLASH based on J-LINK
CN110109043A (en) Electric energy meter detection method, detection terminal and computer readable storage medium
CN103856365A (en) Automatic testing method and system of client terminal access equipment
CN102306502A (en) Method and system for burning common interface PLUS (CI PLUS) certificate
CN102890617A (en) Memory control method, memory controller and memory storage device
CN102402485B (en) Method for detecting parameters of NANDFLASH
CN101710237B (en) Equipment production flow using flash memory as storage medium
CN101533372B (en) Data accessing system
CN100476782C (en) Data processing method of memory card
CN102591738A (en) Data management method, memory controller and embedded memory storage device
CN102508728A (en) Error detection and read method of goal document solidified on FLASH carrier
CN101533373B (en) Data accessing system

Legal Events

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

Granted publication date: 20140528

Termination date: 20180506