CN101887391A - Automatic testing device for mobile phone software and testing method thereof - Google Patents

Automatic testing device for mobile phone software and testing method thereof Download PDF

Info

Publication number
CN101887391A
CN101887391A CN201010210483XA CN201010210483A CN101887391A CN 101887391 A CN101887391 A CN 101887391A CN 201010210483X A CN201010210483X A CN 201010210483XA CN 201010210483 A CN201010210483 A CN 201010210483A CN 101887391 A CN101887391 A CN 101887391A
Authority
CN
China
Prior art keywords
mobile phone
chip
signal
jtag
testing
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.)
Pending
Application number
CN201010210483XA
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201010210483XA priority Critical patent/CN101887391A/en
Publication of CN101887391A publication Critical patent/CN101887391A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses an automatic testing device for mobile phone software and a testing method thereof. The device comprises a JTAG chip and a computer, wherein, one end of the JTAG chip is connected with a mobile phone chip to be tested; the other end of the JTAG chip is connected with the computer; and the JTAG chip transmits image-text signals of the mobile phone chip to be tested to the computer, and then the computer compares the signals. The automatic testing device can be used for testing whether a downloaded page is correctly displayed at a mobile phone end and automatically testing a mobile phone interface (UI/MMI) and a menu. The device of the invention has low manufacturing cost and can be conveniently connected on the chip in the mobile phone for rapid testing; and compared with the traditional method which is widely applied to a mobile phone page display test, the method has more convenient application and higher efficiency, and can effectively reduce artificial misoperation and improve the probability to find inaccurately displayed pages.

Description

