CN1713658A - Testing system and method for mobile telephones - Google Patents

Testing system and method for mobile telephones Download PDF

Info

Publication number
CN1713658A
CN1713658A CN 200410048227 CN200410048227A CN1713658A CN 1713658 A CN1713658 A CN 1713658A CN 200410048227 CN200410048227 CN 200410048227 CN 200410048227 A CN200410048227 A CN 200410048227A CN 1713658 A CN1713658 A CN 1713658A
Authority
CN
China
Prior art keywords
test
mobile phone
instrument
test macro
interface
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
CN 200410048227
Other languages
Chinese (zh)
Other versions
CN100473084C (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.)
New venture (Beijing) Consulting Service Co., Ltd.
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CNB200410048227XA priority Critical patent/CN100473084C/en
Publication of CN1713658A publication Critical patent/CN1713658A/en
Application granted granted Critical
Publication of CN100473084C publication Critical patent/CN100473084C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The system consist of: integrated tester used to generate and calculate testing signal and execute calibrating run; programmable power supply used to supply power to the tested mobile phone, to record current of mobile phone and to charge the tested mobile phone; keystroke analog switch used to made keystroke simulation in order to execute test related to keystroke operation; the holder of tested device used to install tested mobile phone; and control unit connecting to the holder of tested device, integrated tester, programmable power supply and keystroke simulation switch, and to be used to store control program, to control operation of test system and to receive result of test.

Description

Mobile phone test macro and method
Technical field
The present invention relates to a kind of mobile phone test macro and method of testing, particularly relate to a kind of mobile phone test macro and method of testing that can only adopt the mobile phone of the different styles that a test platform can test multiple standard.
Background technology
At present, will produce a large amount of mobile phones every year in the world, yet the testing equipment of mobile phone is but relatively more expensive, test speed is also generally slower.Usually, certain test platform is only supported the mobile phone of a certain platform, or even only support certain a mobile phone, so its testing software has limitation.
In the research and development and production process of mobile phone, calibration and test (comprising hardware testing and software test) are unusual critical step.The outstanding test macro of one cover, the instrument that can facilitate for R﹠D work shortens cycle of research and development, gains time for early the mobile phone product being introduced to the market.In addition, test macro also plays important effect in the production of mobile phone.In the volume production process of mobile phone, unavoidably various problems will appear, and therefore, need a good test macro to guarantee the quality of production of mobile phone.
Present mobile phone test macro all can only be finished calibration and hardware testing work usually, and software test is wanted independently to carry out in addition.For software test, the method for testing of employing is pure craft or semi-automatic test, take more human resources, and along with the renewal of software version will be done a large amount of duplication of labour, testing efficiency can't improve all the time.
Figure 15 shows the mobile phone test macro of prior art.The mobile phone test macro needs the carrier signal source usually, modulating signal source, frequency counter, power meter, spectrum analyzer, power supply and hard recording equipment.As shown in figure 15, the mobile phone test macro comprises computer 1, comprehensive test instrument 2, power supply 3 and charging device 4.Be connected by the GPIB cable between computer 1 and the comprehensive test instrument 2.The control program that Computer Storage is operated and transmit control signal and acceptance test result to comprehensive test instrument.Comprehensive test instrument 2 is used for producing and calculating test signal.Between power supply 3 and the comprehensive test instrument 2 and power supply 3 be connected by for example GPIB cable equally with charging device 4.Mobile phone to be measured is placed on the testboard, and computer 1 is connected to testboard by serial RS-232 port, promptly is connected to mobile phone to be measured.In addition, mobile phone to be measured is connected to comprehensive test instrument 2 by radio frequency (RF) cable, by dial on the button of mobile phone that predetermined number comes and test macro between connect.In test process, comprehensive test instrument 2 can be to the model of mobile phone, manufacturer, and emission, receiving function, button and charging performance etc. is tested.If desired, charging device 4 can be to tested mobile phone charging.
Yet, in the mobile phone test macro of prior art, need set the GPIB address to tester, power supply etc., the operating personnel of factory are generally to this and be unfamiliar with, the address of writing personnel setting of each tame test code also has nothing in common with each other, in case the GPIB address of tester is changed, and will make mistakes in the test process so, brings unnecessary trouble to operating personnel.
In addition, existing testing software often can only support a certain platform even certain a mobile phone, tester also there is corresponding requirement, generally only supports the comprehensive test instrument and the power supply of a certain company, just can't move after changing a mobile phone or changing a tester program.Such test condition is relatively harsher, if a mobile phone newly developed or change a testing scheme, testing software will all be rewritten, cause waste of manpower resource, and the tester of a certain company that in a single day uses goes wrong, can't replace with the tester that other companies have an identical function, influence the exploitation or the production of mobile phone.
In addition, the software test to mobile phone all was to rely on the technical staff manually the function of mobile phone to be tested and a large amount of pressure tests item by item in the past, by mobile phone or computer manual capture delineation information.No matter adopt any mode, its efficient is all lower, and brings unnecessary trouble can under the situation of misoperation technical staff's problem analysis.
In view of the above problems, mobile phone test macro of the present invention and method have been developed, this mobile phone test macro can be test integrated with the hardware and software of mobile phone, thereby realize the intellectuality of mobile phone test process and the modularization that test code is write, to improve testing efficiency.
Summary of the invention
The purpose of this invention is to provide a kind of intelligentized mobile phone test macro and method of testing thereof, this system and method can make mobile phone test process intellectuality, test code write modularization, improve the efficient of test, accelerate the progress that mobile phone is developed in this link of test, reduce manufacturing cost.
According to an aspect of the present invention, provide a kind of test macro of mobile phone, be used to test the hardware components and the software section of mobile phone, described test macro comprises: comprehensive test instrument is used for producing and calculating test signal, and carries out calibration testing; Programmable power supply is used for to the tested mobile phone power supply and the electric current of record mobile phone, and when needed to tested mobile phone charging; The button analog switch is used for predetermined number execution button and simulates, so that mobile phone is carried out the operational testing relevant with button; The equipment under test anchor clamps are used to install mobile phone to be detected; And control device, be connected with described equipment under test anchor clamps by communication interface, and with described comprehensive test instrument, programmable power supply is connected with the button analog switch, be used to store the required control program of operation of the described test macro of control, control the operation of described test macro, and the acceptance test result.
According to another aspect of the present invention, a kind of method of testing mobile phone is provided, be used to test the hardware components and the software section of mobile phone, described method comprises step: the step of the GPIB address of described inquiry tester comprises: the general-purpose interface bus GPIB address of the instrument that the inquiry of mobile phone test macro is used to test, and the instrument that is used to test on the identification relative address; Call different drivers according to the tester of being discerned from control device instrument is carried out initialization, and the configure instrument parameter; Mobile phone to be tested is installed on the equipment under test anchor clamps of test macro; Mobile phone returns the information of described mobile phone self parameter to test macro; Control device calls different cycle testss and calls corresponding test module according to described information; With different cycle testss and corresponding test module that utilization is called mobile phone is tested.
Mobile phone test macro of the present invention can be tested any a mobile phone, support common on the market comprehensive test instrument and power supply, even if develop new product or introduce new tester, also only need to increase or revise partial code, again the releasing software version just can be tested, so just can on this link of test, accelerate development progress, for software and hardware provides more flexible test platform.
Description of drawings
By reading and understanding the detailed description of doing below with reference to accompanying drawing, these and other advantage of the present invention will be become apparent to those skilled in the art.Wherein:
Fig. 1 is the block diagram according to mobile phone test macro of the present invention;
Fig. 2 is the flow chart according to the software systems of mobile phone test macro of the present invention;
Fig. 3 is a flow chart of testing the hardware components of mobile phone according to the present invention;
Figure 4 and 5 are respectively the flow charts of the compatibility of the compatibility of comprehensive test instrument and test platform being tested according to the present invention;
Fig. 6 is the flow chart according to the software test part of mobile phone test macro of the present invention;
Fig. 7 is the schematic diagram of the complete status report of the call interface test in the software test of the present invention;
Fig. 8 is the schematic diagram of the status report ended of the accident of the call interface test in the software test of the present invention;
Fig. 9 is the schematic diagram of the complete status report of the note interface detection in the software test of the present invention;
Figure 10 is the schematic diagram of the status report ended of the accident of the note interface detection in the software test of the present invention;
Figure 11 is the schematic diagram of the complete status report of the contact person interface test in the software test of the present invention;
Figure 12 is the schematic diagram of the status report ended of the accident of the contact person interface test in the software test of the present invention;
Figure 13 is the schematic diagram of the complete status report of the schedule interface detection in the software test of the present invention;
Figure 14 is the schematic diagram of the status report ended of the accident of the schedule interface detection in the software test of the present invention; With
Figure 15 is the pie graph of the mobile phone test macro of prior art.
Embodiment
About aforementioned and other technology contents, characteristics and effect of the present invention,, will be more readily apparent from by below in conjunction with reference to the accompanying drawings DETAILED DESCRIPTION OF THE PREFERRED.
The test of dispatching from the factory of mobile phone comprises hardware testing, software test and electromagnetic compatibility test.Wherein hardware testing mainly comprises reception, reference sensitivity, and dynamic range, neighboring trace suppresses, and blocks response, intermodulation suppresses, the report of automated power control (AGC) level, emission, transmitting power and curve, phase error, frequency error, modulating frequency, switching frequency, contents such as audio base-band.Software test mainly comprises the RRM test, changes agreement for the first time, paging protocol, and handoff protocol, call re-establishment, mobile management, authentication is encrypted, and the position is upgraded, and communication management is called out control, call business management, contents such as short message.
The structure and the operation of mobile phone test macro of the present invention are described with reference to figure 1.The structure of the structure of mobile phone test macro of the present invention and the test macro of prior art is basic identical, comprises control computer 11, programmable power supply 12, comprehensive test instrument 13, button analog switch 14 and equipment under test anchor clamps 15.
Control computer 11 (can be personal computer PC) is connected to programmable power supply 12, comprehensive test instrument 13 and button analog switch 14.Control computer 11 comprises the memory (not shown), is used to store the control program of the operation of controlling each unit, the detailed features of mobile phone to be tested, and, provide test report to each unit transmission control signal and acceptance test result.Control computer 11 and programmable power supply 12 can pass through general-purpose interface bus (GPIB:General Purpose Interface Bus) and connect between comprehensive test instrument 13 and the button analog switch.Yet the invention is not restricted to this, control computer 11 also can be connected with said units by other bus.In addition, control computer 11 also can be by being connected with the computer of far-end such as intranet/the Internet (Intranet/Internet), so that the technical staff of far-end monitoring and analytical test result.Programmable power supply 12 is connected to equipment under test anchor clamps 15.Programmable power supply 12 can comprise power supply unit and charhing unit, is used for to tested mobile phone power supply with when needed to tested mobile phone charging.Comprehensive test instrument 13 is used for producing and calculates test signal and carry out calibration testing.As one embodiment of the present of invention, can be connected to equipment under test anchor clamps 15 by radio frequency cable, to mobile phone emission radio frequency or audio signal.Control computer 11 is by interface, and for example RS-232 interface is connected to equipment under test anchor clamps 15, is noted that to the invention is not restricted to this, also can adopt other communication interface to connect control computer 11 and equipment under test anchor clamps 15.Mobile phone to be measured is placed on the equipment under test anchor clamps 15.In addition, button analog switch 14 is connected to equipment under test anchor clamps 15.
In test process, control computer 11 carries out button and simulates, and for example can converse note, switching on and shutting down test.Programmable power supply 12 writes down the electric current of mobile phones simultaneously, and serial line interface is noted the track record information that mobile phone is beamed back.When abnormal conditions appear in mobile phone, for example crash, when conversation such as can't set up at situation, can judge from electric current and trace information automatically that in-house network by company or local area network (LAN) or another mobile phone (can choose wantonly) are issued the tester with error message then.Test macro of the present invention can be supported the concurrent testing of many mobile phones, and they send short messages mutually to go back may command, mutually conversation.
Below with reference to the overall flow of Fig. 2 description according to the software systems of mobile phone test macro of the present invention.At first, control computer 11 is provided with and discerns the unit that connects by interface.In first aspect, UART Universal Asynchronous Receiver Transmitter port (UART) is set, the parallel data stream that UART will control in the computer 11 is converted to the serial data stream that is used for asynchronous communication.In addition, intranet/the Internet is set, so as with other compunication, to transmit test data and control and measuring process.In addition, control computer 11 is discerned mobile phone to be tested that is clipped on the equipment under test anchor clamps 15 and the model of discerning simulator by interface.After this, the test corresponding mobile phone and the required program of simulator of storing in the model searching storage of control computer 11 according to the type of mobile phone of identification and simulator are to adjust and to load test plan.
After this, in second aspect,, carry out test according to the test plan of adjusting and loading by the UART port of setting and the intranet/the Internet of setting.Test process comprises the hardware calibration of mobile phone, hardware testing and software test.In test macro of the present invention, adopt the software method of identification automatically, when program is moved for the first time, automatically go to inquire about the GPIB address of instrument, and the instrument on the identification relative address, no matter how the GPIB address of instrument is set, and final program can true(-)running.This test macro can be supported any mobile phone, for example, and the present mobile phone that is applicable to GSM and gprs system that uses.In addition,, also support the CDMA mobile phone of use at present, blue-tooth mobile telephone, and the mobile phone of the 3G that is developing and 4G mobile phone and use in any future by in this test macro, adding corresponding software.For this reason, can design intelligent test system of the present invention and stay interface for the test of multimode mobile phone simultaneously.Specifically, module of exploitation in mobile phone software is sent information automatically after inserting test macro in advance, and the model of self is described, the function of support etc., and the information that test macro sends according to mobile phone is called different testing schemes and is finished test.Mobile-telephone-type among Fig. 2 in the dotted line is represented to be the interface of multimode mobile phone reservation.
Next, the radio frequency (RF) of test mobile phone in the hardware calibration test branch of mobile phone, base band parameters such as (BB), and, offer the tester by controlling computer 11 according to test result generation test report.
On the other hand, in test process, also to carry out hardware testing to mobile phone.The mobile phone hardware testing can comprise the mobile phone of present use or the mobile phone of the various standards that come into operation in the future equally.Its particular content is identical with above-described hardware calibration, omits its further instruction at this.Equally, hardware testing comprises the radio frequency (RF) of testing mobile phone, base band parameters such as (BB), and, offer the tester by controlling computer 11 according to test result generation test report.
In addition, also the software of mobile phone is tested at this test macro.The content of software test comprises functional test and interface detection two large divisions (concrete content measurement will be described later).In software test procedure, generate the track record file, and after test is finished, provide test report.
Describe mobile phone test system hardware part of detecting of the present invention in detail below with reference to Fig. 3.
At first, at step S31, to the comprehensive test instrument initialization of hardware testing, when initialization, the GPIB card and the card number thereof that exist on the inquiry machine.After inquiring the GPIB address on each piece card, remove to differentiate various instruments according to the GPIB address that obtains at step S32.At step S33,, instrument is carried out the initialization setting in case obtain the model (description of the hardware compatibility part of detecting of seeing below) of instrument.Like this, can solve the defective that needs to specify in advance the GPIB address in the prior art, make operating personnel need not to consider the problem of GPIB address in operation, the GPIB address of instrument can be provided with arbitrarily, can not have any impact to test.
When in the prior art many mobile phones being tested, need its serial ports and tester is corresponding one by one, otherwise test can't be carried out.At step S34, taked trial-and-error method (trial and error) in the test macro of the present invention, suppose that at first mobile phone is connected with instrument on a certain serial ports and a certain GPIB card, send relevant instruction to mobile phone and instrument, if successfully connect, show that so hypothesis is correct, at step S34 operation calibration function.Can not be successful if connect, connection and incorrect is described, attempt another serial ports, combine in step S35 operation and survey function, up to successfully connection.In order to guarantee that final connection failure must be that the present invention has taked corresponding processing method because the setting of string slogan is not right: differentiate the serial ports that instrument communication is normal, the differentiation mobile phone uses and do not taken by other tested mobile phone.At last, in case successfully connect,, the corresponded manner of current instrument, mobile phone and serial ports is stored in the control computer of test macro at step S36.After this, as long as test system hardware is not changed, this is provided with forever effectively.Therefore, when using this system, only in first mobile phone test, need distinguish the corresponding relation of instrument, serial ports and mobile phone at every turn.In batch testing, this time can ignore, and the benefit of bringing is to have simplified operation easier, has avoided system that the trouble that mistake brings for operating personnel of factory and research staff is set, and makes system intelligent more.
Under the situation that EOT or test make mistakes, control program judges that at first finishing test still is to make mistakes, and notifies (can choose) by another mobile phone to relevant note that edits of mobile phone transmission of Test Engineer by another serial ports then.Like this, in the long-time test of needs, the Test Engineer need not to wait on the tester next door, the situation that does not also need frequently to go checkout, can overall arrangement other thing, improved Test Engineer's work efficiency.
Below with reference to the test of Fig. 4 explanation according to test system hardware compatibility of the present invention.
The realization of compatibility test has comprised the content of two aspects, the i.e. compatibility of the compatibility of instrument and platform.
At first, the control computer is described the compatibility of instrument.In the test macro of prior art, generally only support a kind of comprehensive test instrument and a kind of programmable power supply, even support two kinds of instruments also need be before test configuration documentation or middle appointment is set again, instrument can not freely be changed, otherwise also can bring unnecessary trouble to the tester.In the test macro of the present invention,, make the identification of instrument also become easy owing to solved the problem of instrument GPIB address.In step S41, by control computer scanning GPIB control bus.At step S42, according to obtaining the GPIB address, the model of identification comprehensive test instrument.At step S43,, just can from the control computer, call different drivers according to the model of comprehensive test instrument in case discerned the model of instrument.After this,, use the driver that is called that instrument is carried out initialization at step S44, and the configure instrument parameter.At present, for comprehensive test instruments all on the market and programmable power supply, its relevant instruction can be programmed in the dynamic link libraries.Therefore, no matter insert which kind of tester, system can discern and use this tester that mobile phone is tested automatically.This has not only realized the compatibility of instrument, has also reduced operating personnel's operation easier and has brought greater flexibility.
In addition, mobile phone test macro according to the present invention has good compatibility to the mobile phone of different styles.Below in conjunction with Fig. 5 the mode of realization to the compatibility of various mobile radio described.At step S51, mobile phone is put on the equipment under test anchor clamps 15 of test macro, and mobile phone is powered on.After this, at step S52, mobile phone returns the information of this mobile phone self parameter to test macro (computer).This information comprises the software version of this mobile phone, hardware version, the type of service of support (standard).At step S53, control computer 11 calls different cycle testss and calls corresponding test module according to this information.At step S54, utilize the different cycle testss and the corresponding test module that are called that mobile phone is tested.This mode can realize mobile phone " promptly slotting i.e. survey ", makes test macro more general, and ease for use is stronger.
In addition, owing to realized the compatibility of platform, the standard of tested mobile phone has also been realized compatibility: in the return information of mobile phone, include the information of mobile phone standard.Therefore, no matter be gsm mobile telephone or CDMA mobile phone, and whether need to carry out bluetooth test or the like, all can distinguish, then test item by item by test macro.3G in the future and the test of 4G mobile phone also can realize on this test macro in view of the above at an easy rate.
In addition, native system also utilizes the notion and the method for multithreading, serial port setting, instrument such as is provided with at the operating in of carrying out that can walk abreast carries out in the different sub-threads, finally gets back in the main thread of test and carries out next step operation, can reduce the time of test like this, improve testing efficiency.
In above-mentioned test, comprise following relevant main function:
FIND_GPIB ( *Gpib), GPIB searches function, is used to seek the GPIB card on the machine, according to the performance difference of machine, can support 2-6 GPIB card, promptly can support 2-6 platform mobile phone to test simultaneously;
FIND_ADDRESS ( *Gpib, *Address), the address search function is used to determine to be connected in the address of the instrument on each GPIB card;
INITIAL_INSTRUMENTS (), instrument initialization function is used for all instruments are carried out initialization.
Relevant main dynamic link libraries comprises:
Instrument.dll: instrument and equipment data link library, comprised the operational order of all testers (power supply, comprehensive test instruments), unified the interface of function, associated documents have instrument.c, instrument.h, instrument.lib.
Mobile.dll: mobile phone data link library, comprised the content measurement of present all mobile phone schemes, unified the interface of function, relevant file has mobile.c, mobile.h, mobile.lib.
Wherein main function has SW_TEST (para 1, para 2...), and (para 1, para2...) for HW_TEST.At first, calling FIND_GPIB () function after test macro starts goes to search and has several GPIB control cards in the computer, and then call FIND_ADDRESS letter () number and search instrument type and the model that connects on the every GPIB control card, call INITIAL_INSTRUMENTS () at last different testers are carried out the initialization setting.These functions all are stored in the instrument.dll storehouse.Comprised operation among the Mobile.dll,, in the software test, can call wherein function according to testing scheme at hardware to mobile phone, such as HW_TEST (GSM900, RF)
Promptly represent the part of the radio circuit (RF) in the GSM900 frequency range of mobile phone is tested, and return test result.
By aforesaid operations, can realize the compatibility of intelligent test and the instrument and the platform of mobile phone, stayed interface easily for the expansion of later system simultaneously.
The general flow process of carrying out software test according to test macro of the present invention is described below with reference to Fig. 6.At first, at step S61, read the software test sequence of mobile phone to be measured.At step S62, first sequence of mobile phone tested.Next, judge this content whether qualified (step S63).If the content of testing first is defective, then notify the tester at step S64.If it is qualified to test this content, then proceed the test (step S65) of the next item down content.Its process with first content test is identical, finishes (step S66 and S67) up to the test of all software content.After this,, preserve test result, and provide test report by the control computer at step S68.
The content of the software test of mobile phone comprises functional test and interface detection two large divisions.
Functional test is also referred to as pressure test.The part that optimum uses automated test tool to test is pressure test, high to need the power test be the software of instigating mobile phone because of its pressure test has repeatability, hardware system stands minimum and maximum load, whether interrupt and when interrupt to find out system, and determine the at first interruption of which part, with the weak link of recognition system.The defective that exposes in the pressure test has memory overflow, performance issue, concurrent problem, system resources consumption problem etc.For test macro of the present invention, pressure test mainly concentrates on speaking test and the artificial characteristics that content is minimum and efficient is minimum of interfering of flash file management system (FFS) test.Press.Speaking test needs subjective judgement, therefore mostly is manual test.But the test of call completing rate is wherein promptly dialed hundreds and thousands of phones, the probability that statistics can be connected, the same with the test of FFS, fully can the use test instrument automatic continuously carry out pressure test, and along with the carrying out of test phase, close on publication more, the input human resources are many more.This test relates to note, contact person, these several modules of schedule.
Software function test in the past all is manually to finish by the Test Engineer is pure, and efficient can't improve all the time.For example, 4 testers are arranged in a certain project, and every bit test personnel on average are responsible for 3 modules, and these 3 modules comprise about 1200 test cases, carry out a test case and need 1 minute, need 20 hours altogether, carry out by hand, also will add and pinpoint the problems, the reproduction problem, link up with the developer, tester's operating mistake equal time needs 3 day time at least.And the testing time of a version is generally a week, that is to say that version of manual test after one edition the regression test, can only be carried out test case one time on finishing.Under the requirement of full test, can't carry out repeatedly affirmation to some emphasis modules at all.The tester is by computer terminal software input instruction, and the computer control instrument carries out button and simulates, and sets up test path, at last by the report of PC end software output state.It both can be operated by the tester, exports the result of different test paths immediately and track record is provided, and also can Automatic Cycle carries out the test path that the tester presets in advance and Reported a Problem, and track record is provided.
Under the help of instrument, the working condition of carrying out test will become: design test case, but tool using is carried out the part that automation is carried out, and instrument is pinpointed the problems, and repeats test, simultaneously the process that in time obtains track record information and preserve.The work that the tester need do just becomes the arrangement track record, the comparative analysis result, and orientation problem Reports a Problem, and links up common analysis with concrete developer and deals with problems.Tool using is carried out test and is had speed and do not have soon intermittently in addition, can carry out simultaneously by 24 hours many machines, is not easy to make mistakes, and track record is provided immediately and in time notifies benefit such as tester's test result.
Therefore, this test macro has changed the shortcoming that software test in the past need drop into a large amount of manpowers and time, realized the automation of software test fully, has intellectuality, automation, characteristics such as high efficiency, and at different editions, the mobile phone software of different platform, we use the method that is similar to hardware testing, in interface function unification to a dynamic link libraries, like this, before test,, good compatibility and extensibility are arranged as long as the model of acquisition mobile phone and software version number just can be called corresponding function tests mobile phone.
Specifically, function (pressure) test can comprise following content:
1. talkthrough rate test: can carry out following action by software input instruction control mobile phone by the tester: dial a certain designated telephone automatically, can hang up automatically after the connection, suspend and for example continue to dial after 2 seconds, so predetermined number of times is dialed in circulation.Wherein run into situation about can't connect, the record number of times, and suspend and for example continue to dial after 2 seconds.Can manually end.Run into unexpected termination the (, restarting etc.) and stop circulation, notify the tester, and provide and to inquire about track record as crashing.
2. note is set up test: the tester can set up the note of given content by software input instruction control mobile phone Automatic Cycle, can specify the note number of foundation, can specify next step operation of note (sending or preserve draft).If select to send, run into the unsuccessful situation that sends, the record number of times, and select to retransmit.Can manually end.Run into unexpected termination the (, restarting etc.) and stop circulation, notify the tester, and the track record that can inquire about is provided as crashing.
3. the contact person sets up test: the tester can control the contact person that the mobile phone Automatic Cycle is set up given content by the software input instruction, can specify the contact person's of foundation number, but the preservation position of designated contact, under unspecified situation, can set up the appointment stroke count successively, also can set up maximum stroke count contact person in a certain designated group by contact person's order of packets.Run into unexpected termination the (as can't set up, crash, restart etc.) and stop circulation, notify the tester, and the track record that can inquire about is provided.
4. the contact person deletes test: the tester can delete the designated group contact person continuously by software input instruction control mobile phone, also can delete whole contact persons continuously.Run into unexpected termination the (as can't delete, crash, restart etc.) and stop circulation, notify the tester, and the track record that can inquire about is provided.
5. the contact person moves the group test: the tester can duplicate the designated group contact person to SIM card by software input instruction control mobile phone Automatic Cycle, or SIM card is to designated group.Run into unexpected termination the (as can't remove, crash, restart etc.) and stop circulation, notify the tester, and the track record that can inquire about is provided.
6. schedule is set up test: the tester can set up the schedule of given content by software input instruction control mobile phone Automatic Cycle, can specify the number of the schedule of foundation, can specify the preservation position (date) of schedule, schedule can be based upon continuously one period date, also can set up maximum stroke count schedule (being defaulted as current date) in a certain scheduled date.Run into unexpected termination the (as can't set up, crash, restart etc.) and stop circulation, notify the tester, and the track record that can inquire about is provided.
7. schedule deletion test: the tester can delete the scheduled date schedule continuously by software input instruction control mobile phone, can delete whole schedules continuously, can delete whole schedules of scheduled date, can all delete all schedules.Run into unexpected termination the (as can't delete, crash, restart etc.) and stop circulation, notify the tester, and the track record that can inquire about is provided.
In addition, software test also comprises interface detection, and software master interface can be divided into four modules, that is, and and conversation, note, contact person, schedule.
The call interface test is the input dialing numbers and dials number of times, the status report that test macro output is finished.The status report of finishing comprises following items: finish item and comprise and always dial number of times, total time item comprise and dial the frequency of failure, dial the Time To Failure point, dial mortality, or the like (form of its status report as shown in Figure 7).When unexpected the termination appears in conversation, the status report that test macro ends for accidents happened to.The unexpected status report of ending comprises following items: do not finish item and comprise and the intermission always dial number of times, total time item, dial the frequency of failure, dial the Time To Failure point, and track record record linked terms, or the like (form of its status report as shown in Figure 8).
The note interface detection requires the input following content: note masterplate (the new message editing interface identical with mobile phone), send number (can import one or more Mobile Directory Number), the note number of setting up, cycle-index, choice box (comprises the preservation rough draft, send, send also and preserve), choice box (comprise built after deletion (circulation) one by one, all after having built delete (circulation), built the back and sent (circulation), built one and transmission (circulation)).The status report that test output is finished.The unexpected status report of ending of test macro output is appearring under the unexpected situation of ending.The status report of finishing comprises following items: finish item and comprise and set up the note number, deletion note number sends the note number, total time item comprise the transmission frequency of failure, send the Time To Failure point, send mortality, or the like (form of its status report as shown in Figure 9).The unexpected status report of ending comprises following items: do not finish item and comprise and set up the note number, deletion note number and send the note number, total time, item comprised the transmission frequency of failure, send Time To Failure point and track record record link, or the like (form of its status report as shown in figure 10).
Contact person interface test request input following content: contact person's masterplate (the contact person editing interface identical), the contact person's of foundation number, cycle-index, choice box (comprise built then delete (circulation) one by one) with mobile phone.The status report that test macro output is finished.The unexpected status report of ending of test macro output is appearring under the unexpected situation of ending.The status report of finishing comprises following items: finish item and comprise the contact number of setting up, deletion contact number, and total time, or the like (form of its status report as shown in figure 11).The unexpected status report of ending comprises following items: do not finish item and comprise contact number and the deletion contact number set up, total time item comprise the time point of makeing mistakes, track record record link, or the like (form of its status report as shown in figure 12).
The schedule interface detection requires the input following content: schedule masterplate (the schedule editing interface identical) with mobile phone, the schedule stroke count of foundation, cycle-index, choice box (comprise built after deletion (circulation) one by one, all after having built delete (circulation)).The status report that test macro output is finished.The unexpected status report of ending of test macro output is appearring under the unexpected situation of ending.The status report of finishing comprises following items: finish item and comprise and set up a day number of passes, a deletion day number of passes, and total time, or the like (form of its status report as shown in figure 13).The unexpected status report of ending comprises following items: do not finish item and comprise and set up a day number of passes and a deletion day number of passes, total time item comprise make mistakes time point and track record link, or the like (form of its status report as shown in figure 14).
Above-mentioned content measurement is the test that each mobile phone all is suitable for, in addition, and can also be at some tests of some mobile phone own characteristic.For example, to having the function that e-book is browsed, the mobile phone of dictionary function such as Chinese-English dictionary or the like, testing its e-book browses the same with the test of front with principle with the method for dictionary function, also be to control analogue-key by computer to come mobile phone is operated, come error message in the recording process by analyzing track record information.
Although with reference to specific embodiment the present invention has been described above,, can make many modifications and replacement to the present invention and do not break away under the situation of the spirit and scope of the present invention.Therefore, the present invention is not limited to above-mentioned for understanding the specifically described embodiment of the present invention, and its scope is defined by the appended claims.

Claims (14)

1. the test macro of a mobile phone is used to test the hardware components and the software section of mobile phone, and described test macro comprises:
Comprehensive test instrument is used for producing and calculating test signal, and carries out calibration testing;
Programmable power supply is used for to the tested mobile phone power supply and the electric current of record mobile phone, and when needed to tested mobile phone charging;
The button analog switch is used for carrying out button by predetermined number and simulates, so that mobile phone is carried out the operational testing relevant with button;
The equipment under test anchor clamps are used to install mobile phone to be tested; With
Control device is connected with described equipment under test anchor clamps by communication interface, and with described comprehensive test instrument, programmable power supply is connected with the button analog switch, be used to store the required control program of operation of the described test macro of control, control the operation of described test macro, and the acceptance test result.
2. mobile phone test macro according to claim 1, wherein said control device comprise instrument and equipment data link library, are used to store the operational order of all testers, the interface of unified function.
3. mobile phone test macro according to claim 1, wherein said control device comprise mobile phone data link library, are used for the content measurement of all mobile phones, the interface of unified function.
4. mobile phone test macro according to claim 1, wherein control device remains with spare interface, so that new comprehensive test instrument and programmable power supply can be joined described test macro.
5. mobile phone test macro according to claim 1, further be included as the interface of the test reservation of multimode mobile phone, after mobile phone software inserts described test macro, send the information of indication described mobile phone self parameter to described test macro.
6. mobile phone test macro according to claim 1, wherein said control device is connected with the computer of far-end by in-house network and/or internet, so that remote monitoring and analytical test result.
7. mobile phone test macro according to claim 1, wherein in test process, described programmable power supply writes down the electric current of mobile phone, and described communication interface is noted the track record information that mobile phone is beamed back.
8. mobile phone test macro according to claim 1 wherein when described control program moves for the first time, goes to inquire about the general-purpose interface bus GPIB address of comprehensive test instrument automatically, and the instrument that is used to test on the identification relative address.
9. mobile phone test macro according to claim 1, wherein said software test comprise the talkthrough rate to mobile phone, the note deletion, note sends, and the contact person sets up, contact person's deletion, the contact person moves group, the functional test that schedule is set up and the schedule delete function is tested.
10. mobile phone test macro according to claim 1, wherein said software test comprises the call interface to mobile phone, note interface, the interface detection that contact person interface and schedule interface are tested.
11. according to the described mobile phone test macro of above-mentioned any one claim, wherein said test macro generates the track record file in test process, and the test result report is provided behind EOT.
12. a method of testing mobile phone is used to test the hardware components and the software section of mobile phone, described method comprises step: the step of the GPIB address of described inquiry tester comprises
The general-purpose interface bus GPIB address of the instrument that the inquiry of mobile phone test macro is used to test, and the instrument that is used to test on the identification relative address;
Call different drivers according to the tester of being discerned from control device instrument is carried out initialization, and the configure instrument parameter;
Mobile phone to be tested is installed on the equipment under test anchor clamps of test macro;
Mobile phone returns the information of described mobile phone self parameter to test macro;
Control device calls different cycle testss and calls corresponding test module according to described information; With
Utilize the different cycle testss and the corresponding test module that are called that mobile phone is tested.
13. method according to claim 12 comprises further that wherein control device carries out button and simulates, and sets up test path, and the output state report.
14. method according to claim 12, comprise further that wherein control device sends instruction to mobile phone and tester,, show that then described mobile phone inserts correct serial ports if successfully connect, if connection failure, then another serial ports of access attempts.
CNB200410048227XA 2004-06-15 2004-06-15 Testing system and method for mobile telephones Expired - Fee Related CN100473084C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200410048227XA CN100473084C (en) 2004-06-15 2004-06-15 Testing system and method for mobile telephones

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200410048227XA CN100473084C (en) 2004-06-15 2004-06-15 Testing system and method for mobile telephones

Publications (2)

Publication Number Publication Date
CN1713658A true CN1713658A (en) 2005-12-28
CN100473084C CN100473084C (en) 2009-03-25

Family

ID=35719080

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200410048227XA Expired - Fee Related CN100473084C (en) 2004-06-15 2004-06-15 Testing system and method for mobile telephones

Country Status (1)

Country Link
CN (1) CN100473084C (en)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534333A (en) * 2009-04-21 2009-09-16 上海闻泰电子科技有限公司 Comprehensive test device for NXP_SI4901 platform mobile phone main board
CN101873622A (en) * 2010-06-29 2010-10-27 青岛海信移动通信技术股份有限公司 Method and device for testing encryption unit
CN102323911A (en) * 2011-08-31 2012-01-18 厦门市普星电子科技有限公司 Wireless intercom parameter configuration method
CN102348225A (en) * 2011-11-24 2012-02-08 青岛海信移动通信技术股份有限公司 Mobile terminal test method and test system as well as mobile terminal
CN102411420A (en) * 2011-09-17 2012-04-11 北京迈凯互动网络科技有限公司 Power control device for mobile equipment and system for controlling mobile equipment by computer
CN101325625B (en) * 2008-07-25 2012-06-27 余纯龙 System, apparatus and method for testing remote handset
CN102594959A (en) * 2012-02-23 2012-07-18 上海华勤通讯技术有限公司 Mobile phone automated testing device and method
CN102917280A (en) * 2012-10-10 2013-02-06 泉州市琪祥电子科技有限公司 Method for automatic commissioning test of interphone
CN103167078A (en) * 2012-09-14 2013-06-19 深圳市金立通信设备有限公司 Automatic testing system and testing method of mobile phone
CN103344863A (en) * 2013-07-15 2013-10-09 惠州Tcl移动通信有限公司 Mobile terminal testing method and mobile terminal testing system
CN103716465A (en) * 2013-12-27 2014-04-09 上海斐讯数据通信技术有限公司 Two-mobile-terminal mutual testing method and system
CN102118474B (en) * 2009-12-31 2014-04-30 比亚迪股份有限公司 Mobile phone testing machine
CN104158934A (en) * 2014-08-26 2014-11-19 昆山迈致治具科技有限公司 Test workbench for cell phone keypads
CN105306651A (en) * 2015-10-23 2016-02-03 上海斐讯数据通信技术有限公司 Method and device for solving mobile phone calibration problem of various platforms
CN105827333A (en) * 2015-01-07 2016-08-03 展讯通信(上海)有限公司 System and method of baseband chip automatic test
CN105978637A (en) * 2016-06-20 2016-09-28 深圳极智联合科技股份有限公司 Multi-DUT (Device under Test) testing system and testing method thereof
CN106534436A (en) * 2015-09-11 2017-03-22 华冠通讯(江苏)有限公司 Automatic testing system and automatic testing method for cell phones
CN106657518A (en) * 2017-01-10 2017-05-10 深圳铂睿智恒科技有限公司 Cellphone mode calibration method and system, and cellphone detection device
CN111262987A (en) * 2020-01-21 2020-06-09 上海悦易网络信息技术有限公司 Mobile phone detection method and equipment
CN113194188A (en) * 2021-03-29 2021-07-30 上海闻泰电子科技有限公司 Call function testing method and device, computer equipment and storage medium
CN116668350A (en) * 2023-07-28 2023-08-29 中国电子科技集团公司第三十研究所 Communication terminal of digital private network and matched encryption component detection system and method

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101325625B (en) * 2008-07-25 2012-06-27 余纯龙 System, apparatus and method for testing remote handset
CN101534333A (en) * 2009-04-21 2009-09-16 上海闻泰电子科技有限公司 Comprehensive test device for NXP_SI4901 platform mobile phone main board
CN102118474B (en) * 2009-12-31 2014-04-30 比亚迪股份有限公司 Mobile phone testing machine
CN101873622A (en) * 2010-06-29 2010-10-27 青岛海信移动通信技术股份有限公司 Method and device for testing encryption unit
CN102323911A (en) * 2011-08-31 2012-01-18 厦门市普星电子科技有限公司 Wireless intercom parameter configuration method
CN102411420A (en) * 2011-09-17 2012-04-11 北京迈凯互动网络科技有限公司 Power control device for mobile equipment and system for controlling mobile equipment by computer
CN102348225A (en) * 2011-11-24 2012-02-08 青岛海信移动通信技术股份有限公司 Mobile terminal test method and test system as well as mobile terminal
CN102594959A (en) * 2012-02-23 2012-07-18 上海华勤通讯技术有限公司 Mobile phone automated testing device and method
CN103167078A (en) * 2012-09-14 2013-06-19 深圳市金立通信设备有限公司 Automatic testing system and testing method of mobile phone
CN102917280A (en) * 2012-10-10 2013-02-06 泉州市琪祥电子科技有限公司 Method for automatic commissioning test of interphone
CN102917280B (en) * 2012-10-10 2018-01-23 泉州市琪祥电子科技有限公司 A kind of intercom automatic adjusting and testing method
CN103344863A (en) * 2013-07-15 2013-10-09 惠州Tcl移动通信有限公司 Mobile terminal testing method and mobile terminal testing system
CN103344863B (en) * 2013-07-15 2016-06-22 惠州Tcl移动通信有限公司 The method of testing of mobile terminal and test system
CN103716465A (en) * 2013-12-27 2014-04-09 上海斐讯数据通信技术有限公司 Two-mobile-terminal mutual testing method and system
CN103716465B (en) * 2013-12-27 2017-08-04 上海斐讯数据通信技术有限公司 A kind of method and system mutually tested based on two mobile terminals
CN104158934A (en) * 2014-08-26 2014-11-19 昆山迈致治具科技有限公司 Test workbench for cell phone keypads
CN105827333A (en) * 2015-01-07 2016-08-03 展讯通信(上海)有限公司 System and method of baseband chip automatic test
CN106534436A (en) * 2015-09-11 2017-03-22 华冠通讯(江苏)有限公司 Automatic testing system and automatic testing method for cell phones
CN105306651B (en) * 2015-10-23 2018-01-02 上海斐讯数据通信技术有限公司 A kind of method and apparatus for solving each platform mobile phone calibration problem
CN105306651A (en) * 2015-10-23 2016-02-03 上海斐讯数据通信技术有限公司 Method and device for solving mobile phone calibration problem of various platforms
CN105978637A (en) * 2016-06-20 2016-09-28 深圳极智联合科技股份有限公司 Multi-DUT (Device under Test) testing system and testing method thereof
CN106657518A (en) * 2017-01-10 2017-05-10 深圳铂睿智恒科技有限公司 Cellphone mode calibration method and system, and cellphone detection device
CN106657518B (en) * 2017-01-10 2019-06-11 深圳铂睿智恒科技有限公司 Calibration method, system and the mobile phone detection device of mobile phone standard
CN111262987A (en) * 2020-01-21 2020-06-09 上海悦易网络信息技术有限公司 Mobile phone detection method and equipment
CN113194188A (en) * 2021-03-29 2021-07-30 上海闻泰电子科技有限公司 Call function testing method and device, computer equipment and storage medium
CN116668350A (en) * 2023-07-28 2023-08-29 中国电子科技集团公司第三十研究所 Communication terminal of digital private network and matched encryption component detection system and method
CN116668350B (en) * 2023-07-28 2023-10-03 中国电子科技集团公司第三十研究所 Communication terminal of digital private network and matched encryption component detection system and method

Also Published As

Publication number Publication date
CN100473084C (en) 2009-03-25

Similar Documents

Publication Publication Date Title
CN100473084C (en) Testing system and method for mobile telephones
CN101287266B (en) Test system and method for mobile phone
CN1248116C (en) General purpose testing arrangement for embedded module and subsystem based on host machine platform
CN105404585A (en) Method and apparatus for acquiring code coverage rate
CN104063305A (en) Pressure testing method, device and system for intelligent terminal software
CN102722440A (en) Debugging device of executive codes of embedded system, debugging method and embedded system
CN104483959A (en) Fault simulation and test system
CN101577923A (en) Mobile phone testing system and mobile phone testing method
CN102375778A (en) Method and system for automatically testing digital signal processor (DSP)
CN101437260A (en) System and method for automatization test of WCDMA physical layer
CN101686471A (en) Method and system for testing mobile phone
CN106646315A (en) Automatic testing system and automatic testing method for digital measuring instruments
CN114356820A (en) Acceleration method and device based on ATE equipment chip test and test machine system
CN101267645B (en) Automatic test method and system for service flow software development of W base station
CN100469171C (en) A test system for multiple mode mobile terminal and its test method
CN100391290C (en) Method of testing with integrated test tools
CN101296462A (en) Method and system for batch execution of mobile terminal software automatic test
CN106874191B (en) Intelligent database execution method and system
CN114637688A (en) Coverage rate statistical method and device based on version branches
CN101122856A (en) Embedded type software application frame facing network monitoring instrument and its uses
CN100499513C (en) Telecommunication value-added service integrated measuring system and measuring method thereof
CN113377637A (en) Performance capacity diagnostic method and device
CN113359010A (en) Core board test system and test method thereof
CN1570873A (en) Testing tool integration system and method for computer production line
CN114443461A (en) Method, device, system and medium for determining code coverage information

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170425

Address after: 100055 Beijing, Guang'an, No. 305 Xicheng District street, No. two, building 10, floor 9, floor 1112

Patentee after: New venture (Beijing) Consulting Service Co., Ltd.

Address before: 100085 Beijing on the road to entrepreneurship, No. 6 Haidian District

Patentee before: Lenovo (Beijing) Co., Ltd.

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

Granted publication date: 20090325

Termination date: 20170615