CN102880549A - Method and device for production test - Google Patents
Method and device for production test Download PDFInfo
- Publication number
- CN102880549A CN102880549A CN2012103646543A CN201210364654A CN102880549A CN 102880549 A CN102880549 A CN 102880549A CN 2012103646543 A CN2012103646543 A CN 2012103646543A CN 201210364654 A CN201210364654 A CN 201210364654A CN 102880549 A CN102880549 A CN 102880549A
- Authority
- CN
- China
- Prior art keywords
- test
- image file
- procedure
- case
- carry out
- 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
Links
Images
Landscapes
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention is applicable to the field of production tests, and provides a method and a device for a production test. The method includes acquiring a mirror image document comprising a test program and a test resource; broadcasting test information according to a received test trigger event; responding to the test information; starting the test program of the acquired mirror image document; calling a corresponding test case in the test program; carrying out a corresponding test; then judging whether a test result is qualified or not; entering a normal mode if the test result is qualified; or testing again if the test result is not qualified. A test unit comprises at least one test case. The method and the device have the advantages that a test state can be realized quickly, error rate is reduced, and test stability and test efficiency are greatly improved.
Description
Technical field
The invention belongs to the production test field, relate in particular to a kind of method and device of production test.
Background technology
Portable terminal generates manufacturer in order to guarantee product quality as the product that satisfies the needs of consumers, and all needs to do a large amount of test jobs before product export, especially more can bring the various software tests of user's experience sense.General, the portable terminal hardware testing has strict physical electrical index, and special instrument is also arranged, and therefore, hardware testing only need to according to clear and definite index, be carried out corresponding test case and be got final product.And software test is because each generates the different operating system of manufacturer's use, even the application software of same operating system also is Protean, method of testing is all different with test case, its method of testing does not have very strict regulation, and the test parameter of a lot of test processs needs artificial input, poor stability, fault rate height, testing efficiency is not high, has increased yield-power yet and has dropped into and production cost.
At present, the mobile terminal software test has two classes:
On the one hand, enter a certain software test according to the judgement that arranges of obtaining radio-frequency (RF) calibration parameter (non-volatile, nv).The judgement of this method of testing radio-frequency (RF) calibration parameter can not be stablized judgement and be entered a certain software test, has the probability Problem of Failure.
On the other hand, inputting some parameter by dial (of a telephone) judges and enters a certain software test, this method of testing is by dial (of a telephone) input parameter inefficiency, for example prior art needs the work of six * #XX# of manual input to enter dependence test, because button is large not, the factors such as finger movement is quick are often made a fault, and need a large amount of testers' manual labor.
In sum, portable terminal generates manufacturer needs a kind of stable, reliable and high method of testing of efficient.
Summary of the invention
The embodiment of the invention provides a kind of method and device of production test, is intended to solve the prior art method for testing software, and it is slow to enter test mode, poor stability, and fault rate is high, the problem that testing efficiency is not high.
On the one hand, provide a kind of method of production test, described method comprises:
According to the test trigger event that receives, on-air testing message;
Respond described test post, start the test procedure of the image file that obtains, described test cell comprises at least one test case;
Call corresponding described test case in the described test procedure, carry out corresponding test.
On the other hand, provide a kind of device of production test, described device comprises:
The test post radio unit is used for according to the test trigger event that receives, on-air testing message;
The test procedure start unit is used for responding described test post, starts the test procedure of the image file that obtains, and described test cell comprises at least one test case;
Test cell is used for calling the corresponding described test case of described test procedure, carries out corresponding test.
In the embodiment of the invention, according to the test trigger event that receives, on-air testing message, respond described test post, start the test procedure of the image file that obtains, described test cell comprises at least one test case, calls corresponding described test case in the described test procedure, carries out corresponding test.The present invention realizes entering fast test mode, has reduced fault rate, has significantly improved measuring stability and testing efficiency.
Description of drawings
Fig. 1 is the realization flow figure of the method for the production test that provides of the embodiment of the invention one;
Fig. 2 is the concrete structure block diagram of the device of the production test that provides of the embodiment of the invention two.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
In embodiments of the present invention, according to the test trigger event that receives, on-air testing message, respond described test post, start the test procedure of the image file that obtains, described test cell comprises at least one test case, calls corresponding described test case in the described test procedure, carries out corresponding test.
Below in conjunction with specific embodiment realization of the present invention is described in detail:
Embodiment one
Fig. 1 shows the realization flow of the method for the production test that the embodiment of the invention one provides, and details are as follows:
In step S101, according to the test trigger event that receives, on-air testing message.
In the present embodiment, the tester makes image file with test procedure and system program, copies image file to portable terminal by burning.The acquisition for mobile terminal image file, described image file comprises test procedure and test resource.When needs are tested, start this portable terminal, this portable terminal loads and the start-up system program, drives its hardware and normally starts, and according to the setting of system program, portable terminal enters test pattern.Described test pattern is the pattern of software test in the production run.
Under test pattern, portable terminal Real-Time Monitoring test trigger event is according to the test trigger event that receives, on-air testing message.Described test trigger event includes but not limited to: the USB event, as when inserting USB, portable terminal receives the USB event.
In step S102, respond described test post, start the test procedure of the image file that obtains, described test cell comprises at least one test case.
In the present embodiment, because portable terminal is tested trigger event at Real-Time Monitoring, when inserting USB, portable terminal on-air testing message.Preferably, portable terminal judges whether described test resource exists, and if not, then enters normal mode.Described normal mode is exactly the pattern under the mobile phone users use state.If test resource exists, portable terminal responds described test post, starts the test procedure of the image file that obtains, and described test cell comprises at least one test case.
In step S103, call corresponding described test case in the described test procedure, carry out corresponding test.
In the present embodiment, after the normal startup of test procedure, portable terminal calls corresponding described test case in the described test procedure, carries out corresponding test.Concrete, in Preset Time, receive and carry out instruction, call the test case corresponding with described execution instruction, carry out corresponding test, obtain test result; Or in Preset Time, if do not receive the execution instruction, then carry out the default instruction of carrying out, and call the test case corresponding with described default execution instruction, carry out corresponding test, obtain test result.At the test selection interface, portable terminal is according to the execution instruction that receives tester's input, or carry out to preset and carry out instruction, call and carry out instruction or described test case corresponding to default execution instruction, carry out corresponding test, obtain test result, described execution instruction is obtained by the corresponding event on the test selection interface, and corresponding event includes but not limited to: button click event, button are double-clicked event.
Preferably, can also after obtaining test result, judge whether described test result is qualified, if, enter normal mode, if not, then retest.Obtain after the test result, if test result is qualified, the tester makes portable terminal receive corresponding event by operating on the test selection interface, or USB withdraws from event, obtain test and finish appointment, then finish the test job pattern, withdraw from test procedure or deletion test resource, enter normal mode, when portable terminal starts again, directly enter normal mode, can not enter under the test pattern again.Test is finished instruction and included but not limited to: input instruction, USB withdraw from event.If test result is defective, enter the test selection interface, again accept to carry out instruction, retest.
Present embodiment, the image file that test procedure and system program are made is burnt to portable terminal, after portable terminal starts, triggering reads to enter test mode soon according to corresponding event, in the typing test instruction of test selection interface or according to default testing sequence, portable terminal carries out corresponding test, good stability automatically, fault rate is low, has improved greatly testing efficiency.
Embodiment two
Fig. 2 shows the concrete structure block diagram of the device of the production test that the embodiment of the invention two provides, and for convenience of explanation, only shows the part relevant with the embodiment of the invention.In the present embodiment, the device of this production test comprises: image file acquiring unit 21, test post radio unit 22, test resource judging unit 23, test procedure start unit 24, test cell 25 and test result judging unit 26, described test cell 25 comprises nominative testing module and default test module.
Wherein, image file acquiring unit 21 is used for obtaining image file, and described image file comprises test procedure and test resource;
Test post radio unit 22 is used for according to the test trigger event that receives, on-air testing message;
Test resource judging unit 23 is used for judging whether described test resource exists, and if not, then enters normal mode;
Test procedure start unit 24 is used for responding described test post, starts the test procedure of the image file that obtains, and described test cell comprises at least one test case;
The nominative testing module is used for receiving and carries out instruction, calls the test case corresponding with described execution instruction, carries out corresponding test;
Default test module is used for carrying out the default instruction of carrying out, and calls the test case corresponding with described default execution instruction, carries out corresponding test;
Test result judging unit 26 is used for judging whether described test result is qualified, if, enter normal mode, if not, then retest.
The device of the production test that the embodiment of the invention provides can be applied in the embodiment of the method one of aforementioned correspondence, and details do not repeat them here referring to the description of above-described embodiment one.
It should be noted that among the said system embodiment that included unit is just divided according to function logic, but is not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional unit also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
In addition, one of ordinary skill in the art will appreciate that all or part of step that realizes in the various embodiments described above method is to come the relevant hardware of instruction to finish by program, corresponding program can be stored in the computer read/write memory medium, described storage medium is such as ROM/RAM, disk or CD etc.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (9)
1. the method for a production test is characterized in that, described method comprises:
According to the test trigger event that receives, on-air testing message;
Respond described test post, start the test procedure of the image file that obtains, described test cell comprises at least one test case;
Call corresponding described test case in the described test procedure, carry out corresponding test.
2. the method for claim 1 is characterized in that, describedly calls corresponding described test case in the described test procedure, carries out corresponding test, is specially:
Receive and carry out instruction, call the test case corresponding with described execution instruction, carry out corresponding test; Or
Carry out the default instruction of carrying out, call the test case corresponding with described default execution instruction, carry out corresponding test.
3. the method for claim 1 is characterized in that, the test trigger event in that described basis receives before the on-air testing message, also comprises:
Obtain image file, described image file comprises test procedure and test resource.
4. such as claim 1,2 or 3 described methods, it is characterized in that, before the test procedure of the image file that described startup is obtained, also comprise:
Judge whether described test resource exists, if not, then enter normal mode.
5. method as claimed in claim 4 is characterized in that, calls corresponding described test case in the described test procedure described, carries out also comprising after the corresponding test:
Judge whether described test result is qualified, if, enter normal mode, if not, then retest.
6. the device of a production test is characterized in that, described device comprises:
The test post radio unit is used for according to the test trigger event that receives, on-air testing message;
The test procedure start unit is used for responding described test post, starts the test procedure of the image file that obtains, and described test cell comprises at least one test case;
Test cell is used for calling the corresponding described test case of described test procedure, carries out corresponding test.
7. device as claimed in claim 6 is characterized in that, described device also comprises:
The image file acquiring unit is used for obtaining image file, and described image file comprises test procedure and test resource.
8. such as claim 6 or 7 described devices, it is characterized in that described device also comprises:
The test resource judging unit is used for judging whether described test resource exists, and if not, then enters normal mode.
9. device as claimed in claim 8 is characterized in that, described device also comprises:
The test result judging unit is used for judging whether described test result is qualified, if, enter normal mode, if not, then retest.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012103646543A CN102880549A (en) | 2012-09-26 | 2012-09-26 | Method and device for production test |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012103646543A CN102880549A (en) | 2012-09-26 | 2012-09-26 | Method and device for production test |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102880549A true CN102880549A (en) | 2013-01-16 |
Family
ID=47481883
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012103646543A Pending CN102880549A (en) | 2012-09-26 | 2012-09-26 | Method and device for production test |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102880549A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104850475A (en) * | 2015-05-29 | 2015-08-19 | 浙江宇视科技有限公司 | Equipment testing method and device |
CN105306151A (en) * | 2014-07-04 | 2016-02-03 | 京信通信***(中国)有限公司 | Method and system for managing test data of radio-frequency power amplifier |
CN105391600A (en) * | 2015-11-24 | 2016-03-09 | 北京科东电力控制***有限责任公司 | Method and system for testing network service quality |
CN108304326A (en) * | 2018-01-30 | 2018-07-20 | 广东天波信息技术股份有限公司 | Android intelligent terminal automatization test system and method |
CN110908960A (en) * | 2018-08-28 | 2020-03-24 | Oppo(重庆)智能科技有限公司 | Electronic equipment and content detection and removal method thereof |
CN112637866A (en) * | 2021-03-10 | 2021-04-09 | 深圳市乙辰科技股份有限公司 | Wireless network equipment production mirror image processing method and wireless network equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1696682A1 (en) * | 2005-02-25 | 2006-08-30 | Research In Motion Limited | Method of using the signal-to-noise ratio (SNR) to reduce factory test time |
CN101727393A (en) * | 2009-12-29 | 2010-06-09 | 青岛海信宽带多媒体技术有限公司 | Method for dynamically testing embedded system software |
CN102255676A (en) * | 2010-05-19 | 2011-11-23 | 广东新支点技术服务有限公司 | Automatic end-user oriented testing method for mobile phone |
CN102355641A (en) * | 2011-08-25 | 2012-02-15 | 广东欧珀移动通信有限公司 | Method for carrying out automated test on group control of short messages |
-
2012
- 2012-09-26 CN CN2012103646543A patent/CN102880549A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1696682A1 (en) * | 2005-02-25 | 2006-08-30 | Research In Motion Limited | Method of using the signal-to-noise ratio (SNR) to reduce factory test time |
CN101727393A (en) * | 2009-12-29 | 2010-06-09 | 青岛海信宽带多媒体技术有限公司 | Method for dynamically testing embedded system software |
CN102255676A (en) * | 2010-05-19 | 2011-11-23 | 广东新支点技术服务有限公司 | Automatic end-user oriented testing method for mobile phone |
CN102355641A (en) * | 2011-08-25 | 2012-02-15 | 广东欧珀移动通信有限公司 | Method for carrying out automated test on group control of short messages |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105306151A (en) * | 2014-07-04 | 2016-02-03 | 京信通信***(中国)有限公司 | Method and system for managing test data of radio-frequency power amplifier |
CN105306151B (en) * | 2014-07-04 | 2018-06-22 | 京信通信***(中国)有限公司 | The test data management method and system of a kind of RF power amplification |
CN104850475A (en) * | 2015-05-29 | 2015-08-19 | 浙江宇视科技有限公司 | Equipment testing method and device |
CN105391600A (en) * | 2015-11-24 | 2016-03-09 | 北京科东电力控制***有限责任公司 | Method and system for testing network service quality |
CN108304326A (en) * | 2018-01-30 | 2018-07-20 | 广东天波信息技术股份有限公司 | Android intelligent terminal automatization test system and method |
CN108304326B (en) * | 2018-01-30 | 2021-11-19 | 广东天波信息技术股份有限公司 | Automatic testing system and method for android intelligent terminal |
CN110908960A (en) * | 2018-08-28 | 2020-03-24 | Oppo(重庆)智能科技有限公司 | Electronic equipment and content detection and removal method thereof |
CN112637866A (en) * | 2021-03-10 | 2021-04-09 | 深圳市乙辰科技股份有限公司 | Wireless network equipment production mirror image processing method and wireless network equipment |
CN112637866B (en) * | 2021-03-10 | 2021-05-18 | 深圳市乙辰科技股份有限公司 | Wireless network equipment production mirror image processing method and wireless network equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102880549A (en) | Method and device for production test | |
CN104166610B (en) | Mobile terminal detection method and detection system | |
CN101848042B (en) | Method and system for testing radio frequency of mobile phones | |
CN103744824B (en) | One is dispatched from the factory method of testing and test system | |
CN101287266B (en) | Test system and method for mobile phone | |
CN103544020A (en) | Method and mobile terminal for displaying application software icons | |
US20090036115A1 (en) | System and method for testing gsm modules | |
CN113778055B (en) | TBOX detection method and detection system | |
CN105975391A (en) | Restart testing method and device and mobile terminal | |
CN108738059B (en) | WIFI module testing method and device | |
CN101277504A (en) | Method, system and apparatus for testing wireless performance | |
CN112202951A (en) | Mobile phone compatibility testing method and related device | |
CN104731702B (en) | Test system and its service end | |
CN103914212A (en) | Terminal device and application configuration method thereof | |
CN111026651B (en) | Test method, device, storage medium and electronic equipment | |
CN107203444A (en) | A kind of control of intelligent terminal method of testing and device based on Uboot | |
CN110446026A (en) | A kind of method and system of electric performance test equipment integrated test | |
CN103428745A (en) | Test system and test method of Cu interface between UICC (Universal Integrated Circuit Card) and WCDMA (Wideband Code Division Multiple Access) mobile terminal | |
CN103383658B (en) | Remember the method and server of mobile terminal operation | |
CN104615539A (en) | Measurement parameter processing method and system | |
CN101916221A (en) | Method and system for performing unit testing on equipment | |
CN114942878A (en) | Automatic performance testing method for internet application and related equipment | |
CN112908400A (en) | Method, device and equipment for testing double-rate synchronous dynamic random access memory | |
CN104125326B (en) | Method and the terminal of message background are set | |
CN113011869A (en) | Test data generation method and device and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130116 |
|
RJ01 | Rejection of invention patent application after publication |