CN101764918A - Method for programming MAC address into set top box - Google Patents
Method for programming MAC address into set top box Download PDFInfo
- Publication number
- CN101764918A CN101764918A CN200910188954A CN200910188954A CN101764918A CN 101764918 A CN101764918 A CN 101764918A CN 200910188954 A CN200910188954 A CN 200910188954A CN 200910188954 A CN200910188954 A CN 200910188954A CN 101764918 A CN101764918 A CN 101764918A
- Authority
- CN
- China
- Prior art keywords
- programming
- mac address
- top box
- file
- flash disk
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000012795 verification Methods 0.000 claims description 9
- 238000003780 insertion Methods 0.000 claims description 3
- 230000037431 insertion Effects 0.000 claims description 3
- 238000004519 manufacturing process Methods 0.000 abstract description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000009826 distribution Methods 0.000 description 2
- 238000010923 batch production Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a method for programming an MAC address into a set top box. The set top box comprises a USB interface. The method is characterized by comprising the following steps of: setting a programming control file into a USB flash disk in advance; and inserting the USB flash disk into the USB interface of the set top box, reading the MAC address to be programmed from the programming control file by the set top box and programming. In the invention, the MAC address required to be programmed is stored in the USB flash disk, and the set top box reads the MAC address to be programmed from the USB flash disk and automatically finishes programming; in this way, a computer does not need to be disposed when the MAC address is programmed, and the production equipment of a factory is simplified; because of no need for the operation of the computer, the operation is simplified; and moreover, software is issued, the corresponding software at the computer end does not need to be issued any more, and the error probability is reduced.
Description
Technical field
The present invention relates to the technical field of set-top box, relate in particular to a kind of in set-top box the method for programming MAC address.
Background technology
In the production process or maintenance process of set-top box, need be to every MAC Address that the set-top box programming is different, and adopt the method for serial ports programming to realize that as shown in Figure 1, the idiographic flow of this method is at present usually: 101, enter serial ports programming station; 102, connect computer and set-top box with Serial Port Line; 103, detect serial ports behind the set-top-box opening and whether receive MAC Address programming signal, if then receive MAC Address and programming MAC address in this set-top box according to this; 104, finish and return the MAC Address programming that step 101 continues next set-top box after the current programming.
Adopt the method for serial ports programming to have following defective:
1) because a programming station need dispose a computer and a distribution, thereby when adopting a plurality of stations to carry out programming simultaneously, need dispose multiple computers and Duo Gen distribution, so just take more resource.
2) complicated operation, and the situation that serial ports can't be communicated by letter often appears.
3) along with new chip solution is released, a lot of set-top box have all disposed the USB mouth, and no longer dispose serial ports, thereby need to propose new programming method.
Summary of the invention
Technical problem to be solved by this invention provide a kind of in set-top box the method for programming MAC address, save resource, the flow process that simplifies the operation reduces error rate.
For solving the problems of the technologies described above, the present invention adopts following solution:
A kind of in set-top box the method for programming MAC address, described set-top box comprises USB interface, this method comprises:
The programming control documents is set in USB flash disk in advance;
In the USB interface with described USB flash disk insertion machine top box, this set-top box reads the MAC Address for the treatment of programming and carries out programming from described programming control documents.
Wherein, the described programming control documents MAC Address tabulation that comprises the MAC Address control information and treat programming; And described set-top box is carried out corresponding modify to described MAC Address control information after the programming success.
Wherein, described programming control documents comprises identical file one and file two.
Wherein, described set-top box was also carried out CRC check respectively to described file one and file two before reading the MAC Address for the treatment of programming, if file one and file two then read the MAC Address for the treatment of programming all by verification from file one/two; If have only a file, then from file one/two, read the MAC Address for the treatment of programming with file two/one backs of correct file one/two covering check errors of verification by verification.
The present invention has following beneficial effect:
The present invention will need the MAC Address of programming to be stored in USB flash disk, and set-top box reads the MAC Address for the treatment of programming and finishes programming automatically from USB flash disk, just need not to be equipped with computer like this when programming MAC address, has simplified plant produced equipment; Owing to do not need computation, simplified operation; And releasing software no longer needs to issue corresponding computer end software, reduces error probability.
Description of drawings
Fig. 1 is the method flow diagram of available technology adopting serial ports programming;
Fig. 2 adopts USB to realize the method flow diagram of programming among the present invention;
Fig. 3 is a detail flowchart of realizing programming in the embodiments of the invention by USB.
Embodiment
Core concept of the present invention is: with the MAC Address control information and treat that the mac address information of programming is stored in the USB flash disk, when needs carry out programming, will carry out the programming of MAC Address behind the USB flash disk insertion machine top box automatically.See also Fig. 2, this method may further comprise the steps:
201, set-top box enters the programming station;
202, will treat that the USB flash disk of the MAC Address of programming is inserted into the USB interface of set-top box;
203, set-top-box opening;
204, set-top box reads the MAC Address for the treatment of programming and carries out programming automatically from USB flash disk;
205, programming success back set-top box is upgraded the MAC Address control information in the USB flash disk.
The present invention is described in further detail below in conjunction with drawings and Examples:
In the present embodiment, at first in USB flash disk, preset 2 identical programming control documents A and B in advance, wherein comprised this batch production and needed information such as the MAC Address tabulation of the MAC Address tabulation of programming and programming and MAC Address control information.Same batch of production can provide a plurality of USB flash disks simultaneously, and different MAC Address storehouse is put in the inside, realizes a plurality of stations programming MAC address simultaneously.
See also Fig. 3, the method for present embodiment specifically comprises:
301, set-top-box opening.
Is is 302, set-top box judged and had programming control documents A and B in the USB flash disk? if then continue next step; Otherwise, enter normal workflow.
303, set-top box is carried out CRC check respectively to A and B file, if two files all by verification, then continue next step; If have only a file, then continue next step behind the file with the correct file covering check errors of verification by verification.
304, file A is upgraded, make will programming MAC Address move to the storage compartments of programming.
305, the current MAC Address of programming.
306, upgrading the B file makes it identical with the A file content.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, only with reference to preferred embodiment the present invention is had been described in detail.Those of ordinary skill in the art should be appreciated that and can make amendment or be equal to replacement technical scheme of the present invention, and do not break away from the spirit and scope of technical solution of the present invention, all should be encompassed in the middle of the claim scope of the present invention.
Claims (4)
1. the method for a programming MAC address in set-top box, described set-top box comprises USB interface, it is characterized in that, this method comprises:
The programming control documents is set in USB flash disk in advance;
In the USB interface with described USB flash disk insertion machine top box, this set-top box reads the MAC Address for the treatment of programming and carries out programming from described programming control documents.
2. as claimed in claim 1 in set-top box the method for programming MAC address, it is characterized in that the MAC Address tabulation that described programming control documents comprises the MAC Address control information and treats programming; And described set-top box is carried out corresponding modify to described MAC Address control information after the programming success.
3. as claimed in claim 1 or 2 in set-top box the method for programming MAC address, described programming control documents comprises identical file one and file two.
4. as claimed in claim 3 in set-top box the method for programming MAC address, described set-top box was also carried out CRC check respectively to described file one and file two before reading the MAC Address for the treatment of programming, if file one and file two then read the MAC Address for the treatment of programming all by verification from file one/two; If have only a file, then from file one/two, read the MAC Address for the treatment of programming with file two/one backs of correct file one/two covering check errors of verification by verification.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910188954A CN101764918A (en) | 2009-12-16 | 2009-12-16 | Method for programming MAC address into set top box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910188954A CN101764918A (en) | 2009-12-16 | 2009-12-16 | Method for programming MAC address into set top box |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101764918A true CN101764918A (en) | 2010-06-30 |
Family
ID=42495893
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910188954A Pending CN101764918A (en) | 2009-12-16 | 2009-12-16 | Method for programming MAC address into set top box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101764918A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102231852A (en) * | 2011-05-06 | 2011-11-02 | 深圳市九洲电器有限公司 | Method and device for programming serial number of set-top box |
CN102306502A (en) * | 2011-05-20 | 2012-01-04 | 广州视源电子科技有限公司 | Method and system for burning common interface PLUS (CI PLUS) certificate |
CN102831933A (en) * | 2012-08-23 | 2012-12-19 | 广东长虹电子有限公司 | Method for automatically burning MAC address through USB |
CN103220578A (en) * | 2013-03-26 | 2013-07-24 | 深圳市九洲电器有限公司 | High-safety set top box and production method and system thereof |
CN105553744A (en) * | 2015-12-31 | 2016-05-04 | 西安诺瓦电子科技有限公司 | Production method of singlechip-based network equipment |
CN106878486A (en) * | 2017-03-06 | 2017-06-20 | 郑州云海信息技术有限公司 | A kind of method and system for preventing Onboard NIC MAC Address from being changed |
-
2009
- 2009-12-16 CN CN200910188954A patent/CN101764918A/en active Pending
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102231852A (en) * | 2011-05-06 | 2011-11-02 | 深圳市九洲电器有限公司 | Method and device for programming serial number of set-top box |
CN102231852B (en) * | 2011-05-06 | 2014-05-28 | 深圳市九洲电器有限公司 | Method and device for programming serial number of set-top box |
CN102306502A (en) * | 2011-05-20 | 2012-01-04 | 广州视源电子科技有限公司 | Method and system for burning common interface PLUS (CI PLUS) certificate |
CN102306502B (en) * | 2011-05-20 | 2015-12-16 | 广州视源电子科技股份有限公司 | Method and system for burning CI PLUS certificate |
CN102831933A (en) * | 2012-08-23 | 2012-12-19 | 广东长虹电子有限公司 | Method for automatically burning MAC address through USB |
CN103220578A (en) * | 2013-03-26 | 2013-07-24 | 深圳市九洲电器有限公司 | High-safety set top box and production method and system thereof |
CN103220578B (en) * | 2013-03-26 | 2016-03-09 | 深圳市九洲电器有限公司 | A kind of high safe machine top box and production method, system |
CN105553744A (en) * | 2015-12-31 | 2016-05-04 | 西安诺瓦电子科技有限公司 | Production method of singlechip-based network equipment |
CN105553744B (en) * | 2015-12-31 | 2019-01-29 | 西安诺瓦电子科技有限公司 | A kind of production method of the SCM Based network equipment |
CN106878486A (en) * | 2017-03-06 | 2017-06-20 | 郑州云海信息技术有限公司 | A kind of method and system for preventing Onboard NIC MAC Address from being changed |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101764918A (en) | Method for programming MAC address into set top box | |
US9329992B2 (en) | Data storage device and flash memory control method | |
US20130185484A1 (en) | File programming method and associated device for nand flash | |
CN106067321A (en) | Be suitable to the controller that memory program suspends-recovers | |
US20150146486A1 (en) | Data Storage Device and Flash Memory Control Method | |
CN101271396A (en) | Electronic device and method for on-line updating firmware | |
CN103324503A (en) | Data programming system and method | |
CN102637461B (en) | Start method supporting bad block flash memory scanning | |
CN104809018B (en) | A kind of method and system of built-in system software injection hot patch | |
CN103135941B (en) | The management method of in-line memory, in-line memory and electronic equipment | |
CN102597975A (en) | One-time programmable memory device and methods thereof | |
CN102104800B (en) | Method and system for burning serial number of set-top box | |
CN111176665B (en) | High-capacity emmc mirror image manufacturing method and device | |
CN103778964A (en) | Processing and using method, device and system for NAND Flash programmed data, | |
US20130067142A1 (en) | Flash memory storage device and method of judging problem storage regions thereof | |
CN103092634A (en) | Set-top box software upgrading method for multiple flash devices | |
CN101790027A (en) | Writing method of sequence number of set top box | |
CN1833289A (en) | Hub component for connection to one or more memory modules | |
CN101388256B (en) | Controller and method for generating Low-level error-correction code for a memory device | |
CN104133743A (en) | Method and device for burning file into EMMC (Embedded MultiMedia Card) | |
CN105072441A (en) | Set-top-box software detection method | |
CN103809988A (en) | Information processing method and electronic device | |
CN101510948A (en) | Method for updating set-top box software | |
US20110154162A1 (en) | Data writing method for a flash memory, and flash memory controller and flash memory storage apparatus using the same | |
CN103680638B (en) | Flash memory controller and flash memory control method |
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 |
Application publication date: 20100630 |