CN102845021B - Measurement method, measurement server and measurement user terminal of internet protocol television (iptv) terminal - Google Patents
Measurement method, measurement server and measurement user terminal of internet protocol television (iptv) terminal Download PDFInfo
- Publication number
- CN102845021B CN102845021B CN201180000257.1A CN201180000257A CN102845021B CN 102845021 B CN102845021 B CN 102845021B CN 201180000257 A CN201180000257 A CN 201180000257A CN 102845021 B CN102845021 B CN 102845021B
- Authority
- CN
- China
- Prior art keywords
- task
- test
- client
- tested
- iptv terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/004—Diagnosis, testing or measuring for television systems or their details for digital television systems
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A measurement method, a measurement server and a measurement user terminal of an internet protocol television (IPTV) terminal are provided by the embodiments of the present invention, which relate to the communications technology field and are invented to improve the expandability for measuring the IPTV terminal. The method includes: obtaining disposition information of at least two measurement user terminals and a task to be measured; determining a target measurement user terminal matching with the task to be measured, according to the task to be measured and the disposition information; sending down the task to be measured to the target measurement user terminal to make the target measurement user terminal can use the task to be measured to perform measurement for the IPTV terminal corresponding to the target measurement user terminal. The embodiments of the present invention are mostly used for all kinds of IPTV terminal measurement.
Description
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method of testing of IPTV terminal, testing server and test client.
Background technology
IPTV (Internet Protocol Television, internet protocol TV) business refers to the TV broadcasting service based on IP (Internet Protocol, Internet Protocol) agreement.At present, method test I PTV terminal end to end is generally used to present the quality of business.In test process, first, the test script that test client testing results server issues, and Long-distance Control IPTV terminal operates, and makes this IPTV terminal obtain the execution result of test script; Simultaneously, testing server obtains this execution result by video frequency collection card by described IPTV terminal, and this result is preserved into image be sent to described test client, by described test client, this image and local reference picture are contrasted, obtain the quality that IPTV terminal presents business.
Stating IPTV terminal in realization presents in the process of operational trials, inventor finds that in prior art, at least there are the following problems: testing server needs to develop different test scripts for different IPTV terminal, can not realize the test of polytype IPTV terminal.
Summary of the invention
The embodiment of the present invention provides a kind of method of testing of IPTV terminal, testing server and test client, improves extensibility when testing IPTV terminal.
The embodiment of the present invention adopts following technical scheme:
A method of testing for IPTV terminal, comprising:
Obtain the configuration information of at least two test clients and task to be tested;
Determine and the target detection client that described task to be tested matches according to described task to be tested and described configuration information;
Issue described task to be tested to described target detection client, make described target detection client utilize the described task to be tested pair IPTV terminal corresponding with described target detection client to test.
A method of testing for IPTV terminal, comprising:
Configuration information is sent to testing server;
The task to be tested matched with test client self receiving that described testing server issues, wherein said task to be tested is distributed according to described task to be tested and described configuration information by described server to be tested;
Perform described task to be tested, test with IPTV terminal corresponding to described test client self.
A kind of testing server, comprising:
Acquiring unit, for obtaining the configuration information of at least two test clients and task to be tested;
Determining unit, for determining and the target detection client that described task to be tested matches according to described task to be tested and described configuration information;
Task issues unit, for issuing described task to be tested to described target detection client, makes described target detection client utilize the described task to be tested pair IPTV terminal corresponding with described target detection client to test.
A kind of test client, comprising:
Information transmitting unit, for sending configuration information to testing server;
Task receiving element, for the task to be tested self matched with described test client receiving that described testing server issues, wherein said task to be tested is distributed according to described task to be tested and described configuration information by described server to be tested;
Task executing units, for performing described task to be tested, tests with IPTV terminal corresponding to described test client self.
The method of testing of a kind of IPTV terminal that the embodiment of the present invention provides, testing server and test client, obtain the configuration information of at least two test clients and task to be tested; Determine and the target detection client that described task to be tested matches according to described task to be tested and described configuration information; Issue described task to be tested to described target detection client, make described target detection client utilize the described task to be tested pair IPTV terminal corresponding with described target detection client to test.Because testing server can obtain target detection client by multiple test client, to complete the task to be tested for IPTV terminal, therefore, utilize the technical scheme of the embodiment of the present invention, the test that testing server can come polytype IPTV terminal by the quantity of extend testing client, improves the extensibility to IPTV terminal test.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the method for testing of the embodiment of the present invention one IPTV terminal;
Fig. 2 is the flow chart of the method for testing of the embodiment of the present invention two IPTV terminal;
Fig. 3 is the flow chart of the method for testing of the embodiment of the present invention three IPTV terminal;
Fig. 4 is the schematic diagram of the embodiment of the present invention four testing server;
Fig. 5 is the another schematic diagram of the embodiment of the present invention four testing server;
Fig. 6 is a schematic diagram again of the embodiment of the present invention four testing server;
Fig. 7 is the schematic diagram of the embodiment of the present invention five test client;
Fig. 8 is the schematic diagram of the task executing units in the embodiment of the present invention five;
Fig. 9 is the another schematic diagram of the embodiment of the present invention five test client;
Figure 10 is the schematic diagram of embodiment of the present invention IPTV terminal test macro.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, 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, belong to the scope of protection of the invention.
As shown in Figure 1, the embodiment of the present invention one provides a kind of method of testing of IPTV terminal, comprises the steps:
Step 11, testing server obtain the configuration information of at least two test clients and task to be tested.
In the present embodiment, the mode that testing server obtains the configuration information of test client can be: first, and described testing server sends address notification message to described test client, comprises the address information of testing server at described address notification message; Then, described testing server receives the configuration information that described test client sends according to described address notification message.
Wherein, described configuration information at least comprises the address information etc. of the CPU parameter of test client, memory information, test client.
Tester can issue task to be tested to described testing server, concrete, and described tester can according to designing task to be tested to the testing requirement of IPTV terminal and being handed down to testing server.
Step 12, testing server are determined and the target detection client that described task to be tested matches according to described task to be tested and described configuration information.
Wherein, described testing server resolves described task to be tested, obtains the type of described task to be tested; Then, the type of described task to be tested and described configuration information are compared, obtain the target configuration information with the type matching of described task to be tested; And then the test client with described target configuration information is defined as target detection client.
Step 13, testing server issue described task to be tested to described target detection client, make described target detection client utilize the described task to be tested pair IPTV terminal corresponding with described target detection client to test.
Because testing server can obtain target detection client by multiple test client, to complete the task to be tested for IPTV terminal, therefore, utilize the technical scheme of the embodiment of the present invention, the test that testing server can come polytype IPTV terminal by the quantity of extend testing client, improves the extensibility to IPTV terminal test.
As shown in Figure 2, the embodiment of the present invention two provides a kind of method of testing of IPTV terminal, comprises the steps:
Step 21, test client send configuration information to testing server.
In the present embodiment, described test client receives the address notification message that described testing server sends, wherein, described address notification message comprises the address information of testing server, and then described test client sends configuration information according to described address notification message to described testing server.Wherein, described configuration information at least comprises the address information etc. of the CPU parameter of test client, memory information, test client.
The task to be tested self matched with described test client that step 22, test client receive that described testing server issues, wherein said task to be tested is distributed according to described task to be tested and described configuration information by described server to be tested.
Wherein, described task to be tested comprises description document, test suite file and screenshotss software package file, and described test suite file comprises test case file, reference picture file and key assignments mapped file.Wherein, described description document describes file type, filename and file path; Described test case file is used for making described test client perform task to be tested; Described key assignments mapped file is used for making described test client obtain terminal key value mapping table; Described screenshotss software package file and described reference picture are used for making described test client obtain test result, concrete, described test client utilizes described screenshotss software package file to obtain snapshot picture by described IPTV terminal, and described snapshot picture and described reference picture are compared, obtain test result.
Step 23, test client perform described task to be tested, test with IPTV terminal corresponding to described test client self.Because testing server can obtain target detection client by multiple test client, to complete the task to be tested for IPTV terminal, therefore, utilize the technical scheme of the embodiment of the present invention, the test that testing server can come polytype IPTV terminal by the quantity of extend testing client, improves the extensibility to IPTV terminal test.
As shown in Figure 3, the embodiment of the present invention three provides a kind of method of testing of IPTV terminal, comprises the steps:
Step 31, testing server send address notification message to test client, comprise the address information of testing server at described address notification message.
In the present embodiment, first described test client carries out initialization operation.Upon initialization, the configuration information of test client reading self, pull-up is monitored, the message that snoopy test server side sends.Now, described testing server sends address notification message to described test client, comprise the address information of testing server at described address notification message, be convenient to described test client, according to described address information, himself configuration information sent to described testing server.Concrete, described address notification message can with multicast bear, and its TTL (Time To Live, life span) equals 1.Wherein, described configuration information at least comprises the address information etc. of the CPU parameter of test client, memory information, test client.
Step 32, test client receive described address notification message, and send himself configuration information according to described address information to testing server.
Step 33, testing server obtain the configuration information of at least two test clients and task to be tested.
This step is with reference to the step 11 in embodiment one.
Step 34, testing server are determined and the target detection client that described task to be tested matches according to described task to be tested and described configuration information.
This step is with reference to the step 12 in embodiment one.
Step 35, testing server select the test client for performing this test assignment from described target detection client.
In the present embodiment, exactly described task to be tested is issued to destination client to make described testing server, first described testing server judges whether described target detection client is in upstate, if described target detection client is not in upstate, so cancels and issue described task to be tested; If described target detection client is in upstate, judge whether described available targets test client is in idle condition so further.
Concrete, described testing server periodically can send the first STATUS ENQUIRY message to described target detection client, when receiving the first status response message of target detection client, described target detection client is defined as the available targets test client being in upstate.Wherein, the described cycle can be determined by operator.
Further, successfully task to be tested is handed down to described available targets test client to make described testing server, after described testing server determines that described target detection client is in upstate, also to determine whether described available targets test client is in idle condition, if described available targets test client is not in idle condition, so cancel described task to be tested, if described available targets test client is in idle condition, so issue described task to be tested to the described available targets test client being in idle condition.
Concrete, described testing server periodically can send the second STATUS ENQUIRY message to described available targets test client, when receiving the second status response message of described available targets test client, described available targets test client is defined as the available targets test client being in idle condition.Wherein, the described cycle can be determined by operator.
Wherein, described first STATUS ENQUIRY message and described second STATUS ENQUIRY message can be same STATUS ENQUIRY message, and described first status response message and described second status response message also can be same status response message.
Step 36, testing server issue described task to be tested to the described available targets test client being in idle condition.
Described testing server, to after the available targets test client being in idle condition issues described task to be tested, also can identify the IPTV terminal type corresponding with described test client.
Step 37, test client perform described task to be tested, and obtain test result.
In the present embodiment, first described test client resolves described task to be tested, and issues described screenshotss software package file to described IPTV terminal and add mounted terminal key value mapping table to the hardware box of described IPTV terminal.Wherein, when described test client adds mounted terminal key value mapping table to the hardware box of described IPTV terminal, first read described description document, obtained the path of described key assignments mapped file by described description document; Further, obtain terminal key value mapping table by described path and described key assignments mapped file, and load described terminal key value mapping table to the hardware box of described IPTV terminal.
Then, described test client resolves described test case file, and the hardware box to described IPTV terminal issues script and performs request; Then, the hardware box of described IPTV terminal performs request according to described script, the script file obtained by described test case file is resolved by preset actuator, and obtain terminal key assignments, and then utilize described terminal key assignments and described terminal key value mapping table to control described IPTV terminal to operate; Described IPTV terminal utilizes the snapshot picture in described screenshotss software package file acquisition operating process.
Because described test client is without the need to obtaining snapshot picture by other testing equipments (such as, video frequency collection card), reduce the cost to IPTV terminal test.
Finally, described snapshot picture and described reference picture file compare by described test client, obtain test result.
Wherein, described test client by the same degree of described snapshot picture and described reference picture, can obtain corresponding test result.
Described test result is sent to testing server by step 38, test client.
Analyze described test result for the ease of operator, improve IPTV terminal and present quality, described test result can be sent to testing server by test client.
Because testing server can by obtaining target detection client in multiple test client to complete the task to be tested for IPTV terminal, and each target detection client just can automatically perform task to be tested without the need to manual operation, therefore, utilize the technical scheme of the embodiment of the present invention, the test that testing server can come polytype IPTV terminal by the quantity of extend testing client, improve the extensibility to IPTV terminal test, and improve the efficiency of IPTV terminal test.
As shown in Figure 4, the embodiment of the present invention four provides a kind of testing server, comprising: acquiring unit 41, for obtaining the configuration information of at least two test clients and task to be tested; Determining unit 42, for determining and the target detection client that described task to be tested matches according to described task to be tested and described configuration information; Task issues unit 43, for issuing described task to be tested to described target detection client, makes described target detection client utilize the described task to be tested pair IPTV terminal corresponding with described target detection client to test.
Wherein, described acquiring unit 41 comprises: message transmission module, for sending address notification message to described test client, comprising the address information of testing server at described address notification message, sending configuration information to make described test client according to described address information; Information receiving module, for receiving the configuration information that described test client sends according to described address notification message; Task acquisition module, for obtaining task to be tested.
Described determining unit 42 comprises: comparison module, for the type of described task to be tested and described configuration information being compared; Data obtaining module, for obtaining the target configuration information with the type matching of described task to be tested; Determination module, for being defined as target detection client by the test client with described target configuration information.
Task to be tested is issued to described target detection client exactly in order to make described testing server, as shown in Figure 5, on the basis of Fig. 4, described testing server also comprises: the first determining unit 51, for determining the available targets test client being in upstate from described target detection client; Second determining unit 52, for determining the available targets test client being in idle condition from described available targets test client.Now, described task issues unit 43 specifically for issuing described task to be tested to the described available targets test client being in idle condition.
Concrete, described first determining unit 51 comprises: the first message transmission module, for sending the first STATUS ENQUIRY message to described target detection client; First determination module, for when receiving the first status response message of target detection client, is defined as described target detection client the available targets test client being in upstate.
Described second determining unit 52 comprises: the second message transmission module, for sending the second STATUS ENQUIRY message to described available targets test client; Second determination module, for when receiving the second status response message of described available targets test client, is defined as described available targets test client the available targets test client being in idle condition.
Wherein, described first STATUS ENQUIRY message and described second STATUS ENQUIRY message can be same STATUS ENQUIRY message, and described first status response message and described second status response message also can be same status response message.
As shown in Figure 6, on the basis of Fig. 5, described testing server also comprises: receiving element 61, for receiving the test result of described target detection client.
Wherein, the operation principle of described testing server can description in reference method embodiment.
Because testing server can obtain target detection client by multiple test client, to complete the task to be tested for IPTV terminal, therefore, utilize the testing server of the embodiment of the present invention, the test that can come polytype IPTV terminal by the quantity of extend testing client, improves the extensibility to IPTV terminal test.
As shown in Figure 7, the embodiment of the present invention five provides a kind of test client, comprising: information transmitting unit 71, for sending configuration information to testing server; Task receiving element 72, for the task to be tested self matched with described test client receiving that described testing server issues, wherein said task to be tested is distributed according to described task to be tested and described configuration information by described server to be tested; Task executing units 73, for performing described task to be tested, tests with IPTV terminal corresponding to described test client self.
Wherein, described information transmitting unit 71 comprises: message reception module, for receiving the address notification message that described testing server sends, comprises the address information of testing server at described address notification message; Information sending module, for sending configuration information according to described address notification message to described testing server.
In the present embodiment, described task to be tested comprises description document, test suite file and screenshotss software package file, and described test suite file comprises test case file, reference picture file and key assignments mapped file.
Concrete, as shown in Figure 8, described task executing units 73 comprises: task processing module 731, for resolving described task to be tested, issuing described screenshotss software package file and add mounted terminal key value mapping table to the hardware box of described IPTV terminal to described IPTV terminal; Task execution module 732, for resolving described test case file, hardware box to described IPTV terminal issues script and performs request, utilize described terminal key value mapping table to control described IPTV terminal by the hardware box of described IPTV terminal to operate accordingly, and utilize the snapshot picture in described screenshotss software package file acquisition operating process by described IPTV terminal; Result acquisition module 733, for obtaining described snapshot picture by described IPTV terminal, and compares described snapshot picture and described reference picture file, obtains test result.
Wherein, described task processing module 731 comprises: analyzing sub-module, for resolving described task to be tested; Issue submodule, for issuing described screenshotss software package file to described IPTV terminal; Path obtains submodule, for reading described description document, obtains the mapping path of described key assignments mapped file; Load submodule, for obtaining terminal key value mapping table by described mapping path and described key assignments mapped file, the hardware box to described IPTV terminal loads described terminal key value mapping table.
Task execution module 732 comprises: analyzing sub-module, for resolving described test case file; Request issues submodule, performs request for issuing script to the hardware box of described IPTV terminal; Key assignments obtains submodule, performs request, resolved the script file obtained by described test case file, and obtain terminal key assignments by preset actuator for described hardware box according to described script; Control submodule, control described IPTV terminal for utilizing described terminal key assignments and described terminal key value mapping table and operate.
As shown in Figure 9, on the basis of Fig. 7, described test client also comprises: result transmitting element 91, sends described test result to described testing server.
Wherein, the operation principle of described test client can description in reference method embodiment.
Because testing server can by obtaining target detection client in multiple test client to complete the task to be tested for IPTV terminal, and each target detection client just can automatically perform task to be tested without the need to manual operation, therefore, utilize the test client of the embodiment of the present invention, improve the extensibility to IPTV terminal test, and improve the efficiency of IPTV terminal test.
In addition, Figure 10 shows the schematic diagram of IPTV terminal test macro in embody rule, and this system comprises the hardware box 105 of operation system 101, testing server 102, test client 103, IPTV terminal 104 and IPTV terminal.
Wherein, described IPTV terminal 104 is for asking IPTV service to described operation system 101, and described operation system 101 and described IPTV terminal 104 complete IPTV terminal alternately and present business; Described testing server 102 is for management and monitor described test client 103, and issues task to be tested to described test client 103; Described test client 103, for receiving and performing task to be tested, and reports testing server 102 by test result; The hardware box 105 of described IPTV terminal, for receiving the task-performance instructions of described test client 103, controls described IPTV terminal 104 and carries out having operated task to be tested.
Described testing server 102 can be the arbitrary described testing server of Fig. 4-Fig. 6, and described test client 103 can be the arbitrary described test client of Fig. 7-Fig. 9.
In sum, testing server obtains the configuration information of at least two test clients and task to be tested, and determine and the target detection client that described task to be tested matches according to described task to be tested and described configuration information, and then issue described task to be tested to described target detection client, make described target detection client utilize the described task to be tested pair IPTV terminal corresponding with described target detection client to test.Therefore, utilize the technical scheme of the embodiment of the present invention, improve the extensibility of IPTV terminal test.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.
Claims (21)
1. a method of testing for IPTV terminal, is characterized in that, comprising:
Obtain the configuration information of at least two test clients and task to be tested;
Determine and the target detection client that described task to be tested matches according to described task to be tested and described configuration information;
Issue described task to be tested to described target detection client, make described target detection client utilize the described task to be tested pair IPTV terminal corresponding with described target detection client to test;
The configuration information of described acquisition at least two test clients comprises:
Send address notification message to described test client, comprise the address information of testing server at described address notification message;
Receive the configuration information that described test client sends to described testing server according to described address notification message.
2. method according to claim 1, is characterized in that, describedly determines that the target detection client matched with described task to be tested comprises according to described task to be tested and described configuration information:
The type of described task to be tested and described configuration information are compared, obtains the target configuration information with the type matching of described task to be tested;
The test client with described target configuration information is defined as target detection client.
3. method according to claim 1, is characterized in that, before issuing described task to be tested to described target detection client, described method also comprises:
The available targets test client being in upstate is determined from described target detection client;
The available targets test client being in idle condition is determined from described available targets test client;
Describedly issue described task to be tested to described target detection client and comprise:
Described task to be tested is issued to the described available targets test client being in idle condition.
4. method according to claim 3, is characterized in that, describedly from described target detection client, determines that the available targets test client being in upstate comprises:
Sending the first STATUS ENQUIRY message to described target detection client, when receiving the first status response message of target detection client, described target detection client being defined as the available targets test client being in upstate;
Describedly from described available targets test client, determine that the available targets test client being in idle condition comprises:
The second STATUS ENQUIRY message is sent to described available targets test client, when receiving the second status response message of described available targets test client, described available targets test client is defined as the available targets test client being in idle condition.
5., according to the arbitrary described method of claim 1-4, it is characterized in that, after issuing described task to be tested to described target detection client, described method also comprises:
Receive the test result of described target detection client.
6. a method of testing for IPTV terminal, is characterized in that, comprising:
Configuration information is sent to testing server;
The task to be tested matched with test client self receiving that described testing server issues, wherein said task to be tested is distributed according to described task to be tested and described configuration information by described server to be tested;
Perform described task to be tested, test with IPTV terminal corresponding to described test client self;
Described to testing server send configuration information comprise:
Receive the address notification message that described testing server sends, comprise the address information of described testing server at described address notification message;
Configuration information is sent to described testing server according to described address notification message.
7. method according to claim 6, is characterized in that, described task to be tested comprises description document, test suite file and screenshotss software package file, and described test suite file comprises test case file, reference picture file and key assignments mapped file;
The described task to be tested of described execution, comprises carrying out test with IPTV terminal corresponding to described test client self:
Resolve described task to be tested, issue described screenshotss software package file to described IPTV terminal and add mounted terminal key value mapping table to the hardware box of described IPTV terminal;
Resolve described test case file, hardware box to described IPTV terminal issues script and performs request, utilize described terminal key value mapping table to control described IPTV terminal by the hardware box of described IPTV terminal to operate accordingly, and utilize the snapshot picture in described screenshotss software package file acquisition operating process by described IPTV terminal;
Obtain described snapshot picture by described IPTV terminal, and described snapshot picture and described reference picture file are compared, obtain test result.
8. method according to claim 7, is characterized in that, the described hardware box to described IPTV terminal adds mounted terminal key value mapping table and comprises:
Read described description document, obtain the mapping path of described key assignments mapped file;
Obtain terminal key value mapping table by described mapping path and described key assignments mapped file, the hardware box to described IPTV terminal loads described terminal key value mapping table.
9. method according to claim 7, is characterized in that, described in make the hardware box of described IPTV terminal utilize described terminal key value mapping table to control described IPTV terminal to carry out corresponding operation and comprise:
Described hardware box performs request according to described script, is resolved the script file obtained by described test case file, and obtain terminal key assignments by preset actuator; Utilize described terminal key assignments and described terminal key value mapping table to control described IPTV terminal to operate.
10., according to the arbitrary described method of claim 6-9, it is characterized in that, described method also comprises:
Described test result is sent to described testing server.
11. 1 kinds of testing servers, is characterized in that, comprising:
Acquiring unit, for obtaining the configuration information of at least two test clients and task to be tested;
Determining unit, for determining and the target detection client that described task to be tested matches according to described task to be tested and described configuration information;
Task issues unit, for issuing described task to be tested to described target detection client, makes described target detection client utilize the described task to be tested pair IPTV terminal corresponding with described target detection client to test;
Described acquiring unit comprises:
Message transmission module, for sending address notification message to described test client, comprises the address information of testing server at described address notification message;
Information receiving module, for receiving the configuration information that described test client sends to described testing server according to described address notification message;
Task acquisition module, for obtaining task to be tested.
12. testing servers according to claim 11, is characterized in that, described determining unit comprises:
Comparison module, for comparing the type of described task to be tested and described configuration information;
Data obtaining module, for obtaining the target configuration information with the type matching of described task to be tested;
Determination module, for being defined as target detection client by the test client with described target configuration information.
13. testing servers according to claim 11, is characterized in that, described testing server also comprises:
First determining unit, for determining the available targets test client being in upstate from described target detection client;
Second determining unit, for determining the available targets test client being in idle condition from described available targets test client;
Described task issues unit specifically for issuing described task to be tested to the described available targets test client being in idle condition.
14. methods according to claim 13, is characterized in that, described first determining unit comprises:
First message transmission module, for sending the first STATUS ENQUIRY message to described target detection client;
First determination module, for when receiving the first status response message of target detection client, is defined as described target detection client the available targets test client being in upstate.
15. testing servers according to claim 13, is characterized in that, described second determining unit comprises:
Second message transmission module, for sending the second STATUS ENQUIRY message to described available targets test client;
Second determination module, for when receiving the second status response message of described available targets test client, is defined as described available targets test client the available targets test client being in idle condition.
16., according to the arbitrary described testing server of claim 11-15, is characterized in that, also comprise:
Receiving element, for receiving the test result of described target detection client.
17. 1 kinds of test clients, is characterized in that, comprising:
Information transmitting unit, for sending configuration information to testing server;
Task receiving element, for the task to be tested self matched with described test client receiving that described testing server issues, wherein said task to be tested is distributed according to described task to be tested and described configuration information by described server to be tested;
Task executing units, for performing described task to be tested, tests with IPTV terminal corresponding to described test client self;
Described information transmitting unit comprises:
Message reception module, for receiving the address notification message that described testing server sends, comprises the address information of described testing server at described address notification message;
Information sending module, for sending configuration information according to described address notification message to described testing server.
18. test clients according to claim 17, it is characterized in that, described task to be tested comprises description document, test suite file and screenshotss software package file, and described test suite file comprises test case file, reference picture file and key assignments mapped file; Described task executing units comprises:
Task processing module, for resolving described task to be tested, issuing described screenshotss software package file to described IPTV terminal and adding mounted terminal key value mapping table to the hardware box of described IPTV terminal;
Task execution module, for resolving described test case file, hardware box to described IPTV terminal issues script and performs request, utilize described terminal key value mapping table to control described IPTV terminal by the hardware box of described IPTV terminal to operate accordingly, and utilize the snapshot picture in described screenshotss software package file acquisition operating process by described IPTV terminal;
Result acquisition module, for obtaining described snapshot picture by described IPTV terminal, and compares described snapshot picture and described reference picture file, obtains test result.
19. test clients according to claim 18, is characterized in that, described task processing module comprises:
Analyzing sub-module, for resolving described task to be tested;
Issue submodule, for issuing described screenshotss software package file to described IPTV terminal;
Path obtains submodule, for reading described description document, obtains the mapping path of described key assignments mapped file;
Load submodule, for obtaining terminal key value mapping table by described mapping path and described key assignments mapped file, the hardware box to described IPTV terminal loads described terminal key value mapping table.
20. test clients according to claim 18, is characterized in that, described task execution module comprises:
Analyzing sub-module, for resolving described test case file;
Request issues submodule, performs request for issuing script to the hardware box of described IPTV terminal;
Key assignments obtains submodule, performs request, resolved the script file obtained by described test case file, and obtain terminal key assignments by preset actuator for described hardware box according to described script;
Control submodule, control described IPTV terminal for utilizing described terminal key assignments and described terminal key value mapping table and operate.
21. test clients according to claim 18-20, is characterized in that, also comprise:
Result transmitting element, for sending described test result to described testing server.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2011/073091 WO2011107058A2 (en) | 2011-04-20 | 2011-04-20 | Measurement method, measurement server and measurement user terminal of internet protocol television (iptv) terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102845021A CN102845021A (en) | 2012-12-26 |
CN102845021B true CN102845021B (en) | 2015-03-11 |
Family
ID=44542643
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201180000257.1A Active CN102845021B (en) | 2011-04-20 | 2011-04-20 | Measurement method, measurement server and measurement user terminal of internet protocol television (iptv) terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102845021B (en) |
WO (1) | WO2011107058A2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109120679A (en) * | 2018-07-27 | 2019-01-01 | 平安科技(深圳)有限公司 | Method for allocating tasks and device |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105704487A (en) * | 2015-04-27 | 2016-06-22 | 深圳Tcl数字技术有限公司 | Television stability testing method and device |
CN108415398B (en) * | 2017-02-10 | 2021-07-16 | 上海辇联网络科技有限公司 | Automatic test system and test method for automobile information safety |
CN113489848B (en) * | 2021-07-06 | 2023-09-29 | 厦门亿联网络技术股份有限公司 | Terminal equipment testing method and device, electronic equipment and storage medium |
CN113613099A (en) * | 2021-08-06 | 2021-11-05 | 国网浙江省电力有限公司检修分公司 | Secondary equipment test system based on internet of things |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101483562A (en) * | 2009-02-19 | 2009-07-15 | 中兴通讯股份有限公司 | Method, system and related equipment for routine test |
CN101605345A (en) * | 2009-07-20 | 2009-12-16 | 深圳华为通信技术有限公司 | A kind of method of testing external field services, equipment and system |
US7729477B2 (en) * | 2006-02-17 | 2010-06-01 | At&T Intellectual Property I, L.P. | System and method for detecting continuity of network lines |
CN101983498A (en) * | 2008-04-03 | 2011-03-02 | 诺基亚西门子通信公司 | Method and device for data processing and communication system comprising such device |
-
2011
- 2011-04-20 CN CN201180000257.1A patent/CN102845021B/en active Active
- 2011-04-20 WO PCT/CN2011/073091 patent/WO2011107058A2/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7729477B2 (en) * | 2006-02-17 | 2010-06-01 | At&T Intellectual Property I, L.P. | System and method for detecting continuity of network lines |
CN101983498A (en) * | 2008-04-03 | 2011-03-02 | 诺基亚西门子通信公司 | Method and device for data processing and communication system comprising such device |
CN101483562A (en) * | 2009-02-19 | 2009-07-15 | 中兴通讯股份有限公司 | Method, system and related equipment for routine test |
CN101605345A (en) * | 2009-07-20 | 2009-12-16 | 深圳华为通信技术有限公司 | A kind of method of testing external field services, equipment and system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109120679A (en) * | 2018-07-27 | 2019-01-01 | 平安科技(深圳)有限公司 | Method for allocating tasks and device |
Also Published As
Publication number | Publication date |
---|---|
CN102845021A (en) | 2012-12-26 |
WO2011107058A2 (en) | 2011-09-09 |
WO2011107058A3 (en) | 2012-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102845021B (en) | Measurement method, measurement server and measurement user terminal of internet protocol television (iptv) terminal | |
CN108141385B (en) | Cloud-based system and method for managing test configuration of cable test equipment | |
US9973390B2 (en) | Method of discovering network topology | |
US10135702B2 (en) | Methods, systems, and computer readable media for testing network function virtualization (NFV) | |
EP3169018B1 (en) | Method and device for establishing performance measurement task and processing performance measurement result | |
CN109067938B (en) | Method and device for testing DNS (Domain name Server) | |
US8850398B1 (en) | Automated testing of application programs from an application program ecosystem | |
US11184411B2 (en) | Communication terminal, communication system, log data transmission method, and non-transitory computer-readable medium | |
CN103678130A (en) | Automated performance test method and platform | |
US10581695B2 (en) | Test system and method for benchmark testing a device under test | |
US20130322266A1 (en) | Network traffic monitoring | |
Alay et al. | MONROE: Measuring mobile broadband networks in Europe | |
CN110650042A (en) | Electric power communication network health degree evaluation method and terminal equipment | |
CN110601915A (en) | Method and device for testing gateway device | |
CN109729058B (en) | Traffic hijacking analysis method and device | |
CN114302429A (en) | NWDAF network element determination method, device, equipment and storage medium | |
CN108141381B (en) | System and method to coordinate cable test results with cable test configuration | |
CN107092547B (en) | Equipment test method, electronic equipment and test system | |
CN107645727B (en) | Method and device for testing base station | |
CN104796388A (en) | Network equipment scanning method and system and related devices | |
US20150257021A1 (en) | System, Device And Method For Testing App Performance | |
US20210195498A1 (en) | Terminal, relay apparatus selection apparatus, communication method, relay apparatus selection method, and program | |
CN111078477A (en) | Interface test method and device, storage medium and electronic equipment | |
CN110247904A (en) | Scanning method and device | |
CN113741397B (en) | Performance test method and system for intelligent household equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |