CN106154158B - Terminal motor detecting method and device - Google Patents

Terminal motor detecting method and device Download PDF

Info

Publication number
CN106154158B
CN106154158B CN201510169293.0A CN201510169293A CN106154158B CN 106154158 B CN106154158 B CN 106154158B CN 201510169293 A CN201510169293 A CN 201510169293A CN 106154158 B CN106154158 B CN 106154158B
Authority
CN
China
Prior art keywords
motor
vibrations
terminal
parameter
model
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.)
Active
Application number
CN201510169293.0A
Other languages
Chinese (zh)
Other versions
CN106154158A (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.)
Xiaomi Inc
Original Assignee
Xiaomi 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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510169293.0A priority Critical patent/CN106154158B/en
Publication of CN106154158A publication Critical patent/CN106154158A/en
Application granted granted Critical
Publication of CN106154158B publication Critical patent/CN106154158B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The disclosure is directed to a kind of terminal motor detecting method and devices, are applied to mobile terminal, and method includes: to receive motor detecting instruction;It is instructed according to the motor detecting, corresponding motor starts to shake in controlling terminal;Obtain the vibrations parameter that the sensor in the terminal detects;The test result of the motor is generated according to the vibrations parameter.Can fast and accurately judge whether terminal motor is qualified in the case where not using external equipment, avoid because judging that whether motor is qualified in terminal, causes the problem that test accuracy is lower using artificial range estimation.

Description

Terminal motor detecting method and device
Technical field
This disclosure relates to electronic product the field of test technology more particularly to a kind of terminal motor detecting method and device.
Background technique
With the continuous development of technology, smart phone is no longer a simple call tool, and becomes more and more intelligent Change.Smart phone can not only be used by the user to realize many functions, such as: voice communication, text chat, digital map navigation and game Amusement etc..User do not use smart phone in the case where, can receive smart phone sending new information remind, when user not Facilitate in the case where receiving smart phone voice reminder, the vibration that can also be generated using motor in smart phone, to remind use Family, and the vibrating effect of motor directly affects user experience in smart phone.
In order to test wait which whether the motor in the smart phone that dispatches from the factory is qualified, some manufacturers usually allow smart phone to be measured to be placed on On test platform, after smart phone shakes a period of time, by estimating the offset size of its shock position, to judge the intelligence Whether the motor in energy mobile phone is qualified.However, since the offset of most smart phone vibration is smaller, it only can not be accurate with range estimation Judge whether the motor for cell phone in intelligence is qualified, when user buys smart phone underproof containing motor, it is likely that because Motor vibration amplitude it is excessive or too small, bring adverse effect to user, influence user experience.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides a kind of terminal motor detecting method and device.
The embodiment of the present disclosure in a first aspect, providing a kind of terminal motor detecting method, comprising:
Receive motor detecting instruction;
It is instructed according to the motor detecting, corresponding motor starts to shake in controlling terminal;
Obtain the vibrations parameter that the sensor in the terminal detects;
The test result of the motor is generated according to the vibrations parameter.
With reference to first aspect, in the first possible implementation of the first aspect, described to obtain in the terminal The vibrations parameter that sensor detects, comprising:
Obtain the maximum magnitude of vibrations and minimum magnitude of vibrations that the sensor detects;
Operation will be carried out between the maximum magnitude of vibrations and the minimum magnitude of vibrations, determines the vibration ginseng of the terminal Number, the vibrations parameter include: the operation difference between the maximum magnitude of vibrations and the minimum magnitude of vibrations.
The possible implementation of with reference to first aspect the first, in second of possible implementation of first aspect, packet It includes:
Obtain the model of the motor;
According to the model of the motor, parameter preset table corresponding with the model, the parameter preset table packet are inquired Include the corresponding relationship between the vibrations parameter and the shock conditions of the motor.
Second of implementation with reference to first aspect, it is described in the third possibility implementation of first aspect The test result of the motor is generated according to the vibrations parameter, comprising:
According to the vibrations parameter, parameter preset table corresponding with the model is inquired;
When the vibrations parameter is in the first preset range, the motor is labeled as qualified motor;
When the vibrations parameter is in the second preset range, the motor is marked into unqualified motor.
With reference to first aspect, in a fourth possible implementation of the first aspect, further includes:
Detect whether the motor starts to shake;
After the motor starts vibration, directly or after the preset time of interval, the acquisition institute is executed within the set time The step of stating the vibrations parameter that the sensor in terminal detects.
The second aspect of the embodiment of the present disclosure provides a kind of terminal motor testing apparatus, comprising:
Command reception module, for receiving motor detecting instruction;
Control module, for being instructed according to the motor detecting, corresponding motor starts to shake in controlling terminal;
Parameter acquisition module, the vibrations parameter detected for obtaining the sensor in the terminal;
Test result generation module, for generating the test result of the motor according to the vibrations parameter.
In conjunction with second aspect, in the first of second aspect in possible implementation, the parameter acquisition module, packet It includes:
Amplitude acquisition submodule, for obtaining the maximum magnitude of vibrations and minimum magnitude of vibrations that the sensor detects;
Operation submodule is determined for will carry out operation between the maximum magnitude of vibrations and the minimum magnitude of vibrations The vibrations parameter of the terminal, the vibrations parameter include: the fortune between the maximum magnitude of vibrations and the minimum magnitude of vibrations Calculate difference.
It is also wrapped in a second possible implementation of the second aspect in conjunction with the first implementation of second aspect It includes:
Motor model obtains module, for obtaining the model of the motor;
Searching module inquires parameter preset table corresponding with the model for the model according to the motor, described Parameter preset table includes the corresponding relationship between the vibrations parameter and the shock conditions of the motor.
In conjunction with second of implementation of second aspect, in the third possible implementation of second aspect, the survey Test result generation module, comprising:
Submodule is searched, according to the vibrations parameter, inquires parameter preset table corresponding with the model;
First label submodule, for when the vibrations parameter is in the first preset range, the motor to be labeled as Qualified motor;
Second label submodule, for when the vibrations parameter is in the second preset range, the motor to be marked not Qualified motor.
The third aspect of the embodiment of the present disclosure provides a kind of terminal, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive motor detecting instruction;
It is instructed according to the motor detecting, corresponding motor starts to shake in controlling terminal;
Obtain the vibrations parameter that the sensor in the terminal detects;
The test result of the motor is generated according to the vibrations parameter.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The terminal motor detecting method and device that the disclosure provides can be utilized in the case where not using external equipment The vibrations parameter that built-in sensor detects in terminal generates the test result of motor in terminal according to the vibrations parameter, Can fast and accurately judge whether terminal motor is qualified, avoid because judging whether motor closes in terminal using artificial range estimation Lattice cause the problem that test accuracy is lower.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
In order to illustrate more clearly of the embodiment of the present disclosure or technical solution in the prior art, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart for terminal motor detecting method that one embodiment of the disclosure provides;
Fig. 2 is the flow chart of step S130 in Fig. 1;
Fig. 3 is the flow chart of terminal motor detecting method after step S130 in Fig. 1;
Fig. 4 is the flow chart of terminal motor detecting method before step S130 in Fig. 1;
Fig. 5 is a kind of schematic diagram for terminal motor testing apparatus that one embodiment of the disclosure provides;
Fig. 6 is a kind of schematic diagram for terminal motor testing apparatus that the another embodiment of the disclosure provides;
Fig. 7 is a kind of schematic diagram for terminal motor testing apparatus that the another embodiment of the disclosure provides;
Fig. 8 is the block diagram of the terminal provided in one embodiment of the disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
It, can not be accurately fast in order to solve to measure in the related technology using artificial range estimation to the motor in smart phone The problem of test the motor of smart phone of speed, the embodiment of the present disclosure provides firstly a kind of terminal motor detecting side Method, as shown in Figure 1, comprising the following steps:
In step s 110, motor detecting instruction is received.
In the embodiment of the present disclosure, the test to motor in terminal is primarily referred to as to the test of motor, terminal can be intelligence The equipment such as mobile phone or tablet computer.Terminal can issue the tinkle of bells or generate vibration to remind user to carry out relevant operation, and one In a little particular surroundings, user is not intended to remind user by the tinkle of bells, and at this moment the big more options of user allow terminal to generate vibration and disappear Breath is reminded.For example, user in session when, smart phone is often adjusted to vibration mode;Or user by smart phone or When tablet computer plays game, smart phone or tablet computer can also be made to issue vibration to remind user.User is by terminal tune When section is vibrating mode, if terminal is in vibration, if magnitude of vibrations is too small, user can many times miss terminal Vibration reminding, brought a negative impact to user;If the magnitude of vibrations of terminal is too big, it is likely that influence the normal work of user Make, also can bring deleterious effect to user.Due to the vibration of terminal be as caused by the motor vibration in the terminal, The effect of motor vibration directly affects user to the user experience of terminal in terminal.Influence terminal in motor vibration effect because Element specifically includes that the installation question of the unqualified problem and motor of itself of motor in the terminal.Wherein, motor itself not Qualified problem is typically due to the damage of motor, cannot normally work, and this kind of motor is become unqualified motor.Motor exists Installation question in terminal, usually motor be fitted without when being installed to terminal or motor in use for some time, This kind of motor can be known as installation question motor by the problem of being not normally functioning.
Wherein, motor detecting instruct, can according to the actual needs, when needing to test the motor in terminal, Terminal can receive exterior terminal and send motor detecting instruction, and terminal generates motor detecting according to external command, in terminal inner Instruction.It can also be depending on the user's operation, generate motor detecting instruction in the terminal, then according to motor detecting instruction pair Motor in terminal is tested.
In the step s 120, it is instructed according to motor detecting, corresponding motor starts to shake in controlling terminal.
It in the embodiment of the present disclosure, is carried out in test process to the motor in terminal, as built in the motor in terminal eventually In end, in the case where not dismantling terminal, need to be tested during motor running.And the operating meeting of motor Vibration is generated, the vibration of motor will drive the vibration of terminal.If motor is damaged or is not installed in the terminal, horse Vibration up to sending has abnormal, to cause terminal magnitude of vibrations excessive or too small problem.The shake according to terminal is needed in user When the sound of sense or vibration obtains the prompting message that terminal is sent, if the motor in the terminal is unqualified motor or installation Problem motor, it is likely that the magnitude of vibrations for motor occur is excessive or too small, adversely affects to user, influences user experience.
Therefore, in the case where not using external equipment, the embodiment of the present disclosure is carried out using the sensor carried in terminal Detection obtains vibrations parameter, and the vibrations parameter detected according to the sensor, is further tested motor.
In step s 130, the vibrations parameter that the sensor in terminal detects is obtained.
In the embodiment of the present disclosure, in order to quickly and effectively test the motor in terminal, it can use in terminal certainly The parameter information that the sensor of band detects, by the parameter information into operation and judgement, to determine that the motor in terminal shakes Dynamic test result.
In the embodiments of the present disclosure, as shown in Fig. 2, step S130 may comprise steps of.
In step S131, the maximum magnitude of vibrations and minimum magnitude of vibrations that sensor detects are obtained.
In the embodiment of the present disclosure, terminal can be smart phone or tablet computer.By taking smart phone as an example, smart phone can To meet, user is a variety of to use function.In order to meet the use demand of user, the built-in many sensors of meeting, example in smart phone Such as, smart phone overheat and the temperature sensor that is placed in order to prevent, in order to realize direction positioning function and built-in direction passes Sensor, in order to facilitate the pressure sensor etc. that user carries out contact action and is arranged.The embodiment of the present disclosure can use intelligence Built-in acceleration transducer detects in mobile phone parameter value tests the motor in mobile phone.
By taking smart phone as an example, the effect of acceleration transducer in lower smart phone is introduced first.
Acceleration transducer is a kind of electronic equipment that can measure acceleration, and acceleration is that object is made in accelerator With the power on object.The active force that smart phone is subject to includes the work inside the applied external force and smart phone of smart phone Firmly.For example, the acceleration transducer in the smart phone, which can detect, is applied to this when smart phone does non-uniform movement Dynamics value on smart phone.The active force inside smart phone is acted on, it is right when can be the motor vibration in smart phone Therefore the active force of smart phone when the vibration of the motor in smart phone, will drive the smart phone and be shaken, should Acceleration transducer in smart phone can detect the shaking force angle value of the smart phone, wherein the dynamics value may include Maximum shock value and minimum shock value.
It should be noted that the acceleration transducer in terminal not only can detecte in terminal because motor vibration gives terminal band The shaking force angle value come, can also detect the dynamics value generated due to external action to terminal.Therefore, terminal is being carried out to terminal During motor detecting, in order to reduce other applied external forces to test bring interference, should make terminal be in it is static or In the environment of uniform motion, the motor in terminal is tested.
In step S132, maximum magnitude of vibrations and minimum magnitude of vibrations are performed mathematical calculations, determine the shake of terminal Dynamic parameter.
In the embodiment of the present disclosure, the maximum magnitude of vibrations and minimum magnitude of vibrations detect to acceleration transducer is transported It calculates, can be the maximum magnitude of vibrations and minimum magnitude of vibrations such as to be added, be multiplied or subtract each other and operate.The present embodiment shakes maximum Amplitude and minimum magnitude of vibrations are subtracted each other, in order to after uniformly subtracting each other as a result, maximum magnitude of vibrations can be subtracted to minimum vibration width Value, or absolute value is sought after the two is made the difference.
Due to different intelligent terminals, the motor model of use is different, in order to accurately be tested terminal motor to be measured, After step s 130, in the embodiments of the present disclosure, as shown in figure 3, should further include the step of:
In step S133, the model of motor in terminal is obtained.
Terminal includes a variety of, such as smart phone and tablet computer, and every kind of terminal includes many models again.Without Motor in same terminal can include Multiple Type again, and the motor performance of different model is different.Due to different model The maximum vibration amplitude of motor is different with minimum vibration amplitude, it is thus impossible to which the motor of different model is used unified standard It is tested, should also establish the parameter preset under the model of each motor between vibrations parameter and the shock conditions of motor Table.After getting the model of motor, so that it may search parameter preset table corresponding with the model.
In step S134, according to the model of motor, the default ginseng between vibrations parameter and the shock conditions of motor is searched Number table.
Since motor includes different model, the motor vibration situation of every kind of model is different, therefore, initially sets up each Parameter preset table under the model of motor between vibrations parameter and the shock conditions of motor.
Its process for establishing the corresponding parameter preset table of every kind of difference motor model, may is that and pass through acceleration transducer Detect that numberical range locating for maximum magnitude of vibrations that the motor vibration generates terminal and the motor vibration produce terminal Raw minimum amplitude, and obtain the motor of the model under normal circumstances, maximum magnitude of vibrations subtracts the resulting fortune of minimum amplitude Calculate the numberical range where difference, i.e. the motor number numberical range where vibrations parameter under nominal operating conditions.When vibration is joined When number is not in above-mentioned numberical range, it is possible to determine that the motor of the model is unqualified motor, is improper operating.By the model In the numberical range write-in parameter preset table of vibrations parameter when lower motor runs well and when improper operating.
When the motor of a certain terminal is after vibration test, the vibrations parameter that acceleration transducer detects is normal beyond it Numberical range when, it is possible to determine that the motor be unqualified motor.It is damage motor to further distinguish unqualified motor, Or since installation question becomes unqualified motor, the vibrations parameter of the unqualified motor measured every time is stored, and leads to It crosses related art method and further judges the underproof type of the motor.After repeatedly test, damage horse can be determined Up to the range with installation question motor in vibration, where vibrations parameter.Under the model of same motor, the model is established The parameter preset table of vibrations parameter and the shock conditions of the motor.When the motor again to a certain model is tested, according to The vibrations parameter measured, by searching for the parameter preset table under the motor model, so that it may show whether the motor is qualified motor, If the motor is unqualified motor, it can also further judge the unqualified motor for damage motor or installation question horse It reaches.
Table 1 is shown in the embodiment of the present disclosure, the relationship under same model between vibrations parameter and motor Qualification.It needs It is noted that the maximum magnitude of vibrations in table 1, which subtracts minimum amplitude range, is only exemplary explanation, it specifically can be according to reality The case where border, is set.
Table 1
In order to more accurately obtain the vibrations parameter that the sensor in terminal detects, terminal is avoided to start to shake just When generate unstability, using noise as vibrations parameter, and then influence the test result to motor.Therefore, step S130 it Before, in the embodiments of the present disclosure, as shown in figure 4, should further include the step of:
In step S135, whether detection motor starts to shake.
In the embodiment of the present disclosure, acceleration transducer in terminal not only can be with the motor vibration of terminal inner to terminal The dynamics of generation can also detect the dynamics that external action generates terminal, such as when user shakes with hands terminal, in the terminal The acceleration transducer in portion may also detect that the active force.Therefore, should be after motor start vibration, and guarantee terminal In static or uniform motion, acceleration transducer is recycled to detect dynamics value suffered by the terminal, dynamics value at this time is It is the shock value generated by motor vibration to terminal in terminal, to avoid influence of the applied external force to terminal motor detecting.
In addition, after receiving motor detecting instruction a period of time, if detecting that the motor does not shake and operates, So the motor may damage or have installation question.In this case, can immediately arrive at the motor is unqualified motor Test result, be not necessarily to subsequent testing procedure.
In step S136, after motor starts vibration, directly or after the preset time of interval, obtain within the set time eventually The vibrations parameter that sensor in end detects.
In the embodiment of the present disclosure, after motor starts vibration, it can immediately obtain what the sensor in terminal detected Vibrations parameter can also obtain again sensor after a period of time and detect vibrations parameter.Under normal circumstances, motor in order to prevent The bring unstability when just starting vibration, such as: the vibration of motor causes the vibration of terminal, and the vibration of terminal can be made With on the object contacted with terminal so that terminal from it is static to during vibration may with external object there is a phenomenon where resonating, Cause the vibrations parameter that acceleration transducer detects in terminal unstable.Generation in order to prevent the situation, can be in motor After shaking a period of time, such as 3 seconds, the vibration ginseng that the sensor in terminal detects is obtained again after terminal vibration is stablized Number, the vibrations parameter being achieved in that is more accurate, smaller by external action, keeps the resulting test result of terminal motor detecting quasi- Exactness is high.
Further, after motor and terminal vibration tend towards stability, the biography in terminal can be obtained within the set time The vibrations parameter that sensor detects, such as: it is available that the vibrations parameter that sensor detects in terminal is obtained in 3 seconds, It can also be set accordingly according to the needs of actual conditions.
In step S140, the test result of motor is generated according to vibrations parameter.
After the vibrations parameter that the sensor got in terminal detects, the end can be generated according to the vibrations parameter The test result of motor in end.
According to the model for the motor that above-mentioned steps are got, parameter preset table corresponding with the model is found, further according to The vibrations parameter got inquires the parameter preset table, inquires motor vibration situation corresponding with the vibrations parameter, wherein The shock conditions of motor include: qualified motor and unqualified motor, and unqualified motor includes: damage motor and installation question horse It reaches.
Illustratively, parameter preset table corresponding with the model of the motor can be inquired according to the vibrations parameter of motor.
When vibrations parameter is in the first preset range, motor is labeled as qualified motor.
When vibrations parameter is in the second preset range, motor is labeled as unqualified motor.
Further, when vibrations parameter is in the first range of the second preset range, by motor labeled as damage motor; When vibrations parameter is in the second range of the second preset range, motor is labeled as installation question motor.Wherein, installation question Motor, it may be possible to due to not installing correctly, cause motor operation unsmooth etc., it is also possible to since motor is in operation a period of time Later, due to the superstructure loosening of fixing motor or the situation for causing the operation of motor unsmooth that falls off.Damaging motor may be motor Cause to run unsmooth etc. or motor after running for a period of time due to unqualified during installation, the case where itself damage occurs.
The terminal motor detecting method that the embodiment of the present disclosure provides can be utilized in the case where not using external equipment The vibrations parameter that built-in sensor detects in intelligent terminal generates the test knot of motor in terminal according to the vibrations parameter Fruit, and then fast and accurately judge whether terminal motor is qualified, it avoids because judging that motor is in terminal using artificial range estimation No qualification causes the problem that test accuracy is lower.
In addition, the terminal motor detecting method that the embodiment of the present disclosure provides, it can be according to the model of motor in terminal, at this Under motor model, the parameter preset table between the motor pre-established and motor vibration situation is inquired, and look into according to vibrations parameter Corresponding motor detecting in parameter preset table is looked for as a result, accurately showing that the motor is qualified motor and is unqualified motor.
By the description of above embodiment of the method, it is apparent to those skilled in the art that the disclosure can Realize by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases the former It is more preferably embodiment.Based on this understanding, the technical solution of the disclosure substantially makes tribute to the prior art in other words The part offered can be embodied in the form of software products, which is stored in a storage medium, packet Some instructions are included to use so that a computer equipment (can be personal computer, server or the network equipment etc.) executes The all or part of the steps of each embodiment the method for the disclosure.And storage medium above-mentioned includes: read-only memory (ROM), the various media that can store program code such as random access memory (RAM), magnetic or disk.
Further, as the realization to the various embodiments described above, the embodiment of the present disclosure additionally provides a kind of terminal motor survey Trial assembly is set, which is located in terminal, as shown in figure 5, the device includes: command reception module 10, shake control module 20, ginseng Number obtains module 30 and test result generation module 40.Wherein:
Command reception module 10 is configured as receiving motor detecting instruction;
Shake control module 20 is configured as being instructed according to the motor detecting, and corresponding motor starts to shake in controlling terminal It is dynamic;
Parameter acquisition module 30 is configured as obtaining the vibrations parameter that the sensor in the terminal detects;
Test result generation module 40 is configured as generating the test result of the motor according to the vibrations parameter.
In addition, as shown in fig. 6, motor testing apparatus in another embodiment of the disclosure, in terminal, further includes:
Motor model obtains module 50 and is configured as obtaining the model of the motor;
Searching module 60 is configured as the model according to the motor, inquires parameter preset corresponding with the model Table, the parameter preset table include the corresponding relationship between the vibrations parameter and the shock conditions of the motor.
Further, in another embodiment of the disclosure, as shown in fig. 7, parameter acquisition module 30, comprising:
Amplitude acquisition submodule 31 is configured as obtaining the maximum magnitude of vibrations and minimum vibration that the sensor detects Amplitude;
Operation submodule 32 is configured as that operation will be carried out between the maximum magnitude of vibrations and the minimum magnitude of vibrations, really The vibrations parameter of the terminal is made, the vibrations parameter includes: between the maximum magnitude of vibrations and the minimum magnitude of vibrations Operation difference.
As shown in fig. 7, test result generation module 40, comprising:
Submodule 41 is searched to be configured as inquiring parameter preset corresponding with the model according to the vibrations parameter Table;
First label submodule 42 is configured as when the vibrations parameter is in the first preset range, by the motor mark It is denoted as qualified motor;
Second label submodule 43 is configured as when the vibrations parameter is in the second preset range, by the motor mark Remember unqualified motor.
The terminal motor testing apparatus that the embodiment of the present disclosure provides can be utilized in the case where not using external equipment The vibrations parameter that built-in sensor detects in intelligent terminal generates the test knot of motor in terminal according to the vibrations parameter Fruit can fast and accurately judge whether terminal motor is qualified, avoid because judging that motor is in terminal using artificial range estimation No qualification causes the problem that accuracy is lower.In addition, the terminal motor testing apparatus that the embodiment of the present disclosure provides, it can basis The model of motor in terminal inquires the parameter preset table between the motor of the model pre-established and motor vibration situation, and According to corresponding motor detecting in vibrations parameter lookup parameter preset table as a result, showing whether the motor is qualified motor.
Fig. 8 is a kind of block diagram of terminal 800 shown according to an exemplary embodiment.For example, terminal 800 can be movement Phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices, body-building equipment, Personal digital assistant etc..
Referring to Fig. 8, terminal 800 may include following one or more components: processing component 802, memory 804, power supply Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, and Communication component 816.
The integrated operation of the usual controlling terminal 800 of processing component 802, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 802 may include that one or more processors 820 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more modules, just Interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, it is more to facilitate Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in terminal 800.These data are shown Example includes the instruction of any application or method for operating in terminal 800, contact data, and telephone book data disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of terminal 800.Power supply module 806 may include power management system System, one or more power supplys and other with for terminal 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen of one output interface of offer between the terminal 800 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When terminal 800 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when terminal 800 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set Part 816 is sent.In some embodiments, audio component 810 further includes a loudspeaker, is used for output audio signal.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for terminal 800 is commented Estimate.For example, sensor module 814 can detecte the state that opens/closes of terminal 800, and the relative positioning of component, for example, it is described Component is the display and keypad of terminal 800, and sensor module 814 can also detect 800 1 components of terminal 800 or terminal Position change, the existence or non-existence that user contacts with terminal 800,800 orientation of terminal or acceleration/deceleration and terminal 800 Temperature change.Sensor module 814 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between terminal 800 and other equipment.Terminal 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, terminal 800 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of terminal 800 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of terminal 800 When device executes, so that terminal 800 is able to carry out a kind of information processing method, which comprises
Receive motor detecting instruction;
It is instructed according to the motor detecting, corresponding motor starts to shake in controlling terminal;
Obtain the vibrations parameter that the sensor in the terminal detects;
The test result of the motor is generated according to the vibrations parameter.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device or For system embodiment, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to method The part of embodiment illustrates.Apparatus and system embodiment described above is only schematical, wherein the conduct The unit of separate part description may or may not be physically separated, component shown as a unit can be or Person may not be physical unit, it can and it is in one place, or may be distributed over multiple network units.It can root According to actual need that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.Ordinary skill Personnel can understand and implement without creative efforts.
It should be noted that, in this document, the relational terms of such as " first " and " second " or the like are used merely to one A entity or operation with another entity or operate distinguish, without necessarily requiring or implying these entities or operation it Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to Cover non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or setting Standby intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in the process, method, article or apparatus that includes the element.
The above is only the specific embodiment of the disclosure, is made skilled artisans appreciate that or realizing this public affairs It opens.Various modifications to these embodiments will be apparent to one skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or the scope of the present disclosure.Therefore, the disclosure It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (8)

1. a kind of terminal motor detecting method characterized by comprising
Receive motor detecting instruction;
It is instructed according to the motor detecting, corresponding motor starts to shake in controlling terminal;
Obtain the vibrations parameter that the sensor in the terminal detects;
The test result of the motor is generated according to the vibrations parameter;
The vibrations parameter that the sensor obtained in the terminal detects, comprising:
Obtain the maximum magnitude of vibrations and minimum magnitude of vibrations that the sensor detects;
Operation will be carried out between the maximum magnitude of vibrations and the minimum magnitude of vibrations, determines the vibrations parameter of the terminal, The vibrations parameter includes: the operation difference between the maximum magnitude of vibrations and the minimum magnitude of vibrations.
2. terminal motor detecting method according to claim 1, which is characterized in that further include:
Obtain the model of the motor;
According to the model of the motor, parameter preset table corresponding with the model is inquired, the parameter preset table includes institute State the corresponding relationship between vibrations parameter and the shock conditions of the motor.
3. terminal motor detecting method according to claim 2, which is characterized in that described to be generated according to the vibrations parameter The test result of the motor, comprising:
According to the vibrations parameter, parameter preset table corresponding with the model is inquired;
When the vibrations parameter is in the first preset range, the motor is labeled as qualified motor;
When the vibrations parameter is in the second preset range, the motor is marked into unqualified motor.
4. terminal motor detecting method according to claim 1, which is characterized in that further include:
Detect whether the motor starts to shake;
After the motor starts vibration, directly or after the preset time of interval, the acquisition end is executed within the set time The step of vibrations parameter that sensor in end detects.
5. a kind of terminal motor testing apparatus characterized by comprising
Command reception module, for receiving motor detecting instruction;
Control module, for being instructed according to the motor detecting, corresponding motor starts to shake in controlling terminal;
Parameter acquisition module, the vibrations parameter detected for obtaining the sensor in the terminal;
Test result generation module, for generating the test result of the motor according to the vibrations parameter;
The parameter acquisition module, comprising:
Amplitude acquisition submodule, for obtaining the maximum magnitude of vibrations and minimum magnitude of vibrations that the sensor detects;
Operation submodule is determined described for will carry out operation between the maximum magnitude of vibrations and the minimum magnitude of vibrations The vibrations parameter of terminal, the vibrations parameter include: the computing error between the maximum magnitude of vibrations and the minimum magnitude of vibrations Value.
6. terminal motor testing apparatus according to claim 5, which is characterized in that further include:
Motor model obtains module, for obtaining the model of the motor;
Searching module inquires parameter preset table corresponding with the model, the parameter for the model according to the motor Preset table includes the corresponding relationship between the vibrations parameter and the shock conditions of the motor.
7. terminal motor testing apparatus according to claim 6, which is characterized in that the test result generation module, packet It includes:
Submodule is searched, according to the vibrations parameter, inquires parameter preset table corresponding with the model;
First label submodule, for when the vibrations parameter is in the first preset range, the motor to be labeled as qualification Motor;
Second label submodule, for the motor being marked unqualified when the vibrations parameter is in the second preset range Motor.
8. a kind of terminal characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive motor detecting instruction;
It is instructed according to the motor detecting, corresponding motor starts to shake in controlling terminal;
Obtain the vibrations parameter that the sensor in the terminal detects;
The test result of the motor is generated according to the vibrations parameter;
The vibrations parameter that the sensor obtained in the terminal detects, comprising:
Obtain the maximum magnitude of vibrations and minimum magnitude of vibrations that the sensor detects;
Operation will be carried out between the maximum magnitude of vibrations and the minimum magnitude of vibrations, determines the vibrations parameter of the terminal, The vibrations parameter includes: the operation difference between the maximum magnitude of vibrations and the minimum magnitude of vibrations.
CN201510169293.0A 2015-04-10 2015-04-10 Terminal motor detecting method and device Active CN106154158B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510169293.0A CN106154158B (en) 2015-04-10 2015-04-10 Terminal motor detecting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510169293.0A CN106154158B (en) 2015-04-10 2015-04-10 Terminal motor detecting method and device

Publications (2)

Publication Number Publication Date
CN106154158A CN106154158A (en) 2016-11-23
CN106154158B true CN106154158B (en) 2019-06-14

Family

ID=57336116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510169293.0A Active CN106154158B (en) 2015-04-10 2015-04-10 Terminal motor detecting method and device

Country Status (1)

Country Link
CN (1) CN106154158B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106772033B (en) * 2016-11-30 2019-08-20 维沃移动通信有限公司 A kind of method and mobile terminal for testing motor driveability
CN107197071A (en) * 2017-06-28 2017-09-22 上海创功通讯技术有限公司 The motor vibration intensity calibration method and system of mobile terminal
CN108920126B (en) * 2018-06-14 2021-10-15 Oppo广东移动通信有限公司 Ringtone volume processing method and device, storage medium and terminal
CN111948533A (en) * 2019-05-17 2020-11-17 友华科技(香港)有限公司 Closed-loop motor detection method
WO2021000188A1 (en) * 2019-06-30 2021-01-07 瑞声声学科技(深圳)有限公司 Method and apparatus for presenting motor information, and computer device
CN111044290B (en) * 2019-12-29 2022-03-11 歌尔光学科技有限公司 Detection method and detection system of linear motor
CN111400887A (en) * 2020-03-11 2020-07-10 瑞声科技(新加坡)有限公司 Motor evaluation method, storage medium and computer terminal
CN111798865A (en) * 2020-07-07 2020-10-20 北京字节跳动网络技术有限公司 Terminal motor detection method and device, terminal and storage medium
CN114543976A (en) * 2020-11-25 2022-05-27 北京小米移动软件有限公司 Linear motor testing method and device, electronic equipment and medium
CN113242503A (en) * 2021-04-26 2021-08-10 猫岐智能科技(上海)有限公司 Self-checking method for loudspeaker
CN113285654B (en) * 2021-07-23 2021-09-24 山东辛丁技术有限公司 Oil field petrochemical servo motor system based on fluid pressure actuating mechanism
CN116659782B (en) * 2022-11-22 2023-12-12 荣耀终端有限公司 Motor testing method and apparatus
CN115792612B (en) * 2022-12-15 2023-12-05 常州汉姆智能科技有限公司 Servo motor load test system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2932850Y (en) * 2006-05-26 2007-08-08 希姆通信息技术(上海)有限公司 Aging tester of mobile phone incoming call prompt motor
CN200947117Y (en) * 2006-07-21 2007-09-12 上海晨兴电子科技有限公司 Device for testing lifetime of minimotor
CN202485793U (en) * 2011-12-02 2012-10-10 湖北众友科技实业股份有限公司 Handset motor vibration testing device
CN102906994A (en) * 2010-05-20 2013-01-30 三菱电机株式会社 Motor control device
CN103674221A (en) * 2013-11-29 2014-03-26 北京兴华机械厂 Method for detecting, analyzing and screening vibration signals of motor of static-pressure liquid-floated gyro-accelerometer
CN204085566U (en) * 2014-08-22 2015-01-07 汇大机械制造(湖州)有限公司 Detecting device for motor
CN204177935U (en) * 2014-11-11 2015-02-25 昆山三多乐电子有限公司 DC motor performance detects automation equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2932850Y (en) * 2006-05-26 2007-08-08 希姆通信息技术(上海)有限公司 Aging tester of mobile phone incoming call prompt motor
CN200947117Y (en) * 2006-07-21 2007-09-12 上海晨兴电子科技有限公司 Device for testing lifetime of minimotor
CN102906994A (en) * 2010-05-20 2013-01-30 三菱电机株式会社 Motor control device
CN202485793U (en) * 2011-12-02 2012-10-10 湖北众友科技实业股份有限公司 Handset motor vibration testing device
CN103674221A (en) * 2013-11-29 2014-03-26 北京兴华机械厂 Method for detecting, analyzing and screening vibration signals of motor of static-pressure liquid-floated gyro-accelerometer
CN204085566U (en) * 2014-08-22 2015-01-07 汇大机械制造(湖州)有限公司 Detecting device for motor
CN204177935U (en) * 2014-11-11 2015-02-25 昆山三多乐电子有限公司 DC motor performance detects automation equipment

