CN101867499A - Method for testing quality of set top box port and writing in MAC address - Google Patents

Method for testing quality of set top box port and writing in MAC address Download PDF

Info

Publication number
CN101867499A
CN101867499A CN 201010136341 CN201010136341A CN101867499A CN 101867499 A CN101867499 A CN 101867499A CN 201010136341 CN201010136341 CN 201010136341 CN 201010136341 A CN201010136341 A CN 201010136341A CN 101867499 A CN101867499 A CN 101867499A
Authority
CN
China
Prior art keywords
top box
mac address
write
described device
network interface
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
CN 201010136341
Other languages
Chinese (zh)
Other versions
CN101867499B (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.)
Fujian Newland Communication Science Technology Co Ltd
Original Assignee
Fujian Newland Communication Science 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 Fujian Newland Communication Science Technology Co Ltd filed Critical Fujian Newland Communication Science Technology Co Ltd
Priority to CN2010101363413A priority Critical patent/CN101867499B/en
Publication of CN101867499A publication Critical patent/CN101867499A/en
Application granted granted Critical
Publication of CN101867499B publication Critical patent/CN101867499B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method for testing the quality of a set top box port and writing in an MAC address, comprising the following steps of: configuring starting MAC relevant information to be written in a set top box in one step to a special device with a PC; connecting the set top box to be tested with the device through a port; detecting the port of the set top box by the device, writing in the MAC address and checking so as to calculate the new MAC address; and simultaneously setting a multi-stage judgment condition to judge the quality the port of the set top box to be tested. The method in the invention can realize automatic detection on the set top box port, automatically finish writing in and check of the MAC address without problems of spelling errors, rewriting or missing, and greatly improve the operating efficiency.

Description

The set top box port quality is tested and is write the method for MAC Address
[technical field]
The present invention relates to a kind of embedded technology, particularly a kind of method of the set top box port quality being tested and write MAC Address.
[background technology]
Along with country more and more payes attention to the integration of three networks, also begin gradually configuration network interface as the digital TV set-top box in broadcasting and television network field, as providing powerful support for to the integration of three networks.And when producing the set-top box of band network interface, need one one of workman the manual inspection network interface quality but also needs pass through remote controller one one input MAC Address manually, the manual detection complex operation, and it is consuming time, have a strong impact on production efficiency, also occur easily wrongly writing by artificial manual input simultaneously, write problems such as weighing or fail to write.
[summary of the invention]
The technical problem to be solved in the present invention is to provide a kind of the fine or not method of testing and writing MAC Address of set top box port is realized that network interface detects automatically, finishes writing and verification of MAC Address simultaneously automatically.
The technical problem to be solved in the present invention is achieved in that a kind of method of the set top box port quality being tested and write MAC Address, utilize a device that can detect and write MAC Address to set top box port, successively be connected with PC and set-top box respectively by network interface, need write in the initial MAC relevant information auto levelizer of set-top box with the PC configuration, by this device set-top box is carried out network interface again after configuring and detect, write MAC Address and verification, thereby calculate the MAC Address that makes new advances.
Said method specifically comprises the steps:
Step 10, provide a described device that can detect and write MAC Address to set top box port, this device comprises a single-chip microcomputer master chip, and the memory, a key-press module, a reminding module and the network interface that all are connected to this single-chip microcomputer master chip;
Step 20, described device is connected with PC by netting twine, disposing this on the PC ending tool need write in the initial MAC relevant information auto levelizer of set-top box, this relevant information comprises the default mac address that set-top box is set, the mode that MAC Address increases and decreases automatically, the time-out time of junctor top box, described device stores the various parameter informations of receiving in the described memory into again, afterwards PC is pulled down from network interface;
Step 30, set-top box to be tested is connected by network interface with described device, by described device set-top box is carried out network interface and detect, write MAC Address and verification:
Described device sends bind command to the MAC Address of set-top box acquiescence that writes when producing, and waits for the order of set-top box answer successful connection:
If in the time-out time of default junctor top box, described device is not received the order of the successful connection that corresponding set-top box is beamed back, think that then set-top box does not exist or sends failure, and prompting connection failure information, this moment, whether the network interface by the manual detection set-top box was inserted again, if insert good then judge the network interface damage of set-top box;
If set-top box is beamed back the successful connection order, then described device sends corresponding M AC address to set-top box, wait for the time-out time of the corresponding junctor top box of presetting simultaneously: if after set-top box is received the MAC Address preface, they are write in the memory cell of set-top box, and connect with described device again with new MAC Address, and beam back in the new MAC Address auto levelizer, finish verification to new MAC Address; If do not receive the new MAC Address that set-top box is beamed back, then described device prompting writes the information of MAC Address failure;
After step 40, described device are received the new MAC Address that set-top box beams back, the prompting operation successful information, and this new MAC Address is write in the database of memory of described device; By the mode of described device, recalculate last MAC Address at last according to the relevant automatic increase and decrease that is provided with.
Preferable, in the described step 20, when on the PC ending tool, disposing in this initial MAC relevant information auto levelizer that need write set-top box, be to write initial MAC relevant information in batches with a plurality of set-top box of correspondence; And described to set top box port quality test and the method that writes MAC Address also comprise step 50, after the set-top box that more renews, repeating step 30 and step 40, when running into the MAC Address of originally having write, described device points out this MAC Address to exist, and the prompting user can continue to write or recomputate the MAC Address that makes new advances according to the mode of the relevant automatic increase and decrease that is provided with writes.
Preferable, described reminding module comprises at least a of display panel, buzzer and indicator light, and is display panel used in display reminding information, sounds the alarm when buzzer is used for information.
The invention has the advantages that: the inventive method can realize the automatic detection of set top box port, finishes writing and verification of MAC Address automatically simultaneously, is not easy to occur wrongly writing, and writes problems such as weighing or fail to write, and operating efficiency is greatly improved.
[description of drawings]
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the related a kind of theory structure schematic diagram that can detect and write the device of MAC Address to set top box port of the inventive method.
Fig. 2 is the schematic flow sheet of the inventive method.
[embodiment]
See also shown in Figure 1, related a kind of of the inventive method can comprise a single-chip microcomputer master chip, a memory, a key-press module, a reminding module to the device that set top box port detected and write MAC Address, and a network interface, described single-chip microcomputer master chip is connected with described memory, key-press module, reminding module, network interface respectively.Described reminding module can be display panel (as LED display panel or LCD display panel), buzzer and indicator light wherein one or more, display panel used in display reminding information; Buzzer is used for sounding the alarm when information.
Please refer to shown in Figure 2 again, the method of the set top box port quality being tested and write MAC Address of the present invention, utilize a device that can detect and write MAC Address to set top box port, successively be connected with PC and set-top box respectively by network interface, need write in the initial MAC relevant information auto levelizer of set-top box with the PC configuration, by this device set-top box is carried out network interface again after configuring and detect, write MAC Address and verification, thereby calculate the MAC Address that makes new advances.
Specifically comprise the steps:
Step 10, provide a described device that can detect and write MAC Address to set top box port;
Step 20, described device is connected with PC by netting twine, disposing this on the PC ending tool need write in the initial MAC relevant information auto levelizer of set-top box, this relevant information comprises the default mac address that set-top box is set, the mode that MAC Address increases and decreases automatically, the time-out time of junctor top box, described device stores the various parameter informations of receiving in the described memory into again, afterwards PC is pulled down from network interface;
Step 30, set-top box to be tested is connected by network interface with described device, by described device set-top box is carried out network interface and detect, write MAC Address and verification:
Described device sends bind command to the MAC Address of set-top box acquiescence that writes when producing, and waits for the order of set-top box answer successful connection:
If in the time-out time of default junctor top box, described device is not received the order of the successful connection that corresponding set-top box is beamed back, think that then set-top box does not exist or sends failure, and prompting connection failure information, this moment, whether the network interface by the manual detection set-top box was inserted again, if insert good then judge the network interface damage of set-top box;
If set-top box is beamed back the successful connection order, then described device sends corresponding M AC address to set-top box, wait for the time-out time of the corresponding junctor top box of presetting simultaneously: if after set-top box is received the MAC Address preface, they are write in the memory cell of set-top box, and connect with described device again with new MAC Address, and beam back in the new MAC Address auto levelizer, finish verification to new MAC Address; If do not receive the new MAC Address that set-top box is beamed back, then described device prompting writes the information of MAC Address failure;
After step 40, described device are received the new MAC Address that set-top box beams back, the prompting operation successful information, and this new MAC Address is write in the database of memory of described device; By the mode of described device, recalculate last MAC Address at last according to the relevant automatic increase and decrease that is provided with.
Wherein, in the described step 20, when on the PC ending tool, disposing in this initial MAC relevant information auto levelizer that need write set-top box, can write initial MAC relevant information in batches with a plurality of set-top box of correspondence, as 500, get final product corresponding 500 set-top box, can further improve efficient;
So, described to set top box port quality test and the method that writes MAC Address also comprise step 50, after the set-top box that more renews, repeating step 30 and step 40, when running into the MAC Address of originally having write, described device points out this MAC Address to exist, and the prompting user can continue to write or recomputate the MAC Address that makes new advances according to the mode of the relevant automatic increase and decrease that is provided with writes.

