CN102421132A - Test system, test equipment and test method for mobile terminal - Google Patents

Test system, test equipment and test method for mobile terminal Download PDF

Info

Publication number
CN102421132A
CN102421132A CN2011102175929A CN201110217592A CN102421132A CN 102421132 A CN102421132 A CN 102421132A CN 2011102175929 A CN2011102175929 A CN 2011102175929A CN 201110217592 A CN201110217592 A CN 201110217592A CN 102421132 A CN102421132 A CN 102421132A
Authority
CN
China
Prior art keywords
portable terminal
measured
test
testing
testing equipment
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
CN2011102175929A
Other languages
Chinese (zh)
Other versions
CN102421132B (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.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai Co 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN201110217592.9A priority Critical patent/CN102421132B/en
Publication of CN102421132A publication Critical patent/CN102421132A/en
Application granted granted Critical
Publication of CN102421132B publication Critical patent/CN102421132B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention discloses a test system, a test equipment and a test method for a mobile terminal. The test method comprises the following steps: operating a test script corresponding to a mobile terminal to be tested by virtue of the test equipment; building a connecting path between the test equipment and the mobile terminal to be tested; sending a test command generated by operating the test script to the mobile terminal to be tested via the connecting path; receiving data from the mobile terminal to be tested via the connecting path; and analyzing the data to verify the execution result of the mobile terminal to be tested to the test command in a real network environment. According to the technical scheme, the mobile terminal to be tested in the real network environment can be automatically tested, thereby saving the test cost and improving the test efficiency.

Description

The test macro of portable terminal, testing equipment and method of testing
Technical field
The present invention relates to communication technical field, particularly a kind of test macro of portable terminal, testing equipment and method of testing.
Background technology
Along with the development of mobile communication technology, the portable terminal product is more and more abundanter, and function becomes increasingly complex, and the frequency of release is more and more faster, causes the R&D cycle to shorten.In R&D process, need guarantee the quality and the performance of product through test to portable terminal, must improve testing efficiency, the control testing cost of portable terminal simultaneously again, need constantly accumulate measuring technology for this reason, improve testing level.
In the prior art; The Auto-Test System of portable terminal and method all are under the network environment of simulation, to carry out, and reach each item performance of testing mobile phone by diverse network emulation instrument analog network environment, and its shortcoming is; Testing cost is high, and test coverage is low; Compare with real network environment, the network environment of simulation is relatively stable, and real network environment is complicated more, the just test result under perfect condition that is therefore obtaining under the analog network environment.
On the other hand, existing based on the mobile terminal test under the real network environment, often need rely on manual operation, fix a point or situation of movement under terminal test; And the subjective sensation that relies on the tester judges whether portable terminal moves correctly, can't be in time, the assignment test problem belongs to exactly.
To the problems referred to above; Prior art discloses a kind of mobile phone test system and method; With reference to publication number is the patent application text of CN101287266A, and the method for testing that provides in this patent application is that the test terminal receives the instruction that communication between at least two tested mobile phones is tested; Resolve said instruction the test terminal; Obtain corresponding test script according to analysis result, in regular turn the communication between at least two tested mobile phones is tested according to the execution result of test script and the passback of tested mobile phone.Such scheme has been realized the automatic test between a plurality of mobile phones, has improved testing efficiency, but its range of application be still the simulation network environment under carry out automatic test, and relate under real network environment mobile phone is not carried out automatic test.
Summary of the invention
The problem that the present invention solves is the mobile terminal test that is implemented under the real network environment.
For addressing the above problem; The embodiment of the invention provides a kind of method of testing of portable terminal; Be used under real network environment, portable terminal to be measured being carried out automatic test; Comprise: testing equipment operation and the corresponding test script of said portable terminal to be measured, the interface channel between foundation and the said portable terminal to be measured; The test command that the said test script of operation is generated sends to said portable terminal to be measured through said interface channel; Receive data through said interface channel, said data are analyzed, to verify said portable terminal to be measured execution result to said test command under real network environment from portable terminal to be measured.
Alternatively; Be provided with the port information of portable terminal to be measured in the said test script, said foundation specifically comprises with interface channel between the said portable terminal to be measured: said testing equipment according to said port information set up with portable terminal to be measured between port be connected.
Alternatively, said port connect that port between the port communication instrument that comprises portable terminal to be measured and testing equipment is connected and the processing unit of said port communication instrument and testing equipment between port be connected.
Alternatively, said test command is the testing equipment analysis and changes the test instruction of said test script and order that the portable terminal to be measured that forms can be discerned; Wherein, be to carry out to the test instruction conversion in the test script according to the dll file that loads in the testing equipment with portable terminal coupling to be measured.
Alternatively, the order that can discern of said portable terminal to be measured is meant the order that the protocol stack monitoring entity of portable terminal to be measured can be discerned.
Alternatively, said data from portable terminal to be measured comprise the message that portable terminal to be measured is handled when carrying out said test command.
Alternatively, the message when carrying out said test command, handled of said portable terminal to be measured comprises the information that the protocol stack monitoring entity of portable terminal to be measured is caught.
Alternatively, the message when carrying out said test command, handled of said portable terminal to be measured also comprises and portable terminal to be measured is carried out the relevant idle message that comes automatic network of test command.
Alternatively, said data from portable terminal to be measured are that mode with code stream is transferred to processing unit by the port communication instrument in testing equipment inside.
Alternatively, the test command that said operation test script generates also comprises the test command of the signal that the network survey of indication portable terminal adjustment to be measured in real network environment reports, with the required test scene of structure in real network environment.
Alternatively, said test scene comprises that switch the sub-district or the scene of district reselecting.
Alternatively, the connection between testing equipment foundation and the auxiliary moving terminal sends instructions under said auxiliary moving terminal when test needs, with auxiliary test to portable terminal to be measured.
Alternatively, the connection between the said and auxiliary moving terminal is that serial ports connects, and the said instruction that issues to said auxiliary moving terminal is the AT instruction.
A kind of testing equipment is suitable under real network environment, portable terminal to be measured being tested; Comprise test script, processing unit and be suitable for setting up said processing unit and said portable terminal to be measured between the port communication instrument of connection;
Wherein, said processing unit is used to move and the corresponding test script of said portable terminal to be measured, generates test command and sends to said portable terminal to be measured through said interface channel; And, said data are analyzed, to verify said portable terminal to be measured execution result to said test command under real network environment through the data of said interface channel reception from portable terminal to be measured.
Alternatively, said processing unit comprises: the script resolver is used to resolve said test script to generate test command; Data-analyzing machine is used for the data from portable terminal to be measured are analyzed, with the checking execution result.
Alternatively; Also comprise the dll file memory cell; Be used to store the dll file that matees with portable terminal to be measured; With the test command that auxiliary said script resolver becomes said portable terminal to be measured to discern the instruction transformation in the test script, auxiliary said data-analyzing machine is analyzed the data from portable terminal to be measured.
Alternatively, the test instruction in the said test script comprises that test command that termination function to be measured is tested, the network of indication terminal adjustment to be measured in real network environment survey the test command of the signal that reports.
Alternatively, also comprise the serial ports that is suitable for connecting the auxiliary moving terminal, said processing unit also is used to control the auxiliary moving terminal.
A kind of test macro of portable terminal comprises portable terminal to be measured and said testing equipment.
Alternatively, said portable terminal to be measured comprises protocol stack monitoring entity and message processing module; Wherein said protocol stack monitoring entity is used for that the message processing module that is suitable for handling this test instruction is distributed in said test instruction to be handled, and the processing messages of said message processing module is fed back to the processing unit of said testing equipment through said port communication instrument.
Alternatively, also comprise the auxiliary moving terminal, be used for auxiliary test under the control of said testing equipment said portable terminal to be measured.
Compared with prior art, the present technique scheme has following beneficial effect: at first, and through the testing equipment operation test script corresponding, the interface channel between foundation and the said portable terminal to be measured with portable terminal to be measured; Then, the test command that the said test script of operation is generated sends to said portable terminal to be measured through said interface channel; And, said data are analyzed, to verify said portable terminal to be measured execution result to said test command under real network environment through the data of said interface channel reception from portable terminal to be measured.The present technique scheme has realized in real network environment, portable terminal to be measured being carried out automatic test, has saved testing cost, has improved testing efficiency.
In specific embodiment; Test command through test script generates indicates the network of portable terminal adjustment to be measured in real network environment to survey the test command of the signal that reports; With the required test scene of structure in real network environment; Thereby make the tester need not spend the plenty of time and seek different test scenes, improved testing efficiency, also enlarged test specification simultaneously.
In specific embodiment; Also connected in series through one or more auxiliary moving terminal and testing equipment; The instruction that acceptance test equipment sends assists portable terminal to be measured to accomplish the test of multiple operation format; The for example test of MPTY, caller each other and operation format such as called, thus the test effect of portable terminal to be measured improved.
Description of drawings
Fig. 1 is the sketch map of automatization test system of the portable terminal of the embodiment of the invention;
Fig. 2 is the schematic flow sheet of embodiment of method of testing of the portable terminal of the embodiment of the invention;
Fig. 3 a is the structural representation of the testing equipment of first embodiment of the invention;
Fig. 3 b is the structural representation of the kind testing equipment of second embodiment of the invention;
Fig. 4 is the structural representation of test macro of the portable terminal of the embodiment of the invention.
Embodiment
The inventor finds in the method for testing of existing portable terminal, all is each item performance that reaches testing mobile phone by means of network simulation instrument analog network environment usually, and testing cost is higher; And compare with real network environment, the network environment of simulation is relatively stable, and real network environment is complicated more, the just test result under perfect condition that is therefore obtaining under the analog network environment.
On the other hand; Based on the mobile phone test under the real network environment; Then need usually through operation manually; Fix a point or situation of movement mobile phone test down, the subjective sensation that so only relies on the tester judges whether portable terminal moves correctly, can't be in time, the assignment test problem belongs to exactly.
To the problems referred to above, technical scheme of the present invention provides a kind of method of testing of portable terminal, is implemented under the real network environment portable terminal to be measured is carried out automatic test.On this basis; Test command through test script generates indicates the network of portable terminal adjustment to be measured in real network environment to survey the test command of the signal that reports; With the required test scene of structure in real network environment; Thereby make the tester need not spend the plenty of time and seek different test scenes, improved testing efficiency.
Further; Also connected in series through one or more auxiliary moving terminal and testing equipment; The instruction that acceptance test equipment sends assists portable terminal to be measured to accomplish the test of multiple communication mode; The for example test of MPTY, caller each other and communication mode such as called, thus the test effect of portable terminal to be measured improved.
For make above-mentioned purpose of the present invention, feature and advantage can be more obviously understandable, does detailed explanation below in conjunction with the accompanying drawing specific embodiments of the invention.
The sketch map of the automatization test system of a kind of portable terminal of the embodiment of the invention that as shown in Figure 1 is.With reference to figure 1, said automatization test system comprises testing equipment 10, portable terminal to be measured 20 and auxiliary moving terminal 301,302.Said testing equipment 10 is connected with said portable terminal to be measured 20, auxiliary moving terminal 301,302 respectively through interface channel, said portable terminal 20 to be measured and auxiliary moving terminal 301, can be implemented in the radio communication under the real network environment through base station 40 between 302.Need to prove, in practical application, do not limit the number at said auxiliary moving terminal, those skilled in the art can confirm the number at required auxiliary moving terminal according to the test needs.
Said testing equipment 10 is used under real network environment, said portable terminal 20 to be measured being tested.Particularly; Issue test command through said testing equipment 10 to said portable terminal 20 to be measured; Said portable terminal to be measured 20 receives and carries out said test command; Carry out the processing messages of said test command then to said testing equipment 10 feedbacks, said testing equipment 10 is verified the execution result of 20 pairs of said test commands of said portable terminal to be measured according to the processing messages of said feedback.
Further; Said testing equipment 10 issues to said portable terminal 20 to be measured and also comprises the test command of indicating the network of portable terminal 20 adjustment to be measured in real network environment to survey the signal that reports in the test command; With the required test scene of structure in real network environment, said test scene comprises scenes such as sub-district switching, district reselecting.Correspondingly, said testing equipment 10 will be verified the execution result of 20 pairs of said test commands of said portable terminal to be measured according to the processing messages of said portable terminal 20 feedbacks to be measured.
Further, said testing equipment 10 can also send instructions for 301,302 times to said auxiliary moving terminal, with auxiliary test to said portable terminal 20 to be measured.Through said auxiliary moving terminal 301,302 can realize and said portable terminal to be measured 20 between MPTY, caller each other and the test of operation format such as called.
Describe test macro, testing equipment and the method for testing of a kind of portable terminal of the embodiment of the invention in detail below in conjunction with accompanying drawing.
The schematic flow sheet of the embodiment of the method for testing of at first, as shown in Figure 2 the is described a kind of portable terminal of the embodiment of the invention.With reference to figure 2, the method for testing of said portable terminal comprises:
Execution in step S1: testing equipment operation and the corresponding test script of said portable terminal to be measured, the interface channel between foundation and the said portable terminal to be measured.
Particularly; Said test script is meant and is used for a series of instructions that portable terminal to be measured is tested; These instructions can read and move by equipment to be tested, and said test script can be created or the use test automation tools generates automatically, or accomplish through the Script Programming Programming with Pascal Language.
Further; Be provided with the port information of said portable terminal to be measured in the said test script; Said testing equipment can be confirmed the portable terminal to be measured that is connected with said testing equipment through reading said port information, thus set up and said portable terminal to be measured between interface channel.
Wherein, Set up with said portable terminal to be measured between interface channel comprise: said testing equipment is connected with port between the portable terminal to be measured according to said port information foundation; Wherein said port connects and can be connected through serial ports; For example, be connected through USB (Universal Serial BUS, USB) interface.Said port connect that port between the port communication instrument that also comprises portable terminal to be measured and testing equipment is connected and the processing unit of said port communication instrument and testing equipment between port be connected.Wherein, The test command that said port communication instrument is used for test script is generated in the follow-up test process is issued to said portable terminal to be measured through the processing unit of said testing equipment, and obtains the processing unit that feeds back to said testing equipment from the data of said portable terminal to be measured.
Further, said testing equipment can also set up and the auxiliary moving terminal between connection, when test needs, under said auxiliary moving terminal, send instructions, with auxiliary test to portable terminal to be measured.Alternatively, the connection between the wherein said and auxiliary moving terminal is that serial ports connects, and the said instruction that issues to said auxiliary moving terminal can be the AT instruction.Wherein, said AT instruction is the character string with the AT beginning, and this character string comprises the indication information that concrete operations are carried out at the said auxiliary moving of indication terminal, and correspondingly, the corresponding processing will be carried out after receiving the AT instruction in said auxiliary moving terminal.Need to prove,, enlarged the range of choice at said auxiliary moving terminal like this because existing portable terminal is basically all supported the AT instruction.In embodiments of the present invention, said testing equipment can connect one or more said auxiliary moving terminal, correspondingly, in said testing equipment, is arranged at serial ports that said auxiliary moving terminal number is complementary and connects and get final product.
Those skilled in the art will appreciate that the instruction that testing equipment issues to the auxiliary moving terminal need be the instruction that the auxiliary moving terminal can be discerned, its way of realization can be confirmed with situation according to the actual requirements.Be not limited to the above-mentioned AT instruction of mentioning.
Execution in step S2: the test command that will move said test script generation sends to said portable terminal to be measured through said interface channel.
Particularly, said test command is the testing equipment analysis and changes the test instruction of said test script and order that the portable terminal to be measured that forms can be discerned.
Need to prove; Because the data structure and the data format of its inner transmission/reception of different portable terminals to be measured are all inequality, the test instruction of generation need change into according to different portable terminals to be measured and be suitable for the test instruction that this portable terminal to be measured receives after therefore said testing equipment was resolved said test script.In other words, said testing equipment need change into the test instruction that generates and be suitable for data structure and the data format that portable terminal to be measured receives.
Alternatively, be to carry out wherein according to DLL (Dynamic Link Library, the dynamic link library) file that loads in the testing equipment with portable terminal coupling to be measured to the test instruction conversion in the test script.Wherein said dll file is a kind of data structure file, after said testing equipment has been loaded the dll file that matees with portable terminal to be measured, just can said test instruction be changed into data structure and the data mode that is suitable for said portable terminal reception to be measured.Said dll file can be loaded on the said testing equipment in advance, also can be according to different portable terminals to be measured, and said testing equipment is downloaded the dll file that is complementary with said portable terminal to be measured in real time, but in practical application, is not limited to said method.
Further, the order that can discern of said portable terminal to be measured is meant the order that the protocol stack monitoring entity of portable terminal to be measured can be discerned.Wherein said protocol stack monitoring entity is the internal module of said portable terminal to be measured, is used for communicating process, controls and catch the inner processing messages of said portable terminal to be measured.In embodiments of the present invention, said protocol stack monitoring entity also is used for the inner processing messages of portable terminal said to be measured that gets access to is fed back to said testing equipment.
Execution in step S3: receive data through said interface channel, said data are analyzed, to verify said portable terminal to be measured execution result to said test command under real network environment from portable terminal to be measured.
In embodiments of the present invention; Said data from portable terminal to be measured comprise the message that portable terminal to be measured is handled when carrying out said test command, the message that wherein said portable terminal to be measured is handled when carrying out said test command comprises the information that the protocol stack monitoring entity of said portable terminal to be measured is caught.Alternatively, in the invention present embodiment, said data from portable terminal to be measured are that the mode with code stream is transferred to processing unit by the port communication instrument in testing equipment inside.
Particularly; For example; At first, the test command that said testing equipment is handed down to portable terminal to be measured can be the dialing request instruction, when said portable terminal to be measured is carried out said test command; It is inner begins to carry out the call flow process, and so said protocol stack monitoring entity can capture the message of " altering (ring-back tone) "; Then; The message that said protocol stack monitoring entity will capture " altering " feeds back to said testing equipment through said interface channel; Said testing equipment is analyzed this message, to verify said portable terminal to be measured execution result to said test command under real network environment.
Further, the message when carrying out said test command, handled of said portable terminal to be measured also comprises and portable terminal to be measured is carried out the relevant idle message that comes automatic network of test command.Particularly, said idle message is meant interface (for example Um Interface, the Uu interface etc.) message between said portable terminal to be measured and the base station.When said portable terminal to be measured when carrying out test command, need through and the base station between the interface transmitting-receiving of carrying out message accomplish test command, therefore said protocol stack monitoring entity will obtain the idle message of automatic network.
Can realize the automatic test of portable terminal according to the method for testing of the said portable terminal of the invention described above embodiment.
On this basis; Further; In said step S2, the test command that said operation test script generates also comprises the test command of the signal that the network survey of indication portable terminal adjustment to be measured in real network environment reports, with the required test scene of structure in real network environment.
Be the automatic test of in real network environment, fixing a point in embodiments of the present invention, therefore the position relative fixed of said portable terminal to be measured is constant, and the probability that test scenes such as sub-district switching, district reselecting take place is less relatively.To this problem; Owing to can't realize that the sub-district is switched or test scenes such as district reselecting through the position of moving said portable terminal to be measured, so the method for testing that provides of the embodiment of the invention can be through being provided with test command that the network of indication portable terminal adjustment to be measured in real network environment survey the signal that reports with the required test scene of structure in real network environment in test script.Alternatively, said test scene comprises that switch the sub-district or the scene of district reselecting.
Particularly, for example, to test whether the said portable terminal to be tested execution result that switch the sub-district in communication process successfully is example.At first, resolve said test script through the processing unit in the said testing equipment and generate the dialing request instruction, and change the test instruction (calling) that the protocol stack monitoring entity of said portable terminal to be measured is suitable for receiving like analogue-key.Correspondingly; Said portable terminal to be measured is carried out the call flow process after receiving said test instruction; And the message of catching processing through its inner protocol stack monitoring entity is (like Alerting message; Be ring-back tone message) after, feeding back to said testing equipment, the processing unit of said testing equipment receives after the processing messages of feedback " going code " (this instruction is instructed with the AT that is suitable for said auxiliary moving terminal and receives and issued) is sent at said auxiliary moving terminal.Said portable terminal to be measured is put through according to said instruction in said auxiliary moving terminal, and this moment, said protocol stack monitoring entity continued to catch the processing messages of said portable terminal to be measured, if capture the message of " conversation carry out in ", then confirms and should conversation set up successfully.
Further; When said processing unit receives after the network of indication portable terminal to be measured adjustment in real network environment survey the test script of the signal that reports, equally it is resolved to the test instruction that the protocol stack monitoring entity that is suitable for said portable terminal to be measured receives.Correspondingly; Said protocol stack monitoring entity indicates the inner message processing module (like digital signal processing module) of said portable terminal to be tested on the basis of actual measured value, to turn down the value of reporting of the signal value of current persistent district; Heighten the value of reporting of neighboring area signal simultaneously; And the step-length of each adjustment can be provided with, thereby reaches the purpose of switching; After adjustment was accomplished, said portable terminal to be measured can report adjusted data to give network terminal, waits for the switching command of network terminal; Catch the inner switching flow of said portable terminal to be measured through said protocol stack monitoring entity then whether said testing equipment takes place and feed back to, switch not success, then repeat said process like the sub-district.
Then, after said protocol stack monitoring entity captures the inner handover success message of said portable terminal to be measured, then be uploaded to the processing unit of said testing equipment through said interface channel.After said processing unit receives the message of handover success; Begin to check whether the current state of said portable terminal to be measured keeps (being whether talking state keeps); Similarly, issue test command, catch the inner processing messages of said portable terminal to be measured through the protocol stack monitoring entity through said processing unit; If capture the message of " keeping conversation "; The conversation of then confirming said portable terminal to be measured still keeps, and gives the processing unit of said testing equipment with the message feedback of catching, thereby accomplishes test.
Further, the embodiment of the invention also provides a kind of testing equipment, and said testing equipment is suitable under real network environment, portable terminal to be measured being tested.
Shown in Fig. 3 a is the structural representation of first embodiment of a kind of testing equipment provided by the invention.With reference to figure 3a, said testing equipment 1 comprises test script 11, processing unit 12, is suitable for setting up the port communication instrument 13 and the dll file memory cell 14 of the connection between said processing unit and the said portable terminal to be measured.
Wherein, said processing unit 12 also comprises script resolver 121, is used to resolve said test script to generate test command; Data-analyzing machine 122 is used for the data from portable terminal to be measured are analyzed, with the checking execution result.Particularly, said processing unit 12 is used to move and the corresponding test script 1 of said portable terminal (not shown) to be measured, generates test command and sends to said portable terminal to be measured through said interface channel; And, said data are analyzed, to verify said portable terminal to be measured execution result to said test command under real network environment through the data of said interface channel reception from portable terminal to be measured.
Wherein, Said dll file memory cell 14 is used to store the dll file that matees with portable terminal to be measured; With the test command that auxiliary said script resolver 121 becomes said portable terminal to be measured to discern the instruction transformation in the test script, auxiliary 122 pairs of data from portable terminal to be measured of said data-analyzing machine are analyzed.
Further; Test instruction in the said test script 11 also comprises the test command of the signal that the network survey of the said terminal to be measured adjustment of indication in real network environment reports; With the required test scene of structure in real network environment, wherein said test scene comprises sub-district switching, district reselecting etc.The practical implementation process can not given unnecessary details at this with reference to the description in the method for testing of figure 2 described portable terminals.
Need to prove, test, do not need the assistance at auxiliary moving terminal through 1 pair of portable terminal to be measured of the described testing equipment of present embodiment.Further, when needs auxiliary moving terminal assisted said portable terminal to be measured to test, said testing equipment also comprised the serial ports that is used to connect said auxiliary moving terminal.
Particularly, the structural representation of second embodiment of a kind of testing equipment provided by the invention shown in Fig. 3 b.With reference to figure 3b, said testing equipment 1 ' comprise test script 11 ', processing unit 12 ', be suitable for setting up the port communication instrument 13 of the connection between said processing unit and the said portable terminal to be measured ', dll file memory cell 14 '.Different with first embodiment is, said testing equipment 1 also comprise the serial ports 15 that is suitable for connecting the auxiliary moving terminal ', correspondingly, said processing unit 12 ' also be used to control auxiliary moving terminal.Need to prove, the testing equipment 1 shown in Fig. 3 b ' in only comprise a serial ports 15 ', but in practical application, according to the number at said auxiliary moving terminal, the serial ports that the number at said testing equipment 1 ' will be provided with and said auxiliary moving terminal is complementary.
In the present embodiment, said processing unit 12 ' also comprise script resolver 121 ', be used to resolve said test script to generate test command; Data-analyzing machine 122 ', be used for the data from portable terminal to be measured are analyzed, with the checking execution result.Further, said processing unit 12 ' also be used under said auxiliary moving terminal, sending instructions, the wherein said instruction that issues is the AT instruction, said AT instruction is through the instruction of said script resolver 121 ' said test script of parsing to generate.Particularly, said AT instruction is the character string with the AT beginning, and this character string comprises the indication information that concrete operations are carried out at the said auxiliary moving of indication terminal, and correspondingly, the corresponding processing will be carried out after receiving the AT instruction in said auxiliary moving terminal.Need to prove,, enlarged the range of choice at said auxiliary moving terminal like this because existing portable terminal is basically all supported the AT instruction.
Through said auxiliary moving terminal can realize and said portable terminal to be measured between mutual conversation, caller each other and test scene such as called.Further, when said testing equipment comprises a plurality of serial ports, can also realize the test scene of MPTY through a plurality of auxiliary moving terminal.
The embodiment of the invention also provides the test macro of the portable terminal that comprises the testing equipment shown in above-mentioned Fig. 3 a or Fig. 3 b.
Particularly, as shown in Figure 4 is the structural representation of test macro of a kind of portable terminal of the embodiment of the invention.With reference to figure 4, the test macro of said portable terminal comprise testing equipment 1 ', portable terminal to be measured 2 and auxiliary moving terminal 2 '.Wherein, said testing equipment 1 ' comprise test script 11 ', processing unit 12 ', be suitable for setting up the port communication instrument 13 of the connection between said processing unit and the said portable terminal to be measured ', dll file memory cell 14 and serial ports 15 '.Need to prove, the testing equipment 1 shown in Fig. 4 ' be the testing equipment shown in Fig. 3 b, about said testing equipment 1 ' concrete structure and handling process can not give unnecessary details at this with reference to the description of the foregoing description.
Said portable terminal to be measured 2 comprises protocol stack monitoring entity (not shown) and message processing module (not shown); Wherein said protocol stack monitoring entity is used for that the message processing module that is suitable for handling this test instruction is distributed in test instruction to be handled, and with processing unit 12 through the said testing equipment of said port communication instrument 13 ' feed back to of the processing messages of said message processing module '.
Further; Testing equipment in the test macro of said portable terminal also can be the testing equipment 1 shown in Fig. 3 a; Since do not comprise in the said testing equipment 1 serial ports 15 '; Correspondingly, do not comprise in the test macro of said portable terminal yet auxiliary moving terminal 2 ', not needing to be used for the test of the portable terminal to be measured 2 that the auxiliary moving terminal assists.
In sum; The test macro of method of testing, testing equipment and the portable terminal of the portable terminal that provides through the embodiment of the invention; Realized under real network environment, portable terminal to be measured being carried out automatic test; The test command that generates through test script simultaneously indicates the network of portable terminal adjustment to be measured in real network environment to survey the test command of the signal that reports; With the required test scene of structure in real network environment, seek different test scenes thereby make the tester need not spend the plenty of time, improved testing efficiency.
Though the present invention with preferred embodiment openly as above; But it is not to be used for limiting the present invention; Any those skilled in the art are not breaking away from the spirit and scope of the present invention; Can utilize the method and the technology contents of above-mentioned announcement that technical scheme of the present invention is made possible change and modification, therefore, every content that does not break away from technical scheme of the present invention; To any simple modification, equivalent variations and modification that above embodiment did, all belong to the protection range of technical scheme of the present invention according to technical spirit of the present invention.

Claims (21)

1. the method for testing of a portable terminal is used under real network environment, portable terminal to be measured being carried out automatic test, it is characterized in that, comprising:
Testing equipment operation and the corresponding test script of said portable terminal to be measured, the interface channel between foundation and the said portable terminal to be measured;
The test command that the said test script of operation is generated sends to said portable terminal to be measured through said interface channel;
Receive data through said interface channel, said data are analyzed, to verify said portable terminal to be measured execution result to said test command under real network environment from portable terminal to be measured.
2. the method for testing of portable terminal according to claim 1; It is characterized in that; Be provided with the port information of portable terminal to be measured in the said test script, said foundation specifically comprises with interface channel between the said portable terminal to be measured: said testing equipment according to said port information set up with portable terminal to be measured between port be connected.
3. the method for testing of portable terminal according to claim 2; It is characterized in that, said port connect that port between the port communication instrument that comprises portable terminal to be measured and testing equipment is connected and the processing unit of said port communication instrument and testing equipment between port be connected.
4. the method for testing of portable terminal according to claim 1 is characterized in that, said test command is the testing equipment analysis and changes the test instruction of said test script and order that the portable terminal to be measured that forms can be discerned; Wherein, be to carry out to the test instruction conversion in the test script according to the dll file that loads in the testing equipment with portable terminal coupling to be measured.
5. the method for testing of portable terminal according to claim 4 is characterized in that, the order that said portable terminal to be measured can be discerned is meant the order that the protocol stack monitoring entity of portable terminal to be measured can be discerned.
6. the method for testing of portable terminal according to claim 1 is characterized in that, said data from portable terminal to be measured comprise the message that portable terminal to be measured is handled when carrying out said test command.
7. the method for testing of portable terminal according to claim 6 is characterized in that, the message that said portable terminal to be measured is handled when carrying out said test command comprises the information that the protocol stack monitoring entity of portable terminal to be measured is caught.
8. the method for testing of portable terminal according to claim 6 is characterized in that, the message that said portable terminal to be measured is handled when carrying out said test command also comprises with portable terminal to be measured carries out the relevant idle message that comes automatic network of test command.
9. the method for testing of portable terminal according to claim 3 is characterized in that, said data from portable terminal to be measured are that the mode with code stream is transferred to processing unit by the port communication instrument in testing equipment inside.
10. the method for testing of portable terminal according to claim 1; It is characterized in that; The test command that said operation test script generates also comprises the test command of the signal that the network survey of indication portable terminal adjustment to be measured in real network environment reports, with the required test scene of structure in real network environment.
11. the method for testing of portable terminal according to claim 10 is characterized in that, said test scene comprises that switch the sub-district or the scene of district reselecting.
12. the method for testing of portable terminal according to claim 1; It is characterized in that; Also comprise: the connection between testing equipment foundation and the auxiliary moving terminal sends instructions under said auxiliary moving terminal when test needs, with auxiliary test to portable terminal to be measured.
13. the method for testing of portable terminal according to claim 12 is characterized in that, the connection between the said and auxiliary moving terminal is that serial ports connects, and the said instruction that issues to said auxiliary moving terminal is the AT instruction.
14. a testing equipment is suitable under real network environment, portable terminal to be measured being tested; Comprise test script, processing unit and be suitable for setting up said processing unit and said portable terminal to be measured between the port communication instrument of connection;
Wherein, said processing unit is used to move and the corresponding test script of said portable terminal to be measured, generates test command and sends to said portable terminal to be measured through said interface channel; And, said data are analyzed, to verify said portable terminal to be measured execution result to said test command under real network environment through the data of said interface channel reception from portable terminal to be measured.
15. testing equipment according to claim 14 is characterized in that, said processing unit comprises: the script resolver is used to resolve said test script to generate test command; Data-analyzing machine is used for the data from portable terminal to be measured are analyzed, with the checking execution result.
16. testing equipment according to claim 15; It is characterized in that; Also comprise the dll file memory cell; Be used to store the dll file that matees with portable terminal to be measured, with the test command that auxiliary said script resolver becomes said portable terminal to be measured to discern the instruction transformation in the test script, auxiliary said data-analyzing machine is analyzed the data from portable terminal to be measured.
17. testing equipment according to claim 14; It is characterized in that the test instruction in the said test script comprises that test command that mobile terminal function to be measured is tested, the network of indication terminal adjustment to be measured in real network environment survey the test command of the signal that reports.
18. testing equipment according to claim 14 is characterized in that, also comprises the serial ports that is suitable for connecting the auxiliary moving terminal, said processing unit also is used to control the auxiliary moving terminal.
19. the test macro of a portable terminal comprises portable terminal to be measured and like each described testing equipment of claim 14 to 18.
20. the test macro of portable terminal according to claim 19 is characterized in that, said portable terminal to be measured comprises protocol stack monitoring entity and message processing module; Wherein said protocol stack monitoring entity is used for that the message processing module that is suitable for handling this test instruction is distributed in said test instruction to be handled, and the processing messages of said message processing module is fed back to the processing unit of said testing equipment through said port communication instrument.
21. the test macro according to claim 19 or 20 described portable terminals is characterized in that, also comprises the auxiliary moving terminal, is used for auxiliary test to said portable terminal to be measured under the control of said testing equipment.
CN201110217592.9A 2011-07-29 2011-07-29 Test system, test equipment and test method for mobile terminal Active CN102421132B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110217592.9A CN102421132B (en) 2011-07-29 2011-07-29 Test system, test equipment and test method for mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110217592.9A CN102421132B (en) 2011-07-29 2011-07-29 Test system, test equipment and test method for mobile terminal

Publications (2)

Publication Number Publication Date
CN102421132A true CN102421132A (en) 2012-04-18
CN102421132B CN102421132B (en) 2014-11-05

Family

ID=45945314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110217592.9A Active CN102421132B (en) 2011-07-29 2011-07-29 Test system, test equipment and test method for mobile terminal

Country Status (1)

Country Link
CN (1) CN102421132B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686774A (en) * 2013-12-12 2014-03-26 北京泰合佳通信息技术有限公司 Wireless network testing method with one controller controlling multiple testing terminals
CN104581392A (en) * 2015-01-26 2015-04-29 百度在线网络技术(北京)有限公司 Method and device used for testing controlled equipment based on digital life network alliance
CN104581808A (en) * 2015-01-19 2015-04-29 广东欧珀移动通信有限公司 Method and device for testing mobile network performance and mobile terminal
CN104735696A (en) * 2015-03-09 2015-06-24 惠州Tcl移动通信有限公司 Mobile terminal communication switchover field test method and system based on AT command
CN104853020A (en) * 2015-03-19 2015-08-19 惠州Tcl移动通信有限公司 Interaction test method and terminal thereof
CN106205604A (en) * 2016-07-05 2016-12-07 惠州市德赛西威汽车电子股份有限公司 A kind of application end speech recognition evaluating system and evaluating method
CN107104827A (en) * 2017-04-12 2017-08-29 上海斐讯数据通信技术有限公司 DMZ method for automatically testing functions and system based on Socket
CN103699464B (en) * 2013-12-18 2017-09-22 北京星河亮点技术股份有限公司 Communicating terminal automatic test approach and test device
CN107193728A (en) * 2016-03-15 2017-09-22 展讯通信(天津)有限公司 Mobile terminal automation testing method and device
WO2017197925A1 (en) * 2016-05-19 2017-11-23 中兴通讯股份有限公司 Method and device for testing traffic pressure
CN108153633A (en) * 2017-12-26 2018-06-12 深圳豪客互联网有限公司 A kind of apparatus testing method and device
WO2018141186A1 (en) * 2017-02-04 2018-08-09 中兴通讯股份有限公司 Method and device for testing volte network performance
CN109792612A (en) * 2017-04-18 2019-05-21 华为技术有限公司 Synchronous method, equipment and the system of terminal monitoring information
CN109918309A (en) * 2019-03-15 2019-06-21 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) Electronic product test method, device, system and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859691A (en) * 2005-12-07 2006-11-08 华为技术有限公司 Remote testing method and system
US20080172577A1 (en) * 2006-08-09 2008-07-17 Samsung Electronics Co., Ltd. Testing apparatus and method using test script in mobile communication system
CN101453711A (en) * 2007-12-06 2009-06-10 中兴通讯股份有限公司 Automatic test system and test method for mobile phone short message
CN101500255A (en) * 2008-02-03 2009-08-05 中国移动通信集团公司 Mobile terminal test method and system
CN101562831A (en) * 2008-12-24 2009-10-21 华为技术有限公司 Telephone service quality test method, system and apparatus thereof
CN101568138A (en) * 2009-05-26 2009-10-28 中兴通讯股份有限公司 Measurement report control method, system and mobile terminal of mobile communication system
CN101690302A (en) * 2007-06-27 2010-03-31 罗德施瓦兹两合股份有限公司 Method for testing a mobile radio device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859691A (en) * 2005-12-07 2006-11-08 华为技术有限公司 Remote testing method and system
US20080172577A1 (en) * 2006-08-09 2008-07-17 Samsung Electronics Co., Ltd. Testing apparatus and method using test script in mobile communication system
CN101690302A (en) * 2007-06-27 2010-03-31 罗德施瓦兹两合股份有限公司 Method for testing a mobile radio device
CN101453711A (en) * 2007-12-06 2009-06-10 中兴通讯股份有限公司 Automatic test system and test method for mobile phone short message
CN101500255A (en) * 2008-02-03 2009-08-05 中国移动通信集团公司 Mobile terminal test method and system
CN101562831A (en) * 2008-12-24 2009-10-21 华为技术有限公司 Telephone service quality test method, system and apparatus thereof
CN101568138A (en) * 2009-05-26 2009-10-28 中兴通讯股份有限公司 Measurement report control method, system and mobile terminal of mobile communication system

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686774A (en) * 2013-12-12 2014-03-26 北京泰合佳通信息技术有限公司 Wireless network testing method with one controller controlling multiple testing terminals
CN103699464B (en) * 2013-12-18 2017-09-22 北京星河亮点技术股份有限公司 Communicating terminal automatic test approach and test device
CN104581808A (en) * 2015-01-19 2015-04-29 广东欧珀移动通信有限公司 Method and device for testing mobile network performance and mobile terminal
CN104581808B (en) * 2015-01-19 2018-11-27 广东欧珀移动通信有限公司 Test the method, device and mobile terminal of mobile network property
CN104581392B (en) * 2015-01-26 2018-07-13 百度在线网络技术(北京)有限公司 Method and apparatus for testing the controlled plant based on Digital Life Network Alliance
CN104581392A (en) * 2015-01-26 2015-04-29 百度在线网络技术(北京)有限公司 Method and device used for testing controlled equipment based on digital life network alliance
CN104735696A (en) * 2015-03-09 2015-06-24 惠州Tcl移动通信有限公司 Mobile terminal communication switchover field test method and system based on AT command
CN104735696B (en) * 2015-03-09 2018-06-19 惠州Tcl移动通信有限公司 Method and system are surveyed in a kind of mobile terminal call switching field based on AT instructions
CN104853020A (en) * 2015-03-19 2015-08-19 惠州Tcl移动通信有限公司 Interaction test method and terminal thereof
CN104853020B (en) * 2015-03-19 2019-05-31 惠州Tcl移动通信有限公司 A kind of interactive testing method and its terminal
CN107193728A (en) * 2016-03-15 2017-09-22 展讯通信(天津)有限公司 Mobile terminal automation testing method and device
WO2017197925A1 (en) * 2016-05-19 2017-11-23 中兴通讯股份有限公司 Method and device for testing traffic pressure
CN106205604A (en) * 2016-07-05 2016-12-07 惠州市德赛西威汽车电子股份有限公司 A kind of application end speech recognition evaluating system and evaluating method
CN106205604B (en) * 2016-07-05 2020-07-07 惠州市德赛西威汽车电子股份有限公司 Application-side voice recognition evaluation system and method
WO2018141186A1 (en) * 2017-02-04 2018-08-09 中兴通讯股份有限公司 Method and device for testing volte network performance
CN108401081A (en) * 2017-02-04 2018-08-14 中兴通讯股份有限公司 A kind of VOLTE network performance test methods and device
CN108401081B (en) * 2017-02-04 2022-03-04 中兴通讯股份有限公司 VOLTE network performance test method and device
CN107104827A (en) * 2017-04-12 2017-08-29 上海斐讯数据通信技术有限公司 DMZ method for automatically testing functions and system based on Socket
CN109792612A (en) * 2017-04-18 2019-05-21 华为技术有限公司 Synchronous method, equipment and the system of terminal monitoring information
US11395164B2 (en) 2017-04-18 2022-07-19 Huawei Technologies Co., Ltd. Method, apparatus and computer-readable medium for terminal monitoring information synchronization
CN108153633A (en) * 2017-12-26 2018-06-12 深圳豪客互联网有限公司 A kind of apparatus testing method and device
CN109918309A (en) * 2019-03-15 2019-06-21 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) Electronic product test method, device, system and storage medium

Also Published As

Publication number Publication date
CN102421132B (en) 2014-11-05

Similar Documents

Publication Publication Date Title
CN102421132B (en) Test system, test equipment and test method for mobile terminal
US8706047B2 (en) Mobile terminal tester and mobile terminal test method
CN101098554B (en) Wireless communication system, wireless communication apparatus, wireless communication method
CN101635932B (en) Method and system for channel detection and report, terminal and management center
CN104853020A (en) Interaction test method and terminal thereof
CN102333163B (en) External auxiliary testing apparatus, and testing system thereof and method thereof
CN102457890A (en) Method and system for realizing drive test
CN101291506A (en) TDSCDMA terminal testing system and testing method for transmitter and receiver
CN101052066B (en) Detecting method for prompting voice, voice server and prompting voice detector
CN102355678A (en) Wireless network channel simulator as well as system and method for testing wireless network equipment
CN100557996C (en) The method that blueteeth network structure and Bluetooth terminal switch at different Bluetooth accessing points
CN104981027A (en) Application synchronization method and system for mobile terminals
CN105813128A (en) Circuit domain fallback failure positioning method, device and system
CN101959194B (en) Macro network neighborhood configuration method and device for picocell
CN109327350A (en) A kind of batch carries out the method and apparatus and system of terminal test
KR101528820B1 (en) Terminal called testing method
CN100384287C (en) Radio communication detecting system
CN114424505A (en) Line sequence detection method and detection system
CN101616424B (en) Method for controlling measurement, terminal, network side equipment and network system
CN103533126B (en) A kind of device and method automatically carrying out mobile phone test
CN102377243B (en) Collocation method of 101 protocol parameter, collocation device thereof and collocation system thereof
CN111246511B (en) Call testing system, method and device
CN105467230A (en) Electronic product testing system, electronic product testing method and sensing device thereof
CN100456866C (en) Base station simulator and base station testing method
CN101389048A (en) Method for providing files transmitted between radio communication devices

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
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20170214

Address after: 200127 room 3205F, building 707, Zhang Yang Road, Shanghai, China (Shanghai) free trade zone, No. 32

Patentee after: Xin Xin Finance Leasing Co.,Ltd.

Address before: 201203 Shanghai city Zuchongzhi road Pudong New Area Zhangjiang hi tech park, Spreadtrum Center Building 1, Lane 2288

Patentee before: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170711

Address after: 100033 room 2062, Wenstin Executive Apartment, 9 Financial Street, Beijing, Xicheng District

Patentee after: Xin Xin finance leasing (Beijing) Co.,Ltd.

Address before: 200127 room 3205F, building 707, Zhang Yang Road, Shanghai, China (Shanghai) free trade zone, No. 32

Patentee before: Xin Xin Finance Leasing Co.,Ltd.

EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20120418

Assignee: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Assignor: Xin Xin finance leasing (Beijing) Co.,Ltd.

Contract record no.: 2018990000163

Denomination of invention: Test system, test equipment and test method for mobile terminal

Granted publication date: 20141105

License type: Exclusive License

Record date: 20180626

EE01 Entry into force of recordation of patent licensing contract
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200304

Address after: 201203 Zuchongzhi Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai 2288

Patentee after: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Address before: 100033 room 2062, Wenstin administrative apartments, 9 Financial Street B, Xicheng District, Beijing.

Patentee before: Xin Xin finance leasing (Beijing) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200601

Address after: 361012 unit 05, 8 / F, building D, Xiamen international shipping center, No.97 Xiangyu Road, Xiamen area, China (Fujian) free trade zone, Xiamen City, Fujian Province

Patentee after: Xinxin Finance Leasing (Xiamen) Co.,Ltd.

Address before: 201203 Zuchongzhi Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai 2288

Patentee before: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

EC01 Cancellation of recordation of patent licensing contract
EC01 Cancellation of recordation of patent licensing contract

Assignee: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Assignor: Xin Xin finance leasing (Beijing) Co.,Ltd.

Contract record no.: 2018990000163

Date of cancellation: 20210301

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20120418

Assignee: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Assignor: Xinxin Finance Leasing (Xiamen) Co.,Ltd.

Contract record no.: X2021110000010

Denomination of invention: Test system, test equipment and test method of mobile terminal

Granted publication date: 20141105

License type: Exclusive License

Record date: 20210317

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230713

Address after: 201203 Shanghai city Zuchongzhi road Pudong New Area Zhangjiang hi tech park, Spreadtrum Center Building 1, Lane 2288

Patentee after: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Address before: 361012 unit 05, 8 / F, building D, Xiamen international shipping center, 97 Xiangyu Road, Xiamen area, China (Fujian) pilot Free Trade Zone, Xiamen City, Fujian Province

Patentee before: Xinxin Finance Leasing (Xiamen) Co.,Ltd.