CN104918043A - Program broadcast testing method and device - Google Patents

Program broadcast testing method and device Download PDF

Info

Publication number
CN104918043A
CN104918043A CN201410090002.4A CN201410090002A CN104918043A CN 104918043 A CN104918043 A CN 104918043A CN 201410090002 A CN201410090002 A CN 201410090002A CN 104918043 A CN104918043 A CN 104918043A
Authority
CN
China
Prior art keywords
target program
recognition feature
testing
program
top box
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
CN201410090002.4A
Other languages
Chinese (zh)
Other versions
CN104918043B (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.)
Bo Hui Science And Technology Co Ltd Of Beijing
Original Assignee
Bo Hui Science And Technology Co Ltd Of Beijing
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 Bo Hui Science And Technology Co Ltd Of Beijing filed Critical Bo Hui Science And Technology Co Ltd Of Beijing
Priority to CN201410090002.4A priority Critical patent/CN104918043B/en
Publication of CN104918043A publication Critical patent/CN104918043A/en
Application granted granted Critical
Publication of CN104918043B publication Critical patent/CN104918043B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a program broadcast testing method and device. The method is used for testing programs of an IPTV service system through a set top box. The method includes the following steps of: obtaining a broadcast testing request, wherein the broadcast testing request contains at least one target program identifier; controlling the set top box to switch a target program corresponding to the target program identifier according to the broadcast testing request; obtaining interactive information transmitted between the set top box and the IPTV service system; and testing the broadcast situation of the target program according to the interactive information so as to obtain testing results. Compared with the prior art, interferences which are caused by a situation in which a set top box is operation manually and the broadcast situation of a program is tested through subjective judgment can be eliminated, and testing efficiency is high, and the testing results has high accuracy.

Description