Also Published As

Publication number Publication date
CN106154158A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
CN106154158B (en) Terminal motor detecting method and device
CN104486451B (en) Application program recommends method and device
CN105138319B (en) Event-prompting method and device
WO2015130859A1 (en) Performing actions associated with individual presence
CN103929835A (en) Control method, device and system for alarm clock rings
EP3629198A1 (en) Method and device for searching for audio
CN104184897B (en) A kind of information processing method and electronic equipment
CN110868626A (en) Method and device for preloading content data
CN107204883B (en) Network fault processing method and device
CN105204542B (en) The vibration control method and device of motor
CN108647058A (en) A kind of application program launching method and mobile terminal
CN106878558A (en) Dropproof based reminding method and device
CN106060789B (en) short message identification method and device
CN105472157A (en) Method and device for monitoring terminal motion state
CN104010072A (en) Electric quantity prompt method and device
CN104123075B (en) The method of control terminal and device
CN109814942A (en) A kind of parameter processing method and device
EP3247137A1 (en) Detecting method and apparatus, computer program and recording medium
CN105323318B (en) Amending method, device and the equipment of parameter
CN106060129A (en) Information processing method and device.
CN107158685B (en) Exercise verification method and apparatus
CN105930266B (en) Webpage adjustment method and device
CN105843894A (en) Information recommending method and device
CN105677435A (en) Function invoking method, apparatus and terminal
CN105391620B (en) Information cuing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant