CN103596000A - Method and system for multi-interface switching test of smart television - Google Patents
Method and system for multi-interface switching test of smart television Download PDFInfo
- Publication number
- CN103596000A CN103596000A CN201310606244.XA CN201310606244A CN103596000A CN 103596000 A CN103596000 A CN 103596000A CN 201310606244 A CN201310606244 A CN 201310606244A CN 103596000 A CN103596000 A CN 103596000A
- Authority
- CN
- China
- Prior art keywords
- interface
- control command
- intelligent television
- test
- displaying contents
- 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
Links
Images
Landscapes
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
The invention discloses a method and system for a multi-interface switching test of a smart television. The method comprises the steps that a test script is obtained; the test script is analyzed so that a control order can be generated; the current control order is sent to the smart television; relevant information of displayed content on an interface of the smart television is obtained after the control order is executed; whether the obtained relevant information of the displayed content accords with a display rule of a target interface corresponding to the current control order or not is judged, and if yes, it is judged that the interface is successfully switched. According to the method and system for the multi-interface switching test of the smart television, the interface switch can be automatically tested and the testing efficiency is improved.
Description
Technical field
The present invention relates to intelligent television technical field, particularly relate to method of testing and the system of intelligent television.
Background technology
The function of intelligent television is more and more abundanter, manufacturer can provide different interface to realize the conversion between different operating, for example interface can be by classical signal interface, live interface, the compositions such as application interface, in classical signal interface, can watch the program of some classical signal forms, the classical signal form here comprises HDMI, Tuner, CVBS, VGA, Component etc., for example can be in classical signal interface TV reception, at live interface, can watch the video resource that intelligent television server provides, in application interface to use some application, as play game etc.In user's use procedure, often need between different operation interfaces, switch, in switching during actual use between different interfaces, may go wrong, imperfect etc. such as not switching or switch rear interface displaying contents, so in intelligent television is produced, manufacturer will test intelligent television, when guaranteeing between each interface mutually to switch signal can stablize, complete loading.In to intelligent television test, by manual testing, complete at present, tester is switched between different interfaces by Manual press interface switching key, observes interface signals load condition simultaneously, hand-kept when pinpointing the problems.This method of testing complex operation, consuming time, along with this test of increase of television set production quantity will expend a large amount of human resources, and because tester's the aspects such as experience there are differences, to the veteran tester of problem who exists in some tests, can find, the personnel that lack experience can not find in time.
Summary of the invention
For the defect existing in prior art, the invention provides a kind of intelligent television many interfaces handoff testing method and system.
Many interfaces handoff testing method, comprising:
Obtain test script, test script at least comprises predefined for intelligent television being carried out to the operation information of a plurality of operating procedures of many interfaces handover operation;
Resolve test script and generate control command; Wherein, the respectively corresponding control command of each operating procedure; Every control command is for being switched to target interface by intelligent television from current interface;
Process one by one respectively in such a way each control command:
Send current control command to intelligent television;
Obtain intelligent television and execute the displaying contents relevant information on described control command rear interface;
Whether the displaying contents relevant information that judgement is obtained meets the demonstration rule of target interface corresponding to current control command, if so, judges interface handover success; Wherein, described demonstration rule is pre-stored, each target interface correspondence demonstration rule separately.
Optionally, described target interface comprises application interface, described in obtain intelligent television and carry out the displaying contents relevant information on described control command rear interface, comprising: obtain intelligent television and carry out the control information on described control command rear interface; Whether the displaying contents relevant information that described judgement is obtained meets demonstration rule preset in target interface corresponding to current control command, comprising: whether the control information that judgement is obtained meets the demonstration rule of pre-stored application interface.
Optionally, described control information comprises quantity, title, ID and/or the control image of control.
Optionally, described target interface comprises classical signal interface, the described intelligent television that obtains is carried out the displaying contents relevant information on described control command rear interface, comprising: obtain intelligent television and carry out the information that whether has content signal on described control command rear interface; Whether the displaying contents relevant information that described judgement is obtained meets demonstration preset in target interface corresponding to current control command rule, comprising: judge on described interface, whether there is content signal.
Optionally, described target interface comprises for showing the interface of the video resource that intelligent television server provides, the described intelligent television that obtains is carried out the displaying contents relevant information on described control command rear interface, comprise: obtain intelligent television and carry out after described control command in player normal load situation, the control id information of the player of loading; Whether the displaying contents relevant information that described judgement is obtained meets demonstration rule preset in target interface corresponding to current control command, comprising: in judgement player normal load situation, whether the control id information of the player of loading meets preset rule.
Optionally, described parsing test script generates control command and comprises: resolve corresponding key assignments and the action type of each operating procedure in script; By key assignments and action type being converted to the signal of characteristic frequency, generate control command.
Optionally, in test script, also comprise the interval time between each operating procedure, cycle-index and the dynamic END of each operating procedure; Described difference is processed each control command one by one, comprising: according to described interval time and cycle-index, carry out each control command.
Many interfaces switch test system, is characterized in that, comprising:
Test script acquisition module, for obtaining test script, test script at least comprises predefined for intelligent television being carried out to the operation information of a plurality of operating procedures of many interfaces handover operation;
Test script parsing module, generates control command for resolving test script; Wherein, the respectively corresponding control command of each operating procedure; Every control command is for being switched to target interface by intelligent television from current interface;
Control command sending module, for sending current control command to intelligent television;
Displaying contents acquisition module, executes the displaying contents relevant information on described control command rear interface for obtaining intelligent television;
Judge module, for judging that whether the displaying contents relevant information of obtaining meets the demonstration rule of target interface corresponding to current control command, if met, judges interface handover success; Wherein, described demonstration rule is pre-stored, each target interface correspondence demonstration rule separately.
Many interfaces handoff testing method, is characterized in that, comprising:
Receive the control command that test terminal sends;
Resolve described control command;
If many interfaces handover operation is carried out in described control command indication, from current interface, be switched to target interface;
Obtain the displaying contents relevant information in target interface, and return to described test terminal, so that described test terminal is by judging whether described displaying contents relevant information meets pre-stored demonstration rule, judge whether successful interface switches.
Many interfaces switch test system, is characterized in that,
Control command receiver module, receives for intelligent television the control command that test terminal sends;
Parsing module, for resolving described control command;
Handover module, for when described control command is carried out the instruction of many interfaces handover operation for indication, is switched to target interface from current interface;
Displaying contents acquisition module, for obtaining the displaying contents relevant information in target interface, and return to described test terminal, so that described test terminal is by judging whether described displaying contents relevant information meets pre-stored demonstration rule, judge whether successful interface switches.
Compared with prior art, a technical scheme in technique scheme has the following advantages or beneficial effect: by test instruction is write in script, overall process that can simulation test personnel manual test, realizes test automatically; In instruction is carried out, carry out one by one control command, reduced parsing and the call number of script; After executing control command, whether automatic decision test result is correct, reduced the subjectivity existing in artificial judgement, guaranteed the correctness of test result.
accompanying drawing explanation
Fig. 1 is the method for testing flow chart that first embodiment of the invention provides;
Fig. 2 is the test macro schematic diagram that second embodiment of the invention provides;
Fig. 3 is the method for testing flow chart that third embodiment of the invention provides;
Fig. 4 is the test macro schematic diagram that fourth embodiment of the invention provides.
Embodiment
Below in conjunction with accompanying drawing, further set forth the present invention.Should be understood that these embodiment are only not used in and limit the scope of the invention for the present invention is described.In addition should be understood that those skilled in the art can make various changes or modifications the present invention after having read the content of the present invention's instruction, these equivalent form of values fall within the application's appended claims limited range equally.
First it should be noted that, in embodiments of the present invention, in order to realize the automatic test to intelligent television, can be by realizing alternately between a test terminal (computer equipments such as PC, notebook) and intelligent television.Wherein, test terminal and intelligent television can communicate by wired or wireless, for example TV and test terminal can be by the ADB communications that is connected, the instruction that test terminal sends is received and carried out to intelligent television termination, test terminal can be detected the result of intelligent television end execution and analyze, and is described in detail below.
Embodiment 1
As shown in Figure 1, the embodiment of the present invention is mainly described from the angle of test terminal, and first the embodiment of the present invention provides many interfaces of a kind of intelligent television handoff testing method.
S101: obtain test script, test script at least comprises predefined for intelligent television being carried out to the operation information of a plurality of operating procedures of many interfaces handover operation.
First need to be at a series of scripts of test PC end editor or the test of the automatic recording stability of a system in order to carry out stability test to intelligent television, test terminal comprises analysis program, can resolve script.
Particularly, in manual test process, can to intelligent television, send a series of operation informations that carry out many interfaces handover operation by remote controller, these operation informations can comprise key assignments and the action type of button, for example, for the remote controller of traditional type, the button that for example live interface and application interface switch is right and left key, intelligent television can execution switch to the instruction of application interface after receiving left button instruction from live interface, after receiving right key command, can switch to live interface from application interface, the key assignments of left button is L, the key assignments of right button is R, tester can hold edit script at PC accordingly, by key assignments L, R writes in the test script of live interface and application interface switching, except key assignments, in this script, can also define some other test values, for example be 1S the interval time of left and right press key order, the cycle-index of action is 10 inferior.For another example, button home button is for directly returning to classical signal interface buttons, no matter be currently located at which interface intelligent television after pressing home button, can directly be back to classical signal interface, for example from application interface or live interface, return to classical signal interface, the key assignments of home key is h, key assignments h is write in the test script that returns to classical signal interface, the test script that similarly returns to classical signal interface except key assignments also can define some other test values.For touch-type remote-controller, user can operate intelligent television by contact panel, for example user can slide and point left on contact panel, intelligent television can execution switch to the instruction of application interface after receiving the instruction of sliding left from live interface, the slip is here action type, with Slide, represent, tester writes action type Slide from live interface and switches to the test script of application interface.
Except being edited by tester, obtain test script, also can obtain test script by the mode of script automatic recording.For example, can use script to record the operation information of software records tester each operating procedure in manual switchover interface detection process, record the operation information that software can record carried out all operations faithfully, generate test script.
Except key assignments and action type, in test script, can also comprise and pre-define for intelligent television is carried out to the interval time of each action of stability test, the cycle-index of each action and dynamically END etc.Interval time, cycle-index, dynamic END can adopt tester to write equally, or the mode of automatic recording writes in test script.Wherein defined intelligent television interval time and taken turns the interval time of testing between next round test from one, cycle-index has defined the number of times in test, a certain interface being loaded, and dynamically to represent that test script has moved complete for END.
S102: resolve test script and generate control command; Wherein, the respectively corresponding control command of each operating procedure; Every control command is for being switched to target interface by intelligent television from current interface;
After obtaining test script, test script, formation control instruction are resolved in test terminal; According to the action key assignments in script, action type, interval time, cycle-index etc., dynamically generate the control command that analog subscriber switches for a long time between different interfaces, the respectively corresponding control command of each operating procedure; Every control command is for being switched to target interface by intelligent television from current interface; Control command is sent to intelligent television by ADB, intelligent television is resolved the operation information that comprises key assignments or action type after receiving instruction, operation information is reduced into the discernible code stream of equipment under test, and carry out corresponding operational order, automatically intelligent television is carried out to long interface switching operation, in order to Emulation Testing personnel remote controller test interface switching.
Particularly, after obtaining test script, just can start to have tested.While starting to test, the analysis program of test terminal can initiatively read in the stability test script obtaining in advance, these scripts can be the test files of particular type or title, the test file that while starting to test, first analysis program can search for particular type or title loads, for example test file is and take test as starting the file of name, as test1, test2 etc., first analysis program can be searched for and take test as starting the file of name, start the thread of automatic test, judge whether to exist automatic test file, if do not existed, terminate thread, after finding test file, a series of test scripts can be loaded in execution list, order is carried out script.
After test script is resolved to many control commands, just sending controling instruction, to intelligent television, and carries out follow-up processing one by one.Wherein, for each control command, can carry out the processing of following steps S103 to S105.
S103: send current control command to intelligent television;
After having loaded test file, analysis program starts the information of script the inside to resolve, for example current interface is live interface, tester need to test application interface, analysis program can be resolved the key assignments L in the script that live interface and application interface switch, to be worth accordingly and be sent to communication unit, for example key assignments L is sent to communication unit, here the key assignments L sending is current control command, application interface is target interface, communication unit generates the signal of corresponding different frequency according to key assignments, the signal of different frequency is sent to intelligent television by ADB, intelligent television is carried out the switching from live interface to application interface.Switch after a series of test of this operation having carried out live interface and application interface, analysis program can be resolved control command corresponding to next operating procedure, for example next control command is h, intelligent television is switched to classical signal interface from applying to put down, like this that each operating procedure in tester's test is corresponding with a corresponding control command, sending controling instruction is to intelligent television one by one.
Intelligent television termination is received after signal, and signal is resolved and obtained corresponding operation information, carries out operation accordingly.Particularly, first intelligent television judges whether this instruction is executable instruction, if executable instruction is carried out, television set returns to the complete signal of executed after executing instruction after receiving command adapted thereto, if executable instruction, does not return to test terminal error signal.The instruction that for example intelligent television receives is L, and intelligent television can execution switch to the instruction of application interface after receiving this instruction from live interface, return to test terminal end signal after being finished; If the instruction that intelligent television receives is W, but this instruction is disable instruction, and it is not present in intelligent television executable command, returns to test terminal error signal.
S104: obtain intelligent television and execute the displaying contents relevant information on described control command rear interface.
Intelligent television returns to the complete signal of test terminal one executed after executing instruction, for example, end signal is returned to test terminal.The instruction of obtaining the displaying contents in intelligent television current interface, after receiving end signal, is sent in test terminal to intelligent television.Intelligent television is compared it with traditional tv and is had operating system, processor, the soft hardware equipment such as internal memory, preset instruction of obtaining contents displayed on interface in intelligent television, after carrying out this instruction, intelligent television can obtain the demonstration information in current interface, these demonstration information can comprise the title of control, ID, control quantity, control position, control image, there is no signal, current interface image etc., intelligent television sends to test terminal by the demonstration information of acquisition, test terminal has just obtained intelligent television and has executed the displaying contents relevant information on described control command rear interface in this way.
S105: whether the displaying contents relevant information that judgement is obtained meets the demonstration rule of target interface corresponding to current control command, if met, judges interface handover success; Wherein, described demonstration rule is pre-stored, each target interface correspondence demonstration rule separately.
Execute after the displaying contents relevant information on described control command rear interface having obtained intelligent television, test terminal starts to judge the correctness of command execution, detects and whether has bug, bug repeatedly switches whether there is blank screen, crash, control loads unsuccessful, and audio frequency and video are asynchronous etc.If exist, record the information of this bug, bug information comprises the information such as the title, time, interface sectional drawing of the current operation of carrying out.Respectively application interface, classical signal interface, live interface are described further below.
Application interface control loads, after executing left button instruction, intelligent television returns to end signal, receive after end signal, test terminal can be sent and obtain interface control instruction to intelligent television, intelligent television will obtain the control title at interface, the title of obtaining is sent to test terminal, test terminal contrasts the correct control title of this application interface of the title of obtaining and storage, if not conforming to, the two does not think that the loading of application interface control is unsuccessful, for example in the situation of the application interface normal load of pre-stored, control title comprises: browser, player, photo, document, address list, and the control name obtaining is called: browser, player, document, address list, the two is inconsistent, judgement application interface in test terminal loads unsuccessful, this bug information is recorded in test terminal, sequence of operations can also further be carried out in test terminal, as sent, obtain interface image instruction, intelligent television obtains interface image, generate interface image, this image is sent to test terminal etc., test terminal will generate bug record, for example this record can be:
Application interface loads 15:00-photo control disappearance-figure on January 2nd, 1.
In this example, control title in the situation of the application interface normal load of pre-stored, is called the demonstration rule for target interface.Except title, can also judge whether application interface loads successfully according to control number, during as normal load, the control of application interface is 9, and loaded rear interface control, it is 8, the loading of test terminal judgement application interface is unsuccessful, and the number of application interface control is called as the demonstration rule of target interface here.Those skilled in the art should understand anyly can judge whether application interface loads successful foundation, all can be used as the demonstration rule of application interface.
Classical signal interface loads, for example, after executing home key command, intelligent television returns to end signal, receive after end signal, test terminal can be sent and obtain interface TV signal instruction to intelligent television, intelligent television can obtain the displaying contents on interface after receiving instruction, this displaying contents is sent to test terminal, test terminal judges whether current interface exists displaying contents, if exist judgement to load successfully, if do not exist, think that loading is unsuccessful, similarly sequence of operations can also further be carried out in test terminal, as sent, obtain interface image instruction, intelligent television obtains interface image, generate interface image, this image is sent to test terminal etc., test terminal will generate bug record.In this example, whether the classical signal interface of pre-stored there is displaying contents, is called the demonstration rule for target interface.
Live interface loads, switch to after live interface buttons instruction executing, intelligent television returns to end signal, receive after end signal, test terminal can be sent and obtain interface player instruction to intelligent television, the player signal that obtains interface is sent to test terminal, and test terminal contrasts the correct player that obtains player and storage, if the two does not conform to, does not think that live interface loading is unsuccessful.It should be noted that, different from the player in application interface, after switching to live interface, player in live interface is positioned at the front end at interface all the time, not closable, by the ID of the distinctive control of player in live interface, can judge whether live interface loads successfully.Such as normal player in live interface, should there is the regions such as playlist, video window, operating space, these regions all represent with corresponding ID, and the player that has loaded rear acquisition only has video window, can judge live interface loading unsuccessful, this bug information is recorded in test terminal.Can certainly capture the operation of interface image.
Be more than the description for a test process, further can also resolve the data such as test interval of obtaining, cycle-index; Wherein defined intelligent television interval time and taken turns the time interval of testing between next round test from one, all control commands relevant to test in takes turns test all can be performed one time.Also can repeatedly test, this can realize by define cycle-index in script, for example in script, define cyclic variable, after executing one by one all control commands, cyclic variable adds 1, after cyclic variable reaches set point, finish test, all like this control commands have all been performed repeatedly, have realized the repeatedly object of test.
Carrying out to dynamically completing corresponding test after END, analysis program can load the next test script in list, after all test scripts are finished.This record is sent to test terminal, and test terminal is recorded after this information, sends next operational order, and intelligent television carries out next operation.After all tests complete, generate test report, complete test, test report can send by network.
In test, can be without manual intervention, but in test process, also can be set to response or response external input signal not, and for example can adopt the mode of interruption, after receiving external signal, interrupt test waits for that test man further processes.Such as when test coming off duty, the inoperative such as rest is during the period, can be set to not response external input signal, to avoid affecting test man's life-time.In the operating time, can be set to response external input signal, so that test man adjusts test process in time.
Embodiment 2
As shown in Figure 2, the embodiment of the present invention also provides many interfaces of a kind of intelligent television switch test system.
Many interfaces switch test system, comprising:
Test script acquisition module 201, for obtaining test script, test script at least comprises predefined for intelligent television being carried out to the operation information of a plurality of operating procedures of many interfaces handover operation;
Test script parsing module 202, generates control command for resolving test script; Wherein, the respectively corresponding control command of each operating procedure; Every control command is for being switched to target interface by intelligent television from current interface;
Control command sending module 203, for sending current control command to intelligent television;
Displaying contents acquisition module 204, executes the displaying contents relevant information on described control command rear interface for obtaining intelligent television;
Judge module 205, for judging that whether the displaying contents relevant information of obtaining meets the demonstration rule of target interface corresponding to current control command, if met, judges interface handover success; Wherein, described demonstration rule is pre-stored, each target interface correspondence demonstration rule separately.
Described target interface comprises application interface, classical signal interface and live interface, introduces and how it is tested respectively below.
At test macro, during at Test Application interface, displaying contents acquisition module, carries out the control information on described control command rear interface specifically for obtaining intelligent television; Judge module, whether the control information of obtaining specifically for judgement meets the demonstration rule of pre-stored application interface; Described control information comprises quantity, title, ID and/or the control image of control.
At test macro, during at Test Application interface, displaying contents acquisition module, carries out the control information on described control command rear interface specifically for obtaining intelligent television; Judge module, whether the control information of obtaining specifically for judgement meets the demonstration rule of pre-stored application interface.
When test classical signal interface, displaying contents acquisition module, carries out specifically for obtaining intelligent television the information that whether has content signal on described control command rear interface; Judge module, specifically for judging whether there is content signal on described interface.
When live interface of test (for the video resource that shows that intelligent television server provides), displaying contents acquisition module, specifically for obtaining intelligent television, carry out after described control command in player normal load situation the control id information of the player of loading; Judge module, in judgement player normal load situation, whether the control id information of the player of loading meets preset rule.
In order to make intelligent television can receive discernible control command, test script parsing module, specifically for resolving corresponding key assignments and the action type of each operating procedure in script; By key assignments and action type being converted to the signal of characteristic frequency, generate control command.
Except key assignments and action type, in test script, also comprise the interval time between each operating procedure, cycle-index and the dynamic END of each operating procedure; Described difference is processed each control command one by one, comprising: according to described interval time and cycle-index, carry out each control command.
Embodiment 3
Embodiment is different from the first two, and the present embodiment emphasis is introduced method of testing of the present invention from TV angle, and concrete steps as shown in Figure 3.
S301: intelligent television receives the control command that test terminal sends;
S302: resolve described control command;
S303: if many interfaces handover operation is carried out in the indication of described control command, be switched to target interface from current interface;
S304: obtain the displaying contents relevant information in target interface, and return to described test terminal, so that described test terminal is by judging whether described displaying contents relevant information meets pre-stored demonstration rule, judge whether successful interface switches.
Described target interface comprises application interface, classical signal interface and live interface, introduces and how it is tested respectively below.
When to application interface detection, intelligent television obtains the control information of carrying out on control command rear interface; Control information is returned to test terminal, so that whether the control information that the judgement of described test terminal is obtained meets the demonstration rule of pre-stored application interface; Described control information comprises quantity, title, ID and/or the control image of control.
When to classical signal interface detection, intelligent television obtains the displaying contents relevant information of carrying out on control command rear interface, comprising: obtain intelligent television and carry out the information that whether has content signal on described control command rear interface; The displaying contents relevant information getting is returned to test terminal, so that described test terminal judges whether there is content signal on described interface.
When to live interface (for the video resource that shows that intelligent television server provides), intelligent television obtains the displaying contents relevant information of carrying out on control command rear interface, comprise: obtain intelligent television and carry out after described control command in player normal load situation, the control id information of the player of loading; The control id information of the player getting is returned to test terminal, so that in described test terminal judgement player normal load situation, whether the control id information of the player of loading meets preset rule.
The described control command of described parsing, comprises the signal of resolving characteristic frequency, obtains each operating procedure corresponding with control command corresponding key assignments and action type.
Embodiment 4
The present embodiment emphasis is introduced test macro of the present invention from TV angle, and test macro as shown in Figure 4.
Control command receiver module 401, receives for intelligent television the control command that test terminal sends; Parsing module 402, for resolving described control command; Handover module 403, for when described control command is carried out the instruction of many interfaces handover operation for indication, is switched to target interface from current interface; Displaying contents acquisition module 404, for obtaining the displaying contents relevant information in target interface, and return to described test terminal, so that described test terminal is by judging whether described displaying contents relevant information meets pre-stored demonstration rule, judge whether successful interface switches.
Described target interface comprises application interface, classical signal interface and live interface, introduces and how it is tested respectively below.
When to application interface detection, displaying contents acquisition module is specifically for making intelligent television obtain the control information of carrying out on control command rear interface; Control information is returned to test terminal, so that whether the control information that the judgement of described test terminal is obtained meets the demonstration rule of pre-stored application interface; Described control information comprises quantity, title, ID and/or the control image of control.
When to classical signal interface detection, displaying contents acquisition module, specifically for making intelligent television obtain the displaying contents relevant information of carrying out on control command rear interface, comprising: obtain intelligent television and carry out the information that whether has content signal on described control command rear interface; The displaying contents relevant information getting is returned to test terminal, so that described test terminal judges whether there is content signal on described interface.
When to live interface (for the video resource that shows that intelligent television server provides), displaying contents acquisition module is specifically for making intelligent television obtain the displaying contents relevant information of carrying out on control command rear interface, comprise: obtain intelligent television and carry out after described control command in player normal load situation, the control id information of the player of loading; The control id information of the player getting is returned to test terminal, so that in described test terminal judgement player normal load situation, whether the control id information of the player of loading meets preset rule.
The described control command of described parsing, comprises the signal of resolving characteristic frequency, obtains each operating procedure corresponding with control command corresponding key assignments and action type.
For the aforesaid embodiment that respectively installs, for simple description, therefore it is all expressed as to a series of module combination, but those skilled in the art should know, the present invention is not subject to the restriction of described module combination, because according to the present invention, certain module can adopt other modules to carry out; Secondly, those skilled in the art also should know, said apparatus embodiment all belongs to preferred embodiment, and related module might not be that the present invention is necessary.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
Above to intelligent television provided by the present invention many interfaces handoff testing method and device, be described in detail, applied specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.
Claims (10)
1. many interfaces of intelligent television handoff testing method, is characterized in that, comprising:
Obtain test script, test script at least comprises predefined for intelligent television being carried out to the operation information of a plurality of operating procedures of many interfaces handover operation;
Resolve test script and generate control command; Wherein, the respectively corresponding control command of each operating procedure; Every control command is for being switched to target interface by intelligent television from current interface;
Process one by one respectively in such a way each control command:
Send current control command to intelligent television;
Obtain intelligent television and execute the displaying contents relevant information on described control command rear interface;
Whether the displaying contents relevant information that judgement is obtained meets the demonstration rule of target interface corresponding to current control command, if so, judges interface handover success; Wherein, described demonstration rule is pre-stored, each target interface correspondence demonstration rule separately.
2. many interfaces of intelligent television according to claim 1 handoff testing method, is characterized in that, described target interface comprises application interface, described in obtain intelligent television and carry out the displaying contents relevant information on described control command rear interface, comprising:
Obtain intelligent television and carry out the control information on described control command rear interface;
Whether the displaying contents relevant information that described judgement is obtained meets demonstration rule preset in target interface corresponding to current control command, comprising:
Whether the control information that judgement is obtained meets the demonstration rule of pre-stored application interface.
3. many interfaces of intelligent television according to claim 2 handoff testing method, is characterized in that, described control information comprises quantity, title, ID and/or the control image of control.
4. many interfaces of intelligent television according to claim 1 handoff testing method, is characterized in that, described target interface comprises classical signal interface, described in obtain intelligent television and carry out the displaying contents relevant information on described control command rear interface, comprising:
Obtain intelligent television and carry out the information that whether has content signal on described control command rear interface;
Whether the displaying contents relevant information that described judgement is obtained meets demonstration rule preset in target interface corresponding to current control command, comprising:
Judge and on described interface, whether have content signal.
5. many interfaces of intelligent television according to claim 1 handoff testing method, it is characterized in that, described target interface comprises for showing the interface of the video resource that intelligent television server provides, the described intelligent television that obtains is carried out the displaying contents relevant information on described control command rear interface, comprising:
Obtain intelligent television and carry out after described control command in player normal load situation, the control id information of the player of loading;
Whether the displaying contents relevant information that described judgement is obtained meets demonstration rule preset in target interface corresponding to current control command, comprising: in judgement player normal load situation, whether the control id information of the player of loading meets preset rule.
6. many interfaces of intelligent television according to claim 1 handoff testing method, is characterized in that, described parsing test script generates control command and comprises:
Resolve corresponding key assignments and the action type of each operating procedure in script;
By key assignments and action type being converted to the signal of characteristic frequency, generate control command.
7. many interfaces of intelligent television according to claim 1 handoff testing method, is characterized in that: in test script, also comprise the interval time between each operating procedure, cycle-index and the dynamic END of each operating procedure;
Described difference is processed each control command one by one, comprising:
According to described interval time and cycle-index, carry out each control command.
8. many interfaces of intelligent television switch test system, is characterized in that, comprising:
Test script acquisition module, for obtaining test script, test script at least comprises predefined for intelligent television being carried out to the operation information of a plurality of operating procedures of many interfaces handover operation;
Test script parsing module, generates control command for resolving test script; Wherein, the respectively corresponding control command of each operating procedure; Every control command is for being switched to target interface by intelligent television from current interface;
Control command sending module, for sending current control command to intelligent television;
Displaying contents acquisition module, executes the displaying contents relevant information on described control command rear interface for obtaining intelligent television;
Judge module, for judging that whether the displaying contents relevant information of obtaining meets the demonstration rule of target interface corresponding to current control command, if met, judges interface handover success; Wherein, described demonstration rule is pre-stored, each target interface correspondence demonstration rule separately.
9. many interfaces of intelligent television handoff testing method, is characterized in that, comprising:
Receive the control command that test terminal sends;
Resolve described control command;
If many interfaces handover operation is carried out in described control command indication, from current interface, be switched to target interface;
Obtain the displaying contents relevant information in target interface, and return to described test terminal, so that described test terminal is by judging whether described displaying contents relevant information meets pre-stored demonstration rule, judge whether successful interface switches.
10. many interfaces of intelligent television switch test system, is characterized in that,
Control command receiver module, receives for intelligent television the control command that test terminal sends;
Parsing module, for resolving described control command;
Handover module, for when described control command is carried out the instruction of many interfaces handover operation for indication, is switched to target interface from current interface;
Displaying contents acquisition module, for obtaining the displaying contents relevant information in target interface, and return to described test terminal, so that described test terminal is by judging whether described displaying contents relevant information meets pre-stored demonstration rule, judge whether successful interface switches.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310606244.XA CN103596000B (en) | 2013-11-22 | 2013-11-22 | Intelligent television multiple solutions handoff testing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310606244.XA CN103596000B (en) | 2013-11-22 | 2013-11-22 | Intelligent television multiple solutions handoff testing method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103596000A true CN103596000A (en) | 2014-02-19 |
CN103596000B CN103596000B (en) | 2016-03-16 |
Family
ID=50085959
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310606244.XA Expired - Fee Related CN103596000B (en) | 2013-11-22 | 2013-11-22 | Intelligent television multiple solutions handoff testing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103596000B (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104991537A (en) * | 2015-06-30 | 2015-10-21 | 青岛海尔智能家电科技有限公司 | Control method of smart device |
CN105704487A (en) * | 2015-04-27 | 2016-06-22 | 深圳Tcl数字技术有限公司 | Television stability testing method and device |
CN105791704A (en) * | 2016-05-06 | 2016-07-20 | 高创(苏州)电子有限公司 | Function menu detection method and system, server, key equipment, and photographing equipment |
CN106488226A (en) * | 2015-08-25 | 2017-03-08 | 研祥智能科技股份有限公司 | A kind of automated detection method on production line and device |
CN107592524A (en) * | 2017-08-24 | 2018-01-16 | 康佳集团股份有限公司 | Intelligent television automation test method, system and storage device based on matrix |
CN109005459A (en) * | 2018-08-01 | 2018-12-14 | 四川长虹电器股份有限公司 | A method of the detection smart television application starting time |
CN110276942A (en) * | 2019-06-20 | 2019-09-24 | 百度在线网络技术(北京)有限公司 | Add method, apparatus, equipment and the readable storage medium storing program for executing of controlled device |
CN110648108A (en) * | 2019-08-30 | 2020-01-03 | 广东工业大学 | Office automation method and system based on key sprites |
CN110827532A (en) * | 2019-10-24 | 2020-02-21 | 深圳康佳电子科技有限公司 | Control method, terminal and storage medium |
CN110896473A (en) * | 2019-07-12 | 2020-03-20 | 研祥智能科技股份有限公司 | Detection method and system for display interface switching function |
CN112068918A (en) * | 2020-09-14 | 2020-12-11 | 上海商米科技集团股份有限公司 | Method for starting electronic equipment and electronic equipment |
CN116265972A (en) * | 2021-12-17 | 2023-06-20 | 荣耀终端有限公司 | Power consumption display method of mobile device and mobile device |
CN118214852A (en) * | 2023-12-19 | 2024-06-18 | 茂佳科技(广东)有限公司 | Data processing method, device and system for television |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110206136A1 (en) * | 2010-02-22 | 2011-08-25 | Echostar Global B.V. | Monitoring and controlling the operation of devices in a distributed network of broadcast devices |
CN102291595A (en) * | 2011-07-08 | 2011-12-21 | 深圳创维数字技术股份有限公司 | Testing method and device |
CN102419732A (en) * | 2011-12-27 | 2012-04-18 | Tcl集团股份有限公司 | Android-platform-based automated testing method and testing tool |
CN102595244A (en) * | 2012-02-24 | 2012-07-18 | 康佳集团股份有限公司 | Man-machine interaction method and system for switching television interfaces based on multi-point touch gestures |
CN102665094A (en) * | 2012-03-27 | 2012-09-12 | 深圳市九洲电器有限公司 | Test method of set-top box and test system thereof |
CN102857716A (en) * | 2012-08-21 | 2013-01-02 | 四川长虹电器股份有限公司 | Display method of television graphical interface |
-
2013
- 2013-11-22 CN CN201310606244.XA patent/CN103596000B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110206136A1 (en) * | 2010-02-22 | 2011-08-25 | Echostar Global B.V. | Monitoring and controlling the operation of devices in a distributed network of broadcast devices |
CN102291595A (en) * | 2011-07-08 | 2011-12-21 | 深圳创维数字技术股份有限公司 | Testing method and device |
CN102419732A (en) * | 2011-12-27 | 2012-04-18 | Tcl集团股份有限公司 | Android-platform-based automated testing method and testing tool |
CN102595244A (en) * | 2012-02-24 | 2012-07-18 | 康佳集团股份有限公司 | Man-machine interaction method and system for switching television interfaces based on multi-point touch gestures |
CN102665094A (en) * | 2012-03-27 | 2012-09-12 | 深圳市九洲电器有限公司 | Test method of set-top box and test system thereof |
CN102857716A (en) * | 2012-08-21 | 2013-01-02 | 四川长虹电器股份有限公司 | Display method of television graphical interface |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105704487A (en) * | 2015-04-27 | 2016-06-22 | 深圳Tcl数字技术有限公司 | Television stability testing method and device |
CN104991537B (en) * | 2015-06-30 | 2021-03-23 | 青岛海尔智能家电科技有限公司 | Control method of intelligent equipment |
CN104991537A (en) * | 2015-06-30 | 2015-10-21 | 青岛海尔智能家电科技有限公司 | Control method of smart device |
CN106488226A (en) * | 2015-08-25 | 2017-03-08 | 研祥智能科技股份有限公司 | A kind of automated detection method on production line and device |
CN106488226B (en) * | 2015-08-25 | 2019-01-04 | 研祥智能科技股份有限公司 | Automated detection method and device on a kind of production line |
CN105791704A (en) * | 2016-05-06 | 2016-07-20 | 高创(苏州)电子有限公司 | Function menu detection method and system, server, key equipment, and photographing equipment |
CN105791704B (en) * | 2016-05-06 | 2019-04-19 | 高创(苏州)电子有限公司 | Function menu detection method and system, server, press key equipment, photographing device |
CN107592524A (en) * | 2017-08-24 | 2018-01-16 | 康佳集团股份有限公司 | Intelligent television automation test method, system and storage device based on matrix |
CN109005459A (en) * | 2018-08-01 | 2018-12-14 | 四川长虹电器股份有限公司 | A method of the detection smart television application starting time |
CN110276942A (en) * | 2019-06-20 | 2019-09-24 | 百度在线网络技术(北京)有限公司 | Add method, apparatus, equipment and the readable storage medium storing program for executing of controlled device |
CN110896473A (en) * | 2019-07-12 | 2020-03-20 | 研祥智能科技股份有限公司 | Detection method and system for display interface switching function |
CN110648108A (en) * | 2019-08-30 | 2020-01-03 | 广东工业大学 | Office automation method and system based on key sprites |
CN110827532A (en) * | 2019-10-24 | 2020-02-21 | 深圳康佳电子科技有限公司 | Control method, terminal and storage medium |
CN112068918A (en) * | 2020-09-14 | 2020-12-11 | 上海商米科技集团股份有限公司 | Method for starting electronic equipment and electronic equipment |
CN116265972A (en) * | 2021-12-17 | 2023-06-20 | 荣耀终端有限公司 | Power consumption display method of mobile device and mobile device |
CN116265972B (en) * | 2021-12-17 | 2024-04-09 | 荣耀终端有限公司 | Power consumption display method of mobile device and mobile device |
CN118214852A (en) * | 2023-12-19 | 2024-06-18 | 茂佳科技(广东)有限公司 | Data processing method, device and system for television |
Also Published As
Publication number | Publication date |
---|---|
CN103596000B (en) | 2016-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103596000B (en) | Intelligent television multiple solutions handoff testing method and system | |
CN106559688B (en) | The upgrading test method and apparatus of remote controler | |
CN111988659B (en) | Multi-information-source dynamic window previewing method and device, intelligent display equipment and storage medium | |
CN103634592A (en) | Automatic test method and system for intelligent televisions | |
WO2014138097A1 (en) | Mobile device monitoring and testing | |
CN103607660A (en) | Intelligent television interface switching control method and control apparatus | |
US11074157B2 (en) | Splicing screen debugging method, splicing screen and splicing wall | |
US20150325109A1 (en) | Quick Remote Control Method and Device | |
CN105704487A (en) | Television stability testing method and device | |
CN103905872A (en) | Method and device for controlling multi-device system | |
CN102984578A (en) | Method, video terminal and system for processing program channel list information | |
CN112019933B (en) | Service method and device of intelligent hardware equipment | |
CN105187878A (en) | Television Bluetooth connection method and device | |
CN104333792A (en) | Key-value pair judging method and television | |
CN104077384A (en) | Mobile terminal as well as method and device for realizing video indexing by using screen splitting function | |
JP2009116535A (en) | Automatic test system, automatic test method and program | |
US20110251820A1 (en) | Evaluation system, evaluation device, evaluation method, and recording medium | |
KR20150035151A (en) | System, terminal device, verification apparatus, method and computer-readable medium for testing application performance | |
CN106652861A (en) | Detection method and device for display screen | |
CN109710436A (en) | Space method for cleaning, device, equipment and computer readable storage medium | |
CN115190057A (en) | Automatic testing method and device and electronic equipment | |
US11128923B2 (en) | Television program switching method and apparatus | |
CN103634679A (en) | Deleting control method and device for intelligent television text | |
CN110704127B (en) | Button control method, device, electronic equipment and storage medium | |
CN110928766A (en) | Application software testing method, device, equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160316 Termination date: 20161122 |