CN105657415B - A kind of set-top box automatic testing method and terminal - Google Patents

A kind of set-top box automatic testing method and terminal Download PDF

Info

Publication number
CN105657415B
CN105657415B CN201610030401.0A CN201610030401A CN105657415B CN 105657415 B CN105657415 B CN 105657415B CN 201610030401 A CN201610030401 A CN 201610030401A CN 105657415 B CN105657415 B CN 105657415B
Authority
CN
China
Prior art keywords
frequency point
program
test
top box
test frequency
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.)
Active
Application number
CN201610030401.0A
Other languages
Chinese (zh)
Other versions
CN105657415A (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 Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital 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 Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201610030401.0A priority Critical patent/CN105657415B/en
Publication of CN105657415A publication Critical patent/CN105657415A/en
Application granted granted Critical
Publication of CN105657415B publication Critical patent/CN105657415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The embodiment of the invention discloses a kind of set-top box automatic testing method and terminal, applied to field of broadcast televisions.Present invention method includes:Obtain the test parameter for including test frequency point;The test frequency point is sent to code stream playback equipment, the code stream playback equipment is made to play the first program in the test frequency point;Search instruction is sent to set-top box, the test frequency point is carried in described search instruction, the set-top box is made to search for obtain second program in the test frequency point;Test result is determined according to first program and the second program.Implement the manual operations that the present invention is not need to rely on tester, the time can be saved, improve test accuracy.

Description

A kind of set-top box automatic testing method and terminal
Technical field
The present invention relates to field of broadcast televisions more particularly to a kind of set-top box automatic testing method and terminals.
Background technology
It is a connection television set and external signal that set-top box, which is also known as digital video switching box (Set Top Box, STB), The digital signal of compression can be converted into television content, and show on a television set by the equipment in source, wherein, number letter Number it can come from wire cable, satellite antenna, broadband network and terrestrial broadcasting.With digital television techniques continuous development and Maturation, DTV STB also enter huge numbers of families, and as a kind of consumer electricity of novel offer audio/video program Sub- product.
Set-top box generally has a variety of audio-video signal output ports, is needed during detection is produced to each port Output signal tested.The test of set-top box is mainly realized by manual operation at present, manual testing include with Under several aspects:
Transmitter emission parameter is set, which includes frequency, symbol rate, modulation system, coding mode;
Frequency spectrograph parameter is set, which includes frequency, symbol rate, bandwidth;
Set-top box parameter is set, which includes frequency, symbol rate, modulation system, coding mode;
Audio and video analyzer parameter is set, then by naked-eye observation, records test result.
Manual operations of the entire testing process dependent on tester is can be seen that from more than test process, spends the time Long, test accuracy is relatively low.
Invention content
An embodiment of the present invention provides a kind of set-top box automatic testing method and terminals, are not need to rely on tester's Manual operations can save the time, improve test accuracy.
First aspect of the embodiment of the present invention discloses a kind of set-top box automatic testing method, including:
Obtain the test parameter for including test frequency point;
The test frequency point is sent to code stream playback equipment, the code stream playback equipment is made to play the in the test frequency point One program;
Search instruction is sent to set-top box, the test frequency point is carried in described search instruction, the set-top box is made to exist The test frequency point is searched for obtain second program;
Test result is determined according to first program and the second program.
As an alternative embodiment, described obtain the test parameter for including test frequency point, including:
The first test frequency point and the second test frequency point are obtained, the first test frequency point is the frequency point that the set-top box is supported Set, it is described second test frequency point for the code stream playback equipment support frequency point set;
Determine the test frequency point, the test frequency point belongs to the first test frequency point and the described second test frequency point Intersection.
As an alternative embodiment, described determine test result according to first program and the second program Before, the method further includes:
Receive first program that the code stream playback equipment is sent;
Receive the second program that the set-top box is sent.
As an alternative embodiment, first program includes:TV programme quantity and/or broadcast program number Amount;The second program includes:TV programme quantity and/or broadcast program quantity;
The second program for receiving the set-top box transmission further includes:
The expandable mark language XML protocol data packet that the set-top box is sent is received, in the XML protocol data packet Include the information of the second program.
As an alternative embodiment, described obtain comprising before testing the test parameter of frequency point, the method is also Including:
User's log-in instruction is received, the log-in instruction includes login account, login password;
The login account, login password are compared with default login account, login password;
If the log-in instruction mistake, prompt message is exported, the prompt message instruction user re-enters.
Second aspect of the embodiment of the present invention discloses a kind of terminal, including:
Parameter acquiring unit, for obtaining the test parameter for including test frequency point;
First transmitting element for sending the test frequency point to code stream playback equipment, makes the code stream playback equipment exist The test frequency point plays the first program;
Second transmitting element for sending search instruction to set-top box, carries the test frequency in described search instruction Point makes the set-top box search for obtain second program in the test frequency point;
First determination unit, for determining test result according to first program and the second program.
As an alternative embodiment, the parameter acquiring unit includes:
Subelement is obtained, for obtaining the first test frequency point and the second test frequency point, the first test frequency point is described The set for the frequency point that set-top box is supported, the set of frequency point that the second test frequency point is supported for the code stream playback equipment;
Second determination unit, for determining the test frequency point, the test frequency point belong to the first test frequency point with The intersection of the second test frequency point.
As an alternative embodiment, the terminal further includes:
First receiving unit, for receiving first program that the code stream playback equipment is sent;
Second receiving unit, for receiving the second program that the set-top box is sent.
As an alternative embodiment,
First program includes:TV programme quantity and/or broadcast program quantity;The second program includes:TV Number of programs and/or broadcast program quantity;
Second receiving unit, the expandable mark language XML agreement number sent specifically for receiving the set-top box According to packet, the information of the second program is included in the XML protocol data packet.
As an alternative embodiment, the terminal further includes:
Third receiving unit, for receiving user's log-in instruction, the log-in instruction includes login account, login password;
Comparison unit, for the login account, login password to be compared with default login account, login password;
Prompt unit, in the log-in instruction mistake, exporting prompt message, prompt message instruction user's weight New input.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:By being sent out to code stream playback equipment Test frequency point is sent, code stream playback equipment is made to play the first program in the test frequency point, further, search is sent to set-top box and refers to It enables, the test frequency point is carried in search instruction, set-top box is made to search for obtain second program in above-mentioned test frequency point, then, according to Test result is determined according to above-mentioned first program and above-mentioned second program.Implement the embodiment of the present invention, be not need to rely on tester The manual operations of member, can save the time, improve test accuracy.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for this For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is the method flow schematic diagram of the embodiment of the present invention;
Fig. 2 is another method flow schematic diagram of the embodiment of the present invention;
Fig. 3 is a kind of structure diagram of terminal of the embodiment of the present invention;
Fig. 4 is the structure diagram of another terminal of the embodiment of the present invention;
Fig. 5 is the structure diagram of another terminal of the embodiment of the present invention;
Fig. 6 is a kind of schematic diagram of set-top box automatic checkout system of the embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention is made below in conjunction with attached drawing into It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention rather than whole implementation Example.Based on the embodiments of the present invention, those of ordinary skill in the art are obtained without making creative work All other embodiment, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a kind of set-top box automatic testing method and terminals, are not need to rely on tester's Manual operations can save the time, improve test accuracy.It is described in detail separately below.
In the embodiment of the present invention, terminal can include desktop computer, laptop, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) and mobile internet device (Mobile Internet Device, ) etc. MID there is the terminal of network interface, the embodiment of the present invention is not repeated subsequently.
Fig. 1 is a kind of flow diagram of set-top box automatic testing method disclosed by the embodiments of the present invention.Wherein, Fig. 1 institutes The set-top box automatic testing method shown may comprise steps of:
101st, the test parameter for including test frequency point is obtained;
In the embodiment of the present invention, test parameter can be pre-configured with, which can include N that needs to be tested A frequency point, wherein, N is the integer more than or equal to 1, which, which can also be included in each test frequency point, carries out repeating inspection The number tested specifically needs the number for carrying out duplicate test that can not be made according to actual scene flexible configuration, the embodiment of the present invention Uniqueness limits.
102nd, above-mentioned test frequency point is sent to code stream playback equipment, code stream playback equipment is made to play first in the test frequency point Program;
In the embodiment of the present invention, code stream playback equipment is connect with terminal by network interface, and code stream playback equipment is a kind of The professional equipment of digital TV transmission stream can be played, it can broadcast the program stream pre-set in a device, while may be used also The program stream fed back to terminal by network interface, while terminal can also be by network interface to the code stream playback equipment The control instruction for carrying test frequency point is sent, so as to which control stream playback equipment changes frequency point parameters, switches code stream and plays The code stream includes the first program as test program in above-mentioned code stream.
As an alternative embodiment, there are one visual application program, application programs for code stream playback equipment band A service thread can be started, by the service thread, code stream playback equipment can be caused to be connected with any station terminal It connects.
103rd, search instruction is sent to set-top box, above-mentioned test frequency point is carried in above-mentioned search instruction, set-top box is made to exist The test frequency point is searched for obtain second program;
In the embodiment of the present invention, terminal sends search instruction to set-top box, and test frequency point, machine are carried in the search instruction Top box is corresponding to change set-top box frequency point parameters after the search instruction is received, and makes modified frequency point and test frequency point Unanimously, and under the frequency point program searching is carried out.
As an alternative embodiment, terminal can send search instruction by serial ports to set-top box, can also lead to It crosses infrared sending module and sends search instruction, search instruction can also be sent by way of wireless network communication, it is specific to use Which kind of sending method, the embodiment of the present invention do not make uniqueness restriction.
As an alternative embodiment, after the search instruction for receiving terminal transmission in set-top box, set-top box pair The search instruction received is verified, and verifies the correctness of the data received, if being properly received instruction, is returned to terminal Successful identifier prompt command reception success, otherwise, one wrong identifier prompt terminal of return, which is not properly received, to be referred to It enables, subsequent terminal retransmits the search instruction.
104th, test result is determined according to above-mentioned first program and above-mentioned second program.
In the embodiment of the present invention, above-mentioned first program represents the test programme information that code stream playback equipment is sent, above-mentioned the Two programs represent the target programme information searched for of set-top box, by by above-mentioned target programme information and test programme information into Row compares, it can be deduced that test result may thereby determine that out whether the set-top box will appear the situation of program searching omission.
As an alternative embodiment, it can be carried out under the test frequency point by repeating step 103~step 104 Repeated program search process, so as to improve the test accuracy of set-top box.
In the embodiment of the present invention, set-top box searching programs information under the test frequency point can be determined by the above method Ability, while test result can be obtained, it, can be to the program searching energy of set-top box under multiple frequency points by repeating the above process Power is tested.
In the embodiment of the present invention, the described set-top box automatic testing methods of Fig. 1 are surveyed by being sent to code stream playback equipment Frequency point is tried, code stream playback equipment is made to play the first program in the test frequency point, further, search instruction is sent to set-top box, The test frequency point is carried in search instruction, set-top box is made to search for obtain second program in above-mentioned test frequency point, then, according to upper It states the first program and above-mentioned second program determines test result, be not need to rely on the manual operations of tester, can save Time improves test accuracy.
Further, as shown in Fig. 2, another method flow diagram for the embodiment of the present invention, specific as follows:
201st, user's log-in instruction is received, which includes login account, login password;
As an alternative embodiment, before using terminal automatic test program is tested, need advanced Row user login validation, can be by inputting login account, login password progress login authentication.
202nd, above-mentioned login account, login password are compared with default login account, login password;
As an alternative embodiment, after user's login account, login password is received, need in system Preset login account, login password are compared, it is determined whether exactly match.
If the 203, above-mentioned log-in instruction mistake, prompt message is exported, user is prompted to re-enter;
As an alternative embodiment, when above-mentioned log-in instruction mistake, i.e., above-mentioned login account, login password are at least In the case of having a mistake, then prompt message is exported, prompt logon error, user is needed to re-enter, returned and perform step 201。
204th, the first test frequency point and the second test frequency point are obtained, above-mentioned first test frequency point is the frequency point that set-top box is supported Set, it is above-mentioned second test frequency point for code stream playback equipment support frequency point set;
In the embodiment of the present invention, after carrying out user's checking by step 201~step 203, set-top box can be carried out Automatic detection, it is necessary first to first determine test parameter, which includes test frequency point, which is additionally included in often A test frequency point carries out the number of duplicate test.
As an alternative embodiment, set-top box and code stream playback equipment have the frequency point of each self-supporting, Ke Yitong The set for crossing the frequency point that premises automation test program obtains set-top box support tests frequency point as first, obtains code stream broadcasting and sets The set of the standby frequency point supported is as the second test frequency point, it is then possible to be surveyed according to the above-mentioned first test frequency point with above-mentioned second Examination frequency point determines test frequency point that needs to be tested.
205th, test frequency point is determined, which belongs to the friendship of above-mentioned first test frequency point and the above-mentioned second test frequency point Collection;
In the embodiment of the present invention, the set for the frequency point that set-top box is supported can be obtained by step 204, while can be obtained The set for the frequency point that code stream playback equipment is supported, the then set for the frequency point that computing set-top box is supported and the support of code stream playback equipment Frequency point intersection of sets collection, the intersection be test frequency point set.
As an alternative embodiment, the frequency point that the frequency point that set-top box is supported is supported with code stream playback equipment can lead to The type information for crossing set-top box and code stream playback equipment is downloaded from network, can also be provided by supplier.
206th, above-mentioned test frequency point is sent to code stream playback equipment, code stream playback equipment is made to play first in the test frequency point Program;
It, can be by terminal certainly after determining test frequency point by step 204~step 205 in the embodiment of the present invention Dynamicization test program sends the control instruction for carrying the test frequency point to code stream playback equipment, and code stream playback equipment receives the control Current frequency point parameters are changed after system instruction, switch code stream and play the code stream, are included in above-mentioned code stream as test First program of program.
As an alternative embodiment, extensible markup language (Extensible Markup may be used Language, XML) protocol data form sends control instruction to code stream playback equipment, realize change code stream playback equipment frequency point, Switch the operation of code stream and broadcast code flow, you can be realized by following coding:
207th, above-mentioned first program that above-mentioned code stream playback equipment is sent is received;
In the embodiment of the present invention, code stream playback equipment is connect with terminal by network interface, and code stream playback equipment is a kind of The professional equipment of digital TV transmission stream can be played, it can broadcast the program stream pre-set in a device, while may be used also The program stream is fed back to terminal by network interface, so that terminal receives the step 206 that code stream playback equipment is sent The first program played.
208th, search instruction is sent to set-top box, above-mentioned test frequency point is carried in above-mentioned search instruction, set-top box is made to exist The test frequency point is searched for obtain second program;
In the embodiment of the present invention, terminal sends search instruction to set-top box, and test frequency point, machine are carried in the search instruction Top box is corresponding to change set-top box frequency point parameters after the search instruction is received, and makes modified frequency point and test frequency point Unanimously, and under the frequency point it carries out program searching and obtains second program.
209th, the expandable mark language XML protocol data packet that receiving set up box is sent, is wrapped in the XML protocol data packet Information containing the second program;
In the embodiment of the present invention, above-mentioned first program includes:TV programme quantity and/or broadcast program quantity, above-mentioned Two programs include:TV programme quantity and/or broadcast program quantity.
As an alternative embodiment, can be connected between terminal and set-top box by serial ports, can also be by red Outer transceiver module is transmitted into row information, can also be connected with each other by way of wireless network communication, specifically using which kind of Connection mode, the embodiment of the present invention do not make uniqueness restriction.
In the embodiment of the present invention, after set-top box is searched for obtain second program, which can be sent to end Automatic test program is held, which is included in expandable mark language XML protocol data packet, passes through premises automation Test program parse the expandable mark language XML protocol data packet obtain TV programme quantity that second program includes and/or Broadcast program quantity.
210th, test result is determined according to above-mentioned first program and above-mentioned second program.
In the embodiment of the present invention, by parsing the electricity that can be obtained the first program and include to the first program received Depending on number of programs and/or broadcast program quantity, by parsing the TV that can be obtained second program and include to second program Number of programs and/or broadcast program quantity, then the TV programme quantity and/or broadcast program number by the way that second program is included The TV programme quantity and/or broadcast program quantity that amount is included with the first program, which carry out comparison, can obtain test result, if than It fits like a glove to result, then verification result is that successfully, if comparison result is not quite identical, verification result is failure, then will The TV programme quantity and/or broadcast program number that current test frequency point, program stream title, the set-top box tested is searched for Amount is recorded in the file specified.
As an alternative embodiment, it can be carried out under the test frequency point by repeating step 208~step 210 Repeated program search process, and test result is recorded in the same file specified.
In the embodiment of the present invention, set-top box searching programs information under the test frequency point can be determined by the above method Ability, while test result can be obtained, it, can be to the program searching energy of set-top box under multiple frequency points by repeating the above process Power is tested, and all test results are finally combined together to the survey that can be formed and examine set-top box searching programs information capability Examination report, for example, by being detected automatically to set-top box, the test report of output is as shown in table 1:
Table 1
In the embodiment of the present invention, the described set-top box automatic testing methods of Fig. 2 are not need to rely on the hand of tester Work operates, and can save the time, improves test accuracy.
The embodiment of the present invention additionally provides a kind of terminal, as shown in figure 3, including:
Parameter acquiring unit 301, for obtaining the test parameter for including test frequency point;
First transmitting element 302 for sending above-mentioned test frequency point to code stream playback equipment, makes code stream playback equipment at this It tests frequency point and plays the first program;
Second transmitting element 303 for sending search instruction to set-top box, carries above-mentioned test in above-mentioned search instruction Frequency point makes set-top box search for obtain second program in the test frequency point;
First determination unit 304, for determining test result according to above-mentioned first program and above-mentioned second program.
In the embodiment of the present invention, test parameter can be pre-configured with, which can include N that needs to be tested A frequency point, wherein, N is the integer more than or equal to 1, which, which can also be included in each test frequency point, carries out repeating inspection The number tested specifically needs the number for carrying out duplicate test that can not be made according to actual scene flexible configuration, the embodiment of the present invention Uniqueness limits.
In the embodiment of the present invention, code stream playback equipment is connect with terminal by network interface, and code stream playback equipment is a kind of The professional equipment of digital TV transmission stream can be played, it can broadcast the program stream pre-set in a device, while may be used also The program stream fed back to terminal by network interface, while terminal can also be by network interface to the code stream playback equipment The control instruction for carrying test frequency point is sent, so as to which control stream playback equipment changes frequency point parameters, switches code stream and plays The code stream;It can be connected, can also be transmitted by infrared transceiver module into row information, also by serial ports between terminal and set-top box It can be connected with each other by way of wireless network communication, specifically using which kind of connection mode, the embodiment of the present invention is not made Uniqueness limits.
In the embodiment of the present invention, test frequency point that needs to be tested can be obtained by parameter acquiring unit 301, then The test frequency point is sent to code stream playback equipment by the first transmitting element 302, control stream playback equipment change frequency point parameters, Switch code stream and broadcast code flow, include in the code stream and test program as first segment purpose, pass through the second transmitting element 303 Search instruction can be sent to set-top box, carries above-mentioned test frequency point in the search instruction, set-top box is receiving the search It is corresponding to change set-top box frequency point parameters after instruction, make modified frequency point consistent with test frequency point, and under the frequency point It carries out program searching and obtains the second program as target program, finally by the first determination unit 304 according to above-mentioned first segment Mesh and above-mentioned second program determine test result.
In the embodiment of the present invention, the specific implementation of each functional unit can be with the description in reference method embodiment, this The subsequent embodiment of invention will not be repeated.
In the embodiment of the present invention, the described terminals of Fig. 3 can be not need to rely on the manual operations of tester, can be with The time is saved, improves test accuracy.
Further, as shown in figure 4, Fig. 4 is the structure diagram of another terminal provided in an embodiment of the present invention.Its In, terminal shown in Fig. 4 is that terminal as shown in Figure 3 optimizes, shown in Fig. 4 compared with terminal shown in Fig. 3 Terminal can also include:
First receiving unit 305, for receiving the first program of code stream playback equipment transmission;
Second receiving unit 306, the second program sent for receiving set up box;
Third receiving unit 307, for receiving user's log-in instruction, above-mentioned log-in instruction is close including login account, login Code;
Comparison unit 308, for above-mentioned login account, login password and preset login account, login password to be carried out It compares;
Prompt unit 309 in above-mentioned log-in instruction mistake, exporting prompt message, prompts user to re-enter.
As an alternative embodiment, before using terminal automatic test program is tested, need to pass through Third receiving unit 307, comparison unit 308, prompt unit 309 carry out user login validation, and login authentication, can be with by later Automatic test is carried out to set-top box by premises automation test program.
In the embodiment of the present invention, the first program that code stream playback equipment is sent can be received by the first receiving unit 305, The second program sent by 306 receiving set up box of the second receiving unit.
In the embodiment of the present invention, the described terminals of Fig. 4 broadcast code stream by sending test frequency point to code stream playback equipment It puts equipment and plays the first program in the test frequency point, further, send search instruction to set-top box, carried in search instruction The test frequency point makes set-top box search for obtain second program in above-mentioned test frequency point, then, according to above-mentioned first program and above-mentioned Second program determines test result, is not need to rely on the manual operations of tester, can save the time, and it is accurate to improve test Degree.
Further, as shown in figure 5, Fig. 5 is the structure diagram of another terminal provided in an embodiment of the present invention.Its In, terminal shown in fig. 5 is that terminal as shown in Figure 4 optimizes, shown in Fig. 5 compared with terminal shown in Fig. 4 Terminal in, parameter acquiring unit 301 includes:
Subelement 3011 is obtained, for obtaining the first test frequency point and the second test frequency point, above-mentioned first test frequency point is The set for the frequency point that set-top box is supported, the set of frequency point that above-mentioned second test frequency point is supported for code stream playback equipment;
Second determination unit 3012, for determine test frequency point, the test frequency point belong to it is above-mentioned first test frequency point with it is upper State the intersection of the second test frequency point;
As an alternative embodiment, set-top box and code stream playback equipment have the frequency point of each self-supporting, Ke Yitong The set for the frequency point for obtaining the acquisition set-top box support of subelement 3011 is crossed as the first test frequency point, obtains code stream playback equipment branch The set for the frequency point held is as the second test frequency point, it is then possible to according to the above-mentioned first test frequency point and the above-mentioned second test frequency Point determines test frequency point that needs to be tested by the second determination unit 3012.
Further, as shown in fig. 6, Fig. 6 is a kind of showing for set-top box automatic checkout system provided in an embodiment of the present invention It is intended to.Wherein, set-top box automatic checkout system as shown in Figure 6 can include:Terminal 601, the machine being connect respectively with terminal 601 Top box 602 and code stream playback equipment 603, wherein:
Terminal 601, for sending the control instruction for carrying test frequency point to code stream playback equipment 603, control stream plays Equipment change frequency point switches code stream and plays above-mentioned code stream, while receive code stream playback equipment transmitted stream, the stream packet Containing as first segment purpose test programme information;It is additionally operable to send search instruction to set-top box 602, control set-top box carries out program Search, while the second program that the search of receiving set up box return obtains, and the first program is compared with second program, it obtains To test result;
Set-top box 602 for receiving the search instruction of the transmission of terminal 601, and carries out program under the instruction of search instruction Search, while the programme information that search is obtained is sent to terminal;
Code stream playback equipment 603, for receive terminal 601 transmission carrying test frequency point control instruction, and play with The corresponding code stream of test frequency point, while the test programme information included in the code stream is sent to terminal.
As an alternative embodiment, code stream playback equipment 603 is connect with terminal 601 by network interface, code stream Playback equipment is a kind of professional equipment that can play digital TV transmission stream, it can broadcast the section pre-set in a device Mesh stream, while the program stream can also be fed back to terminal by network interface, at the same terminal can also by network interface to The code stream playback equipment sends the control instruction for carrying test frequency point, so as to which control stream playback equipment changes frequency point parameters, cuts Escape stream and play the code stream;Can be connected between terminal 601 and set-top box 602 by serial ports, can also be by infrared receipts Hair module is transmitted into row information, can also be connected with each other by way of wireless network communication, specifically using which kind of connection Mode, the embodiment of the present invention do not make uniqueness restriction.
As an alternative embodiment, above-mentioned first program includes:TV programme quantity and/or broadcast program number Amount, above-mentioned second program include:TV programme quantity and/or broadcast program quantity.
As an alternative embodiment, terminal 601 receives the first program that code stream playback equipment 603 is sent, and solve Analysis obtains TV programme quantity and/or the broadcast program quantity that the first program includes, and 601 receiving set up box 602 of terminal is sent out The XML protocol data packet sent carries second program information in the XML protocol data packet, passes through premises automation test program It parses the XML protocol data packet and obtains TV programme quantity and/or the broadcast program quantity that second program includes, then pass through end End automatic test program includes TV programme quantity and/or broadcast program quantity that second program includes with the first program TV programme quantity and/or broadcast program quantity, which carry out comparison, can obtain test result, if comparison result fits like a glove, test Card result is that successfully, if comparison result is not quite identical, verification result is failure, then by the test currently tested frequency The file specified is recorded in the TV programme quantity and/or broadcast program quantity that point, program stream title, set-top box are searched for In.
In the embodiment of the present invention, it can be not need to rely on the manual operations of tester, Ke Yijie through the above way It saves time, improves test accuracy.
It is worth noting that, in the embodiment of above-mentioned set-top box automatic testing method and terminal, included each unit It is only divided according to function logic, but is not limited to above-mentioned division, as long as corresponding function can be realized; In addition, the specific name of each functional unit is also only to facilitate mutually distinguish, the protection domain being not intended to restrict the invention.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
In addition, one of ordinary skill in the art will appreciate that realize all or part of step in above-mentioned each method embodiment It is that relevant hardware can be instructed to complete by program, corresponding program can be stored in a kind of computer readable storage medium In, storage medium mentioned above can be flash disk, read-only memory (Read-Only Memory, ROM), random access device The various media that can store program code such as (Random Access Memory, RAM), disk or CD.
It these are only the preferable specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, it is any In the technical scope that those familiar with the art discloses in the embodiment of the present invention, the variation that can readily occur in or replace It changes, should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with the protection model of claim Subject to enclosing.

Claims (8)

1. a kind of set-top box automatic testing method, which is characterized in that including:
Obtain the test parameter for including test frequency point;
The test frequency point is sent to code stream playback equipment, the code stream playback equipment is made to play first segment in the test frequency point Mesh;
Search instruction is sent to set-top box, the test frequency point is carried in described search instruction, makes the set-top box described Test frequency point is searched for obtain second program;
Test result is determined according to first program and the second program;
It is described to obtain the test parameter for including test frequency point, including:First test frequency point and the second test frequency are downloaded by network Point, the set of frequency point that the first test frequency point is supported for the set-top box, the second test frequency point are broadcast for the code stream Put the set of the frequency point of equipment support;Determine the test frequency point, the test frequency point belongs to the first test frequency point and institute State the intersection of the second test frequency point.
2. set-top box automatic testing method according to claim 1, which is characterized in that described according to first program and institute It states before second program determines test result, the method further includes:
Receive first program that the code stream playback equipment is sent;
Receive the second program that the set-top box is sent.
3. set-top box automatic testing method according to claim 2, which is characterized in that first program includes:TV Festival Mesh number amount and/or broadcast program quantity;The second program includes:TV programme quantity and/or broadcast program quantity;
The second program for receiving the set-top box transmission further includes:
The expandable mark language XML protocol data packet that the set-top box is sent is received, is included in the XML protocol data packet The information of the second program.
4. according to set-top box automatic testing method described in claims 1 to 3 any one, which is characterized in that the acquisition includes It tests before the test parameter of frequency point, the method further includes:
User's log-in instruction is received, the log-in instruction includes login account, login password;
The login account, login password are compared with default login account, login password;
If the log-in instruction mistake, prompt message is exported, the prompt message instruction user re-enters.
5. a kind of terminal, which is characterized in that including:
Parameter acquiring unit, for obtaining the test parameter for including test frequency point;
First transmitting element for sending the test frequency point to code stream playback equipment, makes the code stream playback equipment described It tests frequency point and plays the first program;
Second transmitting element for sending search instruction to set-top box, carries the test frequency point in described search instruction, makes The set-top box is searched for obtain second program in the test frequency point;
First determination unit, for determining test result according to first program and the second program;
The parameter acquiring unit, is specifically used for:By network download first test frequency point and second test frequency point, described first The set for the frequency point that frequency point is supported for the set-top box is tested, what the second test frequency point was supported for the code stream playback equipment The set of frequency point;Determine the test frequency point, the test frequency point belongs to the first test frequency point and the described second test frequency The intersection of point.
6. terminal according to claim 5, which is characterized in that the terminal further includes:
First receiving unit, for receiving first program that the code stream playback equipment is sent;
Second receiving unit, for receiving the second program that the set-top box is sent.
7. terminal according to claim 6, which is characterized in that first program includes:TV programme quantity and/or broadcast Number of programs;The second program includes:TV programme quantity and/or broadcast program quantity;
Second receiving unit, the expandable mark language XML protocol data packet sent specifically for receiving the set-top box, The information of the second program is included in the XML protocol data packet.
8. according to terminal described in claim 5 to 7 any one, which is characterized in that the terminal further includes:
Third receiving unit, for receiving user's log-in instruction, the log-in instruction includes login account, login password;
Comparison unit, for the login account, login password to be compared with default login account, login password;
Prompt unit, in the log-in instruction mistake, exporting prompt message, the prompt message instruction user is again defeated Enter.
CN201610030401.0A 2016-01-18 2016-01-18 A kind of set-top box automatic testing method and terminal Active CN105657415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610030401.0A CN105657415B (en) 2016-01-18 2016-01-18 A kind of set-top box automatic testing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610030401.0A CN105657415B (en) 2016-01-18 2016-01-18 A kind of set-top box automatic testing method and terminal

Publications (2)

Publication Number Publication Date
CN105657415A CN105657415A (en) 2016-06-08
CN105657415B true CN105657415B (en) 2018-07-03

Family

ID=56486717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610030401.0A Active CN105657415B (en) 2016-01-18 2016-01-18 A kind of set-top box automatic testing method and terminal

Country Status (1)

Country Link
CN (1) CN105657415B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108377412B (en) * 2018-03-06 2020-10-30 海信视像科技股份有限公司 Method for judging whether channel leakage occurs during automatic channel search and television terminal
CN109936765B (en) * 2019-04-16 2021-10-22 珠海迈越信息技术有限公司 Method for automatically analyzing satellite program information of set top box

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267497B (en) * 2007-03-15 2011-08-03 深圳Tcl新技术有限公司 An automatic testing method and system for TV program search
CN102065316B (en) * 2010-10-18 2012-06-13 深圳市九洲电器有限公司 Automatic set top box level test device and method
CN102158756B (en) * 2011-04-02 2013-06-26 深圳创维数字技术股份有限公司 Set top box program searching method and set top box program searching system
CN104301785B (en) * 2014-09-05 2018-10-09 深圳创维数字技术有限公司 A kind of reminding method and relevant device of set-top box searching programs
CN104270670B (en) * 2014-09-25 2018-10-09 深圳创维数字技术有限公司 A kind of method and playback terminal of tuning