Cell phone software automatic testing equipment and method of testing thereof
Technical field
The invention belongs to the software testing technology field, particularly a kind of cell phone software automatic testing equipment and method of testing thereof.
Background technology
Because Market competition, the mobile phone quality becomes more and more important.Mobile phone interface and function menu show that correctness is first impression that the user uses mobile phone, if the problem of showing or menu show that not plenary session directly has influence on the user and whether continues use and cause returning maintenance.Common in the industry way is to use the software test personnel to carry out the manual test comparison at present.
In addition, along with increasing gradually of surfing Internet with cell phone user, the mobile phone value-added service is also maked rapid progress.But because the screen size of mobile phone differs, the operating system of mobile phone also is not quite similar, and this makes pays special attention to make the content on the website correctly to be presented on the mobile phone screen when the value-added service of exploitation mobile phone.Having of problem may derive from two aspects: one derives from the aspect, website; Two derive from the problem that mobile phone itself shows.The content that each mobile phone increment contents service provider needs conscientiously to test its exploitation can correctly show on different mobile phones, present stage, common way was to use the cell phone software tester to use different mobile phones to carry out the manual testing, and and the website on correct content displayed compare.
Manual testing's method advantage is that the Chinese human cost is lower, the correctness of the content of checking on simultaneously, but shortcoming is exactly a time-consuming too, and test relies on people's subjective judgement fully, long-time low-level repetition work can influence the stability of personnel's software test, and working attitude also can be a very large problem simultaneously; The another one method is arranged abroad but price is very expensive, only one or two strong company such as Nokia adopts once in a while, its principle is with the high definition camera to be taken pictures in each interface, compares the correct interface images that weaves in advance then and screens the correctness that content format shows.The advantage of this method is can both test in 24 hours, broken away from the dependence to the people, but shortcoming is an apparatus expensive, and image processing techniques does not pass a test and brings uncertain influence to test result.Replenishing of tests such as some mobile phone interfaces and menu (MMI/UI) only made by one or two company such as present Nokia of this equipment, other downloading page contrastive tests are still by manually finishing.
Summary of the invention
Technical matters solved by the invention is to provide cell phone software automatic testing equipment and the method for testing thereof that a kind of cost is low, stability is high.
The technical solution that realizes the object of the invention is: a kind of cell phone software automatic testing equipment, comprise JTAG chip, computing machine, one end of JTAG chip is connected with the chip to be measured of mobile phone, the other end of JTAG chip is connected with computing machine, the JTAG chip is transferred to computing machine with the facsimile signal of mobile phone chip to be measured, carries out signal fusing by computing machine.
A kind of automatic testing method of mobile phone software may further comprise the steps:
Step 1, JTAG chip read the facsimile signal of mobile phone chip to be measured;
Step 2, judge whether the signal read is useful signal, if execution in step 3 then, otherwise execution in step 6;
Step 3, extract the area characters collection of each useful signal out;
Step 4, from computing machine, read the correct page signal that prestores, extract the area characters collection of signal afterwards out;
Step 5, area characters collection in the step 3 and the area characters in the step 4 are compared, judge whether to exist mistake, if exist mistake then with signal storage to database, otherwise execution in step 6;
Step 6, send page-turning instruction, return step 1 afterwards and carry out once more reading of signal.
The present invention compared with prior art, its remarkable advantage is: 1) cost is low, device of the present invention can conveniently be connected on the mobile phone inside chip; 2) can carry out uninterrupted test in extensive 7 days 24 hours to improve testing efficiency; 3) stability is high, can effectively reduce the tester because misoperation tired and that the working attitude aspect is brought; 4) the present invention uses the JTAG chip to read specific region character in the handset displays reservoir, adopt the mode of conversion of signals to compare display page, make the user can break away from manual operations and distinguish the wrong page with eyes, it shows that than traditional mobile phone page that is widely used in the method application of test is more convenient, efficient is higher, and can effectively reduce the human operational error, improve the probability of finding wrong display page.
Below in conjunction with accompanying drawing the present invention is described in further detail.
Description of drawings
Fig. 1 is a cell phone software automatic testing equipment synoptic diagram of the present invention.
Fig. 2 is an automatic testing method of mobile phone software process flow diagram of the present invention.
Embodiment
In conjunction with Fig. 1, a kind of cell phone software automatic testing equipment of the present invention, comprise JTAG chip, computing machine, one end of JTAG chip is connected with the chip to be measured of mobile phone, the other end of JTAG chip is connected with computing machine, the JTAG chip is transferred to computing machine with the facsimile signal of mobile phone chip to be measured, carries out signal fusing by computing machine.Whether this device not only can be tested downloading page and correctly show in mobile phone end, and can be used for mobile phone interface (UI/MMI) and menu is tested automatically.This system comprises that data connect lead, jtag test chip, and signal passes to computer to signal by data conductor, compares by specific software and original correct display page again, screens wrong page displayed.
JTAG (JTAG) is passed through the IEEE1149.1 standard in nineteen ninety, and the regulation novel chip must have specific pin mouth and boundary scan logic unit, in order that provide quick, convenient, fault diagnosis and measurement accurately with the method for software to electronic product.And in calendar year 2001 release JTAG new edition.Existing chip for cell phone all has such test interface, and the present invention utilizes this test interface that quick testing scheme is provided exactly.
Device of the present invention is specifically designed to the test of mobile phone content display interface and the test of mobile phone interface (UI/MMI) and menu function aspect, and it can improve cell phone software testing efficiency and testing precision effectively.The present invention uses the character that shows in the screen specific region in the JTAG chip collection handset displays reservoir, transfers signals to computing machine then, utilizes unique software to compare the signal of normal display page with the zone.Have any different as signal, this page is write database, analyze the problem that may occur by the technical skill personnel.
The present invention utilizes the JTAG technology to collect facsimile signal on four diagonal line of the mobile phone page and the facsimile signal on screen center's point, utilize signal wire transmits to arrive the serial line interface of computer, unique software on the computer reads this signal, compares with the facsimile signal of normal display page same area then.JTAG chip (WINGBOARD) can manually be welded on the corresponding chip pin of mobile phone, and the other end connects on computers.The comparison signal is compared on computers by the JTAG chip, and distinguishing features such as speed is fast, safe, accuracy rate height are arranged.
In conjunction with Fig. 2, a kind of automatic testing method of mobile phone software may further comprise the steps:
Step 1, JTAG chip read the facsimile signal of mobile phone chip to be measured;
Step 2, judge whether the signal read is useful signal, if execution in step 3 then, otherwise execution in step 6;
Step 3, extract the area characters collection of each useful signal out;
Step 4, from computing machine, read the correct page signal that prestores, extract the area characters collection of signal afterwards out;
Step 5, area characters collection in the step 3 and the area characters in the step 4 are compared, judge whether to exist mistake, if exist mistake then with signal storage to database, otherwise execution in step 6;
Step 6, send page-turning instruction, return step 1 afterwards and carry out once more reading of signal.
The present invention gathers regional 1 signal to zone 7 in the mobile phone display screen character string by the JTAG chip, and 3 characters are gathered in each zone, are transferred to then on the computer, are compared by special software on the computer and distinguish whether this page has problem.
The JTAG chip is packaged into a character string signal with the character signal in 7 zones, and its composition mode is as follows:
Header encoder Page coding Zone 1 character ?2 3 4 5 6 7 Correcting code The tail coding
In computer end, software can be provided with working time and test event by configuration.
Device of the present invention can show the content page of mobile phone interface and function menu and mobile phone-downloaded to be tested fast, it adopts the JTAG technology, whether correct, thereby improve user's experience and expand the occupation rate of surfing Internet with cell phone function in mobile phone 3G uses if utilizing unique software comparison technology to test on mobile phone the content displayed form.

Claims (2)

1. cell phone software automatic testing equipment, it is characterized in that, comprise JTAG chip, computing machine, one end of JTAG chip is connected with the chip to be measured of mobile phone, the other end of JTAG chip is connected with computing machine, the JTAG chip is transferred to computing machine with the facsimile signal of mobile phone chip to be measured, carries out signal fusing by computing machine.
2. the method for testing based on the described cell phone software automatic testing equipment of claim 1 is characterized in that, may further comprise the steps:
Step 1, JTAG chip read the facsimile signal of mobile phone chip to be measured;
Step 2, judge whether the signal read is useful signal, if execution in step 3 then, otherwise execution in step 6;
Step 3, extract the area characters collection of each useful signal out;
Step 4, from computing machine, read the correct page signal that prestores, extract the area characters collection of signal afterwards out;
Step 5, area characters collection in the step 3 and the area characters in the step 4 are compared, judge whether to exist mistake, if exist mistake then with signal storage to database, otherwise execution in step 6;
Step 6, send page-turning instruction, return step 1 afterwards and carry out once more reading of signal.
CN201010210483XA 2010-06-28 2010-06-28 Automatic testing device for mobile phone software and testing method thereof Pending CN101887391A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010210483XA CN101887391A (en) 2010-06-28 2010-06-28 Automatic testing device for mobile phone software and testing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010210483XA CN101887391A (en) 2010-06-28 2010-06-28 Automatic testing device for mobile phone software and testing method thereof

Publications (1)

Publication Number Publication Date
CN101887391A true CN101887391A (en) 2010-11-17

Family

ID=43073319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010210483XA Pending CN101887391A (en) 2010-06-28 2010-06-28 Automatic testing device for mobile phone software and testing method thereof

Country Status (1)

Country Link
CN (1) CN101887391A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156672A (en) * 2011-04-19 2011-08-17 广东欧珀移动通信有限公司 Method for realizing automated test on mobile phone calculator
CN102957773A (en) * 2011-08-29 2013-03-06 比亚迪股份有限公司 Mobile phone software testing method and mobile phone software testing system
CN103136094A (en) * 2011-11-25 2013-06-05 阿里巴巴集团控股有限公司 Page testing method and device
CN103685657A (en) * 2012-09-17 2014-03-26 腾讯科技(深圳)有限公司 Method and device for testing electronic terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156672A (en) * 2011-04-19 2011-08-17 广东欧珀移动通信有限公司 Method for realizing automated test on mobile phone calculator
CN102957773A (en) * 2011-08-29 2013-03-06 比亚迪股份有限公司 Mobile phone software testing method and mobile phone software testing system
CN102957773B (en) * 2011-08-29 2016-03-02 比亚迪股份有限公司 A kind of cell phone software method of testing and system
CN103136094A (en) * 2011-11-25 2013-06-05 阿里巴巴集团控股有限公司 Page testing method and device
CN103136094B (en) * 2011-11-25 2016-08-03 阿里巴巴集团控股有限公司 A kind of page method of testing and device
CN103685657A (en) * 2012-09-17 2014-03-26 腾讯科技(深圳)有限公司 Method and device for testing electronic terminal

Similar Documents

Publication Publication Date Title
CN101778307B (en) Device for testing functions of set top box
CN104407976B (en) A kind of interface robustness testing case generation method and device
CN105808416A (en) An automatic test method and system for man-machine graphic interaction interfaces
US8996928B2 (en) Devices for indicating a physical layer error
CN105091927A (en) All-liquid-crystal automobile instrument automatic test platform
CN100483361C (en) Terminal user interface testing method and device
CN101887391A (en) Automatic testing device for mobile phone software and testing method thereof
CN107229579A (en) The USB mode of USB interface and the compatibility method and device of MHL patterns
CN101114249A (en) I2C bus testing apparatus of mainboard and method thereof
CN201741145U (en) Automatic mobile phone software testing device
CN105988125A (en) Statistical method for static data integrity based on GNSS receivers
CN108170600A (en) The coverage rate statistical method of front-end code test, apparatus and system
CN106354636A (en) Method and device for code testing
CN105224465B (en) Webpage adjustment method and device
CN104793081B (en) USB interface detection means and method
CN103838664A (en) Pressure testing method and device
CN104076311B (en) Verification system and method of quick-acting oil pressure relay verification platform for transformer
CN203012047U (en) Avionics device function test system
CN106896710A (en) Scene configurable time synchronization test system and implementation method
CN106257257A (en) A kind of detect the method for optical module planisphere, device and virtual vector analyser
CN101799503B (en) Method for uniformly testing DDC, HDCP and full screen picture on display
CN204836245U (en) Inspect quick judgement system of agent soon
US20210239737A1 (en) Annotated decode of oscilloscope signals
CN103870368A (en) SAS (Serial Attached SCSI (small computer system interface)) expander testing system and method
CN104915276A (en) Rapid judging method for port numbers of serial ports

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20101117