Program dial testing method and device
Technical field
The present invention relates to TV technology, particularly relate to a kind of program dial testing method and device.
Background technology
IPTV(Internet Protocol Television, interconnection protocol TV) refer to TV broadcasting service based on IP agreement.IPTV service refer to provided to user by IP bearer network, can support that the TV programme of interaction capabilities is live, video request program, time shifting broadcasting (also claiming direct broadcast time-shift) and other various applied business business general name.IPTV service can provide Video service by broadband network to user using television set or personal computer as display terminal, information page is browsed and value-added service.The user terminal of IPTV service can be Set Top Box (Set-Top-Box, STB), also can be personal computer (Personal Computer, PC).
The end user of IPTV service is spectators, and can the experience of spectators determine IPTV service and carry out smoothly.In IPTV service evolution, to attraction, cling user and have higher requirements, so IPTV system almost has the program request of newly reaching the standard grade every day or reviews program.But the subject matter that IPTV service operator faces is after business is reached the standard grade, some business may be there is to reach the standard grade unsuccessful situation, the program causing user can't see newly reaching the standard grade or can only at EPG(Electronic Program Guide, electronic program list) in see the programm name of newly reaching the standard grade, and actual program request or the programme content of newly reaching the standard grade cannot be watched when watching.
For the problems referred to above, current operator mainly relies on artificial in different location execute-in-place Set Top Box, testing is carried out to the new program of reaching the standard grade, namely manually click the new program of reaching the standard grade one by one and carry out broadcasting test, by subjective judgement determination program availability, there is the low problem that cannot ensure with test result reliability of testing efficiency in this manual dial testing method.
Summary of the invention
A kind of program dial testing method and device is provided, to solve manual testing program Problems existing in IPTV service in the embodiment of the present invention.
In order to solve the problems of the technologies described above, the embodiment of the invention discloses following technical scheme:
A kind of program dial testing method, for being tested by the program of Set Top Box to IPTV service system, described method comprises:
Obtain testing request, in described testing request, include at least one target program identification;
According to described testing request, controller top box is switched to the target program corresponding with target program identification;
Obtain the interactive information transmitted between described Set Top Box and IPTV service system;
Test according to the broadcasting situation of described interactive information to described target program, obtain test result.
Preferably, described controller top box is switched to the target program corresponding with target program identification, comprising:
Obtain the testing script of program in described IPTV system;
Generate the button operation instruction corresponding with described target program identification according to described testing script, at least comprise in described testing script: enter button operation instruction during each program in each page in described IPTV or described IPTV system;
Described button operation instruction transformation is become corresponding infrared control signal;
Described infrared control signal is sent to described Set Top Box, is switched to described target program to make described Set Top Box.
Preferably, the described button operation instruction corresponding with described target program identification according to described testing script generation, comprising:
Obtain the current state residing for described Set Top Box, described current state comprises: broadcast program, display electronic program EPG, display IPTV system homepage or display setting options;
The button operation instruction being used for described Set Top Box being switched to target program by described current state is generated according to described testing script.
Preferably, describedly to test according to the broadcasting situation of described interactive information to described target program, obtain test result, comprising:
Timing is started after receiving described infrared control signal;
Obtain the recognition feature in described interactive information, and record gets the response time of described recognition feature, described recognition feature at least comprises uniform resource position mark URL;
Judge whether described recognition feature is default recognition feature, at least comprises in described testing script according to described test script: each page or default recognition feature corresponding to each program in described IPTV;
When described recognition feature is for presetting recognition feature, judge whether the response time of described recognition feature is less than the first Preset Time;
When described recognition feature is not for presetting recognition feature, and/or, when the response time of described recognition feature is not less than the first Preset Time, determine EPG response abnormality;
When the response time of described recognition feature is less than the first Preset Time, obtain the Media Stream in described interactive information;
Record gets the response time of described Media Stream, and analyzes in described Media Stream whether there is code stream mistake;
Be not less than when the response time of described Media Stream, or, when there is code stream mistake in described Media Stream, determine that described target program response is abnormal;
Record described EPG response abnormality and target program response abnormal as test result.
Preferably, described method also comprises:
When described EPG response abnormality and/or target program response exception, generate alarm signal and also report to the police.
Preferably, described testing request comprises multiple target program identification; Described method also comprises:
Obtain the video/audio signal of described Set Top Box, described video/audio signal comprises: the picture of target program and audio frequency, and, the picture in described Set Top Box handoff procedure and audio frequency;
Judge whether that the broadcasting situation of the corresponding target program of whole described target program identification has all been tested;
If so, the test result of multiple described target program identification is generated data sheet;
Described video/audio signal and described data sheet are outwards sent.
A kind of program testing device, for being tested by the program of Set Top Box to IPTV service system, described device comprises:
Acquisition request unit, for obtaining testing request, includes at least one target program identification in described testing request;
Switch control unit, for according to described testing request, controller top box is switched to the target program corresponding with target program identification;
Interactive information acquiring unit, for obtaining the interactive information transmitted between described Set Top Box and IPTV service system;
Test cell, for testing according to the broadcasting situation of described interactive information to described target program, obtains test result.
Preferably, described switch control unit, comprising:
Test script acquiring unit, for obtaining the testing script of program in described IPTV system;
Button operation instruction generation unit, for generating the button operation instruction corresponding with described target program identification according to described testing script, at least comprise in described testing script: enter button operation instruction during each program in each page in described IPTV or described IPTV system;
Signal conversion unit, for becoming corresponding infrared control signal by described button operation instruction transformation;
Signal transmitting unit, for described infrared control signal is sent to described Set Top Box, is switched to described target program to make described Set Top Box.
Preferably, described test cell, comprising:
Timing unit, for starting timing after receiving described infrared control signal;
Recognition feature acquiring unit, for obtaining the recognition feature in described interactive information, and record gets the response time of described recognition feature, and described recognition feature at least comprises uniform resource position mark URL;
Recognition feature judging unit, for judging according to described test script whether described recognition feature is default recognition feature, at least comprises in described testing script: each page or default recognition feature corresponding to each program in described IPTV;
Very first time judging unit, for when described recognition feature is for presetting recognition feature, judges whether the response time of described recognition feature is less than the first Preset Time;
First abnormal determining unit, for working as described recognition feature for presetting recognition feature, and/or, when the response time of described recognition feature is not less than the first Preset Time, determine EPG response abnormality;
Media Stream acquiring unit, for when the response time of described recognition feature is less than the first Preset Time, obtains the Media Stream in described interactive information;
Media flow processing unit, for recording the response time getting described Media Stream, and analyzes in described Media Stream whether there is code stream mistake;
Second abnormal determining unit, was not less than for the response time when described Media Stream, or, when there is code stream mistake in described Media Stream, determine that described target program response is abnormal;
Test result determining unit is abnormal as test result for recording described EPG response abnormality and target program response.
Preferably, described device also comprises:
Alarm unit, for when described EPG response abnormality and/or target program response are abnormal, generate alarm signal and also reports to the police;
And/or,
Video/audio signal acquiring unit, for obtaining the video/audio signal of described Set Top Box, described video/audio signal comprises: the picture of target program and audio frequency, and picture in described Set Top Box handoff procedure and audio frequency; Test judging unit, for judging whether that the broadcasting situation of the corresponding target program of whole described target program identification has all been tested; Data sheet generation unit, for generating data sheet when the broadcasting situation of the corresponding target program of whole described target program identification has all been tested by the test result of multiple described target program identification; Transmitting element, for outwards sending described video/audio signal and described data sheet.
From above technical scheme, this program dial testing method and device that the embodiment of the present invention provides, by obtaining the testing request carrying target program identification, and be switched to target program according to testing Request Control Set Top Box, then obtain the interactive information transmitted between Set Top Box and switch, and reach interactive information analysis can automatically to the object that target program is tested.
This program dial testing method can by handling Set Top Box, automatically the broadcasting situation of target program is tested, when needs carry out testing to a large amount of target program, can automatically perform in batches, compared with prior art, eliminate manual operation Set Top Box and undertaken by the broadcasting situation of subjective judgement to program testing the disturbed condition existed, testing efficiency is high, and the accuracy of test result is high.
In addition, the method support is added up program of newly reaching the standard grade, and supports point column statistics to whole request program or request program of newly reaching the standard grade, support that the list of the details such as EPG information and collection of drama number is shown by request program inquiry.And the method also supports that the program request program response time is analyzed, testing total degree, testing errors number, testing success rate can be counted according to one-level column, Level-2 column to request program testing result, and maximum, minimum, the mean value of response time, convenient function is analyzed and fault location, and intuitively can show the detailed executing state of testing task, support that overall process is recorded and fault message and picture synchronization playback.In addition, the testing of request program response time can also be carried out for different order program service, grasp the quantification response index of server, the situation of change in the Different periods response time, can monitor server response abnormality or the deterioration of early warning response time.
Therefore, the method effectively can help the hidden danger of IPTV service operator Timeliness coverage systematic function bottleneck or reciprocal process, ensures the availability of new business, reduces customer complaint, improves IPTV service service quality.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, for those of ordinary skills, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet of a kind of program dial testing method that Fig. 1 provides for the embodiment of the present invention;
The schematic flow sheet of step S12 in Fig. 1 that Fig. 2 provides for the embodiment of the present invention;
The schematic flow sheet of step S14 in Fig. 1 that Fig. 3 provides for the embodiment of the present invention;
The schematic flow sheet of a kind of program dial testing method that Fig. 4 provides for the embodiment of the present invention;
The structural representation of a kind of program testing device that Fig. 5 provides for the embodiment of the present invention;
The structural representation of the switch control unit that Fig. 6 provides for the embodiment of the present invention;
The structural representation of the test cell that Fig. 7 provides for the embodiment of the present invention;
The structural representation of a kind of program testing device that Fig. 8 provides for the embodiment of the present invention.
Embodiment
Technical scheme in the present invention is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
See Fig. 1, be the schematic flow sheet of a kind of program dial testing method that the embodiment of the present invention provides, the method is used for testing the program that the Set Top Box be connected with IPTV system switch is play, and the method comprises the following steps:
In step s 11, obtain testing request, in described testing request, include at least one target program identification.
In IPTV system normal course of operation, operator can issue testing request as required.A kind of situation is, operator can carry out routine inspection to the situation of the program of current operation, the time of routine inspection can be fixed, also irregularly can carry out, now, usually in testing request, include multiple target program identification, for example the mark of whole programs of IPTV system, or, the mark of some intraplate multiple programs, the such as plate such as movie channel or series channel.In addition, operator when new program is reached the standard grade, as added new film etc. in movie channel, can also carry out testing to this program of newly reaching the standard grade.
In step s 12, the target program corresponding with target program identification is switched to according to described testing Request Control Set Top Box.
Due to manual operation, testing is carried out to program and there is the problems such as the low and test result of testing efficiency is unreliable, so in this application, adopt the mode controller top box of signal controlling automatically to carry out testing.
In the application's exemplary embodiment, can transform existing Set Top Box, corresponding software program is implanted in improved Set Top Box, and by IPTV switch, testing request can be handed down to Set Top Box, Set Top Box utilizes built-in software program can automatically switch to the target program corresponding with target program identification according to testing request.
In another exemplary embodiment of the application, directly can also use existing Set Top Box, and the mode of remote control is carried out controller top box and is switched to the target program corresponding with target identification to utilize Set Top Box to support.As shown in Figure 2, step S12 can comprise the following steps:
In step S121, obtain the testing script of program in described IPTV system.
According to the facilities of homepage in IPTV system or each subpage frame program map, testing script can be pre-created, at least include in testing script comprise in the rating information of the page in IPTV system, every grade of page programme information, when carrying out each page or each program required do button operation instruction, the information such as each page or default recognition feature corresponding to each program.The effect of testing script conveniently operates to realize Set Top Box to be switched to target program smoothly to Set Top Box.In addition, testing script can adopt xml file format.
In step S122, generate the button operation instruction corresponding with described target program identification according to described testing script.
After getting testing script, can search to contrast testing script the sequence of operations instruction be switched to needed for target program.In the application's exemplary embodiment, this step 122 can comprise:
A, obtain current state residing for described Set Top Box.
Described current state comprises: broadcast program, display EPG, display IPTV system homepage or display setting options, before being switched to target program, need the current state first recognized residing for Set Top Box, being switched to target program to facilitate calculating from current state needs which to operate, such as: current state is display setting options, the operation so determined can comprise: first click " returning " to homepage, then click " left side " or " right side " or " on " or D score move to target program place channel in homepage, click " confirmation " again and enter this channel, then target program position in this channel is determined, click " left side " or " right side " or " on " or D score to this target program location, finally click " confirmation " and play this program.
Foregoing description is only an exemplary description; in other embodiment of the application; those skilled in the art also it will be appreciated that; what can be regardless of the current state obtained residing for Set Top Box; all directly will turn back to homepage; and then select target program, these schemes extended all belong to the protection range of the application.
B, generate the button operation instruction being used for described Set Top Box being switched to target program by described current state according to described testing script.
Owing to including button operation instruction in operation script, generating run instruction here mainly refers to the sequence of the sequence of operations instruction determining to be switched to target program.
In step S123, described button operation instruction transformation is become corresponding infrared control signal.
In step S124, described infrared control signal is sent to described Set Top Box, be switched to described target program to make described Set Top Box.
The process of step S123 and step S124 and the process of existing remote controller similar, those skilled in the art can have a clear understanding of the concrete operations details of these two steps according to prior art, are not described in detail at this.
In step s 13, the interactive information transmitted between described Set Top Box and the switch of IPTV system is obtained.
In the application's exemplary embodiment, can interactive information collecting unit be set on switches, directly obtains from switch the interactive information transmitted between Set Top Box and switch.
Interactive information at least comprises: recognition feature and Media Stream, wherein recognition feature can be the URL(Uniform Resoure Locator that each page of IPTV system or program are corresponding, uniform resource locator), also can be characteristic character or character string etc., the information such as video, audio frequency or picture when Media Stream is program broadcasting.
In step S14, test according to the broadcasting situation of described interactive information to described target program, obtain test result.
The broadcasting situation of program can comprise: extremely, wherein, EPG response abnormality refers to the page not entering into expectation for EPG response abnormality and program response, and after program response refers to broadcast program extremely, response time time-out or program cannot be play.
In the application's exemplary embodiment, as shown in Figure 3, this step S14 can comprise the following steps:
In step s 141, after receiving described infrared control signal, timing is started.The object of timing is the response time after response time in order to add up the page entering expectation and broadcast program, wherein: the initial time entering the response time of desired page is the moment receiving infrared control signal, and the moment of end for get recognition feature in interactive information; The initial time of the response time after broadcast program is the moment receiving infrared control signal, and the moment of end is the moment getting Media Stream.
In step S142, obtain the recognition feature in described interactive information, and record gets the response time of described recognition feature, described recognition feature at least comprises uniform resource position mark URL.
In step S143, judge whether described recognition feature is default recognition feature according to described test script.
At least comprise in described testing script: each page or default recognition feature corresponding to each program in described IPTV.Owing to being provided with the default recognition feature corresponding with page each in IPTV or each program in testing script in advance, so when Set Top Box to receive after control signal and gets interactive information, directly the recognition feature in interactive information and default recognition feature can be compared, judge whether interactive information is striven for.
When described recognition feature is for presetting recognition feature, in step S144, judge whether the response time of described recognition feature is less than the first Preset Time.
In the application's exemplary embodiment, the first Preset Time (i.e. the time of EPG response) can be set to arbitrary value in 20ms ~ 1500ms.In addition, first Preset Time can also free setting according to actual needs, and consider other technical reason, the value of the first Preset Time can be larger than expection set point, such as: the response time of EPG is at 80ms usually, and so the value of the first Preset Time can be set to 100ms.
When described recognition feature is not for presetting recognition feature, and/or, when the response time of described recognition feature is not less than the first Preset Time, in step S145, determine EPG response abnormality, namely switch the failure of target program.
When the response time of described recognition feature is less than the first Preset Time, in step S146, obtain the Media Stream in described interactive information.
In step S147, record gets the response time of described Media Stream, and analyzes in described Media Stream whether there is code stream mistake.Here, code stream error analysis can adopt common analytical method.
In step S148, when in described Media Stream during nonexistent code stream mistake, judge whether the response time of described Media Stream is less than the second Preset Time;
The second Preset Time is not less than when the response time of described Media Stream, or, when there is code stream mistake in described Media Stream, in step S149, determine that described target program response is abnormal.When the response time of described Media Stream is less than the second Preset Time, can thinks that program is normal, terminate testing process.
In the embodiment of the present application embodiment, the second Preset Time (i.e. program response time) can be set to 500ms ~ 3000ms.In addition, the first Preset Time and the second Preset Time can according to the requirement free settings of operator.Because the first Preset Time and the second Preset Time are all uses of conveniently reporting to the police, so, for some operators, except reporting to the police, also need to detect the detailed response time, therefore, the response time of the response time of recognition feature and Media Stream can also be recorded respectively.
In step S150, record described EPG response abnormality and target program response abnormal as test result.
From above technical scheme, this program dial testing method that the embodiment of the present application provides, when needing to carry out testing to the program in IPTV system, by obtaining the testing request carrying target program identification, and be switched to target program according to testing Request Control Set Top Box, then obtain the interactive information transmitted between Set Top Box and switch, and interactive information analysis is reached and can automatically be tested target program.
The method can directly operate Set Top Box, automatically the broadcasting situation of target program is tested, when needs carry out testing to a large amount of target program, can automatically perform in batches, compared with prior art, eliminate manual operation Set Top Box and undertaken by the broadcasting situation of subjective judgement to program testing the disturbed condition existed, testing efficiency is high, and the accuracy of test result is high.
In addition, the method can also comprise the following steps: when described EPG response abnormality and/or target program response exception, generate alarm signal and also report to the police.
When testing multiple target program, after each program has been tested, the alarm signal corresponding with this target program can be generated and report to the police, also can after multiple target program all tested, produce alarm signal together and report to the police.In the embodiment of the present application, generating alarm signal and also report to the police, can be point to the sending short message by mobile phone pre-set to remind, or sends the common mode such as PUSH message to mailbox, client or the software program preset.
See Fig. 4, be the schematic flow sheet of a kind of program dial testing method that the embodiment of the present invention provides, the method is used for testing the program that the Set Top Box be connected with IPTV system switch is play, and the method can also comprise the following steps:
In step S15, obtain the video/audio signal of described Set Top Box, described video/audio signal comprises: the picture of target program and audio frequency, and, the picture in described Set Top Box handoff procedure and audio frequency.
In addition, in the application's exemplary embodiment, the video/audio signal of acquisition also can with time tag.
In step s 16, judge whether that the broadcasting situation of the corresponding target program of whole described target program identification has all been tested.
When the broadcasting situation of the corresponding target program of whole described target program identification has all been tested, in step S17, the test result of multiple described target program identification is generated data sheet.Otherwise, return in step S12 the target program continued not tested and test.
In step S18, described video/audio signal and described data sheet are outwards sent.
In the application's exemplary embodiment, outwards sending can be that the server pointing to operator sends, so that operator can add up testing result.
In addition, because video/audio signal comprises picture in Set Top Box handoff procedure and audio frequency, and with time tag, therefore, so when some programs occur abnormal, staff can also pass through playback video/audio signal, the testing process of abnormal program is reproduced, facilitate rear maintainer can recognize the testing situation of abnormal program in time, for trouble hunting provides strong help.
The method support is added up program of newly reaching the standard grade, and supports point column statistics to whole request program or request program of newly reaching the standard grade, support that the list of the details such as EPG information and collection of drama number is shown by request program inquiry.And the method also supports that the program request program response time is analyzed, testing total degree, testing errors number, testing success rate can be counted according to one-level column, Level-2 column to request program testing result, and maximum, minimum, the mean value of response time, convenient function is analyzed and fault location, and intuitively can show the detailed executing state of testing task, support that overall process is recorded and fault message and picture synchronization playback.In addition, the testing of request program response time can also be carried out for different order program service, grasp the quantification response index of server, the situation of change in the Different periods response time, can monitor server response abnormality or the deterioration of early warning response time.
Therefore, the method effectively can help the hidden danger of IPTV service operator Timeliness coverage systematic function bottleneck or reciprocal process, ensures the availability of new business, reduces customer complaint, improves IPTV service service quality.
By the description of above embodiment of the method, those skilled in the art can be well understood to the mode that the present invention can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: read-only memory (ROM), random-access memory (ram), magnetic disc or CD etc. various can be program code stored medium.
See Fig. 5, for the structural representation of a kind of program testing device that the embodiment of the present invention provides, in Fig. 5,100 is program testing device, 200 be Set Top Box, 300 be switch, 400 for IPTV system, and be connected by network between switch 300 with IPTV system 400, be connected by data cable between Set Top Box 200 with switch 300.
As shown in Figure 5, this program testing device 100 comprises: acquisition request unit 11, switch control unit 12, interactive information acquiring unit 13 and test cell 14.
Acquisition request unit 11 can be connected with the auto-dial testing management software etc. of operator, obtains the testing request that auto-dial testing management software issues, includes at least one target program identification in described testing request.
Switch control unit 12 is for being switched to the target program corresponding with target program identification according to described testing Request Control Set Top Box.
In the application's exemplary embodiment, as shown in Figure 6, switch control unit 12 can comprise: test script acquiring unit 21, button operation instruction generation unit 22, signal conversion unit 23 and signal transmitting unit 24.
Test script acquiring unit 21 is for obtaining the testing script of program in described IPTV system.In the embodiment of the present application, testing script can be stored in advance in this program testing device 100, also can be provided with data-interface on program testing device, is received or refresh test script by data-interface at every turn.
Button operation instruction generation unit 22, for generating the button operation instruction corresponding with described target program identification according to described testing script, at least comprises in described testing script: enter button operation instruction during each program in IPTV system described in each page in described IPTV or program request.
Signal conversion unit 23 is for becoming corresponding infrared control signal by described button operation instruction transformation.In the application's exemplary embodiment, signal conversion unit 23 can be made up of D/A switch circuit and infrared signal generative circuit, in addition, in other embodiment of the application, button operation instruction transformation can also be become Bluetooth signal or other wireless control signal by signal conversion unit 23.
Signal transmitting unit 24, for described infrared control signal is sent to described Set Top Box, is switched to described target program to make described Set Top Box.In the application's exemplary embodiment, signal transmitting unit 24 can infrared transmitting circuit, similar with radiating circuit in the infrared ray dispensing device that remote controller etc. is common.
The infrared control signal that Set Top Box 200 sends according to program testing device 100, can perform corresponding operation, and then can simulate staff pressing remote controller, manipulates Set Top Box.
Interactive information acquiring unit 13 is for obtaining the interactive information transmitted between described Set Top Box and the switch of IPTV system.
In the embodiment of the present application, program testing device 100 can be connected with the port on switch 300 by data wire, as shown in Figure 5, in figure, switch 300 is provided with at least 3 ports and is respectively port one, port 2 and port 3, wherein port one is connected with IPTV system 400 by network, port 2 is connected with Set Top Box 200 by data wire, port 3 is connected with program testing device 100 by data wire, and by mirror image data from port 3, grab the interactive information between Set Top Box and switch.
Test cell 14, for testing according to the broadcasting situation of described interactive information to described target program, obtains test result.
In the application's exemplary embodiment, as shown in Figure 7, this test cell 14 can comprise: timing unit 31, recognition feature acquiring unit 32, recognition feature judging unit 33, the abnormal determining unit 35 of very first time judging unit 34, first, Media Stream acquiring unit 36, media flow processing unit 37, second time judging unit 38, second abnormal determining unit 39 and test result determining unit 40.
Timing unit 31 for starting timing after receiving described infrared control signal.
Recognition feature acquiring unit 32 is for obtaining the recognition feature in described interactive information, and record gets the response time of described recognition feature, and described recognition feature at least comprises uniform resource position mark URL;
Recognition feature judging unit 33 is for judging according to described test script whether described recognition feature is default recognition feature, at least comprises in described testing script: each page or default recognition feature corresponding to each program in described IPTV.
Very first time judging unit 34, for when described recognition feature is for presetting recognition feature, judges whether the response time of described recognition feature is less than the first Preset Time.
First abnormal determining unit 35 is not default recognition feature for working as described recognition feature, and/or, when the response time of described recognition feature is not less than the first Preset Time, determine EPG response abnormality.
Media Stream acquiring unit 36, for when the response time of described recognition feature is less than the first Preset Time, obtains the Media Stream in described interactive information.
Media flow processing unit 37 gets the response time of described Media Stream for recording, and analyzes in described Media Stream whether there is code stream mistake.
Second time judging unit 38 is for judging whether the response time of Media Stream is not less than.
Second abnormal determining unit 39 was not less than for the response time when described Media Stream, or, when there is code stream mistake in described Media Stream, determine that described target program response is abnormal.
Test result determining unit 40 is abnormal as test result for recording described EPG response abnormality and target program response.
In the application one exemplary embodiment, this program testing device can also comprise: alarm unit, for when described EPG response abnormality and/or target program response are abnormal, generate alarm signal and also reports to the police.
In another exemplary embodiment of the application, as shown in Figure 8, this program testing device can also comprise: video/audio signal acquiring unit 15, test judging unit 16, data sheet generation unit 17 and transmitting element 18.
Video/audio signal acquiring unit 15 is for obtaining the video/audio signal of described Set Top Box, and described video/audio signal comprises: the picture of target program and audio frequency, and picture in described Set Top Box handoff procedure and audio frequency.
Test judging unit 16 is for judging whether that the broadcasting situation of the corresponding target program of whole described target program identification has all been tested.
Data sheet generation unit 17 is for generating data sheet when the broadcasting situation of the corresponding target program of whole described target program identification has all been tested by the test result of multiple described target program identification.
Transmitting element 18 is for outwards sending described video/audio signal and described data sheet.
From above technical scheme, this program testing device that the embodiment of the present application provides, when needing to carry out testing to the program in IPTV system, by obtaining the testing request carrying target program identification, and be switched to target program according to testing Request Control Set Top Box, then obtain the interactive information transmitted between Set Top Box and switch, and interactive information analysis is reached and can automatically be tested target program.
This device can directly operate Set Top Box, automatically the broadcasting situation of target program is tested, when needs carry out testing to a large amount of target program, can automatically perform in batches, compared with prior art, eliminate manual operation Set Top Box and undertaken by the broadcasting situation of subjective judgement to program testing the disturbed condition existed, testing efficiency is high, and the accuracy of test result is high.
In addition, as shown in Figure 5, a kind of program call-testing system is additionally provided in the application's exemplary embodiment, this program call-testing system can comprise: program testing device 100, Set Top Box 200 and switch 300, wherein, in Fig. 5,400 is IPTV system, is connected, is connected between Set Top Box 200 with switch 300 by data cable between switch 300 with IPTV system 400 by network.
As shown in Figure 5, in figure, switch 300 is provided with at least 3 ports and is respectively port one, port 2 and port 3, wherein port one is connected with IPTV system 400 by network, port 2 is connected with Set Top Box 200 by data wire, port 3 is connected with program testing device 100 by data wire, and by mirror image data from port 3, grab the interactive information between Set Top Box and switch.
For convenience of description, various unit is divided into describe respectively with function when describing above device.Certainly, the function of each unit can be realized in same or multiple software and/or hardware when implementing of the present invention.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for device or system embodiment, because it is substantially similar to embodiment of the method, so describe fairly simple, relevant part illustrates see the part of embodiment of the method.Apparatus and system embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
Be understandable that, the present invention can be used in numerous general or special purpose computing system environment or configuration.Such as: personal computer, server computer, handheld device or portable set, laptop device, multicomputer system, system, set top box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer, the distributed computing environment (DCE) comprising above any system or equipment etc. based on microprocessor.
The present invention can describe in the general context of computer executable instructions, such as program module.Usually, program module comprises the routine, program, object, assembly, data structure etc. that perform particular task or realize particular abstract data type.Also can put into practice the present invention in a distributed computing environment, in these distributed computing environment (DCE), be executed the task by the remote processing devices be connected by communication network.In a distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium comprising memory device.
It should be noted that, in this article, the such as relational terms of " first " and " second " etc. and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
The above is only the specific embodiment of the present invention, those skilled in the art is understood or realizes the present invention.To be apparent to one skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. a program dial testing method, for being tested by the program of Set Top Box to IPTV service system, it is characterized in that, described method comprises:
Obtain testing request, in described testing request, include at least one target program identification;
According to described testing request, controller top box is switched to the target program corresponding with target program identification;
Obtain the interactive information transmitted between described Set Top Box and IPTV service system;
Test according to the broadcasting situation of described interactive information to described target program, obtain test result.
2. method according to claim 1, is characterized in that, described controller top box is switched to the target program corresponding with target program identification, comprising:
Obtain the testing script of program in described IPTV system;
Generate the button operation instruction corresponding with described target program identification according to described testing script, at least comprise in described testing script: enter button operation instruction during each program in each page in described IPTV or described IPTV system;
Described button operation instruction transformation is become corresponding infrared control signal;
Described infrared control signal is sent to described Set Top Box, is switched to described target program to make described Set Top Box.
3. method according to claim 2, is characterized in that, the described button operation instruction corresponding with described target program identification according to described testing script generation, comprising:
Obtain the current state residing for described Set Top Box, described current state comprises: broadcast program, display electronic program EPG, display IPTV system homepage or display setting options;
The button operation instruction being used for described Set Top Box being switched to target program by described current state is generated according to described testing script.
4. method according to claim 3, is characterized in that, describedly tests according to the broadcasting situation of described interactive information to described target program, obtains test result, comprising:
Timing is started after receiving described infrared control signal;
Obtain the recognition feature in described interactive information, and record gets the response time of described recognition feature, described recognition feature at least comprises uniform resource position mark URL;
Judge whether described recognition feature is default recognition feature, at least comprises in described testing script according to described test script: each page or default recognition feature corresponding to each program in described IPTV;
When described recognition feature is for presetting recognition feature, judge whether the response time of described recognition feature is less than the first Preset Time;
When described recognition feature is not for presetting recognition feature, and/or, when the response time of described recognition feature is not less than the first Preset Time, determine EPG response abnormality;
When the response time of described recognition feature is less than the first Preset Time, obtain the Media Stream in described interactive information;
Record gets the response time of described Media Stream, and analyzes in described Media Stream whether there is code stream mistake;
Be not less than when the response time of described Media Stream, or, when there is code stream mistake in described Media Stream, determine that described target program response is abnormal;
Record described EPG response abnormality and target program response abnormal as test result.
5. method according to claim 4, is characterized in that, described method also comprises:
When described EPG response abnormality and/or target program response exception, generate alarm signal and also report to the police.
6. method according to claim 1, is characterized in that, described testing request comprises multiple target program identification; Described method also comprises:
Obtain the video/audio signal of described Set Top Box, described video/audio signal comprises: the picture of target program and audio frequency, and, the picture in described Set Top Box handoff procedure and audio frequency;
Judge whether that the broadcasting situation of the corresponding target program of whole described target program identification has all been tested;
If so, the test result of multiple described target program identification is generated data sheet;
Described video/audio signal and described data sheet are outwards sent.
7. a program testing device, for being tested by the program of Set Top Box to IPTV service system, it is characterized in that, described device comprises:
Acquisition request unit, for obtaining testing request, includes at least one target program identification in described testing request;
Switch control unit, for according to described testing request, controller top box is switched to the target program corresponding with target program identification;
Interactive information acquiring unit, for obtaining the interactive information transmitted between described Set Top Box and IPTV service system;
Test cell, for testing according to the broadcasting situation of described interactive information to described target program, obtains test result.
8. device according to claim 7, is characterized in that, described switch control unit, comprising:
Test script acquiring unit, for obtaining the testing script of program in described IPTV system;
Button operation instruction generation unit, for generating the button operation instruction corresponding with described target program identification according to described testing script, at least comprise in described testing script: enter button operation instruction during each program in each page in described IPTV or described IPTV system;
Signal conversion unit, for becoming corresponding infrared control signal by described button operation instruction transformation;
Signal transmitting unit, for described infrared control signal is sent to described Set Top Box, is switched to described target program to make described Set Top Box.
9. method according to claim 8, is characterized in that, described test cell, comprising:
Timing unit, for starting timing after receiving described infrared control signal;
Recognition feature acquiring unit, for obtaining the recognition feature in described interactive information, and record gets the response time of described recognition feature, and described recognition feature at least comprises uniform resource position mark URL;
Recognition feature judging unit, for judging according to described test script whether described recognition feature is default recognition feature, at least comprises in described testing script: each page or default recognition feature corresponding to each program in described IPTV;
Very first time judging unit, for when described recognition feature is for presetting recognition feature, judges whether the response time of described recognition feature is less than the first Preset Time;
First abnormal determining unit, for working as described recognition feature for presetting recognition feature, and/or, when the response time of described recognition feature is not less than the first Preset Time, determine EPG response abnormality;
Media Stream acquiring unit, for when the response time of described recognition feature is less than the first Preset Time, obtains the Media Stream in described interactive information;
Media flow processing unit, for recording the response time getting described Media Stream, and analyzes in described Media Stream whether there is code stream mistake;
Second abnormal determining unit, was not less than for the response time when described Media Stream, or, when there is code stream mistake in described Media Stream, determine that described target program response is abnormal;
Test result determining unit is abnormal as test result for recording described EPG response abnormality and target program response.
10. method according to claim 9, is characterized in that, described device also comprises:
Alarm unit, for when described EPG response abnormality and/or target program response are abnormal, generate alarm signal and also reports to the police;
And/or,
Video/audio signal acquiring unit, for obtaining the video/audio signal of described Set Top Box, described video/audio signal comprises: the picture of target program and audio frequency, and picture in described Set Top Box handoff procedure and audio frequency; Test judging unit, for judging whether that the broadcasting situation of the corresponding target program of whole described target program identification has all been tested; Data sheet generation unit, for generating data sheet when the broadcasting situation of the corresponding target program of whole described target program identification has all been tested by the test result of multiple described target program identification; Transmitting element, for outwards sending described video/audio signal and described data sheet.
CN201410090002.4A 2014-03-12 2014-03-12 Program dial testing method and device Active CN104918043B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410090002.4A CN104918043B (en) 2014-03-12 2014-03-12 Program dial testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410090002.4A CN104918043B (en) 2014-03-12 2014-03-12 Program dial testing method and device

Publications (2)

Publication Number Publication Date
CN104918043A true CN104918043A (en) 2015-09-16
CN104918043B CN104918043B (en) 2017-06-16

Family

ID=54086694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410090002.4A Active CN104918043B (en) 2014-03-12 2014-03-12 Program dial testing method and device

Country Status (1)

Country Link
CN (1) CN104918043B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357548A (en) * 2015-11-10 2016-02-24 珠海迈越信息技术有限公司 Set top box resource preview method and apparatus
CN107222739A (en) * 2017-07-10 2017-09-29 中邮科通信技术股份有限公司 A kind of IPTV service quality dial testing method based on crawler technology
CN109862427A (en) * 2019-01-23 2019-06-07 上海艾策通讯科技股份有限公司 Testing script automatic generation method and system
CN110545473A (en) * 2019-09-24 2019-12-06 北京市博汇科技股份有限公司 device and method for dial testing evaluation of 4K ultra-high-definition set top box based on artificial intelligence
CN110597679A (en) * 2019-09-20 2019-12-20 四川长虹电器股份有限公司 Shell script-based channel changing pressure testing system and method
CN111050157A (en) * 2019-12-23 2020-04-21 安徽海豚新媒体产业发展有限公司 IPTV program list distribution detection system
CN112532966A (en) * 2019-08-27 2021-03-19 中兴通讯股份有限公司 Set top box testing method and device, set top box and computer readable storage medium
CN114401448A (en) * 2021-12-27 2022-04-26 珠海迈科智能科技股份有限公司 Method, device, equipment and storage medium for detecting abnormity of program forecast information
CN116340189A (en) * 2023-05-29 2023-06-27 天翼云科技有限公司 Automatic test method, device, equipment and storage medium for access business process

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070162931A1 (en) * 2005-12-28 2007-07-12 Mickle Jacklyn A Methods, systems and computer program products for providing internet protocol television diagnostics
CN101448172A (en) * 2007-11-27 2009-06-03 上海未来宽带技术及应用工程研究中心有限公司 Method for automatically testing stability of set-top box in batches
CN101605073A (en) * 2009-07-01 2009-12-16 中兴通讯股份有限公司 A kind of method, Apparatus and system that the IPTV user terminal is tested
CN102291593A (en) * 2011-08-24 2011-12-21 烽火通信科技股份有限公司 System configuring and testing method in production of IPTV (Internet Protocol Television) set top box
CN103402144A (en) * 2013-07-29 2013-11-20 华为技术有限公司 Method, device and system for automatically measuring multicast service performances

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070162931A1 (en) * 2005-12-28 2007-07-12 Mickle Jacklyn A Methods, systems and computer program products for providing internet protocol television diagnostics
CN101448172A (en) * 2007-11-27 2009-06-03 上海未来宽带技术及应用工程研究中心有限公司 Method for automatically testing stability of set-top box in batches
CN101605073A (en) * 2009-07-01 2009-12-16 中兴通讯股份有限公司 A kind of method, Apparatus and system that the IPTV user terminal is tested
CN102291593A (en) * 2011-08-24 2011-12-21 烽火通信科技股份有限公司 System configuring and testing method in production of IPTV (Internet Protocol Television) set top box
CN103402144A (en) * 2013-07-29 2013-11-20 华为技术有限公司 Method, device and system for automatically measuring multicast service performances

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357548A (en) * 2015-11-10 2016-02-24 珠海迈越信息技术有限公司 Set top box resource preview method and apparatus
CN105357548B (en) * 2015-11-10 2019-03-12 珠海迈越信息技术有限公司 A kind of set-top box resource pre-review method and device
CN107222739A (en) * 2017-07-10 2017-09-29 中邮科通信技术股份有限公司 A kind of IPTV service quality dial testing method based on crawler technology
CN107222739B (en) * 2017-07-10 2019-04-05 中邮科通信技术股份有限公司 A kind of IPTV service quality dial testing method based on crawler technology
CN109862427A (en) * 2019-01-23 2019-06-07 上海艾策通讯科技股份有限公司 Testing script automatic generation method and system
CN112532966A (en) * 2019-08-27 2021-03-19 中兴通讯股份有限公司 Set top box testing method and device, set top box and computer readable storage medium
CN110597679A (en) * 2019-09-20 2019-12-20 四川长虹电器股份有限公司 Shell script-based channel changing pressure testing system and method
CN110545473A (en) * 2019-09-24 2019-12-06 北京市博汇科技股份有限公司 device and method for dial testing evaluation of 4K ultra-high-definition set top box based on artificial intelligence
CN111050157A (en) * 2019-12-23 2020-04-21 安徽海豚新媒体产业发展有限公司 IPTV program list distribution detection system
CN114401448A (en) * 2021-12-27 2022-04-26 珠海迈科智能科技股份有限公司 Method, device, equipment and storage medium for detecting abnormity of program forecast information
CN114401448B (en) * 2021-12-27 2024-03-01 珠海迈科智能科技股份有限公司 Abnormality detection method, device, equipment and storage medium for program forecast information
CN116340189A (en) * 2023-05-29 2023-06-27 天翼云科技有限公司 Automatic test method, device, equipment and storage medium for access business process

Also Published As

Publication number Publication date
CN104918043B (en) 2017-06-16

Similar Documents

Publication Publication Date Title
CN104918043A (en) Program broadcast testing method and device
US10123075B2 (en) Set top box
US9620118B2 (en) Method and system for testing closed caption content of video assets
US8893168B2 (en) Method and system for synchronization of dial testing and audience response utilizing automatic content recognition
US20120036218A1 (en) Apparatus and method for sharing application with a portable terminal
CN104717549A (en) Multi-screen information interaction method and device
CN108769795A (en) Video signal realizes system and method
KR20110005861A (en) System and method for creating media bookmarks from secondary device
CN113590067A (en) Screen projection control method, system, device and computer readable storage medium
CN109982134B (en) Video teaching method based on diagnosis equipment, diagnosis equipment and system
CN105245959B (en) Interface channel maintenance system and method in a kind of more equipment linkages service
CN108810602B (en) Method and device for displaying information of live broadcast room and computer equipment
US9007465B1 (en) Obtaining customer support for electronic system using first and second cameras
CN103856506A (en) Multi-screen synchronization method, device and system
CN108965905B (en) Live broadcast data stream pushing and method and device for providing and acquiring stream pushing address
US9584859B2 (en) Testing effectiveness of TV commercials to account for second screen distractions
CN104469414A (en) Information system, information put-in method and IPTV system based on multi-screen interaction
CN112764838A (en) Target content display method and device and electronic equipment
EP4180942A1 (en) Screen projection method and apparatus, electronic device, and computer readable storage medium
EP2843962A2 (en) Information processing apparatus, information processing method, and program
CN105471942A (en) Yellow page information display method, device and system
CN104796753A (en) TV program picture frame capturing device and system, TV program picture frame obtaining device, and method
CN113542734A (en) Method, system and probe device for positioning faults of television set top box
CN116680157A (en) Information processing method and device, electronic equipment and storage medium
CN114885155A (en) IPTV dialing test method, device, equipment and computer readable storage medium

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