CN104239211A - Method and device for enabling mobile terminal to rapidly enter test mode - Google Patents

Method and device for enabling mobile terminal to rapidly enter test mode Download PDF

Info

Publication number
CN104239211A
CN104239211A CN201410503711.0A CN201410503711A CN104239211A CN 104239211 A CN104239211 A CN 104239211A CN 201410503711 A CN201410503711 A CN 201410503711A CN 104239211 A CN104239211 A CN 104239211A
Authority
CN
China
Prior art keywords
mobile terminal
test
level state
gpio port
gpio
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
CN201410503711.0A
Other languages
Chinese (zh)
Other versions
CN104239211B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410503711.0A priority Critical patent/CN104239211B/en
Publication of CN104239211A publication Critical patent/CN104239211A/en
Application granted granted Critical
Publication of CN104239211B publication Critical patent/CN104239211B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The invention discloses a method and a device for enabling a mobile terminal to rapidly enter a test mode. The method comprises the following steps: prestoring a test start script in the mobile terminal; then storing the corresponding test start script when the mobile terminal is subjected to start test; and selectively starting some application programs necessary for test by the test start script, wherein other unnecessary application programs are not started. According to the method and device disclosed by the invention, the start time is saved, so that the mobile terminal can directly and rapidly enter a test mode, and thus the problem of low test efficiency of an existing mobile terminal is effectively solved.

Description