Claims (4)

1. one kind to set top box port quality test and write the method for MAC Address, it is characterized in that: utilize a device that can detect and write MAC Address set top box port, successively be connected with PC and set-top box respectively by network interface, need write in the initial MAC relevant information auto levelizer of set-top box with the PC configuration, by this device set-top box is carried out network interface again after configuring and detect, write MAC Address and verification, thereby calculate the MAC Address that makes new advances.
2. according to claim 1 to the fine or not method of testing and writing MAC Address of set top box port, it is characterized in that: specifically comprise the steps:
Step 10, provide a described device that can detect and write MAC Address to set top box port, this device comprises a single-chip microcomputer master chip, and the memory, a key-press module, a reminding module and the network interface that all are connected to this single-chip microcomputer master chip;
Step 20, described device is connected with PC by netting twine, disposing this on the PC ending tool need write in the initial MAC relevant information auto levelizer of set-top box, this relevant information comprises the default mac address that set-top box is set, the mode that MAC Address increases and decreases automatically, the time-out time of junctor top box, described device stores the various parameter informations of receiving in the described memory into again, afterwards PC is pulled down from network interface;
Step 30, set-top box to be tested is connected by network interface with described device, by described device set-top box is carried out network interface and detect, write MAC Address and verification:
Described device sends bind command to the MAC Address of set-top box acquiescence that writes when producing, and waits for the order of set-top box answer successful connection:
If in the time-out time of default junctor top box, described device is not received the order of the successful connection that corresponding set-top box is beamed back, think that then set-top box does not exist or sends failure, and prompting connection failure information, this moment, whether the network interface by the manual detection set-top box was inserted again, if insert good then judge the network interface damage of set-top box;
If set-top box is beamed back the successful connection order, then described device sends corresponding M AC address to set-top box, wait for the time-out time of the corresponding junctor top box of presetting simultaneously: if after set-top box is received the MAC Address preface, they are write in the memory cell of set-top box, and connect with described device again with new MAC Address, and beam back in the new MAC Address auto levelizer, finish verification to new MAC Address; If do not receive the new MAC Address that set-top box is beamed back, then described device prompting writes the information of MAC Address failure;
After step 40, described device are received the new MAC Address that set-top box beams back, the prompting operation successful information, and this new MAC Address is write in the database of memory of described device; By the mode of described device, recalculate last MAC Address at last according to the relevant automatic increase and decrease that is provided with.
3. according to claim 2 to the fine or not method of testing and writing MAC Address of set top box port, it is characterized in that:
In the described step 20, when on the PC ending tool, disposing in this initial MAC relevant information auto levelizer that need write set-top box, be to write initial MAC relevant information in batches with a plurality of set-top box of correspondence;
And described set top box port quality test and the method that writes MAC Address are also comprised
After step 50, the set-top box that more renews, repeating step 30 and step 40, when running into the MAC Address of originally having write, described device points out this MAC Address to exist, and the prompting user can continue to write or recomputate the MAC Address that makes new advances according to the mode of the relevant automatic increase and decrease that is provided with writes.
4. according to claim 2 or 3 described to set top box port quality test and write the method for MAC Address, it is characterized in that: described reminding module comprises at least a of display panel, buzzer and indicator light.
CN2010101363413A 2010-03-30 2010-03-30 Method for testing quality of set top box port and writing in MAC address Expired - Fee Related CN101867499B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101363413A CN101867499B (en) 2010-03-30 2010-03-30 Method for testing quality of set top box port and writing in MAC address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101363413A CN101867499B (en) 2010-03-30 2010-03-30 Method for testing quality of set top box port and writing in MAC address

Publications (2)

Publication Number Publication Date
CN101867499A true CN101867499A (en) 2010-10-20
CN101867499B CN101867499B (en) 2012-06-06

Family

ID=42959071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101363413A Expired - Fee Related CN101867499B (en) 2010-03-30 2010-03-30 Method for testing quality of set top box port and writing in MAC address

Country Status (1)

Country Link
CN (1) CN101867499B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103997641A (en) * 2014-05-23 2014-08-20 深圳创维数字技术股份有限公司 Interface detection device and method
CN104955026A (en) * 2015-06-11 2015-09-30 重庆蓝岸通讯技术有限公司 Method for modifying MAC addresses of Bluetooth (Personal Digital Assistant) and WiFi of PDA
CN105024883A (en) * 2015-07-27 2015-11-04 沈阳同方多媒体科技有限公司 Method and system for testing OTT (Over the Top) server connection performance

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136785A (en) * 2006-09-01 2008-03-05 鸿富锦精密工业(深圳)有限公司 Set up box address detection system and method
US7359939B2 (en) * 2002-12-06 2008-04-15 Alcatel Canada, Inc. Fast service restoration for lost IGMP leave requests
CN101257567A (en) * 2007-12-27 2008-09-03 深圳创维-Rgb电子有限公司 System and method for television set on-line burn recording MAC address

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7359939B2 (en) * 2002-12-06 2008-04-15 Alcatel Canada, Inc. Fast service restoration for lost IGMP leave requests
CN101136785A (en) * 2006-09-01 2008-03-05 鸿富锦精密工业(深圳)有限公司 Set up box address detection system and method
CN101257567A (en) * 2007-12-27 2008-09-03 深圳创维-Rgb电子有限公司 System and method for television set on-line burn recording MAC address

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103997641A (en) * 2014-05-23 2014-08-20 深圳创维数字技术股份有限公司 Interface detection device and method
CN104955026A (en) * 2015-06-11 2015-09-30 重庆蓝岸通讯技术有限公司 Method for modifying MAC addresses of Bluetooth (Personal Digital Assistant) and WiFi of PDA
CN104955026B (en) * 2015-06-11 2018-11-09 重庆蓝岸通讯技术有限公司 A kind of amending method of the bluetooth of PDA and the MAC Address of WiFi
CN105024883A (en) * 2015-07-27 2015-11-04 沈阳同方多媒体科技有限公司 Method and system for testing OTT (Over the Top) server connection performance
CN105024883B (en) * 2015-07-27 2018-07-13 沈阳同方多媒体科技有限公司 A kind of test method and system of OTT server connectivities energy

Also Published As

Publication number Publication date
CN101867499B (en) 2012-06-06

Similar Documents

Publication Publication Date Title
CN102256158B (en) Automatic testing method and system for television circuit board function
CN104199755B (en) A kind of method and system that hardware module failure is diagnosed based on indicator lamp
CN102097085B (en) Method and device for identifying system spliced by multiple display units
CN105100796A (en) Television test method, device and system
CN103793306A (en) Testing method and device for automatic startup and shutdown of electronic products
CN101867499B (en) Method for testing quality of set top box port and writing in MAC address
US12026985B2 (en) Method and apparatus for processing diagnosis data, diagnosis device and server
US20170163979A1 (en) Testing device of display devices and testing method thereof
CN106227616A (en) Method for realizing RMT automatic test in batches
CN107576518A (en) Fan testing method, device and system
CN101737909A (en) Method for setting address of indoor unit of central air conditioning system
US20090313504A1 (en) Bios test system and test method thereof
US20130314551A1 (en) Testing method and testing apparatus for television system
CN108810525B (en) Combined intelligent set top box mass production test method and system
CN104077192A (en) Test system and method
CN101995522A (en) Method and equipment for automatically testing function of mobile phone mainboard
CN201623721U (en) Device for testing set-top box network port and writing in MAC address
CN201654765U (en) Testing device
CN101286050B (en) Test instrumentation control system and method
CN111901589B (en) Automatic test system for television mainboard
CN202713532U (en) Flat television inspection debugging system based on intelligent operation system
TWI401690B (en) Flash storage apparatus and testing method and testing system thereof
US8499070B2 (en) Electronic device and method for monitoring communication within a network
CN210745405U (en) Port detector
CN202334789U (en) Test device of set-top box device

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: 20120606

Termination date: 20180330

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