CN101686482A - System and method for testing vibration function of cell phone - Google Patents

System and method for testing vibration function of cell phone Download PDF

Info

Publication number
CN101686482A
CN101686482A CN200810304628A CN200810304628A CN101686482A CN 101686482 A CN101686482 A CN 101686482A CN 200810304628 A CN200810304628 A CN 200810304628A CN 200810304628 A CN200810304628 A CN 200810304628A CN 101686482 A CN101686482 A CN 101686482A
Authority
CN
China
Prior art keywords
sensor
changes
electromagnetic shaker
coordinate
coordinates
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
CN200810304628A
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.)
Shenzhen Futaihong Precision Industry Co Ltd
Chi Mei Communication Systems Inc
Original Assignee
Shenzhen Futaihong Precision Industry Co Ltd
Chi Mei Communication Systems Inc
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 Shenzhen Futaihong Precision Industry Co Ltd, Chi Mei Communication Systems Inc filed Critical Shenzhen Futaihong Precision Industry Co Ltd
Priority to CN200810304628A priority Critical patent/CN101686482A/en
Publication of CN101686482A publication Critical patent/CN101686482A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention discloses a system for testing the vibration function of a cell phone, which comprises a setting module used for setting a test time for testing a vibrator and a coordinate variation reference value of a sensor; a position reading module used for reading the coordinate of the position where the sensor is before starting the vibrator; a timer used for timing when the vibrator starts vibrating to obtain a vibrating time, wherein the position reading module is further used for reading the coordinate of the current position of the sensor when the vibrating time reaches the set test time; a comparing module used for calculating the coordinate variation value of the sensor according to the coordinate of the position of the sensor before starting the vibrator and the coordinate of the current position, and comparing whether the calculated coordinate variation valve reaches the set coordinate variation reference value of the sensor; and a prompting module used for prompting whether the test passes according to a comparison result. The invention also provides a method for testing the vibration function of the cell phone. The test efficiency can be improved by using the systemand the method for testing the vibration function of the cell phone.

Description

The system and method for testing vibration function of cell phone
Technical field
The present invention relates to a kind of system and method for testing vibration function of cell phone.
Background technology
Because mobile phone brings increasing facility to people's life, so mobile phone obtains popularizing greatly.The cellphone subscriber almost includes each age level, as child, youth, middle age and the elderly.Now, the additional function of mobile phone was more and more perfect along with improvement of Manufacturing Technology.For example, in order to adapt to various occasions, the incoming call prompt of mobile phone mode can be arranged to the tinkle of bells, quiet, vibrations etc.In order to guarantee the quality of mobile phone, mobile-phone manufacturers must test the every function of mobile phone before mobile phone dispatches from the factory.For example, the vibration function of mobile phone is tested.But mobile-phone manufacturers manually carry out the test of vibration function to mobile phone mostly at present.
Summary of the invention
In view of above content, preferred embodiment of the present invention provides a kind of system and method for testing vibration function of cell phone, and it has solved traditional manually tests the problem that the testing efficiency that causes lowly reaches the human error that the manual testing may cause to vibration function of cell phone.
A kind of system of testing vibration function of cell phone runs in the mobile phone that has electromagnetic shaker and sensor, and described electromagnetic shaker links to each other with sensor, and described mobile phone is positioned on the test platform, and described system comprises:
Module is set, is used to be provided with the testing time of test electromagnetic shaker and the changes in coordinates reference value of sensor;
The position read module is used to read the coordinate that described electromagnetic shaker is opened preceding described sensor present position;
Timer is used for carrying out timing to obtain the vibrations time when described electromagnetic shaker begins to shake;
Described position read module also is used for reading the coordinate of sensor current location when the described vibrations time reaches the testing time of setting;
Comparing module, the changes in coordinates value of the coordinate Calculation sensor of the coordinate of the position of sensor and current location before being used for opening according to electromagnetic shaker, and whether the changes in coordinates value calculated of comparison reaches the changes in coordinates reference value of the sensor of setting; And
Whether reminding module is used for pointing out this time test to pass through according to comparison result.
A kind of method of testing vibration function of cell phone runs in the mobile phone that has electromagnetic shaker and sensor, and described electromagnetic shaker links to each other with sensor, and described mobile phone is positioned on the test platform, and described method comprises:
The testing time of test electromagnetic shaker and the changes in coordinates reference value of sensor are set;
Read electromagnetic shaker and open the coordinate of preceding described sensor present position;
When beginning to shake, described electromagnetic shaker carries out timing to obtain the vibrations time;
When reaching the testing time of setting, reads the described vibrations time coordinate of sensor current location;
The changes in coordinates value of the coordinate Calculation sensor of the coordinate of the position of sensor and current location before opening according to electromagnetic shaker, and whether the changes in coordinates value calculated of comparison reaches the changes in coordinates reference value of the sensor of setting; And
Point out this time test whether to pass through according to comparison result.
Compared to prior art, the system and method for described testing vibration function of cell phone replaces traditional manual testing thereby can test the vibration function of mobile phone electromagnetic shaker automatically.Therefore, can improve testing efficiency and improve test accuracy.
Description of drawings
Fig. 1 is the functional module and the applied environment figure of the system of testing vibration function of cell phone of the present invention.
Fig. 2 is the workflow diagram of the method for testing vibration function of cell phone of the present invention.
Embodiment
As shown in Figure 1, be the functional block diagram of the system of testing vibration function of cell phone of the present invention.The system 10 of described testing vibration function of cell phone (hereinafter to be referred as " test macro 10 ") runs in the mobile phone 1 that has electromagnetic shaker 12.Described mobile phone 1 is positioned on the test platform (not shown) to be tested.The user can enable electromagnetic shaker 12 and remind mobile phone 1 to receive note or incoming call in the mode of vibrations.Described mobile phone 1 also comprises a sensor 14, is used for the variation of coordinate of the position of sensing itself, and described sensor is, but is not limited to three vibrations sensors (Accelerometer) etc.Described sensor 14 upgrades the positional information of its storage immediately when changing in its position of sensing.Described electromagnetic shaker 12 links to each other with described sensor 14.
Described mobile phone 1 also comprises an internal memory 16.Described internal memory 16 stores Various types of data, comprise operating system, various application program, and described test macro 10 processes of utilization in the set and data that generate.Described internal memory 16 can be the internal memory of this mobile phone 1, it can also be external memory card, as SM card (Smart Media Card, smart media card), SD card (SecureDigital Card, safe digital card), CF card (Compact Flash Card, standard flash memory card), mmc card (MultiMedia Card, multimedia card), MS card (Memory Stick, memory stick), XD card (Extreme DigitalCard, extreme digital card), TF card (Trans Flash Card) etc.
Described test macro 10 is the one section program that operates on the mobile phone 1, and whether normal by carrying out this test macro 10 if can test the vibration function of electromagnetic shaker 12.
Described test macro 10 mainly comprises module 100, position read module 110, timer 120, comparing module 130 and reminding module 140 is set.
The described module 110 that is provided with is used to be provided with the testing time after electromagnetic shaker 12 is opened, i.e. begin electromagnetic shaker 12 is tested after electromagnetic shaker 12 vibrations how long.The described testing time can be arranged to, as 1 second, 2 seconds or other time span that is fit to.The described module 110 that is provided with also is used to be provided with the changes in coordinates reference value of sensor 14, and described changes in coordinates reference value can be provided with according to testing requirement, as 205,273,410,819 or other numerical value that is fit to.
Described position read module 120 is used for being positioned over a test platform when mobile phone 1, and the coordinate of sensor 14 present position on described test platform before reading electromagnetic shaker 12 and opening (X, Y, Z).
Described timer 130 is used for carrying out timing to obtain the vibrations time of electromagnetic shaker 12 when electromagnetic shaker 12 is opened.
Described position read module 120, also be used for when the vibrations time of electromagnetic shaker 12 reaches the testing time, reading the current location of sensor 14 coordinate (X, Y, Z).
Described comparing module 130 is used for the coordinate Calculation changes in coordinates value according to the position of the sensor 14 that obtains before and after electromagnetic shaker 12 unlatchings, and whether the changes in coordinates value of the sensor 14 that comparison calculates reaches the coordinate reference value that sets in advance.Described comparison is by comparing the changes in coordinates reference value whether described sensor 14 changes in coordinates on the either direction in X, Y or Z direction reaches above-mentioned setting.In this preferred embodiment, the changes in coordinates reference value of described setting is 205, then comparing module 130 comparisons | X-X|, | Y-Y|, | whether there is a value to reach 205 among the Z-Z| three.If there is a changes in coordinates on the direction to reach 205, represents that then this test passes through, otherwise represent that this test do not pass through.
Described reminding module 140 is used for pointing out respectively according to the comparison result of above-mentioned comparing module 130.Particularly, when comparison confirms that the described changes in coordinates value that calculates reaches the coordinate reference value that sets in advance, point out this time test to pass through, also promptly the electromagnetic shaker 12 of this mobile phone 1 is normal; Otherwise, point out this time test crash, promptly this electromagnetic shaker 12 is unusual.Described prompting can present by sound or language.
Fig. 2 is the workflow diagram of the method for testing vibration function of cell phone of the present invention.
Step S201, the user is provided with the time that electromagnetic shaker 12 is tested and the changes in coordinates reference value of electromagnetic shaker 12 by module 110 is set.The described testing time can be arranged to, as 1 second, 2 seconds or other time span that is fit to.Described changes in coordinates reference value can be arranged to 205,273,410,819 or other numerical value that is fit to.
Step S202 is positioned over mobile phone 1 on the test platform, and described position read module reads the electromagnetic shaker 12 of sensor 14 and opens the coordinate of front position.
Step S203, electromagnetic shaker 12 is opened and is shaken, and described timer 120 timing simultaneously are to obtain the vibrations time of electromagnetic shaker 12.
Step S204 reads the coordinate of the current location of sensor 14 when the described vibrations time reaches the testing time that sets in advance.
Step S205 obtains the changes in coordinates value of a sensor according to the coordinate Calculation of the coordinate of the position of sensor 14 before electromagnetic shaker 12 vibrations and current location.
Step S206 judges whether the changes in coordinates value of the described sensor that calculates 14 on either direction on Z, Y or the Z direction reaches the changes in coordinates value of the sensor 14 that sets in advance.
In step S207, if when the changes in coordinates value of the described sensor that calculates 14 reaches the changes in coordinates value of the sensor 14 that sets in advance, then point out this time test to pass through, promptly electromagnetic shaker 12 is normal; Otherwise, enter step S308, point out this time test not pass through, promptly electromagnetic shaker 12 is unusual.

Claims (6)

1. the system of a testing vibration function of cell phone runs in the mobile phone that has electromagnetic shaker and sensor, and described electromagnetic shaker links to each other with sensor, and described mobile phone is positioned on the test platform, it is characterized in that, described system comprises:
Module is set, is used to be provided with the testing time of the described electromagnetic shaker of test and the changes in coordinates reference value of described sensor;
The position read module is used to read the coordinate that described electromagnetic shaker is opened preceding described sensor present position;
Timer is used for carrying out timing to obtain the vibrations time when described electromagnetic shaker begins to shake;
Described position read module also is used for reading the coordinate of described sensor current location when the described vibrations time reaches the testing time of setting;
Comparing module, the changes in coordinates value of the described sensor of coordinate Calculation of the coordinate of the position of sensor and described sensor current location before being used for opening according to electromagnetic shaker, and whether the changes in coordinates value calculated of comparison reaches the changes in coordinates reference value of the sensor of setting; And
Whether reminding module is used for pointing out this time test to pass through according to comparison result.
2. the system of testing vibration function of cell phone as claimed in claim 1 is characterized in that, described reminding module points out this time test to pass through when the changes in coordinates value that is calculated reaches the changes in coordinates reference value of sensor of setting; On the contrary, then point out test crash.
3. the system of testing vibration function of cell phone as claimed in claim 1 is characterized in that, the changes in coordinates value of described sensor is meant the changes in coordinates value of described sensor on X, Y, Z axle either direction.
4. the method for a testing vibration function of cell phone runs in the mobile phone that has electromagnetic shaker and sensor, and described electromagnetic shaker links to each other with sensor, and described mobile phone is positioned on the test platform, and described method comprises:
The testing time of test electromagnetic shaker and the changes in coordinates reference value of sensor are set;
Read described electromagnetic shaker and open the coordinate of preceding described sensor present position;
When beginning to shake, described electromagnetic shaker carries out timing to obtain the vibrations time;
When reaching the testing time of setting, reads the described vibrations time coordinate of sensor current location;
The changes in coordinates value of the coordinate Calculation sensor of the coordinate of the position of sensor and current location before opening according to electromagnetic shaker, and whether the changes in coordinates value calculated of comparison reaches the changes in coordinates reference value of the sensor of setting; And
Point out this time test whether to pass through according to comparison result.
5. the method for testing vibration function of cell phone as claimed in claim 4 is characterized in that, described prompting step comprises:
When reaching the changes in coordinates reference value of sensor of setting, the changes in coordinates value that is calculated point out this time test to pass through; On the contrary, then point out test crash.
6. the system of testing vibration function of cell phone as claimed in claim 4 is characterized in that, the changes in coordinates value of described sensor is meant the changes in coordinates value of described sensor on X, Y, Z axle either direction.
CN200810304628A 2008-09-24 2008-09-24 System and method for testing vibration function of cell phone Pending CN101686482A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810304628A CN101686482A (en) 2008-09-24 2008-09-24 System and method for testing vibration function of cell phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810304628A CN101686482A (en) 2008-09-24 2008-09-24 System and method for testing vibration function of cell phone

Publications (1)

Publication Number Publication Date
CN101686482A true CN101686482A (en) 2010-03-31

Family

ID=42049386

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810304628A Pending CN101686482A (en) 2008-09-24 2008-09-24 System and method for testing vibration function of cell phone

Country Status (1)

Country Link
CN (1) CN101686482A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534439A (en) * 2016-11-16 2017-03-22 努比亚技术有限公司 Vibration detection method, apparatus and terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006008598A1 (en) * 2004-07-09 2006-01-26 Axalto Sa Method to detect whether a smart card is dialoguing with a phone handset
CN2828767Y (en) * 2005-05-12 2006-10-18 上海环达计算机科技有限公司 Measuring tool for mobile phone silence vibration motor
CN101145859A (en) * 2006-09-12 2008-03-19 中兴通讯股份有限公司 Testing system and method for mobile phone single board

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006008598A1 (en) * 2004-07-09 2006-01-26 Axalto Sa Method to detect whether a smart card is dialoguing with a phone handset
CN2828767Y (en) * 2005-05-12 2006-10-18 上海环达计算机科技有限公司 Measuring tool for mobile phone silence vibration motor
CN101145859A (en) * 2006-09-12 2008-03-19 中兴通讯股份有限公司 Testing system and method for mobile phone single board

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534439A (en) * 2016-11-16 2017-03-22 努比亚技术有限公司 Vibration detection method, apparatus and terminal
CN106534439B (en) * 2016-11-16 2019-11-22 努比亚技术有限公司 Shock detection method, apparatus and terminal

Similar Documents

Publication Publication Date Title
CN104021788B (en) Sound-controlled apparatus and acoustic-controlled method
EP3652734B1 (en) Voice data processing method and electronic device supporting the same
CN109427333B (en) Method for activating speech recognition service and electronic device for implementing said method
US8581954B2 (en) Mobile communication terminal that delivers vibration information, and method thereof
JP7324313B2 (en) Voice interaction method and device, terminal, and storage medium
US20080259742A1 (en) Methods and systems for controlling alarm clocks
CN101646990A (en) Information processing terminal, method for controlling information processing terminal, and program
CN110364156A (en) Voice interactive method, system, terminal and readable storage medium storing program for executing
US11250870B2 (en) Electronic device for supporting audio enhancement and method for the same
CN106060907A (en) Positioning module control method and terminal
CN108986813A (en) Wake up update method, device and the electronic equipment of word
CN104575509A (en) Voice enhancement processing method and device
CN111524513A (en) Wearable device and voice transmission control method, device and medium thereof
CN105783900A (en) Sensor data calibrating method and device
CN103152474A (en) Mobile terminal recording method and mobile terminal
AU2019201441B2 (en) Electronic device for processing user voice input
CN110858479B (en) Voice recognition model updating method and device, storage medium and electronic equipment
CN112689872B (en) Audio detection method, computer-readable storage medium and electronic device
US10976997B2 (en) Electronic device outputting hints in an offline state for providing service according to user context
CN106126171A (en) A kind of sound effect treatment method and mobile terminal
JP2010016444A (en) Situation recognizing apparatus, situation recognizing method, and radio terminal apparatus
CN101686482A (en) System and method for testing vibration function of cell phone
CN109684006B (en) Terminal control method and device
US20220013124A1 (en) Method and apparatus for generating personalized lip reading model
CN104202482B (en) A kind of communications records treatment facility, method and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100331