[go: up one dir, main page]

CN101287266B - Test system and method for mobile phone - Google Patents

Test system and method for mobile phone Download PDF

Info

Publication number
CN101287266B
CN101287266B CN2008101137665A CN200810113766A CN101287266B CN 101287266 B CN101287266 B CN 101287266B CN 2008101137665 A CN2008101137665 A CN 2008101137665A CN 200810113766 A CN200810113766 A CN 200810113766A CN 101287266 B CN101287266 B CN 101287266B
Authority
CN
China
Prior art keywords
test
mobile phone
tested mobile
tested
instruction
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.)
Expired - Fee Related
Application number
CN2008101137665A
Other languages
Chinese (zh)
Other versions
CN101287266A (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.)
China Techfaith Wireless Communication Technology Ltd
Original Assignee
China Techfaith Wireless Communication Technology Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Techfaith Wireless Communication Technology Ltd filed Critical China Techfaith Wireless Communication Technology Ltd
Priority to CN2008101137665A priority Critical patent/CN101287266B/en
Publication of CN101287266A publication Critical patent/CN101287266A/en
Application granted granted Critical
Publication of CN101287266B publication Critical patent/CN101287266B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a mobile phone testing system and a method thereof. The method of the invention comprises the steps that a testing terminal receives an instruction testing the communication between at least two mobile phones to be tested; the testing terminal then analyzes the received instruction; a testing script is obtained according to the analysis result; the testing terminal then tests the communication between at least two mobile phones to be tested on the basis of the testing script and the implemented result returned from the mobile phone to be tested. By adopting the testing method and the testing system of the invention, the automatic testing can be carried out to a plurality of mobile phones to be tested according to the testing script, which results in that the testing reliability and the testing efficiency are improved and the working pressure of testers and the testing cost are also reduced to a certain extent.

Description

Mobile phone test system and method
Technical Field
The invention relates to a mobile phone test technology, in particular to a mobile phone test system and a mobile phone test method.
Background
Before an electronic product like a mobile phone is shipped, a series of functional tests must be carried out to check whether the functions of the mobile phone can operate normally. Therefore, before the mobile phone is assembled and shipped in a factory, research and development personnel in a company perform a series of function tests on the mobile phone, and the mobile phone is smoothly sold on the market after being tested normally. Thereby ensuring the mobile phone to have stable quality and ensuring that consumers can purchase and use the mobile phone with ease. In addition, in the process of testing the mobile phone, the research and development personnel can find the problem as early as possible before the mobile phone is authenticated so as to reduce the cost required for obtaining the mobile phone license.
In general, during the operation of testing the mobile phone, the mobile phone testing platform usually performs a testing operation on the mobile phone to be tested by a testing apparatus, for example, the testing apparatus may use an suite testing apparatus provided by suite telecomms, or a CRTC testing apparatus provided by ROHDE & SCHWARS (R & S), which may provide simulation signals of the base station and be used to test the related functions of the mobile phone to be tested.
In terms of the actual testing process of the mobile phone, the testing instrument firstly issues related action information to inform a research and development staff of what kind of tests are required to be performed on the mobile phone, and after the research and development staff appropriately interpret the seen action information, the operation corresponding to the action information is performed on the mobile phone. For example, the result of the action information judgment may be a power-on action of the mobile phone, and at this time, the research and development staff manually operates a power switch for turning on the mobile phone to be tested; or the result of the action information interpretation belongs to a data transmission command, for example, the dialing action of the mobile phone is carried out by directly and manually operating the mobile phone by research personnel. Therefore, when research personnel perform function test operation, the test instrument can verify the correctness of the test result of the mobile phone through the wireless signal emitted by the mobile phone according to the actual execution condition of the mobile phone, and the fact whether the function operation of the tested mobile phone is normal or not is obtained through the process.
The above testing technique has the disadvantage that the judgment of the action information and the operation of the mobile phone are completed through manual operation, so that the testing process takes too long time and errors are easy to occur.
To overcome the above-mentioned drawbacks, chinese patent application No. 200410059782.2, publication No. CN1713745A, which is incorporated herein by reference, discloses an automated testing system and method. Fig. 1 is a schematic structural diagram of the automatic test system. As shown in fig. 1, the testing computer 13 receives the action information output by the base station emulator 11, finds out a corresponding testing command according to the comparison table, transmits the testing command to the mobile phone 17 to be tested through the voltage converter, the mobile phone 17 to be tested automatically executes the test, and emits a wireless signal to perform communication transmission with the base station emulator 11; finally, the base station emulator 11 verifies the execution result of the tested handset according to the received wireless signal. In the test process, the manual operation of research personnel is not needed, but the test method has the defects that the function of only one mobile phone can be tested, and the test efficiency is low.
Chinese patent application No. 200610147399.1, publication No. CN 1976485a, which is incorporated herein by reference, discloses a mobile phone test system. The system adopts the keys of the simulated mobile phone keyboard to complete the action of pressing or bouncing a certain key of the mobile phone, controls the control switch through the computer program, and can execute a series of key operations through the computer program, so that the computer replaces manual operation, but the test is only carried out aiming at the function of one mobile phone keyboard.
Chinese patent application No. 200510101040.6, publication No. CN 1959710a, which is incorporated herein by reference, discloses an automatic test system and method. As shown in fig. 2, the automatic test module 110 reads at least one test script from the test management module 120, automatically performs a test, and stores the test result in the test management module 120. After the automatic test module 110 performs the test, if the test result is received from the encoding/decoding device 200, it stores the test result in the test management module 120. The automatic test module 110 is started by the tester to select a test script, and once the test script is selected, the automatic test module 110 automatically reads the selected test script and automatically performs the test. Although the test system can automatically read a plurality of test scripts for automatic test, only one mobile phone can be tested when the system is used for testing.
In summary, on the test system platform, only the function of one mobile phone can be tested. In addition, with the increasing of various functions of the current mobile phone, the conflicts among the functions of the modules are also increasing. For technical reasons, the above test modes are not suitable for conflict tests of multiple mobile phones.
Disclosure of Invention
The invention aims to provide a mobile phone testing method, by which a plurality of mobile phones to be tested can be automatically tested according to a testing script under the condition of no human intervention, the working pressure of testing personnel is reduced, the testing efficiency is improved, and the testing cost is reduced.
The invention also aims to provide a mobile phone test system, which can automatically test a plurality of mobile phones to be tested according to the test script under the condition of no human intervention, thereby improving the test reliability to a certain extent, reducing the working pressure of testers, improving the test efficiency and reducing the test cost.
In order to achieve the above object, the present invention provides a method for testing a mobile phone, comprising: the testing terminal receives an instruction for testing communication between at least two tested mobile phones; the test terminal acquires a corresponding test script according to the analysis result, and controls a first tested mobile phone of the at least two tested mobile phones to send a communication event to a second tested mobile phone of the at least two tested mobile phones according to a preset sequence of the test script; the test terminal receives an execution result returned by the first tested mobile phone; judging whether the first tested mobile phone completes the operation corresponding to the communication event; if the judgment result is yes, the test terminal sends an instruction for executing the communication event to the second tested mobile phone; and the second tested mobile phone returns an execution result to the test terminal according to the instruction for executing the communication event sent by the test terminal.
In order to achieve the above object, the present invention provides a mobile phone test system, which includes a test terminal and at least two mobile phones to be tested; wherein,
the testing terminal is used for receiving an instruction for testing communication between at least two tested mobile phones, analyzing the instruction, acquiring a corresponding testing script according to an analysis result, and controlling a first tested mobile phone of the at least two tested mobile phones to send a communication event to a second tested mobile phone of the at least two tested mobile phones according to a preset sequence of the testing script; and
the test terminal receives an execution result returned by the first tested mobile phone; judging whether the first tested mobile phone completes the operation corresponding to the communication event; if the judgment result is yes, the test terminal sends an instruction for executing the communication event to the second tested mobile phone; and the second tested mobile phone returns an execution result to the test terminal according to the instruction for executing the communication event sent by the test terminal.
The invention has the advantages that the invention can automatically test a plurality of mobile phones to be tested according to the test script without human intervention, such as: the mobile phone call test is carried out, the test reliability is improved to a certain extent, the working pressure of testers is reduced, the test efficiency is improved, and the test cost is reduced.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principles of the invention. In the drawings:
fig. 1 is a schematic diagram showing a configuration of a mobile phone test system in related art 1;
fig. 2 is a schematic diagram showing a configuration of a mobile phone test system in related art 2;
FIG. 3 is a schematic view of the test system configuration of embodiment 1 of the present invention;
FIG. 4 is a schematic view of the test system configuration of embodiment 2 of the present invention;
FIG. 5 is a schematic view of the test system according to embodiment 3 of the present invention;
FIG. 6 is a schematic diagram of a test terminal according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a tested mobile phone according to an embodiment of the present invention;
FIG. 8 is a flowchart of a testing method according to embodiment 4 of the present invention;
FIG. 9 is a flowchart illustrating the testing of a communication event between two handsets under test by the testing terminal according to the present invention;
FIG. 10 is a flow chart of the test of a conference call for three handsets under test according to an embodiment of the present invention;
FIG. 11 is a diagram illustrating a client configuration in the test system according to an embodiment of the present invention;
FIG. 12 is a schematic diagram of a tested mobile phone in the test system according to the embodiment of the present invention;
FIG. 13 is a flow chart of a test method of an embodiment of the present invention;
fig. 14 is a schematic diagram of the test performed on the mobile phone under test according to the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the following embodiments and accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
The invention provides a mobile phone testing method and a mobile phone testing system. The following detailed description of embodiments of the invention refers to the accompanying drawings.
FIG. 3 is a schematic diagram of the test system of the present invention. The test system comprises a test terminal 301 and at least two tested mobile phones, for example, a tested mobile phone 1 to a tested mobile phone n; wherein,
the test terminal 301 is configured to receive an instruction for testing communication between at least two tested mobile phones, analyze the instruction, execute a corresponding test script according to an analysis result, sequentially test communication between the at least two tested mobile phones according to the test script and an execution result of the tested mobile phones, and store the execution result;
at least two tested mobile phones, configured to execute corresponding operations according to the test instruction issued by the test terminal 301, and transmit an execution result to the test terminal 301.
According to the embodiment of the invention, under the condition of no human intervention, the multiple mobile phones to be tested can be automatically tested in sequence according to the test script, so that the test reliability is improved to a certain extent, the working pressure of testers is reduced, the test efficiency is improved, and the test cost is reduced.
In this embodiment, the testing of the communication between the multiple tested mobile phones may be testing of abnormal collision events such as calls between the multiple tested mobile phones or sending and receiving short messages.
Fig. 4 is a schematic diagram of a system for testing a collision event between two tested handsets, wherein the system includes a testing terminal 401, a tested handset 1 and a tested handset 2.
Fig. 5 is a schematic diagram of a test for collision events between three handsets under test. The system comprises a test terminal 501, a tested mobile phone 1, a tested mobile phone 2 and a tested mobile phone 3.
Fig. 6 is a schematic diagram of a test terminal according to an embodiment of the present invention. As shown in fig. 6, the test terminal includes at least:
the input unit 601 is used for inputting a command for testing communication between at least two tested mobile phones;
an analyzing unit 602, configured to analyze an input instruction;
the test control unit 603 is configured to sequentially test communication between at least two tested mobile phones according to the test script and the execution result of the tested mobile phone;
the management unit 604 is configured to store the execution result and is further configured to store the test script. In addition, the management unit 604 can also manage the test scripts, for example, a series of quick and convenient script management such as compiling, modifying, querying, classifying, indexing, and the like can be performed on the test scripts.
As shown in fig. 6, the test terminal further includes a script generating unit 605, and the script generating unit 605 is configured to generate a test script. For example, the script can be written and managed in a conventional man-machine interface script format, and the reverse operation is supported, namely the execution result fed back by the tested mobile phone can be transmitted to the test terminal through serial port communication, and the script is automatically generated.
In this embodiment, the CPU controls the operation of the entire test device, and implements the communication processing and script execution functions between the test terminal and the multiple mobile phones under test.
Fig. 7 is a schematic diagram of the structure of a tested mobile phone according to an embodiment of the present invention. As shown in fig. 7, the mobile phone to be tested includes:
a receiving unit 701, configured to receive an instruction transmitted by a test terminal;
an analyzing unit 702, configured to analyze the received instruction;
an execution unit 703 that executes an operation corresponding to the instruction according to the analysis result;
a sending unit 704, configured to send an execution result to the test terminal.
As can be seen from the above, after receiving the execution result sent by the tested mobile phone, the test terminal sequentially obtains the next test script from the script generating unit 605 under the control of the test control unit, and transmits the test script to the tested mobile phone, and the tested mobile phone performs the next operation according to the test script after analyzing the test script, thereby performing the test automatically.
In the above embodiment, the testing unit 603 of the testing terminal shown in fig. 6 sequentially tests the communication between at least two tested mobile phones according to the test script and the execution result returned by the tested mobile phones, and the following method may be adopted:
the testing unit 603 tests the communication between any two tested mobile phones in the tested mobile phones according to the predetermined sequence of the test scripts and the execution result returned by the tested mobile phones; judging whether the test script is executed; if the judgment result is yes, the test is ended.
The test terminal tests the communication between any two tested mobile phones in the tested mobile phones according to the execution result returned by the tested mobile phones and the preset sequence of the test script, and can adopt the following modes:
as shown in fig. 4, the test terminal 401 controls the tested handset 1402 to send a communication event to the tested handset 2403, but is not limited thereto; the test terminal 401 determines whether the mobile phone 1402 under test completes the operation corresponding to the communication event; if the judgment result is yes, the tested mobile phone 2403 is judged whether a communication receiving event exists, and if the judgment result is that the communication receiving event exists, the test terminal 401 sends an instruction for executing the communication event to the tested mobile phone 2402; the tested mobile phone 2403 performs corresponding operations according to the instruction for executing the communication event sent by the test terminal 401, and returns the execution result to the test terminal 401.
Wherein, whether the tested mobile phone 2403 has a communication receiving event or not can be judged by adopting the following mode: when the test terminal judges that the tested mobile phone 1 finishes the operation corresponding to the communication event, the tested mobile phone 2 sends a communication event receiving mark to the test terminal, the test terminal judges whether the tested mobile phone 2 receives the communication event according to the mark, and if the tested mobile phone 2 receives the communication event, the test terminal sends an instruction for executing the communication event to the tested mobile phone 2.
The test terminal 401 controls the tested mobile phone 1402 to send a communication event to the tested mobile phone 2403, and may adopt the following modes:
the test terminal 401 sends an instruction to the tested mobile phone 1402 according to the test script, wherein the instruction includes information of a communication event sent to the tested mobile phone 2403 by the tested mobile phone 1402; the tested mobile phone 1402 receives the instruction and analyzes the instruction; the instruction is executed according to the analyzed result, and the execution result is transmitted back to the test terminal 401. The test terminal 401 stores the execution results of the mobile phone 1 and the mobile phone 2 to be tested.
Therefore, a plurality of mobile phones can be controlled by a test terminal to execute the operation of the conflict test, namely, the tested mobile phone 1 is controlled by a computer to send abnormal conflict events to the tested mobile phone 2, such as telephone, short message and other operations, the tested mobile phone 2 receives the abnormal events, namely, the tested mobile phone 2 has communication receiving events, the state of the passive receiving events is synchronized with the test terminal, the test terminal judges the states to execute response operation scripts in sequence, and meanwhile, the serial port generates and records the execution result of each step into an effective analysis report to accurately position problems, so that the accuracy and the efficiency of the test are effectively improved, and the reliability of the test is improved. Such as a call operation between two tested handsets.
In addition, the function of processing the incoming call priority of the conference call among a plurality of tested mobile phones can be performed, and such communication conflict operation is controlled by one testing terminal, so that complete automatic testing is realized, and manual intervention is not required, for example, the processing of the conference call among three tested mobile phones is shown in fig. 5.
The test method of the present invention is described in detail below with reference to the accompanying drawings.
The invention provides a mobile phone testing method, as shown in fig. 8, the method comprises:
step 801, a test terminal receives an instruction for testing communication between at least two tested mobile phones; step 802, the test terminal analyzes the instruction; and 803, executing a corresponding test script according to the analysis result, and sequentially testing the communication between at least two tested mobile phones according to the test script and the execution result returned by the tested mobile phones.
Therefore, by the method, the conflict events such as calls, short messages and the like among the multiple tested mobile phones can be tested, complete automatic testing is realized, and manual intervention is not needed.
In this embodiment, the method further comprises: the test script generating unit 603 generates a test script and stores the test script to the managing unit 606. The test script can be generated in any existing mode, for example, a user can generate the test script by himself or the script is arranged and edited on the basis of the automatically generated test script, so that the automatic labor, time and cost can be saved, the compiling difficulty of the preset script is saved to a great extent, the working efficiency is effectively improved, and batch processing operation and control of a plurality of tested mobile phones can be supported.
After the test script generating unit 603 generates the test script, the test script is stored in the managing unit 606, and a series of fast and convenient script managing functions such as compiling, modifying, adding, deleting, querying, classifying, indexing and the like can be performed on the test script by using the managing unit 606.
In this embodiment, the test terminal sequentially tests the communication between at least two tested mobile phones according to the test script and the execution result returned by the tested mobile phones, and the following method can be adopted:
the test terminal tests the communication between any two tested mobile phones in the tested mobile phones according to the preset sequence of the test scripts and the execution result returned by the tested mobile phones; judging whether the test script is executed; if the judgment result is yes, the test is ended.
The test terminal tests the communication between any two tested mobile phones in the tested mobile phones according to the execution result returned by the tested mobile phones and the preset sequence of the test script, and adopts the following mode:
and a preparation step, namely generating a test script and storing the test script for testing.
As shown in fig. 9, the method includes:
step 901, the test terminal controls the communication event sent by the tested mobile phone 1 to the tested mobile phone 2, and receives the execution result returned by the tested mobile phone 1; wherein, adopt the following mode:
the test terminal sends an instruction to the tested mobile phone 1 according to the test script, wherein the instruction comprises information of a communication event sent to the tested mobile phone 2 by the tested mobile phone 1; the tested mobile phone 1 receives the instruction, analyzes the instruction, executes the instruction according to the analyzed result, and transmits the executed result back to the test terminal.
In step 902, the test terminal receives the execution result returned by the tested handset 1.
Step 903, the test terminal stores the execution result of the tested mobile phone 1.
Step 904, the test terminal judges whether the tested mobile phone 1 completes the operation corresponding to the communication event;
step 905, if the determination result is yes, the mobile phone 2 under test sends the communication receiving event information to the test terminal, and in this embodiment, the mobile phone 2 under test sends the receiving communication event flag to the test terminal;
step 906, the test terminal judges whether a communication receiving event exists, namely judges whether a communication receiving event identifier sent by the tested mobile phone 2 is received;
step 907, if the determination result in step 906 is yes, that is, the test terminal receives the flag, the test terminal sends an instruction for executing the communication event to the tested mobile phone 2;
step 908, the tested handset 2 returns the execution result to the testing terminal according to the instruction for executing the communication event sent by the testing terminal.
In step 909, the testing terminal stores the execution result of the tested mobile phone 2.
Therefore, by recording the execution result of each step, the problem can be accurately positioned according to the record, the test accuracy and the test efficiency are effectively improved, and the test reliability is improved.
Referring to fig. 10, a conference call between three tested handsets will be described as an example. Wherein the test terminal may be implemented using a computer, in fig. 10, the solid arrows represent commands, and the dashed arrows represent responses.
The method can adopt the following steps:
step 1, the test terminal sends an instruction to a tested mobile phone 1, and the tested mobile phone 1 is required to dial a tested mobile phone 2;
step 2, the tested mobile phone 1 responds to the instruction of the test terminal and dials the tested mobile phone 2;
step 3, the tested mobile phone 1 transmits the execution result back to the test terminal;
step 4, the tested mobile phone 2 synchronizes the dialed event and transmits the event information to the test terminal;
step 5, the test terminal sends an instruction to the tested mobile phone 2 according to the test script to request to answer the call;
step 6, the test terminal sends an instruction to the tested mobile phone 3 to request the tested mobile phone 3 to dial the tested mobile phone 2;
step 7, the tested mobile phone 3 responds to the test equipment instruction and dials the tested mobile phone 2;
step 8, the tested mobile phone 3 transmits the execution result back to the test terminal;
step 9, the tested mobile phone 2 synchronizes the dialed event and transmits the event information to the test terminal;
step 10, the test terminal sends an instruction to the tested mobile phone 2 to request to answer the call according to the test script;
and after receiving the execution result returned by the tested mobile phone, the test terminal records the execution result, so that a technician can analyze the execution result according to the record to quickly find the problem, and the labor and the time are saved.
The above description is only given by taking a conference call between three tested mobile phones as an example, the invention is not limited to three tested mobile phones, but also can be a plurality of tested mobile phones, and the testing method is similar to the above description, and is not repeated here.
The present invention also provides a mobile phone test system, which includes a mobile phone to be tested, as shown in fig. 12, the mobile phone to be tested includes:
an input unit 1201 for inputting an instruction to perform a test;
the analysis unit 1202 is configured to analyze a pre-stored test script according to the instruction;
a test control unit 1203, configured to perform a corresponding test according to an analysis result of the analysis unit;
a storage unit 1204, configured to store the test result and further store the test script;
a display unit 1205 for displaying a menu for a user to input instructions and may also display test results.
In addition, the system further includes a test terminal, as shown in fig. 11, the test terminal including:
a test script generation unit 1101 for generating a test script; the method for generating the script can adopt any existing method, and is not described in detail herein.
A management unit 1102 for storing the generated test script;
a sending unit 1103, configured to send the test script to the mobile phone to be tested, where the sending mode may be a wired or wireless mode.
The invention also provides a mobile phone testing method, as shown in fig. 13, the method includes:
step 1301, a script generation unit 1101 of the client generates a test script;
step 1302, storing the generated test script in the management unit 1102;
step 1302, the sending unit 1103 of the client sends the test script to the mobile phone to be tested;
step 1304, the mobile phone to be tested receives the test script transmitted by the client and stores the test script in the storage unit 1204;
step 1305, a tester enters a menu for selecting to test through the input unit 1201 of the tested mobile phone, at this time, the searched menu can be displayed on the display unit 1205, and an instruction for testing is input by pressing the input unit 1201;
step 1306, the parsing unit 1202 parses a pre-stored test script;
step 1307, the testing unit 1203 performs a corresponding test according to the analysis result;
step 1308, storing the test result in the storage unit 1204 or displaying the test result in the display unit 1205, and transmitting the test result to the client for storage.
FIG. 14 is a schematic diagram of the test of the embodiment of the present invention.
Therefore, the invention defines a script format, realizes decoding and encoding work on the tested mobile phone and the test terminal or the client, and executes simulated key operation according to the actual operation condition. Only the key pressing message is sent to the driver according to the response operation.
The mobile phone test method provided by the invention has the functions of:
and (3) off-line automatic testing: the test state does not need the intervention of a client, the mobile phone can independently complete the test, and the test result can be stored on the mobile phone to be tested and also can be output to the client through a serial port. According to the established script format, a tester compiles an automatic test script according to the test case, the script is transmitted into the tested mobile phone through the serial port, an automatic test command is input into the tested mobile phone, the test script is selected and analyzed and executed, the execution result of each step of the script can be output to the client through the serial port, and a file can be generated and stored in the tested mobile phone. The off-line automatic test does not occupy other resources and does not need to be connected with a client, so that the off-line automatic test is particularly suitable for some simple repetitive tests, single function tests and self tests of developers.
Automatic online test: the test state is analyzed by the test equipment, the order is sent to the tested mobile phone through the serial port, and the test result is recorded. The online automatic test has the advantages that the test script needs to be analyzed by the test equipment, a plurality of tested mobile phones can participate in the test, the test efficiency is high, and the time and the labor are saved.
In addition, a test script generation tool can be developed, the compiling difficulty is reduced, namely, the current operation action is recorded through key operation on the mobile phone and is transmitted to a test terminal or a client through a serial port, and the test script is automatically generated.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A mobile phone test method is characterized by comprising the following steps:
the testing terminal receives an instruction for testing communication between at least two tested mobile phones;
the test terminal obtains a corresponding test script according to the analysis result,
controlling a first tested mobile phone in the at least two tested mobile phones to send a communication event to a second tested mobile phone in the at least two tested mobile phones according to the preset sequence of the test script;
the test terminal receives an execution result returned by the first tested mobile phone; judging whether the first tested mobile phone completes the operation corresponding to the communication event;
if the judgment result is yes, the test terminal sends an instruction for executing the communication event to the second tested mobile phone;
and the second tested mobile phone returns an execution result to the test terminal according to the instruction for executing the communication event sent by the test terminal.
2. The method of claim 1, further comprising: judging whether the test script is executed; if the judgment result is yes, the test is ended.
3. The method according to claim 1, wherein if the determination result of determining whether the first detected handset completes the operation corresponding to the communication event is yes, the method further comprises:
the test terminal judges that the second tested mobile phone has a communication receiving event;
and if the judgment result is yes, the test terminal sends an instruction for executing the communication event to the second tested mobile phone.
4. The method according to claim 1, wherein the test terminal controls the first tested mobile phone to send a communication event to the second tested mobile phone, and the communication event comprises:
the test terminal sends an instruction to the first tested mobile phone according to the test script, wherein the instruction comprises information of a communication event sent by the first tested mobile phone to the second tested mobile phone;
the first tested mobile phone receives the instruction and analyzes the instruction;
and executing the instruction according to the analyzed result, and transmitting the execution result back to the test terminal.
5. The method according to claim 4, wherein the test terminal stores the execution results of the first tested mobile phone and the second tested mobile phone.
6. The method of claim 1, further comprising:
generating the test script;
and storing the test script.
7. A mobile phone test system is characterized in that the system comprises a test terminal and at least two tested mobile phones; wherein,
the test terminal is used for receiving an instruction for testing the communication between at least two tested mobile phones, analyzing the instruction and acquiring a corresponding test script according to an analysis result,
controlling a first tested mobile phone in the at least two tested mobile phones to send a communication event to a second tested mobile phone in the at least two tested mobile phones according to the preset sequence of the test script; and
the test terminal receives an execution result returned by the first tested mobile phone; judging whether the first tested mobile phone completes the operation corresponding to the communication event; if the judgment result is yes, the test terminal sends an instruction for executing the communication event to the second tested mobile phone; and the second tested mobile phone returns an execution result to the test terminal according to the instruction for executing the communication event sent by the test terminal.
8. The system according to claim 7, characterized in that said test terminal comprises at least:
the input unit is used for inputting a command for testing communication between at least two tested mobile phones;
the analysis unit is used for analyzing the instruction;
the test control unit is used for sequentially testing the communication between at least two tested mobile phones according to the test script and the execution result of the tested mobile phones;
a management unit, configured to store the execution result, and further configured to store the test script.
9. The system according to claim 8, wherein the test terminal further comprises a script generating unit for generating the test script.
10. The system of claim 7, wherein the handset under test comprises:
the receiving unit is used for receiving the instruction transmitted by the test terminal;
the analysis unit is used for analyzing the received instruction;
the execution unit executes the operation corresponding to the instruction according to the analysis result;
and the sending unit is used for sending the execution result to the test terminal.
CN2008101137665A 2008-05-30 2008-05-30 Test system and method for mobile phone Expired - Fee Related CN101287266B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101137665A CN101287266B (en) 2008-05-30 2008-05-30 Test system and method for mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101137665A CN101287266B (en) 2008-05-30 2008-05-30 Test system and method for mobile phone

Publications (2)

Publication Number Publication Date
CN101287266A CN101287266A (en) 2008-10-15
CN101287266B true CN101287266B (en) 2011-06-22

Family

ID=40059183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101137665A Expired - Fee Related CN101287266B (en) 2008-05-30 2008-05-30 Test system and method for mobile phone

Country Status (1)

Country Link
CN (1) CN101287266B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109861876A (en) * 2018-12-29 2019-06-07 深圳市路畅科技股份有限公司 A kind of method and relevant apparatus of Three-Way Calling test

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI383600B (en) * 2009-09-17 2013-01-21 Inventec Appliances Corp Mobile communication device with test function and test method for mobile communication device
CN102355641A (en) * 2011-08-25 2012-02-15 广东欧珀移动通信有限公司 A method for automated testing of mobile phone short message group control
CN103152458B (en) * 2011-12-07 2016-04-27 中国移动通信集团广东有限公司 Testing mobile phone, remote mobile phone test system, remote handset method of testing and device
CN102905300B (en) * 2012-09-14 2016-09-07 北京中创信测科技股份有限公司 LTE emulation testing automatic process generating method based on network data
CN103412817B (en) * 2013-08-14 2016-05-25 迈普通信技术股份有限公司 Automatic test script Off Line Debugging Method and system
CN105786700B (en) * 2014-12-26 2018-11-16 展讯通信(上海)有限公司 A kind of more card Auto-Test Systems and method and mobile terminal
CN104853020B (en) * 2015-03-19 2019-05-31 惠州Tcl移动通信有限公司 A kind of interactive testing method and its terminal
CN104735702A (en) * 2015-04-15 2015-06-24 环旭电子股份有限公司 Wireless network automatic connection test method and system thereof
CN108153633B (en) * 2017-12-26 2021-04-20 深圳Tcl新技术有限公司 A device testing method and device
CN110161431B (en) * 2018-02-12 2023-02-17 西门子公司 Processing method and device for monitoring data of frequency converter and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1400832A (en) * 2001-08-03 2003-03-05 北京嘉盛联侨信息工程技术有限公司 Multiprocess program-controlled handset testing method
CN1565107A (en) * 2001-10-08 2005-01-12 汤姆森许可贸易公司 Methods and devices for radio link adaptation
CN1599504A (en) * 2003-06-16 2005-03-23 安立股份有限公司 Test apparatus and method which can simultaneously execute various tests of one or a plurality of radio communication terminals of various types of communication systems
CN1959710A (en) * 2005-11-04 2007-05-09 鸿富锦精密工业(深圳)有限公司 Automatic test system and method
CN1981508A (en) * 2004-07-06 2007-06-13 索福帮Bb股份有限公司 VoIP device test system and test method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1400832A (en) * 2001-08-03 2003-03-05 北京嘉盛联侨信息工程技术有限公司 Multiprocess program-controlled handset testing method
CN1565107A (en) * 2001-10-08 2005-01-12 汤姆森许可贸易公司 Methods and devices for radio link adaptation
CN1599504A (en) * 2003-06-16 2005-03-23 安立股份有限公司 Test apparatus and method which can simultaneously execute various tests of one or a plurality of radio communication terminals of various types of communication systems
CN1981508A (en) * 2004-07-06 2007-06-13 索福帮Bb股份有限公司 VoIP device test system and test method
CN1959710A (en) * 2005-11-04 2007-05-09 鸿富锦精密工业(深圳)有限公司 Automatic test system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109861876A (en) * 2018-12-29 2019-06-07 深圳市路畅科技股份有限公司 A kind of method and relevant apparatus of Three-Way Calling test

Also Published As

Publication number Publication date
CN101287266A (en) 2008-10-15

Similar Documents

Publication Publication Date Title
CN101287266B (en) Test system and method for mobile phone
CN105094783B (en) method and device for testing stability of android application
CN111240973B (en) Equipment testing method and system based on simulation and readable storage medium
CN110324612B (en) Television testing method, testing control terminal and television
CN111459794A (en) Communication network testing method, device, computer equipment and storage medium
US20070168745A1 (en) Automation test systems
KR100985749B1 (en) Embedded System Software Automated Test Systems and Methods and How to Write Test Scenarios
CN101272422A (en) Mobile phone automatized test method
CN104424089A (en) Terminal testing method and device
CN104483959A (en) Fault simulation and test system
CN112839323A (en) Bluetooth device testing method and device, terminal and computer readable storage medium
CN114578790B (en) Unmanned aerial vehicle flight control automatic test method, system, equipment and medium
CN112115038A (en) Application testing method and device and storage medium
CN111026651B (en) Test method, device, storage medium and electronic equipment
KR100892141B1 (en) Automatic verification method of portable device and device
CN115114141A (en) Method, device and equipment for testing performance of application program and storage medium
US20070124367A1 (en) Integrated Mobile Diagnostics and Electronic Customer Care Test Script with Browser
CN105677689B (en) Log recording method and device
Mojahed et al. Odace: An appium-based testing automation platform for android mobile devices certification
CN117056177B (en) Alarming method, device and system for test inspection
CN116506007A (en) Optical module firmware testing system and method
KR20070104202A (en) Automated Test Service System and Method for Mobile Phone Software Verification
CN106681899A (en) Android-UI automatic testing method and system based on Jmeter
CN113115032A (en) Batch testing method and device for smart television equipment and electronic equipment
JP3722869B2 (en) Exchange software test system and test method

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
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20081015

Assignee: Beijing Yun LAN Technology Co.,Ltd.

Assignor: Techfaith Wireless Technology (Beijing) Ltd.

Contract record no.: 2015990000432

Denomination of invention: System and method for testing mobile phone

Granted publication date: 20110622

License type: Exclusive License

Record date: 20150611

LICC Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110622

CF01 Termination of patent right due to non-payment of annual fee