A kind of mobile terminal enters method and the device thereof of test pattern fast
Technical field
The present invention relates to the method for testing of mobile terminal, particularly relate to method and device thereof that a kind of mobile terminal enters test pattern fast.
Background technology
Along with the development of science and technology, existing user is also increasing to the demand of electronic product, and for ensureing the quality of product, manufacturer must carry out various corresponding test to it before shipment.Existing when testing mobile phone, when mobile phone power-on enters test pattern, except some application programs of mobile phone power-on indispensability and except some need the application program of carrying out testing and open, some other unnecessary application program also can be opened thereupon, this becomes longer with regard to causing the time of mobile phone power-on, thus greatly have impact on testing efficiency.When the shipment amount of mobile phone is very large, because the start test of each mobile phone all needs the longer stand-by period, therefore it has had a strong impact on its testing efficiency.Therefore, be necessary to provide a kind of method of testing, while guarantee mobile phone delivery quality, optimize production test flow process, improve testing efficiency.
Summary of the invention
A kind of mobile terminal is the object of the present invention is to provide to enter the method for test pattern fast, to solve the problem of existing mobile terminal test inefficiency.
The present invention is achieved by the following technical solutions: a kind of mobile terminal enters the method for test pattern fast, and described method step comprises:
S1, store for starting the test starting script testing necessary application program in described mobile terminal, the level state that this test starting script is corresponding according to the GPIO port of mobile terminal starts;
S2, startup GPIO port level state recognition function, for when carrying out start test to described mobile terminal, carry out detection to the level state of its GPIO port and identify;
S3, to carry out the level state of GPIO port after detection identifies, if detect the level state recognizing the GPIO port of coupling, then start corresponding test starting script, make mobile terminal directly enter test pattern, otherwise mobile terminal entering normal boot-strap pattern.
Preferably, described test starting script by mobile terminal first brush version time its burning is stored in mobile terminal; The level state of described GPIO port, is detected by GPIO button or the mode of thimble detection carries out detection identification; Described mobile terminal is preferably mobile phone.
Based on the inventive concept of said method, the present invention also provides a kind of mobile terminal to enter the device of test pattern fast, and described device comprises:
Test starting script unit, for starting the necessary application program of test, the level state that this test starting script unit is corresponding according to the GPIO port of mobile terminal starts;
GPIO port identification unit, for when carrying out start test to described mobile terminal, carries out detection to the level state of its GPIO port and identifies;
Perform processing unit, for after carry out detection identification to the level state of GPIO port, if detect the level state recognizing the GPIO port of coupling, then start corresponding test starting script, make mobile terminal directly enter test pattern, otherwise mobile terminal enter normal boot-strap pattern.
Preferably, the test starting script in described test starting script unit, by mobile terminal first brush version time its burning is stored in mobile terminal; The mode that described GPIO port identification unit is detected by GPIO button or thimble detects detects the level state identifying GPIO port; Described mobile terminal is preferably mobile phone.
Mobile terminal provided by the invention enters method and the device thereof of test pattern fast, by being previously stored with test starting script in mobile terminal, then corresponding test starting script is started when carrying out start test to mobile terminal, start some selectively by this test starting script and test necessary application program, other unwanted application programs then do not start, in order to save the on time, make mobile terminal directly enter test pattern rapidly, thus effectively solve the problem of existing mobile terminal test inefficiency.
Accompanying drawing explanation
Accompanying drawing 1 is the method flow schematic diagram that in the present invention, mobile terminal enters test pattern fast;
Accompanying drawing 2 is the apparatus structure module frame chart that in the present invention, mobile terminal enters test pattern fast;
Accompanying drawing 3 is the method flow schematic diagram of specific embodiment in the embodiment of the present invention.
Embodiment
For the ease of the understanding of those skilled in the art, below in conjunction with accompanying drawing, the invention will be further described.
As shown in Figure 1, a kind of mobile terminal enters the method for test pattern fast, and described method step comprises:
S1, store for starting the test starting script testing necessary application program in described mobile terminal, the level state that this test starting script is corresponding according to the GPIO port of mobile terminal starts;
S2, startup GPIO port level state recognition function, for when carrying out start test to described mobile terminal, carry out detection to the level state of its GPIO port and identify;
S3, to carry out the level state of GPIO port after detection identifies, if detect the level state recognizing the GPIO port of coupling, then start corresponding test starting script, make mobile terminal directly enter test pattern, otherwise mobile terminal entering normal boot-strap pattern.
Wherein, described test starting script, can test needs to write according to reality, preferably, these test starting scripts mobile terminal first brush version time be just burnt in mobile terminal; And these test starting pin local boots, then started by the level state that the GPIO port of mobile terminal is corresponding.As for the level state of GPIO port, can be detected by GPIO button or thimble detect mode carry out detections identification, GPIO button detects the combination being generally GPIO button and detects, and thimble detects, then usually utilize the thimble on corresponding fixture to withstand corresponding GPIO mouth contact and detect.GPIO button in the present invention detects the mode detected with thimble, is the detection mode of the level state of existing GPIO port, is not described in detail in this.
Based on the inventive concept of said method, additionally provide the device that a kind of mobile terminal enters test pattern fast in the present embodiment, as shown in Figure 2, described device comprises:
Test starting script unit, for starting the necessary application program of test, the level state that this test starting script unit is corresponding according to the GPIO port of mobile terminal starts;
GPIO port identification unit, for when carrying out start test to described mobile terminal, carries out detection to the level state of its GPIO port and identifies;
Perform processing unit, for after carry out detection identification to the level state of GPIO port, if detect the level state recognizing the GPIO port of coupling, then start corresponding test starting script, make mobile terminal directly enter test pattern, otherwise mobile terminal enter normal boot-strap pattern.
Preferably, the test starting script in described test starting script unit, by mobile terminal first brush version time its burning is stored in mobile terminal; The mode that described GPIO port identification unit is detected by GPIO button or thimble detects detects the level state identifying GPIO port.
In the embodiment of the present invention, described mobile terminal is preferably mobile phone, using mobile phone as specific embodiment, the present invention is further illustrated below, and due to the main test event that RF test (radio frequency testing) is mobile phone, therefore the present embodiment is described using RF test as concrete test event.
First, the application program that when testing according to RF, actual needs is opened writes test starting script, and the application program of opening as actual needs when RF tests comprises system program, desktop programs, Modem subsystem, driver, WiFi or bluetooth etc.; Then these test starting scripts (hereinafter referred to as RF test pattern booting script) are stored in mobile phone, can when mobile phone carries out brush version first, just by the burning of RF test pattern booting script in mobile phone.And the unlatching of RF test pattern booting script, can be started by the corresponding level state of GPIO port on mobile phone, can start according to the level combinations state of the low and high level state of GPIO mouth a certain on GPIO port or multiple GPIO mouth.In the present embodiment, when the level state supposing the GPIO mouth 1 on GPIO port is low level, then open RF test pattern booting script.When testing to carry out RF mobile phone power-on, start the state recognition of GPIO port level, when level state GPIO mouth 1 being detected is low level, then open RF test pattern booting script, open system program is carried out by this RF test pattern booting script, desktop programs, Modem subsystem, driver, some application programs that must open such as WiFi or bluetooth, some other application program of opening that do not need then is not opened, to save the on time of mobile phone, make it quick, directly enter test pattern, thus effectively the existing mobile phone of solution is carrying out the low problem of RF testing time-effectiveness rate, concrete testing process can accompanying drawings 3.Carry out remaining project testing for mobile phone, its principle and above-mentioned RF test class seemingly, are not described in detail in this.
The content mentioned in above-described embodiment is the present invention's preferably embodiment, is not limitation of the invention, and without departing from the inventive concept of the premise, any apparent replacement is all within protection scope of the present invention.

Claims (8)

1. mobile terminal enters a method for test pattern fast, and described method step comprises:
S1, store for starting the test starting script testing necessary application program in described mobile terminal, the level state that this test starting script is corresponding according to the GPIO port of mobile terminal starts;
S2, startup GPIO port level state recognition function, for when carrying out start test to described mobile terminal, carry out detection to the level state of its GPIO port and identify;
S3, to carry out the level state of GPIO port after detection identifies, if detect the level state recognizing the GPIO port of coupling, then start corresponding test starting script, make mobile terminal directly enter test pattern, otherwise mobile terminal entering normal boot-strap pattern.
2. method according to claim 1, is characterized in that: described test starting script by mobile terminal first brush version time its burning is stored in mobile terminal.
3. method according to claim 2, is characterized in that: the level state of described GPIO port, detected by GPIO button or thimble detect mode carry out detections identification.
4. the method according to any one of claims 1 to 3, is characterized in that: described mobile terminal is mobile phone.
5. mobile terminal enters a device for test pattern fast, it is characterized in that, described device comprises:
Test starting script unit, for starting the necessary application program of test, the level state that this test starting script unit is corresponding according to the GPIO port of mobile terminal starts;
GPIO port identification unit, for when carrying out start test to described mobile terminal, carries out detection to the level state of its GPIO port and identifies;
Perform processing unit, for after carry out detection identification to the level state of GPIO port, if detect the level state recognizing the GPIO port of coupling, then start corresponding test starting script, make mobile terminal directly enter test pattern, otherwise mobile terminal enter normal boot-strap pattern.
6. device according to claim 5, is characterized in that: the test starting script in described test starting script unit, by mobile terminal first brush version time its burning is stored in mobile terminal.
7. device according to claim 6, is characterized in that: the mode that described GPIO port identification unit is detected by GPIO button or thimble detects detects the level state identifying GPIO port.
8. the method according to any one of claim 5 ~ 7, is characterized in that: described mobile terminal is mobile phone.
CN201410503711.0A 2014-09-26 2014-09-26 A kind of mobile terminal rapidly enters the method and its device of test pattern Expired - Fee Related CN104239211B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410503711.0A CN104239211B (en) 2014-09-26 2014-09-26 A kind of mobile terminal rapidly enters the method and its device of test pattern

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410503711.0A CN104239211B (en) 2014-09-26 2014-09-26 A kind of mobile terminal rapidly enters the method and its device of test pattern

Publications (2)

Publication Number Publication Date
CN104239211A true CN104239211A (en) 2014-12-24
CN104239211B CN104239211B (en) 2018-07-06

Family

ID=52227327

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410503711.0A Expired - Fee Related CN104239211B (en) 2014-09-26 2014-09-26 A kind of mobile terminal rapidly enters the method and its device of test pattern

Country Status (1)

Country Link
CN (1) CN104239211B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104730377A (en) * 2015-01-30 2015-06-24 深圳市中兴移动通信有限公司 System mode switching system and method and terminal
CN106649006A (en) * 2016-09-30 2017-05-10 广州视源电子科技股份有限公司 Method and system for automatic test of board start
CN108491285A (en) * 2018-02-23 2018-09-04 广东欧珀移动通信有限公司 Data guard method and Related product applied to testing for electrical equipment
CN108920307A (en) * 2018-07-10 2018-11-30 郑州云海信息技术有限公司 Server Restart test method, device, equipment and computer readable storage medium
CN109101247A (en) * 2018-07-25 2018-12-28 紫光华山信息技术有限公司 The method, apparatus and server of driver are installed
CN116382810A (en) * 2023-06-06 2023-07-04 荣耀终端有限公司 META mode starting method, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101000549A (en) * 2006-01-11 2007-07-18 英特维数位科技股份有限公司 Electronic device with accelerated boot process and method for the same
CN101211291A (en) * 2006-12-31 2008-07-02 迈普(四川)通信技术有限公司 Method for testing memory in embedded system
CN101350989A (en) * 2008-08-18 2009-01-21 嘉兴闻泰通讯科技有限公司 Plug adapter for a mobile terminal
CN103139597A (en) * 2013-02-19 2013-06-05 南通同洲电子有限责任公司 Test method and digital television terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101000549A (en) * 2006-01-11 2007-07-18 英特维数位科技股份有限公司 Electronic device with accelerated boot process and method for the same
CN101211291A (en) * 2006-12-31 2008-07-02 迈普(四川)通信技术有限公司 Method for testing memory in embedded system
CN101350989A (en) * 2008-08-18 2009-01-21 嘉兴闻泰通讯科技有限公司 Plug adapter for a mobile terminal
CN103139597A (en) * 2013-02-19 2013-06-05 南通同洲电子有限责任公司 Test method and digital television terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周楠: "基于Android平台智能手机可靠性生产测试模式的实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104730377A (en) * 2015-01-30 2015-06-24 深圳市中兴移动通信有限公司 System mode switching system and method and terminal
CN104730377B (en) * 2015-01-30 2018-09-04 努比亚技术有限公司 System, method and the terminal of switching system pattern
CN106649006A (en) * 2016-09-30 2017-05-10 广州视源电子科技股份有限公司 Method and system for automatic test of board start
CN108491285A (en) * 2018-02-23 2018-09-04 广东欧珀移动通信有限公司 Data guard method and Related product applied to testing for electrical equipment
CN108491285B (en) * 2018-02-23 2021-08-06 Oppo广东移动通信有限公司 Data protection method applied to electronic equipment test and related product
CN108920307A (en) * 2018-07-10 2018-11-30 郑州云海信息技术有限公司 Server Restart test method, device, equipment and computer readable storage medium
CN109101247A (en) * 2018-07-25 2018-12-28 紫光华山信息技术有限公司 The method, apparatus and server of driver are installed
CN109101247B (en) * 2018-07-25 2022-02-11 新华三信息技术有限公司 Method and device for installing driver and server
CN116382810A (en) * 2023-06-06 2023-07-04 荣耀终端有限公司 META mode starting method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN104239211B (en) 2018-07-06

Similar Documents

Publication Publication Date Title
CN104239211A (en) Method and device for enabling mobile terminal to rapidly enter test mode
CN105094903B (en) The method and device that firmware is upgraded
KR101332815B1 (en) Apparatus and method for handling the rebooting of mobile terminal
CN102945652B (en) Method and system for solving abnormal display of display screen
US8959394B2 (en) Electronic device, system, and method for testing exception handling mechanism
CN103593281B (en) Test macro and method of testing
CN106933593B (en) System switching method and device based on mobile terminal
CN104166610A (en) Mobile terminal detection method and detection system
US9641913B2 (en) Smart terminal information display method and smart terminal
CN104090855A (en) Method and device for making USB (universal serial bus) mode and MHL (mobile high-definition link) mode of USB interface compatible
TW201342044A (en) Method for detecting hardware
CN105260275A (en) Power on/off testing method applicable to automatic configuration partition of high-end host computer
CN103927242A (en) Display card testing system and display card testing method
CN102073602A (en) Computer system, connection control device as well as connecting and disconnecting method
CN105260077B (en) The detection method of electronic equipment and its capacitive touch screen
CN104994459B (en) Terminal digital power amplifier configuration method and device
CN105740025A (en) Bluetooth based firmware program upgrading method and apparatus
WO2015117356A1 (en) Start-up method and communication terminal
CN107608923B (en) Test processing method and related product
CN103823725A (en) Debugging device and debugging method
CN112579369B (en) Multithreading brushing system, method, device, equipment and storage medium
CN109086154B (en) Device and method for detecting countdown of BIOS watchdog function
CN106101838A (en) The processing method of CI module and digit receiving terminal in quick turn-on
CN107451067B (en) Processing method for downloading test and related product
US20100180282A1 (en) Computer system and method for installing driver program in the computer system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180706

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