CN104881342A - Terminal testing method and device - Google Patents

Terminal testing method and device Download PDF

Info

Publication number
CN104881342A
CN104881342A CN201510354712.8A CN201510354712A CN104881342A CN 104881342 A CN104881342 A CN 104881342A CN 201510354712 A CN201510354712 A CN 201510354712A CN 104881342 A CN104881342 A CN 104881342A
Authority
CN
China
Prior art keywords
test
terminal
event
command
case
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510354712.8A
Other languages
Chinese (zh)
Other versions
CN104881342B (en
Inventor
周志彬
张鹏
赵孟磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510354712.8A priority Critical patent/CN104881342B/en
Publication of CN104881342A publication Critical patent/CN104881342A/en
Application granted granted Critical
Publication of CN104881342B publication Critical patent/CN104881342B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a terminal testing method and device. The terminal testing method is applied to a first terminal and comprises the steps that when interaction testing needs to be carried out on a first testing event, a first testing command corresponding to the first testing event is determined; the first testing command is sent to a second terminal, so that the second terminal generates a first testing living example corresponding to the first testing event according to the first testing command; the first testing living example, corresponding to the first testing event, returned by the second terminal is received; testing is carried out according to the first testing living example, and a testing result corresponding to the first testing event is obtained. According to the terminal testing method and device, interaction testing can be completed for the first terminal through the second terminal, the first terminal can independently choose the testing opportunity, and the second terminal provides the testing living example for the first terminal, so that the terminal testing difficulty is lowered, and the terminal testing efficiency is improved.

Description

Terminal test method and device
Technical field
The disclosure relates to network communication technology field, particularly relates to terminal test method and device.
Background technology
Along with the development of the network communications technology, the application of terminal device is more and more extensive.Therefore, various functions test is carried out to terminal device and become more and more important.In correlation technique, single terminal device is only limitted to the functional test of terminal device or pressure test.It can thus be appreciated that the terminal test in correlation technique can not complete the interactive testing between terminal well.
Summary of the invention
Present disclose provides terminal test method and device, to solve the problem that method of testing of the prior art can not complete the interactive testing between terminal well.
According to the first aspect of disclosure embodiment, provide a kind of terminal test method, described method is applied on first terminal, comprising:
When needs carry out interactive testing to the first test event, determine the first test command that described first test event is corresponding;
Described first test command is sent to the second terminal, with make described second terminal according to the first test command generate the first test case corresponding to described first test event;
Receive the first test case that described first test event that described second terminal returns is corresponding;
Test according to described first test case, obtain the test result that described first test event is corresponding.
Optionally, described first test event is call test, note test, the test of instant messaging IM information test, Bluetooth pairing and wireless network WIFI hot spot share at least one in test.
Optionally, described described first test command is sent to the second terminal, with make described second terminal according to the first test command generate the first test case corresponding to described first test event, comprising:
First test command of the device identification of the event identifier and first terminal that carry the first test event is sent to the second terminal, to make described second terminal generate the first test case corresponding to described first test event according to described event identifier, and according to described device identification, described first test case is returned described first terminal.
Optionally, described method also comprises:
Default test event and corresponding test command are sent to described second terminal, set up the corresponding relation of described test event and described test command to make described second terminal;
Or, receive the test event preset of described second terminal transmission and corresponding test command, and set up the corresponding relation of described test event and described test command.
Optionally, described method also comprises:
Receive the second test command that the second terminal sends, described second test command is the described second terminal test command that determined described second test event is corresponding when needing to carry out interactive testing to the second test event;
The second test case corresponding to described second test event is generated according to described second test command;
Described second test case is sent to described second terminal, states test case to make described second terminal according to institute second and test, obtain the test result that described second test event is corresponding.
Optionally, described second test event is call test, note test, the test of IM information test, Bluetooth pairing and WIFI hot spot share at least one in test.
Optionally, described second test case corresponding according to described second test event of described second test command generation, comprising:
If described second test event is call test, then the second test case generated is a test telephone;
If described second test event is note test, then the second test case generated is a test short message;
If described second test event is IM information test, then the second test case generated is a test I M message;
If described second test event is Bluetooth pairing test, then the second test case generated is a test Bluetooth pairing message;
If described second test event is WIFI hot spot share test, then the second test case generated is that a test WIFI hot spot shares message.
According to the second aspect of disclosure embodiment, provide a kind of terminal test method, described method is applied on first terminal, comprising:
When needs carry out interactive testing to the first test event, determine the first test command that described first test event is corresponding;
Described first test command is sent to server, with make described server according to the first test command generate the first test case corresponding to described first test event;
Receive the first test case that described first test event that described server returns is corresponding;
Test according to described first test case, obtain the test result that described first test event is corresponding.
According to the third aspect of disclosure embodiment, provide a kind of terminal test method, described method is applied on server, comprising:
Receive the first test command that first terminal sends, described first test command is the described first terminal test command that determined described first test event is corresponding when needing to carry out interactive testing to the first test event;
The first test case corresponding to described first test event is generated according to described first test command;
Described first test case is sent to described first terminal, to make described first terminal test according to described first test case, obtains the test result that described first test event is corresponding.
According to the fourth aspect of disclosure embodiment, provide a kind of terminal test device, described application of installation, on first terminal, comprising:
Test command determining unit, for when needs carry out interactive testing to the first test event, determines the first test command that described first test event is corresponding;
First transmitting element, for described first test command is sent to the second terminal, with make described second terminal according to the first test command generate the first test case corresponding to described first test event;
First receiving element, for receiving the first test case corresponding to described first test event that described second terminal returns;
Test cell, for testing according to described first test case, obtains the test result that described first test event is corresponding.
Optionally, described first test event is call test, note test, the test of instant messaging IM information test, Bluetooth pairing and wireless network WIFI hot spot share at least one in test.
Optionally, described first transmitting element is used for the first test command of the device identification of the event identifier and first terminal that carry the first test event to be sent to the second terminal, to make described second terminal generate the first test case corresponding to described first test event according to described event identifier, and according to described device identification, described first test case is returned described first terminal.
Optionally, described device also comprises:
Transmit-Receive Unit, for default test event and corresponding test command are sent to described second terminal, sets up the corresponding relation of described test event and described test command to make described second terminal; Or, receive the test event preset of described second terminal transmission and corresponding test command, and set up the corresponding relation of described test event and described test command.
Optionally, described device also comprises:
Second receiving element, for receiving the second test command that the second terminal sends, described second test command is the described second terminal test command that determined described second test event is corresponding when needing to carry out interactive testing to the second test event;
Test case generation unit, for generating the second test case corresponding to described second test event according to described second test command;
Second transmitting element, for described second test case is sent to described second terminal, states test case to make described second terminal according to institute second and tests, obtain the test result that described second test event is corresponding.
Optionally, described second test event is call test, note test, the test of IM information test, Bluetooth pairing and WIFI hot spot share at least one in test.
Optionally, if it is call test that described test case generation unit is used for described second test event, then the second test case generated is a test telephone; If described second test event is note test, then the second test case generated is a test short message; If described second test event is IM information test, then the second test case generated is a test I M message; If described second test event is Bluetooth pairing test, then the second test case generated is a test Bluetooth pairing message; If described second test event is WIFI hot spot share test, then the second test case generated is that a test WIFI hot spot shares message.
According to the 5th aspect of disclosure embodiment, provide a kind of terminal test device, described application of installation, on first terminal, comprising:
Test command determining unit, for when needs carry out interactive testing to the first test event, determines the first test command that described first test event is corresponding;
Transmitting element, for described first test command is sent to server, with make described server according to the first test command generate the first test case corresponding to described first test event;
Receiving element, for receiving the first test case corresponding to described first test event that described server returns;
Test cell, for testing according to described first test case, obtains the test result that described first test event is corresponding.
According to the 6th aspect of disclosure embodiment, provide a kind of terminal test device, described application of installation, on server, comprising:
Receiving element, for receiving the first test command that first terminal sends, described first test command is the described first terminal test command that determined described first test event is corresponding when needing to carry out interactive testing to the first test event;
Test case generation unit, for generating the first test case corresponding to described first test event according to described first test command;
Second transmitting element, for described first test case is sent to described first terminal, states test case to make described first terminal according to institute first and tests, obtain the test result that described first test event is corresponding.
According to the 7th aspect of disclosure embodiment, provide a kind of terminal test device, described application of installation, on first terminal, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
When needs carry out interactive testing to the first test event, determine the first test command that described first test event is corresponding;
Described first test command is sent to the second terminal, with make described second terminal according to the first test command generate the first test case corresponding to described first test event;
Receive the first test case that described first test event that described second terminal returns is corresponding;
Test according to described first test case, obtain the test result that described first test event is corresponding.
According to the eighth aspect of disclosure embodiment, provide a kind of terminal test device, described application of installation, on first terminal, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
When needs carry out interactive testing to the first test event, determine the first test command that described first test event is corresponding;
Described first test command is sent to server, with make described server according to the first test command generate the first test case corresponding to described first test event;
Receive the first test case that described first test event that described server returns is corresponding;
Test according to described first test case, obtain the test result that described first test event is corresponding.
According to the 9th aspect of disclosure embodiment, provide a kind of terminal test device, described application of installation, on server, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Receive the first test command that first terminal sends, described first test command is the described first terminal test command that determined described first test event is corresponding when needing to carry out interactive testing to the first test event;
The first test case corresponding to described first test event is generated according to described first test command;
Described first test case is sent to described first terminal, to make described first terminal test according to described first test case, obtains the test result that described first test event is corresponding.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
In the disclosure when needs carry out interactive testing to the first test event, first terminal determines the first test command that the first test event is corresponding, first test command is sent to the second terminal, the first test case corresponding to the first test event is generated according to the first test command to make the second terminal, receive the first test case that the first test event that the second terminal returns is corresponding, test according to the first test case, obtain the test result that the first test event is corresponding, make to complete interactive testing to first terminal by the second terminal, and first terminal can test opportunity from main separation, second terminal provides test case for it, thus reduce the difficulty of terminal test, and improve the efficiency of terminal test.
In the disclosure, first terminal also can become the carrier of the second terminal, for it provides test case, thus completes the interactive testing between terminal better, and reduces the difficulty of terminal test, and improve the efficiency of terminal test.
In the disclosure when needs carry out interactive testing to the first test event, first terminal determines the first test command that the first test event is corresponding, first test command is sent to server, the first test case corresponding to the first test event is generated according to the first test command to make server, the first test case that the first test event that reception server returns is corresponding, test according to the first test case, obtain the test result that the first test event is corresponding, make to complete interactive testing to first terminal by server, and first terminal can test opportunity from main separation, server provides test case for it, thus reduce the difficulty of terminal test, and improve the efficiency of terminal test.
In the disclosure, server can become the carrier of first terminal, for it provides test case, thus completes the interactive testing between terminal and server better, and reduces the difficulty of terminal test, and improve the efficiency of terminal test.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is a kind of terminal test method process flow diagram of the disclosure according to an exemplary embodiment;
Fig. 2 is the another kind of terminal test method process flow diagram of the disclosure according to an exemplary embodiment;
Fig. 3 is the another kind of terminal test method process flow diagram of the disclosure according to an exemplary embodiment;
Fig. 4 is the another kind of terminal test method process flow diagram of the disclosure according to an exemplary embodiment;
Fig. 5 is the application scenarios figure of a kind of terminal test method of the disclosure according to an exemplary embodiment;
Fig. 6 is the application scenarios figure of the another kind of terminal test method of the disclosure according to an exemplary embodiment;
Fig. 7 is the block diagram of a kind of terminal test device of the disclosure according to an exemplary embodiment;
Fig. 8 is the block diagram of the another kind of terminal test device of the disclosure according to an exemplary embodiment;
Fig. 9 is the block diagram of the another kind of terminal test device of the disclosure according to an exemplary embodiment;
Figure 10 is the block diagram of the another kind of terminal test device of the disclosure according to an exemplary embodiment;
Figure 11 is the block diagram of the another kind of terminal test device of the disclosure according to an exemplary embodiment;
Figure 12 is a kind of structural representation for terminal test device of the disclosure according to an exemplary embodiment;
Figure 13 is the disclosure a kind of another structural representation for terminal test device according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
The term used in the disclosure is only for the object describing specific embodiment, and the not intended to be limiting disclosure." one ", " described " and " being somebody's turn to do " of the singulative used in disclosure and the accompanying claims book is also intended to comprise most form, unless context clearly represents other implications.It is also understood that term "and/or" used herein refer to and comprise one or more project of listing be associated any or all may combine.
Term first, first, may be adopted although should be appreciated that third-classly to describe various information in the disclosure, these information should not be limited to these terms.These terms are only used for the information of same type to be distinguished from each other out.Such as, when not departing from disclosure scope, the first information also can be called as the first information, and similarly, the first information also can be called as the first information.Depend on linguistic context, word as used in this " if " can be construed as into " ... time " or " when ... time " or " in response to determining ".
As shown in Figure 1, Fig. 1 is a kind of terminal test method process flow diagram of the disclosure according to an exemplary embodiment, the method may be used on first terminal, and needs the second terminal to provide test case, and this second terminal is for first terminal provides the carrier of test case.
The method comprises the following steps:
In step 110, when needs carry out interactive testing to the first test event, determine the first test command that the first test event is corresponding.
In disclosure embodiment, interactive testing can be the test between terminal and terminal, also can be the test between terminal and server.Need two terminals just can complete to the first test event that the first test event is carried out in interactive testing, or need a terminal and a server just can complete.
Wherein, this first test event can be call test, note test, the test of instant messaging (InstantMessaging, IM) information test, Bluetooth pairing and wireless network WIFI hot spot share at least one in test.In addition, this first test event can also be other test event, as long as this test event needs two terminals just can complete, or needs a terminal and a server just can complete.
Such as, if the first test event is call test, namely need the second terminal to first terminal telephone calling, now, first terminal needs the test command determining that this call test is corresponding, and object is after this test command of the second terminal recognition, to self making a call to a test telephone.Wherein, the test command form that first terminal is determined is consistent with the second terminal negotiate in advance, namely test event is corresponding with test command, when the second terminal receives the test command that first terminal determines, just can know corresponding test event according to this test command, and generate corresponding test case.Wherein, generating corresponding test case can be readable information, also can be test operation.
In the step 120, the first test command is sent to the second terminal, generates the first test case corresponding to the first test event to make the second terminal according to the first test command.
In disclosure embodiment, the first test command can be sent to the second terminal by first terminal in form of a message.Further, the first test case of the second terminal generation is corresponding with the first test event.Such as: the first test event is call test, the first test case is test telephone; First test event is note test, and the first test case is test short message etc.
Optionally, the first test command can carry the event identifier of the first test event and the device identification of first terminal.Such as: this first test command is a text SMS, the content of its text SMS comprises the device identification of the event identifier+first terminal of the first test event.
First test command of the device identification of the event identifier and first terminal that carry the first test event can be sent to the second terminal by first terminal, to make the second terminal generate the first test case corresponding to the first test event according to the event identifier of the first test event, and according to the device identification of first terminal, the first test case is returned first terminal.
Such as, the first test command is " MTcall+18612345678 ", and MTcall is the time marking of this test event of phone, and 18612345678 is the telephone number of first terminal, and this telephone number can be the device identification of first terminal.After second terminal receives this first test command, know it is the test event of call test according to MTcall, know the telephone number of first terminal according to 18612345678, then the first test case that the second terminal generates is make a call to a test telephone to 18612345678.
In addition, in the first test command, also can not comprise the device identification of first terminal, the device identification of automatic acquisition first terminal the detail information that the second terminal can be correlated with from the first test command, such as, the telephone number of first terminal.
In step 130, the first test case that the first test event that the second terminal returns is corresponding is received.
In disclosure embodiment, the first test case can be readable information, such as, and test short message; Also can be test operation, such as, test telephone.
Such as: the first test event is note test, then the first test case is that the second terminal sends a test short message to first terminal, and this short message content can be the more self-defining readable informations of the second terminal.
Again such as: the first test event is call test, then the first test case is that the second terminal makes a call to a test telephone to first terminal, can be the more self-defining information of the second terminal as message.
In step 140, test according to the first test case, obtain the test result that the first test event is corresponding.
In disclosure embodiment, because first terminal needs the first test event of test different, the first test case that the second terminal is generated is different, therefore also different according to the test process of the first test case.
Such as: the first test event is call test, the first test case is that the second terminal makes a call to a test telephone to first terminal, after first terminal receives test telephone, can be switched to hands-free test, thus obtain test result.
In addition, outside above-mentioned steps 110 to 140, first terminal and the second terminal also will be held consultation to the test event preset and corresponding test command, the especially form of test command.Therefore the negotiations process of first terminal and the second terminal can have following two kinds of modes:
Mode one: default test event and corresponding test command are sent to the second terminal, with the corresponding relation making the second terminal set up test event and test command by first terminal.
Mode two: first terminal receives the test event preset of the second terminal transmission and corresponding test command, and sets up the corresponding relation of described test event and test command.
As seen from the above-described embodiment, when needs carry out interactive testing to the first test event, first terminal determines the first test command that the first test event is corresponding, first test command is sent to the second terminal, the first test case corresponding to the first test event is generated according to the first test command to make the second terminal, receive the first test case that the first test event that the second terminal returns is corresponding, test according to the first test case, obtain the test result that the first test event is corresponding, make to complete interactive testing to first terminal by the second terminal, and first terminal can test opportunity from main separation, second terminal provides test case for it, thus reduce the difficulty of terminal test, and improve the efficiency of terminal test.
As shown in Figure 2, Fig. 2 is the another kind of terminal test method process flow diagram of the disclosure according to an exemplary embodiment, and the method may be used on first terminal, and this first terminal can provide the carrier of test case for the second terminal.
The method comprises the following steps:
In step 210, receive the second test command that the second terminal sends, this second test command is the second terminal test command that determined second test event is corresponding when needing to carry out interactive testing to the second test event.
In disclosure embodiment, the second test event can share at least one in test for call test, note test, the test of IM information test, Bluetooth pairing and WIFI hot spot.In addition, this second test event can also be other test event, as long as this test event needs two terminals just can complete.
Wherein, the second test command and the second test event are corresponding, and test command and test duration corresponding relation, especially the form of test command is that first terminal is consistent with the second terminal as offered.
In a step 220, the second test case corresponding to the second test event is generated according to the second test command.
In disclosure embodiment, after first terminal receives the second test command, corresponding test event can be known according to this test command, and generate test case corresponding to this test event,
Optionally, when generating the second test case corresponding to the second test event according to the second test command, can comprise with at least one under type:
If the second test event is call test, then the second test case generated is a test telephone;
If the second test event is note test, then the second test case generated is a test short message;
If the second test event is IM information test, then the second test case generated is a test I M message;
If the second test event is Bluetooth pairing test, then the second test case generated is a test Bluetooth pairing message;
If the second test event is WIFI hot spot share test, then the second test case generated is that a test WIFI hot spot shares message.
In step 230, the second test case is sent to the second terminal, to make the second terminal test according to the second test case, obtains the test result that the second test event is corresponding.
In disclosure embodiment, according to the difference of the second test case, when the second test case is sent to the second terminal, different send modes can be had.If the second test case is test telephone, then first terminal makes a call to a test telephone to the second terminal; If the second test case is test short message, then first terminal sends a test short message etc. to the second terminal.
As seen from the above-described embodiment, first terminal also can become the carrier of the second terminal, for it provides test case, thus completes the interactive testing between terminal better, and reduces the difficulty of terminal test, and improve the efficiency of terminal test.
As shown in Figure 3, Fig. 3 is the another kind of terminal test method process flow diagram of the disclosure according to an exemplary embodiment, and the method may be used on first terminal, and needs server to provide test case, wherein, server is for first terminal provides the carrier of test case.
The method comprises the following steps:
In the step 310, when needs carry out interactive testing to the first test event, determine the first test command that the first test event is corresponding.
In disclosure embodiment, need a terminal and a server just can complete to the first test event that the first test event is carried out in interactive testing.
Wherein, this first test event can share at least one in test for call test, note test I M information test, Bluetooth pairing test and WIFI hot spot.In addition, this first test event can also be other test event, as long as this test event needs a terminal and a server just can complete.
In step 320, the first test command is sent to server, generates the first test case corresponding to the first test event to make server according to the first test command.
In disclosure embodiment, the first test command can be sent to server by first terminal in form of a message.Further, the first test case of server generation is corresponding with the first test event.Such as: the first test event is call test, the first test case is test telephone; First test event is note test, and the first test case is test short message etc.
Optionally, the first test command can carry the event identifier of the first test event and the device identification of first terminal.Such as: this first test command is a text SMS, the content of its text SMS comprises the device identification of the event identifier+first terminal of the first test event.
First test command of the device identification of the event identifier and first terminal that carry the first test event can be sent to server by first terminal, to make server generate the first test case corresponding to the first test event according to the event identifier of the first test event, and according to the device identification of first terminal, the first test case is returned first terminal.
In addition, in the first test command, also can not comprise the device identification of first terminal, the device identification of automatic acquisition first terminal the detail information that server can be correlated with from the first test command, such as, the telephone number of first terminal.
In a step 330, the first test case that the first test event of returning of reception server is corresponding.
In disclosure embodiment, the first test case can be readable information, such as, and test short message; Also can be test operation, such as, test telephone.
Such as: the first test event is note test, then the first test case is that server sends a test short message to first terminal, and this short message content can be the more self-defining readable informations of server.
Again such as: the first test event is call test, then the first test case is that server makes a call to a test telephone to first terminal, can be the more self-defining information of server as message.
In step 340, test according to the first test case, obtain the test result that the first test event is corresponding.
In disclosure embodiment, because first terminal needs the first test event of test different, the first test case that server is generated is different, therefore also different according to the test process of the first test case.
Such as: the first test event is call test, the first test case is that server makes a call to a test telephone to first terminal, after first terminal receives test telephone, can be switched to hands-free test, thus obtain test result.
In addition, outside above-mentioned steps 310 to 340, first terminal and server also will be held consultation to the test event preset and corresponding test command, the especially form of test command.Therefore the negotiations process of first terminal and server can have following two kinds of modes:
Mode one: default test event and corresponding test command are sent to server, with the corresponding relation making first terminal set up test event and test command by first terminal.
The test event preset that mode two: the second terminal reception server sends and corresponding test command, and set up the corresponding relation of test event and test command.
As seen from the above-described embodiment, when needs carry out interactive testing to the first test event, first terminal determines the first test command that the first test event is corresponding, first test command is sent to server, the first test case corresponding to the first test event is generated according to the first test command to make server, the first test case that the first test event that reception server returns is corresponding, test according to the first test case, obtain the test result that the first test event is corresponding, make to complete interactive testing to first terminal by server, and first terminal can test opportunity from main separation, server provides test case for it, thus reduce the difficulty of terminal test, and improve the efficiency of terminal test.
As shown in Figure 4, Fig. 4 is the another kind of terminal test method process flow diagram of the disclosure according to an exemplary embodiment, and the method may be used on server, and this server can be can provide the carrier of test case for first terminal.
The method comprises the following steps:
In step 410, receive the first test command that first terminal sends, this first test command is the first terminal test command that determined first test event is corresponding when needing to carry out interactive testing to the first test event.
In disclosure embodiment, the first test event can share at least one in test for call test, note test, the test of IM information test, Bluetooth pairing and WIFI hot spot.In addition, this first test event can also be other test event, as long as this test event needs a terminal and a server just can complete.
Wherein, the first test command and the first test event are corresponding, and test command and test duration corresponding relation, especially the form of test command is that server is consistent with first terminal as offered.
At step 420 which, the first test case corresponding to the first test event is generated according to the first test command.
In disclosure embodiment, after server receives the first test command, corresponding test event can be known according to this test command, and generate test case corresponding to this test event,
Optionally, when generating the first test case corresponding to the first test event according to the first test command, can comprise with at least one under type:
If the first test event is call test, then the first test case generated is a test telephone;
If the first test event is note test, then the first test case generated is a test short message;
If the first test event is IM information test, then the first test case generated is a test I M message;
If the first test event is Bluetooth pairing test, then the first test case generated is a test Bluetooth pairing message;
If the first test event is WIFI hot spot share test, then the first test case generated is that a test WIFI hot spot shares message.
In step 430, the first test case is sent to first terminal, to make first terminal test according to the first test case, obtains the test result that the first test event is corresponding.
In disclosure embodiment, according to the difference of the first test case, when the first test case is sent to first terminal, different send modes can be had.If the first test case is test telephone, then server makes a call to a test telephone to first terminal; If the first test case is test short message, then server sends a test short message etc. to first terminal.
As seen from the above-described embodiment, server can become the carrier of first terminal, for it provides test case, thus completes the interactive testing between terminal and server better, and reduces the difficulty of terminal test, and improve the efficiency of terminal test.
As shown in Figure 5, Fig. 5 is the application scenarios figure of a kind of terminal test method of the disclosure according to an exemplary embodiment.This is used for scene and comprises first terminal and the second terminal.
First terminal, when needs carry out interactive testing to the first test event, determines the first test command that the first test event is corresponding.
First test command is sent to the second terminal by first terminal.
Second terminal generates the first test case corresponding to the first test event according to the first test command after receiving the first test command of first terminal transmission.
First test case is sent to first terminal by the second terminal,
After first terminal receives the first test case, test according to the first test case, obtain the test result that the first test event is corresponding.
Above-mentioned first test event can be call test, note test, the test of instant messaging (InstantMessaging, IM) information test, Bluetooth pairing and wireless network WIFI hot spot share at least one in test.
The first test case that second terminal generates can comprise with at least one under type:
If the first test event is call test, then the first test case generated is a test telephone;
If the first test event is note test, then the first test case generated is a test short message;
If the first test event is IM information test, then the first test case generated is a test I M message;
If the first test event is Bluetooth pairing test, then the first test case generated is a test Bluetooth pairing message;
If the first test event is WIFI hot spot share test, then the first test case generated is that a test WIFI hot spot shares message.
In like manner, first terminal and the second terminal can become the other side each other provides the carrier of test case.
Second terminal, when needs carry out interactive testing to the second test event, determines the second test command that the second test event is corresponding.
Second test command is sent to first terminal by the second terminal.
First terminal generates the second test case corresponding to the second test event according to the second test command after receiving the second test command of the second terminal transmission.
Second test case is sent to the second terminal by first terminal,
After second terminal receives the second test case, test according to the second test case, obtain the test result that the second test event is corresponding.
Above-mentioned second test event can be call test, note test, the test of instant messaging (InstantMessaging, IM) information test, Bluetooth pairing and wireless network WIFI hot spot share at least one in test.
The second test case that first terminal generates can comprise with at least one under type:
If the second test event is call test, then the second test case generated is a test telephone;
If the second test event is note test, then the second test case generated is a test short message;
If the second test event is IM information test, then the second test case generated is a test I M message;
If the second test event is Bluetooth pairing test, then the second test case generated is a test Bluetooth pairing message;
If the second test event is WIFI hot spot share test, then the second test case generated is that a test WIFI hot spot shares message.
As shown in Figure 6, Fig. 6 is the application scenarios figure of a kind of terminal test method of the disclosure according to an exemplary embodiment.This is used for scene and comprises first terminal and server.
First terminal, when needs carry out interactive testing to the first test event, determines the first test command that the first test event is corresponding.
First test command is sent to server by first terminal.
Server generates the first test case corresponding to the first test event according to the first test command after receiving the first test command of first terminal transmission.
First test case is sent to first terminal by server,
After first terminal receives the first test case, test according to the first test case, obtain the test result that the first test event is corresponding.
Corresponding with aforementioned terminals method of testing embodiment, the disclosure additionally provides the embodiment of terminal test device.
As shown in Figure 7, Fig. 7 is the block diagram of a kind of terminal test device of the disclosure according to an exemplary embodiment, described application of installation is on first terminal, and for performing the terminal test method shown in Fig. 1, described device comprises: test command determining unit 71, first transmitting element 72, first receiving element 73 and test cell 74.
Wherein, test command determining unit 71 is configured to when needs carry out interactive testing to the first test event, determines the first test command that described first test event is corresponding;
First transmitting element 72 is configured to described first test command to be sent to the second terminal, with make described second terminal according to the first test command generate the first test case corresponding to described first test event;
First receiving element 73 is configured to receive the first test case corresponding to described first test event that returns of described second terminal;
Test cell 74 is configured to test according to described first test case, obtains the test result that described first test event is corresponding.
Above-mentioned first test event is call test, note test, the test of instant messaging IM information test, Bluetooth pairing and wireless network WIFI hot spot share at least one in test.
Optionally, described first transmitting element 72 is configured to the first test command of the device identification of the event identifier and first terminal that carry the first test event to be sent to the second terminal, to make described second terminal generate the first test case corresponding to described first test event according to described event identifier, and according to described device identification, described first test case is returned described first terminal.
As seen from the above-described embodiment, when needs carry out interactive testing to the first test event, the first test command that the first test event is corresponding can be determined, first test command is sent to the second terminal, the first test case corresponding to the first test event is generated according to the first test command to make the second terminal, receive the first test case that the first test event that the second terminal returns is corresponding, test according to the first test case, obtain the test result that the first test event is corresponding, make to complete interactive testing to first terminal by the second terminal, and first terminal can test opportunity from main separation, second terminal provides test case for it, thus reduce the difficulty of terminal test, and improve the efficiency of terminal test.
As shown in Figure 8, Fig. 8 is the block diagram of the another kind of terminal test device of the disclosure according to an exemplary embodiment, and described application of installation on first terminal, and is based upon on the basis shown in Fig. 7, and this device can also comprise: Transmit-Receive Unit 81.
Wherein, Transmit-Receive Unit 81 is configured to default test event and corresponding test command to be sent to described second terminal, sets up the corresponding relation of described test event and described test command to make described second terminal; Or, receive the test event preset of described second terminal transmission and corresponding test command, and set up the corresponding relation of described test event and described test command.
As shown in Figure 9, Fig. 9 is the block diagram of the another kind of terminal test device of the disclosure according to an exemplary embodiment, described application of installation is on first terminal, and being based upon on the basis shown in Fig. 7, this device can also comprise: the second receiving element 91, test case generation unit 92 and the second transmitting element 93.
Wherein, second receiving element 91 is configured to the second test command that reception second terminal sends, and described second test command is the described second terminal test command that determined described second test event is corresponding when needing to carry out interactive testing to the second test event;
Test case generation unit 92 is configured to generate the second test case corresponding to described second test event according to described second test command;
Second transmitting element 93 is configured to described second test case to be sent to described second terminal, states test case and tests, obtain the test result that described second test event is corresponding to make described second terminal according to institute second.
Above-mentioned second test event is call test, note test, the test of IM information test, Bluetooth pairing and WIFI hot spot share at least one in test.
Optionally, if it is call test that test case generation unit 92 is configured to described second test event, then the second test case generated is a test telephone; If described second test event is note test, then the second test case generated is a test short message; If described second test event is IM information test, then the second test case generated is a test I M message; If described second test event is Bluetooth pairing test, then the second test case generated is a test Bluetooth pairing message; If described second test event is WIFI hot spot share test, then the second test case generated is that a test WIFI hot spot shares message.
As seen from the above-described embodiment, first terminal also can become the carrier of the second terminal, for it provides test case, thus completes the interactive testing between terminal better, and reduces the difficulty of terminal test, and improve the efficiency of terminal test.
As shown in Figure 10, Figure 10 is the block diagram of the another kind of terminal test device of the disclosure according to an exemplary embodiment, described application of installation is on first terminal, and for performing the terminal test method shown in Fig. 3, described device comprises: test command determining unit 101, transmitting element 102, receiving element 103 and test cell 104.
Wherein, test command determining unit 101 is configured to when needs carry out interactive testing to the first test event, determines the first test command that described first test event is corresponding;
Transmitting element 102 is configured to described first test command to be sent to server, with make described server according to the first test command generate the first test case corresponding to described first test event;
Receiving element 103 is configured to receive the first test case corresponding to described first test event that described server returns;
Test cell 104 is configured to test according to described first test case, obtains the test result that described first test event is corresponding.
Above-mentioned first test event is call test, note test, the test of instant messaging IM information test, Bluetooth pairing and wireless network WIFI hot spot share at least one in test.
Optionally, transmitting element 102 is configured to the first test command of the device identification of the event identifier and first terminal that carry the first test event to be sent to server, to make described server generate the first test case corresponding to described first test event according to described event identifier, and according to described device identification, described first test case is returned described first terminal.
As seen from the above-described embodiment, when needs carry out interactive testing to the first test event, the first test command that the first test event is corresponding can be determined, first test command is sent to server, the first test case corresponding to the first test event is generated according to the first test command to make server, the first test case that the first test event that reception server returns is corresponding, test according to the first test case, obtain the test result that the first test event is corresponding, make to complete interactive testing to first terminal by server, and first terminal can test opportunity from main separation, server provides test case for it, thus reduce the difficulty of terminal test, and improve the efficiency of terminal test.
As shown in figure 11, Figure 11 is the block diagram of the another kind of terminal test device of the disclosure according to an exemplary embodiment, described application of installation is on server, and for performing the terminal test method shown in Fig. 4, described device comprises: receiving element 111, test case generation unit 112 and transmitting element 113.
Wherein, receiving element 111 is configured to receive the first test command that first terminal sends, and described first test command is the described first terminal test command that determined described first test event is corresponding when needing to carry out interactive testing to the first test event;
Test case generation unit 112 is configured to generate the first test case corresponding to described first test event according to described first test command;
Transmitting element 113 is configured to described first test case to be sent to described first terminal, states test case and tests, obtain the test result that described first test event is corresponding to make described first terminal according to institute first.
As seen from the above-described embodiment, server can become the carrier of first terminal, for it provides test case, thus completes the interactive testing between terminal and server better, and reduces the difficulty of terminal test, and improve the efficiency of terminal test.
Corresponding to Fig. 7, the disclosure also provides another kind of terminal test device, and described application of installation, on first terminal, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
When needs carry out interactive testing to the first test event, determine the first test command that described first test event is corresponding;
Described first test command is sent to the second terminal, with make described second terminal according to the first test command generate the first test case corresponding to described first test event;
Receive the first test case that described first test event that described second terminal returns is corresponding;
Test according to described first test case, obtain the test result that described first test event is corresponding.
Corresponding to Figure 10, the disclosure also provides another kind of terminal test device, and described application of installation, on first terminal, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
When needs carry out interactive testing to the first test event, determine the first test command that described first test event is corresponding;
Described first test command is sent to server, with make described server according to the first test command generate the first test case corresponding to described first test event;
Receive the first test case that described first test event that described server returns is corresponding;
Test according to described first test case, obtain the test result that described first test event is corresponding.
Corresponding to Figure 11, the disclosure also provides another kind of terminal test device, and described application of installation, on server, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Receive the first test command that first terminal sends, described first test command is the described first terminal test command that determined described first test event is corresponding when needing to carry out interactive testing to the first test event;
The first test case corresponding to described first test event is generated according to described first test command;
Described first test case is sent to described first terminal, to make described first terminal test according to described first test case, obtains the test result that described first test event is corresponding.
In said apparatus, the implementation procedure of the function and efficacy of unit specifically refers to the implementation procedure of corresponding step in said method, does not repeat them here.
For device embodiment, because it corresponds essentially to embodiment of the method, so relevant part illustrates see the part of embodiment of the method.Device embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of disclosure scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
As shown in figure 12, Figure 12 is a kind of structural representation (server side) for terminal test device 1900 according to an exemplary embodiment, such as, device 1900 comprises processing components 1922, it comprises one or more processor further, and the memory resource representated by storer 1932, can such as, by the instruction of the execution of processing element 1922, application program for storing.The application program stored in storer 1932 can comprise each module corresponding to one group of instruction one or more.In addition, processing components 1922 is configured to perform instruction.
Device 1900 can also comprise the power management that a power supply module 1926 is configured to actuating unit 1900, and a wired or wireless network interface 1950 is configured to device 1900 to be connected to network, and input and output (I/O) interface 1958.Device 1900 can operate the operating system based on being stored in storer 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
As shown in figure 13, Figure 13 is the disclosure a kind of another structural representation (terminal equipment side) for terminal test device 1300 according to an exemplary embodiment.Such as, device 1300 can be the mobile phone with routing function, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 13, device 1300 can comprise following one or more assembly: processing components 1302, storer 1304, power supply module 1306, multimedia groupware 1308, audio-frequency assembly 1310, the interface 1312 of I/O (I/O), sensor module 1314, and communications component 1316.
The integrated operation of the usual control device 1300 of processing components 1302, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 1302 can comprise one or more processor 1320 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1302 can comprise one or more module, and what be convenient between processing components 1302 and other assemblies is mutual.Such as, processing components 1302 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1308 and processing components 1302.
Storer 1304 is configured to store various types of data to be supported in the operation of device 1300.The example of these data comprises for any application program of operation on device 1300 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 1304 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that power supply module 1306 is device 1300 provide electric power.Power supply module 1306 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1300 and be associated.
Multimedia groupware 1308 is included in the screen providing an output interface between described device 1300 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 1308 comprises a front-facing camera and/or post-positioned pick-up head.When device 1300 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1310 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1310 comprises a microphone (MIC), and when device 1300 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 1304 further or be sent via communications component 1316.In certain embodiments, audio-frequency assembly 1310 also comprises a loudspeaker, for output audio signal.
I/O interface 1312 is for providing interface between processing components 1302 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 1314 comprises one or more sensor, for providing the state estimation of various aspects for device 1300.Such as, sensor module 1314 can detect the opening/closing state of device 1300, the relative positioning of assembly, such as described assembly is display and the keypad of device 1300, the position of all right pick-up unit 1300 of sensor module 1314 or device 1300 assemblies changes, the presence or absence that user contacts with device 1300, the temperature variation of device 1300 orientation or acceleration/deceleration and device 1300.Sensor module 1314 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 1314 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 1314 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer, microwave remote sensor or temperature sensor.
Communications component 1316 is configured to the communication being convenient to wired or wireless mode between device 1300 and other equipment.Device 1300 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 1316 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 1316 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1300 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 1304 of instruction, above-mentioned instruction can perform said method by the processor 1320 of device 1300.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The disclosure is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (21)

1. a terminal test method, is characterized in that, described method is applied on first terminal, comprising:
When needs carry out interactive testing to the first test event, determine the first test command that described first test event is corresponding;
Described first test command is sent to the second terminal, with make described second terminal according to the first test command generate the first test case corresponding to described first test event;
Receive the first test case that described first test event that described second terminal returns is corresponding;
Test according to described first test case, obtain the test result that described first test event is corresponding.
2. method according to claim 1, is characterized in that, described first test event is call test, note test, the test of instant messaging IM information test, Bluetooth pairing and wireless network WIFI hot spot share at least one in test.
3. method according to claim 1, is characterized in that, described described first test command is sent to the second terminal, with make described second terminal according to the first test command generate the first test case corresponding to described first test event, comprising:
First test command of the device identification of the event identifier and first terminal that carry the first test event is sent to the second terminal, to make described second terminal generate the first test case corresponding to described first test event according to described event identifier, and according to described device identification, described first test case is returned described first terminal.
4. method according to claim 1, is characterized in that, described method also comprises:
Default test event and corresponding test command are sent to described second terminal, set up the corresponding relation of described test event and described test command to make described second terminal;
Or, receive the test event preset of described second terminal transmission and corresponding test command, and set up the corresponding relation of described test event and described test command.
5. method according to claim 1, is characterized in that, described method also comprises:
Receive the second test command that the second terminal sends, described second test command is the described second terminal test command that determined described second test event is corresponding when needing to carry out interactive testing to the second test event;
The second test case corresponding to described second test event is generated according to described second test command;
Described second test case is sent to described second terminal, states test case to make described second terminal according to institute second and test, obtain the test result that described second test event is corresponding.
6. method according to claim 5, is characterized in that, described second test event is call test, note test, the test of IM information test, Bluetooth pairing and WIFI hot spot share at least one in test.
7. method according to claim 5, is characterized in that, described second test case corresponding according to described second test event of described second test command generation, comprising:
If described second test event is call test, then the second test case generated is a test telephone;
If described second test event is note test, then the second test case generated is a test short message;
If described second test event is IM information test, then the second test case generated is a test I M message;
If described second test event is Bluetooth pairing test, then the second test case generated is a test Bluetooth pairing message;
If described second test event is WIFI hot spot share test, then the second test case generated is that a test WIFI hot spot shares message.
8. a terminal test method, is characterized in that, described method is applied on first terminal, comprising:
When needs carry out interactive testing to the first test event, determine the first test command that described first test event is corresponding;
Described first test command is sent to server, with make described server according to the first test command generate the first test case corresponding to described first test event;
Receive the first test case that described first test event that described server returns is corresponding;
Test according to described first test case, obtain the test result that described first test event is corresponding.
9. a terminal test method, is characterized in that, described method is applied on server, comprising:
Receive the first test command that first terminal sends, described first test command is the described first terminal test command that determined described first test event is corresponding when needing to carry out interactive testing to the first test event;
The first test case corresponding to described first test event is generated according to described first test command;
Described first test case is sent to described first terminal, to make described first terminal test according to described first test case, obtains the test result that described first test event is corresponding.
10. a terminal test device, is characterized in that, described application of installation, on first terminal, comprising:
Test command determining unit, for when needs carry out interactive testing to the first test event, determines the first test command that described first test event is corresponding;
First transmitting element, for described first test command is sent to the second terminal, with make described second terminal according to the first test command generate the first test case corresponding to described first test event;
First receiving element, for receiving the first test case corresponding to described first test event that described second terminal returns;
Test cell, for testing according to described first test case, obtains the test result that described first test event is corresponding.
11. devices according to claim 10, is characterized in that, described first test event is call test, note test, the test of instant messaging IM information test, Bluetooth pairing and wireless network WIFI hot spot share at least one in test.
12. devices according to claim 10, it is characterized in that, described first transmitting element is used for the first test command of the device identification of the event identifier and first terminal that carry the first test event to be sent to the second terminal, to make described second terminal generate the first test case corresponding to described first test event according to described event identifier, and according to described device identification, described first test case is returned described first terminal.
13. devices according to claim 10, is characterized in that, described device also comprises:
Transmit-Receive Unit, for default test event and corresponding test command are sent to described second terminal, sets up the corresponding relation of described test event and described test command to make described second terminal; Or, receive the test event preset of described second terminal transmission and corresponding test command, and set up the corresponding relation of described test event and described test command.
14. devices according to claim 10, is characterized in that, described device also comprises:
Second receiving element, for receiving the second test command that the second terminal sends, described second test command is the described second terminal test command that determined described second test event is corresponding when needing to carry out interactive testing to the second test event;
Test case generation unit, for generating the second test case corresponding to described second test event according to described second test command;
Second transmitting element, for described second test case is sent to described second terminal, states test case to make described second terminal according to institute second and tests, obtain the test result that described second test event is corresponding.
15. devices according to claim 14, is characterized in that, described second test event is call test, note test, the test of IM information test, Bluetooth pairing and WIFI hot spot share at least one in test.
16. devices according to claim 14, is characterized in that, if it is call test that described test case generation unit is used for described second test event, then the second test case generated is a test telephone; If described second test event is note test, then the second test case generated is a test short message; If described second test event is IM information test, then the second test case generated is a test I M message; If described second test event is Bluetooth pairing test, then the second test case generated is a test Bluetooth pairing message; If described second test event is WIFI hot spot share test, then the second test case generated is that a test WIFI hot spot shares message.
17. 1 kinds of terminal test devices, is characterized in that, described application of installation, on first terminal, comprising:
Test command determining unit, for when needs carry out interactive testing to the first test event, determines the first test command that described first test event is corresponding;
Transmitting element, for described first test command is sent to server, with make described server according to the first test command generate the first test case corresponding to described first test event;
Receiving element, for receiving the first test case corresponding to described first test event that described server returns;
Test cell, for testing according to described first test case, obtains the test result that described first test event is corresponding.
18. 1 kinds of terminal test devices, is characterized in that, described application of installation, on server, comprising:
Receiving element, for receiving the first test command that first terminal sends, described first test command is the described first terminal test command that determined described first test event is corresponding when needing to carry out interactive testing to the first test event;
Test case generation unit, for generating the first test case corresponding to described first test event according to described first test command;
Transmitting element, for described first test case is sent to described first terminal, states test case to make described first terminal according to institute first and tests, obtain the test result that described first test event is corresponding.
19. 1 kinds of terminal test devices, is characterized in that, described application of installation, on first terminal, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
When needs carry out interactive testing to the first test event, determine the first test command that described first test event is corresponding;
Described first test command is sent to the second terminal, with make described second terminal according to the first test command generate the first test case corresponding to described first test event;
Receive the first test case that described first test event that described second terminal returns is corresponding;
Test according to described first test case, obtain the test result that described first test event is corresponding.
20. 1 kinds of terminal test devices, is characterized in that, described application of installation, on first terminal, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
When needs carry out interactive testing to the first test event, determine the first test command that described first test event is corresponding;
Described first test command is sent to server, with make described server according to the first test command generate the first test case corresponding to described first test event;
Receive the first test case that described first test event that described server returns is corresponding;
Test according to described first test case, obtain the test result that described first test event is corresponding.
21. 1 kinds of terminal test devices, is characterized in that, described application of installation, on server, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Receive the first test command that first terminal sends, described first test command is the described first terminal test command that determined described first test event is corresponding when needing to carry out interactive testing to the first test event;
The first test case corresponding to described first test event is generated according to described first test command;
Described first test case is sent to described first terminal, to make described first terminal test according to described first test case, obtains the test result that described first test event is corresponding.
CN201510354712.8A 2015-06-24 2015-06-24 terminal test method and device Active CN104881342B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510354712.8A CN104881342B (en) 2015-06-24 2015-06-24 terminal test method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510354712.8A CN104881342B (en) 2015-06-24 2015-06-24 terminal test method and device

Publications (2)

Publication Number Publication Date
CN104881342A true CN104881342A (en) 2015-09-02
CN104881342B CN104881342B (en) 2018-10-12

Family

ID=53948846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510354712.8A Active CN104881342B (en) 2015-06-24 2015-06-24 terminal test method and device

Country Status (1)

Country Link
CN (1) CN104881342B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105790801A (en) * 2016-03-11 2016-07-20 青岛海信电器股份有限公司 Pairing testing method and testing apparatus for electronic equipment and bluetooth equipment
CN106131869A (en) * 2016-06-12 2016-11-16 百度在线网络技术(北京)有限公司 Method of testing and device, test system for mobile terminal
CN108156597A (en) * 2017-12-15 2018-06-12 北京海泰方圆科技股份有限公司 A kind of bluetooth equipment and its test method
CN109921866A (en) * 2019-03-22 2019-06-21 广东顺德智勤科技有限公司 Exempt to match test macro, method, test equipment and wireless receiver
CN110401576A (en) * 2018-04-24 2019-11-01 北京嘀嘀无限科技发展有限公司 Network interaction test method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020048856A1 (en) * 2000-09-18 2002-04-25 Atsuo Mangyo Method of testing a semiconductor memory device
JP2002163126A (en) * 2000-11-28 2002-06-07 Nec Microsystems Ltd Event detecting circuit embedded in debugging cpu, event detecting method, and external peripheral circuit
CN101453711A (en) * 2007-12-06 2009-06-10 中兴通讯股份有限公司 Automatic test system and test method for mobile phone short message
CN102420714A (en) * 2011-08-29 2012-04-18 展讯通信(上海)有限公司 Test managing method, test managing system master control center and test managing system
CN103037329A (en) * 2011-09-29 2013-04-10 北京神州泰岳软件股份有限公司 Short message function testing platform and short message function testing method
CN103344863A (en) * 2013-07-15 2013-10-09 惠州Tcl移动通信有限公司 Mobile terminal testing method and mobile terminal testing system
CN103455413A (en) * 2012-05-31 2013-12-18 联想(北京)有限公司 Method, device and system for interaction scenario test data processing of communication terminals
CN103716465A (en) * 2013-12-27 2014-04-09 上海斐讯数据通信技术有限公司 Two-mobile-terminal mutual testing method and system
CN104519502A (en) * 2014-12-08 2015-04-15 广东欧珀移动通信有限公司 Method for terminal call performance test and terminal
CN104702756A (en) * 2015-02-10 2015-06-10 小米科技有限责任公司 Detecting method and detecting device for soundless call

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020048856A1 (en) * 2000-09-18 2002-04-25 Atsuo Mangyo Method of testing a semiconductor memory device
JP2002163126A (en) * 2000-11-28 2002-06-07 Nec Microsystems Ltd Event detecting circuit embedded in debugging cpu, event detecting method, and external peripheral circuit
CN101453711A (en) * 2007-12-06 2009-06-10 中兴通讯股份有限公司 Automatic test system and test method for mobile phone short message
CN102420714A (en) * 2011-08-29 2012-04-18 展讯通信(上海)有限公司 Test managing method, test managing system master control center and test managing system
CN103037329A (en) * 2011-09-29 2013-04-10 北京神州泰岳软件股份有限公司 Short message function testing platform and short message function testing method
CN103455413A (en) * 2012-05-31 2013-12-18 联想(北京)有限公司 Method, device and system for interaction scenario test data processing of communication terminals
CN103344863A (en) * 2013-07-15 2013-10-09 惠州Tcl移动通信有限公司 Mobile terminal testing method and mobile terminal testing system
CN103716465A (en) * 2013-12-27 2014-04-09 上海斐讯数据通信技术有限公司 Two-mobile-terminal mutual testing method and system
CN104519502A (en) * 2014-12-08 2015-04-15 广东欧珀移动通信有限公司 Method for terminal call performance test and terminal
CN104702756A (en) * 2015-02-10 2015-06-10 小米科技有限责任公司 Detecting method and detecting device for soundless call

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105790801A (en) * 2016-03-11 2016-07-20 青岛海信电器股份有限公司 Pairing testing method and testing apparatus for electronic equipment and bluetooth equipment
CN106131869A (en) * 2016-06-12 2016-11-16 百度在线网络技术(北京)有限公司 Method of testing and device, test system for mobile terminal
CN108156597A (en) * 2017-12-15 2018-06-12 北京海泰方圆科技股份有限公司 A kind of bluetooth equipment and its test method
CN110401576A (en) * 2018-04-24 2019-11-01 北京嘀嘀无限科技发展有限公司 Network interaction test method and device
CN110401576B (en) * 2018-04-24 2021-03-09 北京嘀嘀无限科技发展有限公司 Network interaction testing method and device
CN109921866A (en) * 2019-03-22 2019-06-21 广东顺德智勤科技有限公司 Exempt to match test macro, method, test equipment and wireless receiver
CN109921866B (en) * 2019-03-22 2021-11-09 广东顺德智勤科技有限公司 Pairing-free test system, method, test equipment and wireless receiver

Also Published As

Publication number Publication date
CN104881342B (en) 2018-10-12

Similar Documents

Publication Publication Date Title
CN104159218B (en) Internetwork connection establishing method and device
CN104318741A (en) Bluetooth device control method and device
CN104468329A (en) Member adding method and device based on instant messaging
CN104185304B (en) A kind of method and device accessing WI-FI network
CN105163366A (en) Wireless network connection method and device
CN105159672A (en) Remote assistance method and client
CN105373464A (en) Charging warning method and device of wearable equipment
CN105117033A (en) Connection method and device of external equipment
CN105433904A (en) Sleep state detection method, device and system
CN104618511A (en) Intelligent device detection method and device
CN105491048A (en) Account management method and apparatus
CN105162889A (en) Device finding method and apparatus
CN104837154A (en) Wireless access point control method and device
CN103973900B (en) The method of transmission information and device
CN104601815A (en) Answer device determining method and device
CN104468971A (en) Method and device for connecting playing source
CN105260247A (en) Method and device for controlling terminal application
CN105515948A (en) Instant messaging method and device
CN104881342A (en) Terminal testing method and device
CN104767857A (en) Telephone calling method and device based on cloud name cards
CN105224171A (en) icon display method, device and terminal
CN105491518A (en) Method and device for social reminding based on wearable devices
CN105515923A (en) Equipment control method and device
CN105391624A (en) Notification message transmission method, device and system
CN105187671A (en) Recording method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant