The utility model content
The utility model embodiment technical problem to be solved is, a kind of portable set top box testing instrument is provided, can be low-cost and realize the test of set-top box simply and easily.
In order to solve the problems of the technologies described above, the utility model embodiment provides a kind of portable set top box testing instrument, comprising:
Ethernet control chip and ethernet interface module;
According to the microprocessor that the configuration information that presets is tested set-top box to be measured, described microprocessor is to be connected to test with data of set top box to be measured with described ethernet interface module by described ethernet control chip;
Test result output module is connected with described microprocessor, and it exports the test result of described microprocessor to set-top box to be measured.
Further, also comprise: memory, be connected with described ethernet control chip with described microprocessor, wherein preset configuration information and set up microprocessor and be connected, and the described microprocessor of confession is tested set-top box according to configuration information with the data of set-top box for described ethernet control chip.
Further, also comprise: serial communication modular, be connected with described microprocessor, it is set up the exterior arrangement main frame and is connected with data between the described microprocessor, described exterior arrangement main frame by described serial communication modular to described microprocessor configuration corresponding configuration information.
Further, described memory specifically comprises:
Storage comprises the IP address, subnet mask, gateway, the IP address of set-top box to be measured, the EEPROM (Electrically Erasable Programmable Read Only Memo) of the configuration information of data answering time of this portable set top box testing instrument; And/or
Improve the data transmission bauds of described microprocessor, carry out ICP/IP protocol and handle, as the static random access memory of input and output buffering.
Further, described ethernet interface module is connected with the mixed-media network modules mixed-media of set-top box to be measured by netting twine.
Further, described test result output module comprises: the demonstration control output module that the control external display shows test results; And/or control the controlling alarm output module of outside buzzer warning.
Implement the utility model embodiment, have following beneficial effect:
Adopt cheap, microprocessor that volume is less and correspondent peripheral circuit constitute portable set top box testing instrument, finish the test of set-top box simply and easily, and be easy to carry, the problem that the volume of having avoided adopting computer PC to be brought is big unfavorablely to be carried, cost is higher, power consumption is bigger, improved testing efficiency, instrument is easy to realize, and is with low cost.
Embodiment
Below in conjunction with the accompanying drawing among the utility model embodiment, the technical scheme among the utility model embodiment is clearly and completely described, obviously, described embodiment only is the utility model part embodiment, rather than whole embodiment.Based on the embodiment in the utility model, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the utility model protection.
Seeing also Fig. 1, is that the structure of the portable set top box testing instrument of the utility model embodiment is formed schematic diagram.This portable set top box testing instrument comprises: microprocessor 1, and ethernet control chip 2, ethernet interface module 3 and test result output module 4, wherein,
Described microprocessor 1 is used for according to the configuration information that presets set-top box to be measured being tested, and described microprocessor 1 is to be connected to test with data of set top box to be measured with described ethernet interface module 3 by described ethernet control chip 2.
Described test result output module 4 is connected with described microprocessor, and it exports the test result of described microprocessor to set-top box to be measured.
Concrete, described ethernet control chip 2 is a special chip, it is used to finish the protocol conversion between the network communication module of described microprocessor 1 and set-top box to be measured, can comprise RJ-45 interface etc. in the described ethernet interface module 3, and be connected with the mixed-media network modules mixed-media of set-top box to be measured by netting twine, so that described ethernet control chip 2 can carry out communication with set-top box to be measured by described ethernet interface module 3.
Described before carrying out set top box testing, the described ethernet control chip 2 of described microprocessor 1 initialization, information such as the IP address of the IP address of the portable set top box testing instrument in the corresponding configuration information of described ethernet control chip 2 basis after initialization, subnet mask, gateway, set-top box to be measured, data answering time, setting up described microprocessor 1 by described ethernet interface module 3 is connected with data between the set-top box to be measured, and in the communication process between described microprocessor 1 and set-top box to be measured, carry out protocol conversion, correctly carry out transfer of data.1 data according to transmission of described microprocessor generate corresponding test result.
Described test result output module 4 can external display or device such as buzzer, its test result that described microprocessor 4 is generated is transferred to external display and shows, perhaps testing set-top box to be measured when having defective, then output comprises that the external buzzer of control sends the test result of the instruction that buzzing reports to the police.Specific embodiment, described test result output module 4 can comprise: the demonstration control output module that the control external display shows test results; And/or control the controlling alarm output module of outside buzzer warning.
Further, as shown in Figure 1, this portable set top box testing instrument also can comprise:
Memory 5, be connected with described ethernet control chip 2 with described microprocessor 1, wherein preset configuration information and set up microprocessor and be connected, and the described microprocessor of confession 1 is tested set-top box according to configuration information with the data of set-top box for described ethernet control chip 2.
Described memory 5 specifically can comprise:
EEPROM (Electrically Erasable Programmable Read Only Memo) EEPROM(Electrically Erasable Programmable Read-Only Memory): be used to store the IP address, subnet mask, gateway, the IP address of set-top box to be measured, the configuration information of data answering time that comprise this portable set top box testing instrument.
And/or static random access memory is static ROM (Read-Only Memory): improve the data transmission bauds of described microprocessor, carry out ICP/IP protocol and handle, cushion as input and output.
Further, as shown in Figure 1, this portable set top box testing instrument also can comprise:
Serial communication modular 6 is connected with described microprocessor 1, and it is set up the exterior arrangement main frame and is connected with data between the described microprocessor 1, described exterior arrangement main frame by described serial communication modular 6 to described microprocessor 1 configuration corresponding configuration information.
Concrete, described serial communication modular 6 can be universal serial port, can adopt the universal serial port line to realize that outside configure host is connected with this portable set top box testing instrument.The user can pass through this outside configure host, disposes the IP address that comprises this portable set top box testing instrument, subnet mask, gateway, the IP address of set-top box to be measured, configuration informations such as data answering time to described microprocessor.1 of described microprocessor stores user configured relevant configuration information into described memory 5, so that described ethernet control module 2 can be according to the IP address of the portable set top box testing instrument of the basis in the configuration information, subnet mask, gateway, information such as the IP address of set-top box to be measured are set up described microprocessor 1 and are connected with the data of set-top box to be measured, 2 of described microprocessors are tested set-top box to be measured according to information such as data answering times, and generation test result, for example, if when carrying out exchanges data between microprocessor 1 and the set-top box to be measured, if the time of set-top box return data to be measured is that response time surpasses described data answering during the time, then test result is not for passing through, and there is defective in set-top box promptly to be measured.
Description by the foregoing description the utlity model has following advantage as can be known:
Adopt cheap, microprocessor that volume is less and correspondent peripheral circuit constitute portable set top box testing instrument, finish the test of set-top box simply and easily, and be easy to carry, the problem that the volume of having avoided adopting computer PC to be brought is big unfavorablely to be carried, cost is higher, power consumption is bigger, improved testing efficiency, instrument is easy to realize, and is with low cost.
Above disclosed only is the utility model preferred embodiment, can not limit the interest field of the utility model certainly with this, and therefore the equivalent variations of being done according to the utility model claim still belongs to the scope that the utility model is contained.