Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
When mentioning ordinal numbers such as " first ", " second " when the embodiment of the invention, unless the meaning of its certain order of representation based on context, should be understood to only has been the usefulness of differentiation.
Fig. 1 is the vibration control method flow chart of a kind of portable terminal of the embodiment of the invention, and as shown in Figure 1, this method comprises:
Step 101, when meeting vibration during trigger condition, it is the vibration of initial value that portable terminal produces oscillation intensity.
Portable terminal in the embodiment of the invention for example can be mobile phone, panel computer, notebook computer, UMPC (super mobile personal computer, ultra-mobile PC), netbook (net book), PDA (personal digital assistant, and be not limited thereto personal digital assistant) etc..
The vibration trigger condition can be set in advance, when portable terminal meets this vibration trigger condition, vibration will be produced.For example: mobile phone is set when receiving incoming call, carries out vibrating alert; Then when mobile phone was received incoming call, mobile phone can produce vibration.
When portable terminal produced vibration, the oscillation intensity of the vibration of generation was default initial value.This initial value can be a less numerical value K0.
Step 102, portable terminal obtain the characteristic information of described vibration.
After portable terminal produces vibration, can get access to the characteristic information of portable terminal when vibration, this characteristic information for example can be the vibrational waveform figure when portable terminal vibrates on three-dimensional.
Step 103, portable terminal are regulated the size of the oscillation intensity of described portable terminal according to the characteristic information of described vibration.
When portable terminal is in the different environment when vibrating with same oscillation intensity, the characteristic information of corresponding vibration is different.Promptly under same oscillation intensity, the vibrational waveform figure of (for example in the pocket) was different during portable terminal was in (for example on the desktop) in the harder environment and is in softer environment.
Thus, the characteristic information of vibration can reflect portable terminal present located environment.When portable terminal was in different environment, the user was different to the perception of the vibration of portable terminal.For example, when portable terminal was in the harder environment, portable terminal only need produce less oscillation intensity, just can if this moment, portable terminal produced bigger oscillation intensity, then may be caused relatively poor user experience by user's perception; When portable terminal was in the softer environment, portable terminal need produce bigger oscillation intensity, could be by user's perception.
Portable terminal can be regulated the size of the oscillation intensity of portable terminal according to the characteristic information of vibration, and the vibration that makes portable terminal produce can be by user's perception.
The oscillation intensity that portable terminal begins to produce is a less numerical value K0, portable terminal after getting access to the characteristic information of vibration, increase oscillation intensity that can be suitable according to this characteristic information.
The embodiment of the invention, after portable terminal produced vibration, portable terminal can obtain the characteristic information of vibration, and regulated the oscillation intensity of portable terminal according to this characteristic information, make that the vibration of portable terminal can be by user's perception, thus the oscillation intensity that can regulate portable terminal flexibly.
Fig. 2 is the vibration control method flow chart of the another kind of portable terminal of the embodiment of the invention, and on basis embodiment illustrated in fig. 1, as shown in Figure 2, this method comprises:
Step 201, obtain the mapping table of vibrational waveform figure and oscillation intensity in advance, so that portable terminal can obtain the oscillation intensity that is complementary with vibrational waveform figure according to described mapping table.
Portable terminal can obtain the mapping table of vibrational waveform figure and oscillation intensity in advance.Wherein, vibrational waveform figure is: when portable terminal vibrates under a certain default oscillation intensity, and the oscillogram of the vibration of portable terminal on three-dimensional; Can collect vibrational waveform figure by the gravity sensor on the portable terminal.Concrete, the process of obtaining mapping table can be as follows: at first, and a default oscillation intensity K0, and prepare multiple applied environment in advance; Carry out the environment collection then, a plurality of vibrational waveform figure when promptly gathering portable terminal and in various environment, vibrating with oscillation intensity K0; Carry out the perception collection afterwards, be about to portable terminal and place various environment, portable terminal is vibrated with different oscillation intensitys respectively in each environment, find to make the user perceive the minimum vibration intensity of vibration in each environment; Obtain the minimum vibration intensity in vibrational waveform figure in arbitrary environment and this environment thus, the two is corresponding.Wherein, multiple applied environment for example can for: on the desktop, on the soft cloth, in user's hand or the like.
Obtain the process of mapping table: a below by the instantiation explanation, portable terminal is put on the desktop, starting portable terminal is that K0 vibrates with the oscillation intensity, gravity sensor by portable terminal is gathered the vibrational waveform figure F1 that portable terminal produces when vibrating, comprising the vibrational waveform figure on X, Y, three directions of Z, oscillation intensity when regulating portable terminal then and vibrating, portable terminal is vibrated under different oscillation intensitys, select the user by test and can perceive the minimum vibration intensity Q 1 of portable terminal when vibrating; B, portable terminal is put on the soft cloth, starting portable terminal is that K0 vibrates with the oscillation intensity, gravity sensor by portable terminal is gathered the vibrational waveform figure F2 that portable terminal produces when vibrating, select the user by test then and can perceive the minimum vibration intensity Q 2 of portable terminal when vibrating; C, same, vibrational waveform figure F3 and minimum vibration intensity Q 3 when obtaining portable terminal and being put in user's hand.In the above-mentioned data that obtain, vibrational waveform figure F1, F2, F3 are corresponding with minimum vibration intensity Q 1, Q2, Q3 respectively.In addition, vibrational waveform figure and minimum vibration intensity in the time of can also obtaining portable terminal according to demand and be in other environment.
Mapping table can obtain before portable terminal dispatches from the factory and be stored in the portable terminal, also can be gathered and be provided with according to self-demand by the user.
Need to prove, under identical oscillation intensity, when portable terminal is in different environment, the vibrational waveform figure difference that obtains; And when portable terminal was in different environment, it is also inequality that the user can perceive the minimum vibration intensity of vibration.
In another embodiment, rule of thumb data obtain mapping table, and need not to obtain mapping table by the mode of concrete sampling.
Step 202, when meeting vibration during trigger condition, it is the vibration of initial value that portable terminal produces oscillation intensity.
Wherein, the initial value at this place can be oscillation intensity K0 default in the step 201.
Step 203, by the gravity sensor of portable terminal, the vibrational waveform figure when obtaining portable terminal and vibrating on three-dimensional.The characteristic information of described vibration is vibrational waveform figure.
After portable terminal produces vibration, can get access to the vibrational waveform figure of portable terminal when vibrating.This vibrational waveform figure can reflect portable terminal present located environment.
Step 204, portable terminal obtain amplitude and the frequency of described vibrational waveform figure.
Portable terminal can obtain the information of the current environment of living in of portable terminal by analyzing vibrational waveform figure.Concrete, portable terminal can obtain amplitude and the frequency of vibrational waveform figure, makes follow-uply can assess portable terminal present located environment by amplitude and frequency.
Wherein,, illustrate that then portable terminal is on the harder object,, illustrate that then portable terminal is on the softer object if the amplitude of vibrational waveform figure and frequency are less if the amplitude of vibrational waveform figure and frequency are bigger.
Step 205, portable terminal are regulated the size of the oscillation intensity of described portable terminal according to amplitude and the frequency of described vibrational waveform figure, make the oscillation intensity and the described vibrational waveform figure of the described portable terminal after regulating be complementary.
Wherein, the oscillation intensity of the described portable terminal that is complementary with described vibrational waveform figure is: described portable terminal can be by the minimum vibration intensity of user's perception in the pairing environment of described vibrational waveform figure.
After portable terminal gets access to the amplitude and frequency of vibrational waveform figure, can from the mapping table that obtains in advance, get access to the pairing minimum vibration intensity of this vibrational waveform figure; Oscillation intensity with portable terminal is adjusted to minimum vibration intensity then.
Need to prove, because the residing environment of portable terminal cannot not be fixing and is changeable, so when getting access to vibrational waveform figure and from mapping table, obtain corresponding minimum vibration intensity, may in mapping table, not inquire the minimum vibration intensity of complete correspondence, at this moment, the vibrational waveform figure that the amplitude of the vibrational waveform figure that can inquire about in mapping table and get access to is the most close with frequency, then with the pairing minimum vibration intensity of this most close vibrational waveform figure as minimum vibration intensity to be checked.
By the scheme that the embodiment of the invention provides, make portable terminal in vibration, can regulate oscillation intensity automatically according to the difference of environment.For example: portable terminal is a mobile phone, mobile phone is placed on the conference table, when incoming call, mobile phone produces the vibration than small intensity, and get access to the vibrational waveform figure of current vibration by gravity sensor, according to amplitude and the frequency of this vibrational waveform figure, the inquiry mapping table obtains the minimum vibration intensity of this vibrational waveform figure correspondence, afterwards the current oscillation intensity of mobile phone is adjusted to this minimum vibration intensity then; Because mobile phone on the table, so only the less oscillation intensity of need just can be by user's perception, automatic adjusting intensity herein makes mobile phone can not produce bigger vibration on the table, thereby can not cause harmful effect.Again for example: mobile phone is placed in the pocket, when incoming call, mobile phone produces the vibration than small intensity, and get access to the vibrational waveform figure of current vibration by gravity sensor, then according to amplitude and the frequency of this vibrational waveform figure, the inquiry mapping table obtains the minimum vibration intensity of this vibrational waveform figure correspondence, afterwards the current oscillation intensity of mobile phone is adjusted to this minimum vibration intensity; Because mobile phone is in pocket, so the numeric ratio of corresponding minimum vibration intensity is bigger, promptly need the bigger oscillation intensity could be by user's perception, automatic adjusting intensity herein makes and can strengthen oscillation intensity, user friendly perception automatically when mobile phone is placed in the pocket.
The embodiment of the invention, after portable terminal produced vibration, portable terminal can obtain the vibrational waveform figure of vibration, and the oscillation intensity of regulating portable terminal according to this vibrational waveform figure, make that the vibration of portable terminal can be by user's perception, thus the oscillation intensity that can regulate portable terminal flexibly.The control method that the embodiment of the invention provides can be avoided can not reaching the problem of reminding purpose because the vibration prompt intensity of portable terminal is too small, can avoid influencing because the vibration prompt intensity of portable terminal is excessive user's problem again.
The structural representation of a kind of portable terminal that Fig. 3 provides for the embodiment of the invention, the portable terminal that the embodiment of the invention provides can be used to implement the method that above-mentioned Fig. 1-various embodiments of the present invention shown in Figure 2 realize, for convenience of explanation, only show the part relevant with the embodiment of the invention, concrete ins and outs do not disclose, and please refer to Fig. 1-various embodiments of the present invention shown in Figure 2.
This portable terminal can be terminal equipments such as mobile phone, panel computer, notebook computer, UMPC, net book, PDA, the embodiment of the invention is that mobile phone is that example describes with the portable terminal, and shown in Fig. 3 is the block diagram of the part-structure of the mobile phone 300 relevant with various embodiments of the present invention.
As shown in Figure 3, mobile phone 300 comprises: parts such as vibrator 310, RF (radio frequency, radio frequency) circuit 320, memory 330, input unit 340, display unit 350, gravity sensor 360, voicefrequency circuit 370, processor 380 and power supply 390.It will be understood by those skilled in the art that the handset structure shown in Fig. 3 does not constitute the qualification to mobile phone, can comprise the parts more more or less, perhaps make up some parts, perhaps different arrangements of components than diagram.
Below in conjunction with Fig. 3 each component parts of mobile phone 300 is carried out concrete introduction:
Vibrator 310 can produce vibration, thereby makes mobile phone produce vibration.Vibrator for example can add that a cam (also being eccentric wheel or centrifugal wheel) forms by a miniature common motor; And the motor outside can also be surrounded by rubber sleeve, mainly plays vibration damping and auxiliary fixation, reduces vibrator interference or damage to the mobile phone internal hardware when work.
RF circuit 320 can be used for receiving and sending messages or communication process in, the reception of signal and transmission especially, after the downlink information of base station received, handle for processor 380; In addition, the up data of design are sent to the base station.Usually, the RF circuit includes but not limited to antenna, at least one amplifier, transceiver, coupler, LNA (low noise amplifier, low noise amplifier), duplexer etc.In addition, RF circuit 320 can also be by radio communication and network and other devices communicatings.Described radio communication can be used arbitrary communication standard or agreement, include but not limited to GSM (global system of mobile communication, global system for mobile communications), GPRS (general packet radio service, general packet radio service), CDMA (code division multiple access, code division multiple access), WCDMA (wideband code division multiple access, Wideband Code Division Multiple Access (WCDMA)), LTE (long term evolution, Long Term Evolution), Email, SMS (short messaging service, Short Message Service) etc.
Memory 330 can be used for storing software program and module, and processor 380 is stored in the software program and the module of memory 330 by operation, thereby the various functions of carrying out mobile phone 300 are used and data processing.Memory 330 can mainly comprise stored program district and storage data field, wherein, but the required application program (such as sound-playing function, image playing function etc.) of stored program district storage operating system, at least one function etc.; The data (such as voice data, view data, phone directory etc.) created according to the use of mobile phone 300 etc. can be stored in the storage data field.In addition, memory 330 can comprise high-speed random access memory, can also comprise nonvolatile memory, for example at least one disk memory, flush memory device or other volatile solid-state parts.
Input unit 340 can be used for receiving the numeral or the character information of input, and generation is imported with the key signals that the user is provided with and function control is relevant of mobile phone 300.Particularly, input unit 340 can comprise touch-screen 341 and other input equipments 342.Touch-screen 341, be also referred to as contact panel, can collect the user thereon or near touch operation (use such as the user any suitable object such as finger, stylus or annex on the touch-screen 341 or near the operation touch-screen 341), and drive corresponding connecting arrangement according to predefined formula.Optionally, touch-screen 341 can comprise touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detects user's touch orientation, and the signal that brings of senses touch operation, sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, gives processor 380 again, and the order that energy receiving processor 380 is sent is also carried out.In addition, can adopt polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize touch-screen 341.Except touch-screen 341, input unit 340 can also comprise other input equipments 342.Particularly, other input equipments 342 can include but not limited to one or more in physical keyboard, function key (such as volume control button, mains switch button etc.), trace ball, mouse, the action bars etc.
Display unit 350 can be used for showing the information of being imported by the user or offering user's information and the various menus of mobile phone 300.Display unit 350 can comprise display floater 351, optionally, can adopt LCD (Liquid Crystal Display, LCD), OLED forms such as (Organic Light-Emitting Diode, Organic Light Emitting Diodes) to dispose display floater 341.Further, touch-screen 341 can cover display floater 351, when touch-screen 341 detect thereon or near touch operation after, send processor 380 to determining the type of touch event, on display floater 351, provide corresponding vision output according to the type of touch event with preprocessor 380.Though in Fig. 3, touch-screen 341 and display floater 351 be as two independently parts realize the input and the input function of mobile phone 300, but in certain embodiments, can touch-screen 341 and display floater 351 is integrated and realize the input and output function of mobile phone 300.
Gravity sensor (gravity sensor) 360, the size of the acceleration that can detection of handset on all directions, (be generally three), the size and the direction of gravity be can detect when static, the application (such as shielding switching, dependent game, the calibration of magnetometer attitude anyhow), Vibration identification correlation function (such as pedometer, knock) etc. of mobile phone attitude can be used for discerning.
Mobile phone 300 can also comprise other transducer, such as optical sensor.Particularly, optical sensor can comprise ambient light sensor and proximity transducer.Wherein, ambient light sensor can be regulated the brightness of display floater 341 according to the light and shade of ambient light; Whether proximity transducer can detect has object to come close to or in contact with mobile phone, can close display floater 341 and/or backlight when mobile phone 300 moves in one's ear.Acceleration transducer does not repeat them here as for other transducers such as the also configurable gyroscope of mobile phone 300, barometer, hygrometer, thermometer, infrared ray sensors.
Voicefrequency circuit 370, loud speaker 371, microphone 372 can provide the audio interface between user and the mobile phone 300.Voicefrequency circuit 370 can be transferred to loud speaker 371 with the signal of telecommunication after the voice data conversion that receives, and is converted to voice signal output by loud speaker 371; On the other hand, microphone 372 is converted to the signal of telecommunication with the voice signal of collecting, by being converted to voice data after voicefrequency circuit 370 receptions, again voice data is exported to RF circuit 320 to send to such as another mobile phone, perhaps export voice data to memory 330 so that further handle.
Processor 380 is control centres of mobile phone 300, utilize various interface to be connected the various piece of whole mobile phone with circuit, by moving or carry out software program and/or the module that is stored in the memory 330, and call the data that are stored in the memory 330, carry out the various functions and the deal with data of mobile phone 300, thereby mobile phone is carried out integral monitoring.Optionally, processor 380 can comprise one or more processing units; Preferably, processor 380 can integrated application processor and modem processor, and wherein, application processor is mainly handled operating system, user interface and application program etc., and modem processor is mainly handled radio communication.Be understandable that above-mentioned modem processor also can not be integrated in the processor 380.
Mobile phone 300 comprises that also preferred, power supply can link to each other with processor 380 logics by power-supply management system to the power supply 390 (such as battery) of each parts power supply, thereby realizes functions such as management charging, discharge and power managed by power-supply management system.
Although not shown, mobile phone 300 can also comprise WiFi (wireless fidelity, Wireless Fidelity) module, bluetooth module etc., does not repeat them here.
Vibrational waveform figure when in embodiments of the present invention, gravity sensor 360 also is used to obtain portable terminal and vibrates on three-dimensional.Memory 330 also is used to store the vibrational waveform figure that obtains in advance and the mapping table of oscillation intensity, so that processor 380 is inquired about the oscillation intensity that is complementary with vibrational waveform figure from described mapping table.
In embodiments of the present invention, processor 380 also is used for when portable terminal meets the vibration trigger condition, triggering vibrator 310 generation oscillation intensitys is the vibration of initial value, obtain the characteristic information of described vibration, and regulate the size of the oscillation intensity of described portable terminal according to the characteristic information indication vibrator 310 of described vibration.
Further, processor 380 process of obtaining the characteristic information of vibration can comprise: processor 380 obtains vibrational waveform figure by gravity sensor 360; The characteristic information of described vibration is described vibrational waveform figure.
Further, regulate according to the characteristic information of described vibration indication vibrator 310 in the process of size of oscillation intensity of described portable terminal at processor 380, processor 380 specifically is used for: amplitude and the frequency of obtaining the vibrational waveform figure that gravity sensor 360 obtains; According to amplitude and the frequency of described vibrational waveform figure, obtain the oscillation intensity that is complementary with described vibrational waveform figure; Indication vibrator 310 is adjusted to the oscillation intensity that is complementary with described vibrational waveform figure with the oscillation intensity of described portable terminal.
Wherein, the oscillation intensity of the described portable terminal that is complementary with described vibrational waveform figure is: described portable terminal can be by the oscillation intensity of user's perception in the pairing environment of described vibrational waveform figure.
The embodiment of the invention, after portable terminal produces vibration, gravity sensor can obtain the vibrational waveform figure of vibration, the oscillation intensity that portable terminal can be regulated portable terminal according to this vibrational waveform figure, make that the vibration of portable terminal can be by user's perception, thus the oscillation intensity that can regulate portable terminal flexibly.The control method that the embodiment of the invention provides can be avoided can not reaching the problem of reminding purpose because the vibration prompt intensity of portable terminal is too small, can avoid influencing because the vibration prompt intensity of portable terminal is excessive user's problem again.
The structural representation of the another kind of portable terminal that Fig. 4 provides for the embodiment of the invention, the portable terminal that the embodiment of the invention provides can be used to realize the method shown in above-mentioned Fig. 1 or the embodiment shown in Figure 2, concrete ins and outs do not disclose, and please refer to Fig. 1 or embodiment shown in Figure 2.
As shown in Figure 4, this portable terminal 400 comprises: vibrator 402 and processor 404.
Vibrator 402 is used for producing vibration.
Processor 404, be used for when portable terminal meets the vibration trigger condition, triggering vibrator 402 generation oscillation intensitys is the vibration of initial value, obtains the characteristic information of vibration, and regulates the size of the oscillation intensity of portable terminals according to the characteristic information indication vibrator 402 of vibration.
In another embodiment, this portable terminal can also comprise: gravity sensor 406.
Gravity sensor 406, the vibrational waveform figure when being used to obtain portable terminal and vibrating on three-dimensional.
The process that processor 404 obtains the characteristic information of vibration specifically can comprise: processor 404 obtains vibrational waveform figure by gravity sensor 406; The characteristic information of described vibration is described vibrational waveform figure.
Further, regulate according to the characteristic information of described vibration indication vibrator 402 in the process of size of oscillation intensity of described portable terminal at processor 404, processor 404 specifically is used for: amplitude and the frequency of obtaining the described vibrational waveform figure that gravity sensor 406 obtains; According to amplitude and the frequency of described vibrational waveform figure, obtain the oscillation intensity that is complementary with described vibrational waveform figure; Indication vibrator 402 is adjusted to the oscillation intensity that is complementary with described vibrational waveform figure with the oscillation intensity of described portable terminal;
Wherein, the oscillation intensity of the described portable terminal that is complementary with described vibrational waveform figure is: described portable terminal can be by the oscillation intensity of user's perception in the pairing environment of described vibrational waveform figure.
Further, this portable terminal can also comprise: memory 408.
Memory 408 is used to store the vibrational waveform figure that obtains in advance and the mapping table of oscillation intensity, so that processor 404 is inquired about the oscillation intensity that is complementary with vibrational waveform figure from described mapping table.
The embodiment of the invention, after portable terminal produces vibration, gravity sensor can obtain the vibrational waveform figure of vibration, the oscillation intensity that portable terminal can be regulated portable terminal according to this vibrational waveform figure, make that the vibration of portable terminal can be by user's perception, thus the oscillation intensity that can regulate portable terminal flexibly.The control method that the embodiment of the invention provides can be avoided can not reaching the problem of reminding purpose because the vibration prompt intensity of portable terminal is too small, can avoid influencing because the vibration prompt intensity of portable terminal is excessive user's problem again.
Through the above description of the embodiments, the those skilled in the art can be well understood to the present invention and can realize with hardware, or the firmware realization, or their compound mode realizes.When using software to realize, above-mentioned functions can be stored in the computer-readable medium or and transmit as one or more instructions or code on the computer-readable medium.Computer-readable medium comprises computer-readable storage medium and communication media, and wherein communication media comprises any medium of being convenient to transmit to another place from a place computer program.Storage medium can be any usable medium that computer can access.As example but be not limited to: computer-readable medium can comprise RAM, ROM, EEPROM, CD-ROM or other optical disc storage, magnetic disk storage medium or other magnetic storage apparatus or can be used in and carries or store program code with instruction or expectation of data structure form and can be by any other medium of computer access.In addition, any connection can be suitable becomes computer-readable medium.For example, if software be to use coaxial cable, optical fiber cable, twisted-pair feeder, Digital Subscriber Line (DSL) or the wireless technology such as infrared ray, radio and microwave from the website, the transmission of server or other remote source, under coaxial cable, optical fiber cable, twisted-pair feeder, DSL or the wireless technology such as infrared ray, radio and microwave are included in so in the photographic fixing of medium.As used in the present invention, dish (disk) and dish (disc) comprise compression laser disc (CD), laser dish, laser disc, digital universal laser disc (DVD), floppy disk and Blu-ray Disc, the copy data of the common magnetic of its mid-game, dish then come the copy data of optics with laser.Top combination also should be included within the protection range of computer-readable medium.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.