Also Published As

Publication number Publication date
CN105657415A (en) 2016-06-08

Similar Documents

Publication Publication Date Title
CN106464395B (en) The equipment for sending broadcast singal, the equipment for receiving broadcast singal, the method for sending broadcast singal and the method for receiving broadcast singal
US9620118B2 (en) Method and system for testing closed caption content of video assets
CN109451502A (en) Household appliance matches network method, network distribution device and computer readable storage medium
WO2013157440A1 (en) Reception device, reception method, transmission device, transmission method, and program
CN106105150A (en) For sending the equipment of broadcast singal, for receiving the equipment of broadcast singal, the method sending broadcast singal and the method receiving broadcast singal
CN104091423B (en) A kind of method for transmitting signals and family's order programme
US9143424B2 (en) Monitoring a content-delivery network
CN105516773A (en) Control method of television set-top box, television, remote control and television system
MX2013002021A (en) Transmission apparatus and method, reception apparatus and method, and transmission/reception system.
CN105301978B (en) A kind of connection method and mobile terminal
CN105681877A (en) Set-top box, television, platform, remote controller and method and apparatus for establishing connection
CN104378259B (en) The collection method of statistic of attribute and the corresponding management method of the collection of statistic of attribute
CN101472191A (en) Automatic test equipment and method for network TV set-top box
CN105024997A (en) Method and device for associating control terminal with controlled terminal
CN107197077B (en) Method, device and system for communication between devices
CN109379742A (en) Access method, device and storage medium of wireless local area network
CN105657415B (en) A kind of set-top box automatic testing method and terminal
CN106686639A (en) Network configuration method and device for intelligent voice interaction equipment, and related equipment
US20050039216A1 (en) Digital broadcast receiving apparatus and communication information transmission method
CN104735475B (en) Method, back-stage management server and the video on-demand system of video request program
CN104506249A (en) Method and device for realizing network configuration on wireless device, and wireless device
CN111314942B (en) Network distribution method of projection equipment, network distribution device, mobile terminal and projection equipment
CN112911327A (en) Automatic configuration method, system and storage medium for live broadcast software
CN106658081A (en) Automatic configuration method, set top box, and server
CN101674459B (en) Method, system and device for multi-media business treatment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant