CN107707753A - A kind of vibration control method, equipment and computer-readable recording medium - Google Patents
A kind of vibration control method, equipment and computer-readable recording medium Download PDFInfo
- Publication number
- CN107707753A CN107707753A CN201710904215.XA CN201710904215A CN107707753A CN 107707753 A CN107707753 A CN 107707753A CN 201710904215 A CN201710904215 A CN 201710904215A CN 107707753 A CN107707753 A CN 107707753A
- Authority
- CN
- China
- Prior art keywords
- shockproofness
- audio
- variable
- time
- vibration command
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72451—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M19/00—Current supply arrangements for telephone systems
- H04M19/02—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
- H04M19/04—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M19/00—Current supply arrangements for telephone systems
- H04M19/02—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
- H04M19/04—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
- H04M19/042—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations with variable loudness of the ringing tone, e.g. variable envelope or amplitude of ring signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M19/00—Current supply arrangements for telephone systems
- H04M19/02—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
- H04M19/04—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
- H04M19/047—Vibrating means for incoming calls
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Environmental & Geological Engineering (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of vibration control method, equipment and computer-readable recording medium, wherein, this method includes:Receive vibration command, and perform above-mentioned vibration command by the first shockproofness within the very first time, then, audio variable and offset variable are detected within the above-mentioned very first time, subsequently, according to above-mentioned audio variable and the amplitude of above-mentioned offset variable, above-mentioned first shockproofness is adjusted to the second shockproofness, finally, above-mentioned vibration command is performed by above-mentioned second shockproofness within the second time.Realize a kind of diversified vibrating mode so that terminal device can perceive the object contacted at that time, on the one hand, shockproofness can be automatically adjusted according to the situation of object, on the other hand, avoid sometimes being not felt by the vibrations of mobile phone, sometimes shake the excessive technological deficiency of the sound sent.
Description
Technical field
The present invention relates to moving communicating field, more particularly to a kind of vibration control method, equipment and computer-readable storage
Medium.
Background technology
In the prior art, mobile terminal device provides ringer function and vibration function, can receive announcement information
Or when reminding item, send ring or perform vibrations to remind user, still, user because environment reason, will usually move
Dynamic terminal device adjusts non-vibrating mode, and in such a mode, by mobile terminal shakes the difference of the material of when institute's contactant,
Its caused vibrating effect is far from each other, sometimes influences whether that user discovers, sometimes brings larger sound to do to user
Disturb.
Specifically, for example, mobile phone is placed on different places, what the intensity of vibrations was just as.But be placed on sometimes as sofa,
On bed or when wrapping medium soft place, the sent sound of vibrations is not easy it is noted that needs between mobile phone and contact object
The intensity of vibrations is larger;When being sometimes placed on the harder place such as desktop, between mobile phone and contact object vibrations sent
Sound can be very big, it is necessary to which the intensity of vibrations is smaller.
In summary, in the prior art, the vibrating mode of mobile terminal device is more single, can not perceive and be contacted at that time
Object, shockproofness can not be automatically adjusted according to the situation of object, and can not avoid sometimes being not felt by the vibrations of mobile phone,
Sometimes shake the excessive technological deficiency of the sound sent.
The content of the invention
In order to solve in the prior art, the vibrating mode of mobile terminal device is more single, can not perceive and be contacted at that time
Object, shockproofness can not be automatically adjusted according to the situation of object, and can not avoid sometimes being not felt by the vibrations of mobile phone,
The excessive technological deficiency of the sound sent is sometimes shaken, the present invention proposes a kind of vibration control method, and this method includes:
Vibration command is received, and above-mentioned vibration command is performed by the first shockproofness within the very first time;
Audio variable and offset variable are detected within the above-mentioned very first time;
According to above-mentioned audio variable and the amplitude of above-mentioned offset variable, above-mentioned first shockproofness is adjusted to the second vibrations
Intensity;
Within the second time above-mentioned vibration command is performed by above-mentioned second shockproofness.
Optionally, the reception vibration command, and perform the vibration command by the first shockproofness within the very first time
Including:
First shockproofness is preset by peak swing;
Continue to perform the vibration command with first shockproofness within the very first time, wherein, the vibrations
Instruction includes but is not limited to call-in reporting, information notice, alarm notification.
Optionally, the audio variable and offset variable of being detected within the very first time includes:
Default first audio threshold and the first displacement threshold value;
Audio variable is detected within the very first time, judges whether the audio variable exceedes the first audio threshold
Value, meanwhile, offset variable is detected within the very first time, judges whether the offset variable exceedes the first displacement threshold
Value;
If the audio variable exceedes first audio threshold, audio difference is obtained, meanwhile, if the offset variable
More than first displacement threshold value, then shift differences are obtained.
Optionally, it is described according to the audio variable and the amplitude of the offset variable, first shockproofness is adjusted
Whole is that the second shockproofness includes:
If the audio variable exceedes first audio threshold, reduce first shockproofness, to described second
Shockproofness, wherein, the second shockproofness is less than first shockproofness;
If the offset variable exceedes first displacement threshold value, reduce first shockproofness, to described second
Shockproofness, wherein, the second shockproofness is less than first shockproofness.
Optionally, it is described to include within the second time by second shockproofness execution vibration command:
Audio variable is detected within the very first time, judges the audio variable not less than first audio threshold,
Meanwhile offset variable is detected within the very first time, judge that the offset variable not less than first displacement threshold value, is then pressed
Second shockproofness performs the vibration command;
Within second time, when performing the vibration command by second shockproofness, default ring is performed
Instruction.
Optionally, the invention also provides a kind of vibration control equipment, the equipment includes memory, processor and is stored in
On the memory and the computer program that can run on the processor, the computer program is by the computing device
Shi Shixian:
Vibration command is received, and the vibration command is performed by the first shockproofness within the very first time;
Audio variable and offset variable are detected within the very first time;
According to the audio variable and the amplitude of the offset variable, first shockproofness is adjusted to the second vibrations
Intensity;
Within the second time the vibration command is performed by second shockproofness.
Optionally, the computer program also by the computing device when realize:
First shockproofness is preset by peak swing;
Continue to perform the vibration command with first shockproofness within the very first time, wherein, the vibrations
Instruction includes but is not limited to call-in reporting, information notice, alarm notification.
Optionally, the computer program also by the computing device when realize:
Default first audio threshold and the first displacement threshold value;
Audio variable is detected within the very first time, judges whether the audio variable exceedes the first audio threshold
Value, meanwhile, offset variable is detected within the very first time, judges whether the offset variable exceedes the first displacement threshold
Value;
If the audio variable exceedes first audio threshold, audio difference is obtained, meanwhile, if the offset variable
More than first displacement threshold value, then shift differences are obtained.
Optionally, the computer program also by the computing device when realize:
If the audio variable exceedes first audio threshold, reduce first shockproofness, to described second
Shockproofness, wherein, the second shockproofness is less than first shockproofness;
If the offset variable exceedes first displacement threshold value, reduce first shockproofness, to described second
Shockproofness, wherein, the second shockproofness is less than first shockproofness;
Audio variable is detected within the very first time, judges the audio variable not less than first audio threshold,
Meanwhile offset variable is detected within the very first time, judge that the offset variable not less than first displacement threshold value, is then pressed
Second shockproofness performs the vibration command;
Within second time, when performing the vibration command by second shockproofness, default ring is performed
Instruction.
The invention also provides a kind of computer-readable recording medium, vibration is stored with the computer-readable recording medium
Control program, the step of vibration control method described in any one as described above is realized when vibration control program is executed by processor.
Implement vibration control method, equipment and the computer-readable recording medium of the present invention, by receiving vibration command, and
Above-mentioned vibration command is performed by the first shockproofness within the very first time, then, audio variable is detected within the above-mentioned very first time
And offset variable, subsequently, according to above-mentioned audio variable and the amplitude of above-mentioned offset variable, above-mentioned first shockproofness is adjusted
For the second shockproofness, finally, above-mentioned vibration command is performed by above-mentioned second shockproofness within the second time.Realize one kind
Diversified vibrating mode so that terminal device can perceive the object contacted at that time, on the one hand, can be according to the shape of object
Condition automatically adjusts shockproofness, on the other hand, avoids sometimes being not felt by the vibrations of mobile phone, sometimes shakes the sound sent
Excessive technological deficiency.
Brief description of the drawings
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is a kind of hardware architecture diagram of mobile terminal of the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is the flow chart of vibration control method first embodiment of the present invention;
Fig. 4 is the flow chart of vibration control method second embodiment of the present invention;
Fig. 5 is the flow chart of vibration control method 3rd embodiment of the present invention;
Fig. 6 is the flow chart of vibration control method fourth embodiment of the present invention;
Fig. 7 is the flow chart of the embodiment of vibration control method the 5th of the present invention.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only
Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board
Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move
Dynamic terminal, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special
Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting
Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit
108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts,
Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate
Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need
To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is receiving or
It is sound that the voice data stored in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit 103
The audio output related to the specific function that mobile terminal 100 performs can also be provided (for example, call signal receives sound, disappeared
Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out
Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited
Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can
To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound
Caused noise or interference during frequency signal.
Mobile terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with
And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it
(for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071
Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can
To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel
1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can
Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically
Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage
Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system being based on below to the mobile terminal of the present invention enters
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
Unite as the LTE system of universal mobile communications technology, the UE that the LTE system includes communicating connection successively (User Equipment, is used
Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registers
Such as the function of attaching position register (not shown) etc, and preserve some and used about service features, data rate etc.
The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP
Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the inventive method is proposed.
Embodiment one
Fig. 3 is the flow chart of vibration control method first embodiment of the present invention.A kind of vibration control method, this method bag
Include:
S1, vibration command is received, and above-mentioned vibration command is performed by the first shockproofness within the very first time;
S2, audio variable and offset variable are detected within the above-mentioned very first time;
S3, the amplitude according to above-mentioned audio variable and above-mentioned offset variable, above-mentioned first shockproofness is adjusted to second
Shockproofness;
S4, perform above-mentioned vibration command by above-mentioned second shockproofness within the second time.
In the present embodiment, first, vibration command is received, and above-mentioned shake is performed by the first shockproofness within the very first time
Dynamic instruction, then, audio variable and offset variable are detected within the above-mentioned very first time, subsequently, according to above-mentioned audio variable and
The amplitude of above-mentioned offset variable, above-mentioned first shockproofness is adjusted to the second shockproofness, finally, by upper within the second time
State the second shockproofness and perform above-mentioned vibration command.
For example, the mobile terminal device such as mobile phone is placed on different places, what the intensity of vibrations was just as.But it is placed on sometimes
As on sofa, bed or when wrapping medium soft place, the sent sound of vibrations is not easy to pay attention between mobile phone and contact object
To, it is necessary to which the intensity of vibrations is larger;When being sometimes placed on the harder place such as desktop, institute is shaken between mobile phone and contact object
The sound sent can be very big, it is necessary to which the intensity of vibrations is smaller.
And the vibrating mode of mobile terminal device of the prior art is more single, the thing contacted at that time can not be perceived
Body, shockproofness can not be automatically adjusted according to the situation of object, and can not avoid sometimes being not felt by the vibrations of mobile phone, sometimes
Wait and shake the excessive technological deficiency of the sound sent.
The present embodiment is in order to solve above-mentioned technological deficiency, first, when mobile terminal device receives vibration command, first
In the very first time of beginning above-mentioned vibration command is performed by the first shockproofness.Wherein, vibration command is from call-in reporting, information
The event such as notice and alarm notification.
Optionally, the shockproofness of mobile terminal device is adjustable;Optionally, the first shockproofness be mobile terminal device most
Big shockproofness.
By the duration of the systemic presupposition very first time, or the duration by user by the self-demand setting above-mentioned very first time,
For example, the duration of the very first time is arranged to 3 seconds, then within the time of 3 seconds, performs above-mentioned vibrations by the first shockproofness and refer to
Order.
Vibration command is received, and above-mentioned vibration command is performed and then upper by the first shockproofness within the very first time
State detection audio variable and offset variable in the very first time.Specifically, as above described in example, mobile phone when being adjusted to vibrating mode,
If receiving call reminding during the pattern, the vibrations of some strength are sent by the vibrations device built in mobile phone, so as to
Whole mobile phone is driven to initiate vibrations, to reach the purpose for reminding user.In the present embodiment, detected within the default very first time
The audio variable and offset variable that whole mobile phone occurs because of vibrations.Above two variable can be gone by following two aspects
Understand:
On the one hand, it is to be understood that if mobile phone is placed in compared with hard objects, such as hard desktop etc., in its shake
When dynamic, the vibrations between desktop can send larger sound, likewise, it is understood that being shaken in hard desktop
When, with vibrations relative to desktop a certain amount of displacement can occur for mobile phone;
On the other hand, it is to be understood that if mobile phone be placed in on soft object, such as soft mattress etc., at it
During vibrations, the vibrations between desktop can send less sound, likewise, it is understood that being shaken in soft mattress
When dynamic, mobile phone can occur a certain amount of displacement relative to desktop and the displacement be significantly less than above-mentioned hard desktop with vibrations
On displacement.
In the present embodiment, audio variable and offset variable are detected within the above-mentioned very first time and then according to above-mentioned sound
The amplitude of frequency variable and above-mentioned offset variable, above-mentioned first shockproofness is adjusted to the second shockproofness.Likewise, as above example
It is described, if mobile phone is placed in compared with hard objects, for example, hard desktop etc., when it shakes, the vibrations meeting between desktop
Larger sound is sent, is designated as X1 decibels, likewise, it is understood that when hard desktop shakes, mobile phone can be with
Vibrations, a certain amount of displacement occurs relative to desktop, is designated as P1 displacements;
On the other hand, if mobile phone be placed in on soft object, such as soft mattress etc., when it shakes, with desktop
Between vibrations can send less sound, X2 decibels are designated as, likewise, it is understood that being shaken in soft mattress
When, mobile phone can occur a certain amount of displacement relative to desktop and the displacement be significantly less than on above-mentioned hard desktop with vibrations
Displacement, be designated as P2 displacements, wherein, X1 is more than X2, and P1 is more than P2.
Meanwhile preset reference audio value and shift value, respectively X0 decibels and P0 displacements.
If obtained audio value is more than X0 decibels, the first shockproofness is reduced;
If obtained shift value is more than P0 displacements, the first shockproofness is reduced.
In the present embodiment, according to above-mentioned audio variable and the amplitude of above-mentioned offset variable, by above-mentioned first shockproofness
It is adjusted to after the second shockproofness, above-mentioned vibration command is performed by above-mentioned second shockproofness within the second time.Likewise,
As above described in example, by the duration of the time of systemic presupposition second, or by user by self-demand set above-mentioned second time when
It is long, for example, the duration of the very first time is arranged to 3 seconds, the duration of the second time is arranged to 30 seconds, then in the time of 3 seconds
It is interior, perform above-mentioned vibration command by the first shockproofness, in 30 seconds after 3 seconds, perform vibrations by the second shockproofness and refer to
Order.
The beneficial effect of this embodiment is, by receiving vibration command, and it is strong by the first vibrations within the very first time
Degree performs above-mentioned vibration command, then, audio variable and offset variable is detected within the above-mentioned very first time, subsequently, according to upper
The amplitude of audio variable and above-mentioned offset variable is stated, above-mentioned first shockproofness is adjusted to the second shockproofness, finally,
In two times above-mentioned vibration command is performed by above-mentioned second shockproofness.Realize a kind of diversified vibrating mode so that eventually
End equipment can perceive the object contacted at that time, on the one hand, shockproofness can be automatically adjusted according to the situation of object, it is another
Aspect, avoid sometimes being not felt by the vibrations of mobile phone, sometimes shake the excessive technological deficiency of the sound sent.
Embodiment two
Fig. 4 is the flow chart of vibration control method second embodiment of the present invention, described to receive vibrations based on above-described embodiment
Instruction, and include within the very first time by the first shockproofness execution vibration command:
S11, by peak swing preset first shockproofness;
S12, continue within the very first time with first shockproofness execution vibration command, wherein, it is described
Vibration command includes but is not limited to call-in reporting, information notice, alarm notification.
In the present embodiment, first, first shockproofness is preset by peak swing, then, in the very first time
It is interior to continue to perform the vibration command with first shockproofness, wherein, the vibration command includes but is not limited to send a telegram here and led to
Know, information notice, alarm notification.Likewise, as above described in example, the mobile terminal device such as mobile phone is placed on different places, vibrations
Intensity be just as.But be placed on sometimes as on sofa, bed or when wrapping medium soft place, mobile phone and contact object it
Between the sent sound of vibrations be not easy it is noted that needing the intensity that shakes larger;Sometimes it is placed on the harder place such as desktop
When, the sent sound of vibrations can be very big, it is necessary to which the intensity of vibrations is smaller between mobile phone and contact object.
And the vibrating mode of mobile terminal device of the prior art is more single, the thing contacted at that time can not be perceived
Body, shockproofness can not be automatically adjusted according to the situation of object, and can not avoid sometimes being not felt by the vibrations of mobile phone, sometimes
Wait and shake the excessive technological deficiency of the sound sent.
The present embodiment is in order to solve above-mentioned technological deficiency, first, when mobile terminal device receives vibration command, first
In the very first time of beginning above-mentioned vibration command is performed by the first shockproofness.Wherein, vibration command is from call-in reporting, information
The event such as notice and alarm notification.
Further, in the present embodiment, the shockproofness of mobile terminal device is adjustable;
Further, in the present embodiment, the first shockproofness is preferably the maximum shockproofness of mobile terminal device;
Further, in the present embodiment, vibration command includes but is not limited to call-in reporting, information notice, alarm notification
Deng notification event;
Further, in this embodiment, using first shockproofness of the amplitude after preceding once adjustment as after once;
Further, in the present embodiment, the geographical position according to residing for terminal device determines the first shockproofness, example
Such as, at home, using the first relatively low shockproofness intensity, the first higher shockproofness is used in public.
The beneficial effect of the present embodiment is, by presetting first shockproofness by peak swing, then, described
Continue to perform the vibration command with first shockproofness in the very first time, wherein, the vibration command includes but unlimited
In call-in reporting, information notice, alarm notification, subsequently to realize that a kind of diversified vibrating mode provides conditioned basic and ring
Border basis so that terminal device can perceive the object contacted at that time, on the one hand, can be automatically adjusted according to the situation of object
Shockproofness, on the other hand, avoid sometimes being not felt by the vibrations of mobile phone, sometimes shake the excessive technology of the sound sent
Defect.
Embodiment three
Fig. 5 is the flow chart of vibration control method 3rd embodiment of the present invention, described described based on above-described embodiment
Detection audio variable and offset variable include in one time:
S21, default first audio threshold and the first displacement threshold value;
S22, audio variable is detected within the very first time, judge whether the audio variable exceedes first audio
Threshold value, meanwhile, offset variable is detected within the very first time, judges whether the offset variable exceedes the first displacement threshold
Value;
If S23, the audio variable exceed first audio threshold, audio difference is obtained, meanwhile, if the displacement
Variable exceedes first displacement threshold value, then obtains shift differences.
In the present embodiment, first, the first audio threshold and the first displacement threshold value are preset, then, in the very first time
Interior detection audio variable, judges whether the audio variable exceedes first audio threshold, meanwhile, within the very first time
Offset variable is detected, judges whether the offset variable exceedes first displacement threshold value, finally, if the audio variable exceedes
First audio threshold, then audio difference is obtained, meanwhile, if the offset variable exceedes first displacement threshold value, obtain
Take shift differences.Likewise, as above described in example, set by the duration of the systemic presupposition very first time, or by user by self-demand
The duration of the above-mentioned very first time is put, for example, the duration of the very first time is arranged to 3 seconds, then within the time of 3 seconds, by first
Shockproofness performs above-mentioned vibration command.
Vibration command is received, and above-mentioned vibration command is performed and then upper by the first shockproofness within the very first time
State detection audio variable and offset variable in the very first time.Specifically, as above described in example, mobile phone when being adjusted to vibrating mode,
If receiving call reminding during the pattern, the vibrations of some strength are sent by the vibrations device built in mobile phone, so as to
Whole mobile phone is driven to initiate vibrations, to reach the purpose for reminding user.In the present embodiment, detected within the default very first time
The audio variable and offset variable that whole mobile phone occurs because of vibrations.Above two variable can be gone by following two aspects
Understand:
On the one hand, it is to be understood that if mobile phone is placed in compared with hard objects, such as hard desktop etc., in its shake
When dynamic, the vibrations between desktop can send larger sound, likewise, it is understood that being shaken in hard desktop
When, with vibrations relative to desktop a certain amount of displacement can occur for mobile phone;
On the other hand, it is to be understood that if mobile phone be placed in on soft object, such as soft mattress etc., at it
During vibrations, the vibrations between desktop can send less sound, likewise, it is understood that being shaken in soft mattress
When dynamic, mobile phone can occur a certain amount of displacement relative to desktop and the displacement be significantly less than above-mentioned hard desktop with vibrations
On displacement.
Further, in the present embodiment, the geographical position according to residing for terminal device determines the first audio threshold, example
Such as, at home, using the first relatively low audio threshold, the first higher audio threshold is used in public;
Further, in the present embodiment, the geographical position according to residing for terminal device determines the first displacement threshold value, example
Such as, at home, using the first relatively low displacement threshold value, the first higher displacement threshold value is used in public;
Further, start the photographing module of terminal device, obtain surrounding environment, determine the attachment of the terminal device,
If attachment is defined as hard objects, relatively low first audio threshold and smaller first displacement threshold value are preset;
Further, start the photographing module of terminal device, obtain surrounding environment, determine the attachment of the terminal device,
If attachment is defined as soft objects, higher first audio threshold and larger first displacement threshold value are preset.
The beneficial effect of the present embodiment is, by default first audio threshold and the first displacement threshold value, then, described
Detection audio variable, judges whether the audio variable exceedes first audio threshold in the very first time, meanwhile, described the
Detection offset variable, judges whether the offset variable exceedes first displacement threshold value, finally, if the audio in one time
Variable exceedes first audio threshold, then obtains audio difference, meanwhile, if the offset variable exceedes the first displacement threshold
Value, then obtain shift differences, subsequently to realize that a kind of diversified vibrating mode provides conditioned basic and environmental basis so that
Terminal device can perceive the object contacted at that time, on the one hand, can automatically adjust shockproofness according to the situation of object, separately
On the one hand, avoid sometimes being not felt by the vibrations of mobile phone, sometimes shake the excessive technological deficiency of the sound sent.
Example IV
Fig. 6 is the flow chart of vibration control method fourth embodiment of the present invention, based on above-described embodiment, described in the basis
The amplitude of audio variable and the offset variable, first shockproofness is adjusted into the second shockproofness includes:
If S31, the audio variable exceed first audio threshold, reduce first shockproofness, described in
Second shockproofness, wherein, the second shockproofness is less than first shockproofness;
If S32, the offset variable exceed first displacement threshold value, reduce first shockproofness, described in
Second shockproofness, wherein, the second shockproofness is less than first shockproofness.
In the present embodiment, on the one hand, if the audio variable exceedes first audio threshold, reduce described first
Shockproofness, to second shockproofness, wherein, the second shockproofness is less than first shockproofness;On the other hand, if
The offset variable exceedes first displacement threshold value, then reduces first shockproofness, extremely second shockproofness, its
In, the second shockproofness is less than first shockproofness.Likewise, as above described in example, sound is detected within the above-mentioned very first time
Frequency variable and offset variable and then according to above-mentioned audio variable and the amplitude of above-mentioned offset variable are strong by the above-mentioned first vibrations
Degree is adjusted to the second shockproofness.Likewise, as above described in example, if mobile phone is placed in compared with hard objects, such as hard table
Face etc., when it shakes, the vibrations between desktop can send larger sound, be designated as X1 decibels, likewise, it is appreciated that
It is that, when hard desktop shakes, mobile phone can occur a certain amount of displacement relative to desktop, be designated as P1 displacements with vibrations;
On the other hand, if mobile phone be placed in on soft object, such as soft mattress etc., when it shakes, with desktop
Between vibrations can send less sound, X2 decibels are designated as, likewise, it is understood that being shaken in soft mattress
When, mobile phone can occur a certain amount of displacement relative to desktop and the displacement be significantly less than on above-mentioned hard desktop with vibrations
Displacement, be designated as P2 displacements, wherein, X1 is more than X2, and P1 is more than P2.
Meanwhile preset reference audio value and shift value, respectively X0 decibels and P0 displacements.
If obtained audio value is more than X0 decibels, the first shockproofness is reduced;
If obtained shift value is more than P0 displacements, the first shockproofness is reduced.
Further, start the photographing module of terminal device, obtain surrounding environment, determine the attachment of the terminal device,
If attachment is defined as hard objects, and, obtained audio value is more than X0 decibels, then reduces the first shockproofness;
Further, start the photographing module of terminal device, obtain surrounding environment, determine the attachment of the terminal device,
If attachment is defined as soft objects.And obtained shift value is more than P0 displacements, then reduces the first shockproofness.
It is it is understood that identical with the processing mode of displacement threshold value to audio threshold.
The beneficial effect of the present embodiment is, is follow-up real by the accommodation to audio threshold and displacement threshold value
A kind of existing diversified vibrating mode provides conditioned basic and environmental basis so that terminal device can be perceived and contacted at that time
Object, on the one hand, shockproofness can be automatically adjusted according to the situation of object, on the other hand, avoid sometimes being not felt by
The vibrations of mobile phone, sometimes shake the excessive technological deficiency of the sound sent.
Embodiment five
Fig. 7 is the flow chart of the embodiment of vibration control method the 5th of the present invention, optionally, described based on above-described embodiment
Performing the vibration command by second shockproofness within the second time includes:
S41, audio variable is detected within the very first time, judge the audio variable not less than the first audio threshold
Value, meanwhile, offset variable is detected within the very first time, judges the offset variable not less than first displacement threshold value,
Then the vibration command is performed by second shockproofness;
S42, within second time, by second shockproofness perform the vibration command when, perform it is default
Ringing instruction.
In the present embodiment, first, within the very first time detect audio variable, judge the audio variable not less than
First audio threshold, meanwhile, offset variable is detected within the very first time, judges the offset variable not less than described
First displacement threshold value, then the vibration command is performed by second shockproofness, then, within second time, by institute
When stating the second shockproofness execution vibration command, default ringing instruction is performed.
Likewise, as above described in example, according to above-mentioned audio variable and the amplitude of above-mentioned offset variable, above-mentioned first is shaken
Intensity is adjusted to after the second shockproofness, and above-mentioned vibration command is performed by above-mentioned second shockproofness within the second time.Together
Sample, as above described in example, by the duration of the time of systemic presupposition second, or by user is set by self-demand above-mentioned second time
Duration, for example, the duration of the very first time is arranged to 3 seconds, the duration of the second time is arranged to 30 seconds, then at 3 seconds
In time, perform above-mentioned vibration command by the first shockproofness, in 30 seconds after 3 seconds, shake is performed by the second shockproofness
Dynamic instruction.
Further, after answering within the second time or handle current notifications, current shockproofness and current is recorded
Ringer volume, and as shockproofness next time and current ringer volume.
The beneficial effect of the present embodiment is, by detecting audio variable within the very first time, judges the audio
Variable not less than first audio threshold, meanwhile, detect offset variable within the very first time, judge the offset variable
Not less than first displacement threshold value, then the vibration command is performed by second shockproofness, then, at described second
In, when performing the vibration command by second shockproofness, default ringing instruction is performed, it is a kind of more for follow-up realization
The vibrating mode of sample provides conditioned basic and environmental basis so that and terminal device can perceive the object contacted at that time,
On the one hand, shockproofness can be automatically adjusted according to the situation of object, on the other hand, avoids sometimes being not felt by the shake of mobile phone
It is dynamic, sometimes shake the excessive technological deficiency of the sound sent.
Embodiment six
The invention also provides a kind of vibration control equipment, the equipment includes memory, processor and is stored in described deposit
On reservoir and the computer program that can run on the processor, the computer program is by real during the computing device
It is existing:
Vibration command is received, and the vibration command is performed by the first shockproofness within the very first time;
Audio variable and offset variable are detected within the very first time;
According to the audio variable and the amplitude of the offset variable, first shockproofness is adjusted to the second vibrations
Intensity;
Within the second time the vibration command is performed by second shockproofness.
Based on above-described embodiment, in the present embodiment, first, vibration command is received, and by the first shake within the very first time
Fatigue resistance performs above-mentioned vibration command, then, audio variable and offset variable, subsequently, root is detected within the above-mentioned very first time
According to above-mentioned audio variable and the amplitude of above-mentioned offset variable, above-mentioned first shockproofness is adjusted to the second shockproofness, finally,
Within the second time above-mentioned vibration command is performed by above-mentioned second shockproofness.
For example, the mobile terminal device such as mobile phone is placed on different places, what the intensity of vibrations was just as.But it is placed on sometimes
As on sofa, bed or when wrapping medium soft place, the sent sound of vibrations is not easy to pay attention between mobile phone and contact object
To, it is necessary to which the intensity of vibrations is larger;When being sometimes placed on the harder place such as desktop, institute is shaken between mobile phone and contact object
The sound sent can be very big, it is necessary to which the intensity of vibrations is smaller.
And the vibrating mode of mobile terminal device of the prior art is more single, the thing contacted at that time can not be perceived
Body, shockproofness can not be automatically adjusted according to the situation of object, and can not avoid sometimes being not felt by the vibrations of mobile phone, sometimes
Wait and shake the excessive technological deficiency of the sound sent.
The present embodiment is in order to solve above-mentioned technological deficiency, first, when mobile terminal device receives vibration command, first
In the very first time of beginning above-mentioned vibration command is performed by the first shockproofness.Wherein, vibration command is from call-in reporting, information
The event such as notice and alarm notification.
Optionally, the shockproofness of mobile terminal device is adjustable;Optionally, the first shockproofness be mobile terminal device most
Big shockproofness.
By the duration of the systemic presupposition very first time, or the duration by user by the self-demand setting above-mentioned very first time,
For example, the duration of the very first time is arranged to 3 seconds, then within the time of 3 seconds, performs above-mentioned vibrations by the first shockproofness and refer to
Order.
Vibration command is received, and above-mentioned vibration command is performed and then upper by the first shockproofness within the very first time
State detection audio variable and offset variable in the very first time.Specifically, as above described in example, mobile phone when being adjusted to vibrating mode,
If receiving call reminding during the pattern, the vibrations of some strength are sent by the vibrations device built in mobile phone, so as to
Whole mobile phone is driven to initiate vibrations, to reach the purpose for reminding user.In the present embodiment, detected within the default very first time
The audio variable and offset variable that whole mobile phone occurs because of vibrations.Above two variable can be gone by following two aspects
Understand:
On the one hand, it is to be understood that if mobile phone is placed in compared with hard objects, such as hard desktop etc., in its shake
When dynamic, the vibrations between desktop can send larger sound, likewise, it is understood that being shaken in hard desktop
When, with vibrations relative to desktop a certain amount of displacement can occur for mobile phone;
On the other hand, it is to be understood that if mobile phone be placed in on soft object, such as soft mattress etc., at it
During vibrations, the vibrations between desktop can send less sound, likewise, it is understood that being shaken in soft mattress
When dynamic, mobile phone can occur a certain amount of displacement relative to desktop and the displacement be significantly less than above-mentioned hard desktop with vibrations
On displacement.
In the present embodiment, audio variable and offset variable are detected within the above-mentioned very first time and then according to above-mentioned sound
The amplitude of frequency variable and above-mentioned offset variable, above-mentioned first shockproofness is adjusted to the second shockproofness.Likewise, as above example
It is described, if mobile phone is placed in compared with hard objects, for example, hard desktop etc., when it shakes, the vibrations meeting between desktop
Larger sound is sent, is designated as X1 decibels, likewise, it is understood that when hard desktop shakes, mobile phone can be with
Vibrations, a certain amount of displacement occurs relative to desktop, is designated as P1 displacements;
On the other hand, if mobile phone be placed in on soft object, such as soft mattress etc., when it shakes, with desktop
Between vibrations can send less sound, X2 decibels are designated as, likewise, it is understood that being shaken in soft mattress
When, mobile phone can occur a certain amount of displacement relative to desktop and the displacement be significantly less than on above-mentioned hard desktop with vibrations
Displacement, be designated as P2 displacements, wherein, X1 is more than X2, and P1 is more than P2.
Meanwhile preset reference audio value and shift value, respectively X0 decibels and P0 displacements.
If obtained audio value is more than X0 decibels, the first shockproofness is reduced;
If obtained shift value is more than P0 displacements, the first shockproofness is reduced.
In the present embodiment, according to above-mentioned audio variable and the amplitude of above-mentioned offset variable, by above-mentioned first shockproofness
It is adjusted to after the second shockproofness, above-mentioned vibration command is performed by above-mentioned second shockproofness within the second time.Likewise,
As above described in example, by the duration of the time of systemic presupposition second, or by user by self-demand set above-mentioned second time when
It is long, for example, the duration of the very first time is arranged to 3 seconds, the duration of the second time is arranged to 30 seconds, then in the time of 3 seconds
It is interior, perform above-mentioned vibration command by the first shockproofness, in 30 seconds after 3 seconds, perform vibrations by the second shockproofness and refer to
Order.
The beneficial effect of this embodiment is, by receiving vibration command, and it is strong by the first vibrations within the very first time
Degree performs above-mentioned vibration command, then, audio variable and offset variable is detected within the above-mentioned very first time, subsequently, according to upper
The amplitude of audio variable and above-mentioned offset variable is stated, above-mentioned first shockproofness is adjusted to the second shockproofness, finally,
In two times above-mentioned vibration command is performed by above-mentioned second shockproofness.Realize a kind of diversified vibrating mode so that eventually
End equipment can perceive the object contacted at that time, on the one hand, shockproofness can be automatically adjusted according to the situation of object, it is another
Aspect, avoid sometimes being not felt by the vibrations of mobile phone, sometimes shake the excessive technological deficiency of the sound sent.
Embodiment seven
Based on above-described embodiment, realized when the computer program is also by the computing device:
First shockproofness is preset by peak swing;
Continue to perform the vibration command with first shockproofness within the very first time, wherein, the vibrations
Instruction includes but is not limited to call-in reporting, information notice, alarm notification.
Further, in the present embodiment, the shockproofness of mobile terminal device is adjustable;
Further, in the present embodiment, the first shockproofness is preferably the maximum shockproofness of mobile terminal device;
Further, in the present embodiment, vibration command includes but is not limited to call-in reporting, information notice, alarm notification
Deng notification event;
Further, in this embodiment, using first shockproofness of the amplitude after preceding once adjustment as after once;
Further, in the present embodiment, the geographical position according to residing for terminal device determines the first shockproofness, example
Such as, at home, using the first relatively low shockproofness intensity, the first higher shockproofness is used in public.
The beneficial effect of the present embodiment is, by presetting first shockproofness by peak swing, then, described
Continue to perform the vibration command with first shockproofness in the very first time, wherein, the vibration command includes but unlimited
In call-in reporting, information notice, alarm notification, subsequently to realize that a kind of diversified vibrating mode provides conditioned basic and ring
Border basis so that terminal device can perceive the object contacted at that time, on the one hand, can be automatically adjusted according to the situation of object
Shockproofness, on the other hand, avoid sometimes being not felt by the vibrations of mobile phone, sometimes shake the excessive technology of the sound sent
Defect.
Embodiment eight
Based on above-described embodiment, realized when the computer program is also by the computing device:
Default first audio threshold and the first displacement threshold value;
Audio variable is detected within the very first time, judges whether the audio variable exceedes the first audio threshold
Value, meanwhile, offset variable is detected within the very first time, judges whether the offset variable exceedes the first displacement threshold
Value;
If the audio variable exceedes first audio threshold, audio difference is obtained, meanwhile, if the offset variable
More than first displacement threshold value, then shift differences are obtained.
Further, in the present embodiment, the geographical position according to residing for terminal device determines the first audio threshold, example
Such as, at home, using the first relatively low audio threshold, the first higher audio threshold is used in public;
Further, in the present embodiment, the geographical position according to residing for terminal device determines the first displacement threshold value, example
Such as, at home, using the first relatively low displacement threshold value, the first higher displacement threshold value is used in public;
Further, start the photographing module of terminal device, obtain surrounding environment, determine the attachment of the terminal device,
If attachment is defined as hard objects, relatively low first audio threshold and smaller first displacement threshold value are preset;
Further, start the photographing module of terminal device, obtain surrounding environment, determine the attachment of the terminal device,
If attachment is defined as soft objects, higher first audio threshold and larger first displacement threshold value are preset.
The beneficial effect of the present embodiment is, by default first audio threshold and the first displacement threshold value, then, described
Detection audio variable, judges whether the audio variable exceedes first audio threshold in the very first time, meanwhile, described the
Detection offset variable, judges whether the offset variable exceedes first displacement threshold value, finally, if the audio in one time
Variable exceedes first audio threshold, then obtains audio difference, meanwhile, if the offset variable exceedes the first displacement threshold
Value, then obtain shift differences, subsequently to realize that a kind of diversified vibrating mode provides conditioned basic and environmental basis so that
Terminal device can perceive the object contacted at that time, on the one hand, can automatically adjust shockproofness according to the situation of object, separately
On the one hand, avoid sometimes being not felt by the vibrations of mobile phone, sometimes shake the excessive technological deficiency of the sound sent.
Embodiment nine
Based on above-described embodiment, realized when the computer program is also by the computing device:
If the audio variable exceedes first audio threshold, reduce first shockproofness, to described second
Shockproofness, wherein, the second shockproofness is less than first shockproofness;
If the offset variable exceedes first displacement threshold value, reduce first shockproofness, to described second
Shockproofness, wherein, the second shockproofness is less than first shockproofness;
Audio variable is detected within the very first time, judges the audio variable not less than first audio threshold,
Meanwhile offset variable is detected within the very first time, judge that the offset variable not less than first displacement threshold value, is then pressed
Second shockproofness performs the vibration command;
Within second time, when performing the vibration command by second shockproofness, default ring is performed
Instruction.
Likewise, as above described in example, according to above-mentioned audio variable and the amplitude of above-mentioned offset variable, above-mentioned first is shaken
Intensity is adjusted to after the second shockproofness, and above-mentioned vibration command is performed by above-mentioned second shockproofness within the second time.Together
Sample, as above described in example, by the duration of the time of systemic presupposition second, or by user is set by self-demand above-mentioned second time
Duration, for example, the duration of the very first time is arranged to 3 seconds, the duration of the second time is arranged to 30 seconds, then at 3 seconds
In time, perform above-mentioned vibration command by the first shockproofness, in 30 seconds after 3 seconds, shake is performed by the second shockproofness
Dynamic instruction.
Further, after answering within the second time or handle current notifications, current shockproofness and current is recorded
Ringer volume, and as shockproofness next time and current ringer volume.
The beneficial effect of the present embodiment is, by detecting audio variable within the very first time, judges the audio
Variable not less than first audio threshold, meanwhile, detect offset variable within the very first time, judge the offset variable
Not less than first displacement threshold value, then the vibration command is performed by second shockproofness, then, at described second
In, when performing the vibration command by second shockproofness, default ringing instruction is performed, it is a kind of more for follow-up realization
The vibrating mode of sample provides conditioned basic and environmental basis so that and terminal device can perceive the object contacted at that time,
On the one hand, shockproofness can be automatically adjusted according to the situation of object, on the other hand, avoids sometimes being not felt by the shake of mobile phone
It is dynamic, sometimes shake the excessive technological deficiency of the sound sent.
Embodiment ten
Based on above-described embodiment, the invention also provides a kind of computer-readable recording medium, the computer-readable storage
Vibration control program is stored with medium, the vibration described in any one as described above is realized when vibration control program is executed by processor
The step of control method.
Implement vibration control method, equipment and the computer-readable recording medium of the present invention, by receiving vibration command, and
Above-mentioned vibration command is performed by the first shockproofness within the very first time, then, audio variable is detected within the above-mentioned very first time
And offset variable, subsequently, according to above-mentioned audio variable and the amplitude of above-mentioned offset variable, above-mentioned first shockproofness is adjusted
For the second shockproofness, finally, above-mentioned vibration command is performed by above-mentioned second shockproofness within the second time.Realize one kind
Diversified vibrating mode so that terminal device can perceive the object contacted at that time, on the one hand, can be according to the shape of object
Condition automatically adjusts shockproofness, on the other hand, avoids sometimes being not felt by the vibrations of mobile phone, sometimes shakes the sound sent
Excessive technological deficiency.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements not only include those key elements, and
And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service
Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art
Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot
Form, these are belonged within the protection of the present invention.
Claims (10)
1. a kind of vibration control method, it is characterised in that methods described includes:
Vibration command is received, and the vibration command is performed by the first shockproofness within the very first time;
Audio variable and offset variable are detected within the very first time;
According to the audio variable and the amplitude of the offset variable, it is strong that first shockproofness is adjusted to the second vibrations
Degree;
Within the second time the vibration command is performed by second shockproofness.
2. vibration control method according to claim 1, it is characterised in that the reception vibration command, and at first
It is interior to include by the first shockproofness execution vibration command:
First shockproofness is preset by peak swing;
Continue to perform the vibration command with first shockproofness within the very first time, wherein, the vibration command
Including but not limited to call-in reporting, information notice, alarm notification.
3. vibration control method according to claim 2, it is characterised in that described to detect audio within the very first time
Variable and offset variable include:
Default first audio threshold and the first displacement threshold value;
Audio variable is detected within the very first time, judges whether the audio variable exceedes first audio threshold, together
When, offset variable is detected within the very first time, judges whether the offset variable exceedes first displacement threshold value;
If the audio variable exceedes first audio threshold, audio difference is obtained, meanwhile, if the offset variable exceedes
First displacement threshold value, then obtain shift differences.
4. vibration control method according to claim 3, it is characterised in that described according to the audio variable and institute's rheme
The amplitude of variable is moved, first shockproofness is adjusted into the second shockproofness includes:
If the audio variable exceedes first audio threshold, reduce first shockproofness, to the described second vibrations
Intensity, wherein, the second shockproofness is less than first shockproofness;
If the offset variable exceedes first displacement threshold value, reduce first shockproofness, to the described second vibrations
Intensity, wherein, the second shockproofness is less than first shockproofness.
5. vibration control method according to claim 4, it is characterised in that described to be shaken within the second time by described second
Fatigue resistance, which performs the vibration command, to be included:
Audio variable is detected within the very first time, judges the audio variable not less than first audio threshold, meanwhile,
Offset variable is detected within the very first time, judges the offset variable not less than first displacement threshold value, then by described
Second shockproofness performs the vibration command;
Within second time, when performing the vibration command by second shockproofness, default ringing instruction is performed.
6. a kind of vibration control equipment, it is characterised in that the equipment includes memory, processor and is stored in the memory
Computer program that is upper and can running on the processor, is realized when the computer program is by the computing device:
Vibration command is received, and the vibration command is performed by the first shockproofness within the very first time;
Audio variable and offset variable are detected within the very first time;
According to the audio variable and the amplitude of the offset variable, it is strong that first shockproofness is adjusted to the second vibrations
Degree;
Within the second time the vibration command is performed by second shockproofness.
7. vibration control equipment according to claim 6, it is characterised in that the computer program is also by the processor
Realized during execution:
First shockproofness is preset by peak swing;
Continue to perform the vibration command with first shockproofness within the very first time, wherein, the vibration command
Including but not limited to call-in reporting, information notice, alarm notification.
8. vibration control equipment according to claim 7, it is characterised in that the computer program is also by the processor
Realized during execution:
Default first audio threshold and the first displacement threshold value;
Audio variable is detected within the very first time, judges whether the audio variable exceedes first audio threshold, together
When, offset variable is detected within the very first time, judges whether the offset variable exceedes first displacement threshold value;
If the audio variable exceedes first audio threshold, audio difference is obtained, meanwhile, if the offset variable exceedes
First displacement threshold value, then obtain shift differences.
9. vibration control equipment according to claim 8, it is characterised in that the computer program is also by the processor
Realized during execution:
If the audio variable exceedes first audio threshold, reduce first shockproofness, to the described second vibrations
Intensity, wherein, the second shockproofness is less than first shockproofness;
If the offset variable exceedes first displacement threshold value, reduce first shockproofness, to the described second vibrations
Intensity, wherein, the second shockproofness is less than first shockproofness;
Audio variable is detected within the very first time, judges the audio variable not less than first audio threshold, meanwhile,
Offset variable is detected within the very first time, judges the offset variable not less than first displacement threshold value, then by described
Second shockproofness performs the vibration command;
Within second time, when performing the vibration command by second shockproofness, default ringing instruction is performed.
10. a kind of computer-readable recording medium, it is characterised in that vibration control is stored with the computer-readable recording medium
Processing procedure sequence, the vibration control as any one of claim 1 to 5 is realized when the vibration control program is executed by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710904215.XA CN107707753A (en) | 2017-09-29 | 2017-09-29 | A kind of vibration control method, equipment and computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710904215.XA CN107707753A (en) | 2017-09-29 | 2017-09-29 | A kind of vibration control method, equipment and computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107707753A true CN107707753A (en) | 2018-02-16 |
Family
ID=61175426
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710904215.XA Pending CN107707753A (en) | 2017-09-29 | 2017-09-29 | A kind of vibration control method, equipment and computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107707753A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112449053A (en) * | 2019-09-04 | 2021-03-05 | 北京小米移动软件有限公司 | Control method and device for prompt signal of mobile terminal and storage medium |
CN113438364A (en) * | 2021-06-01 | 2021-09-24 | 荣耀终端有限公司 | Vibration adjustment method, electronic device, storage medium, and computer program product |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101388919A (en) * | 2008-10-28 | 2009-03-18 | 深圳华为通信技术有限公司 | Method, device and terminal equipment for controlling vibration of terminal |
CN101394439A (en) * | 2008-11-10 | 2009-03-25 | 深圳华为通信技术有限公司 | Method and terminal for automatically controlling vibration strength of terminal |
CN101399861A (en) * | 2008-10-31 | 2009-04-01 | 深圳华为通信技术有限公司 | Vibration regulating device, method for a mobile communication terminal, and communication terminal thereof |
CN102104674A (en) * | 2009-12-18 | 2011-06-22 | 深圳富泰宏精密工业有限公司 | Mobile phone and mobile phone vibration frequency adjusting method |
CN102883070A (en) * | 2012-10-15 | 2013-01-16 | 上海华勤通讯技术有限公司 | Mobile terminal and adjusting method thereof |
CN103227855A (en) * | 2013-03-25 | 2013-07-31 | 华为终端有限公司 | Vibration regulating method for mobile terminal and mobile terminal |
CN103631375A (en) * | 2012-08-20 | 2014-03-12 | 三星电子株式会社 | Method and apparatus for controlling vibration intensity according to situation awareness in electronic device |
CN105472131A (en) * | 2015-11-17 | 2016-04-06 | 上海斐讯数据通信技术有限公司 | Vibration intensity adjusting method, vibration intensity adjusting system and mobile terminal |
US20170070256A1 (en) * | 2015-09-09 | 2017-03-09 | Nintendo Co., Ltd. | Communication apparatus and battery cover |
-
2017
- 2017-09-29 CN CN201710904215.XA patent/CN107707753A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101388919A (en) * | 2008-10-28 | 2009-03-18 | 深圳华为通信技术有限公司 | Method, device and terminal equipment for controlling vibration of terminal |
CN101399861A (en) * | 2008-10-31 | 2009-04-01 | 深圳华为通信技术有限公司 | Vibration regulating device, method for a mobile communication terminal, and communication terminal thereof |
CN101394439A (en) * | 2008-11-10 | 2009-03-25 | 深圳华为通信技术有限公司 | Method and terminal for automatically controlling vibration strength of terminal |
CN102104674A (en) * | 2009-12-18 | 2011-06-22 | 深圳富泰宏精密工业有限公司 | Mobile phone and mobile phone vibration frequency adjusting method |
CN103631375A (en) * | 2012-08-20 | 2014-03-12 | 三星电子株式会社 | Method and apparatus for controlling vibration intensity according to situation awareness in electronic device |
CN102883070A (en) * | 2012-10-15 | 2013-01-16 | 上海华勤通讯技术有限公司 | Mobile terminal and adjusting method thereof |
CN103227855A (en) * | 2013-03-25 | 2013-07-31 | 华为终端有限公司 | Vibration regulating method for mobile terminal and mobile terminal |
US20170070256A1 (en) * | 2015-09-09 | 2017-03-09 | Nintendo Co., Ltd. | Communication apparatus and battery cover |
CN105472131A (en) * | 2015-11-17 | 2016-04-06 | 上海斐讯数据通信技术有限公司 | Vibration intensity adjusting method, vibration intensity adjusting system and mobile terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112449053A (en) * | 2019-09-04 | 2021-03-05 | 北京小米移动软件有限公司 | Control method and device for prompt signal of mobile terminal and storage medium |
CN113438364A (en) * | 2021-06-01 | 2021-09-24 | 荣耀终端有限公司 | Vibration adjustment method, electronic device, storage medium, and computer program product |
CN113438364B (en) * | 2021-06-01 | 2022-07-05 | 荣耀终端有限公司 | Vibration adjustment method, electronic device, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107277216A (en) | A kind of volume adjusting method, terminal and computer-readable recording medium | |
CN106961706A (en) | Method, mobile terminal and the computer-readable recording medium of communication pattern switching | |
CN107484081A (en) | A kind of method of adjustment of audio signal, device, terminal and computer-readable recording medium | |
CN108055411A (en) | Flexible screen display methods, mobile terminal and computer readable storage medium | |
CN107682547A (en) | A kind of voice messaging regulation and control method, equipment and computer-readable recording medium | |
CN107231473A (en) | A kind of audio output regulation and control method, equipment and computer-readable recording medium | |
CN106953684A (en) | A kind of method for searching star, mobile terminal and computer-readable recording medium | |
CN107181865A (en) | Processing method, terminal and the computer-readable recording medium of unread short messages | |
CN108172161A (en) | Display methods, mobile terminal and computer readable storage medium based on flexible screen | |
CN107506163A (en) | Adjust method, terminal and the computer-readable recording medium of screen display | |
CN107580350A (en) | A kind of signal intensity switching method, equipment and computer-readable recording medium | |
CN107172605A (en) | A kind of Emmergency call method, mobile terminal and computer-readable recording medium | |
CN107465239A (en) | Charge control method, charger, terminal and computer-readable recording medium | |
CN107979667A (en) | Double-screen display method, mobile terminal and computer-readable recording medium | |
CN107390856A (en) | A kind of method, mobile terminal and storage medium for reducing mobile terminal power consumption | |
CN108156325A (en) | A kind of double-sided screen Incoming-call control method, equipment and computer readable storage medium | |
CN107613206A (en) | A kind of image processing method, mobile terminal and computer-readable recording medium | |
CN107682541A (en) | Audio control method, mobile terminal and the storage medium of screen prjection | |
CN107197101A (en) | Audio regulation method, mobile terminal and computer-readable recording medium | |
CN108234869A (en) | A kind of shooting preview control method, equipment and computer readable storage medium | |
CN107911778A (en) | A kind of playback method based on loudspeaker in parallel, mobile terminal and readable storage medium storing program for executing | |
CN107707753A (en) | A kind of vibration control method, equipment and computer-readable recording medium | |
CN107239208A (en) | Handle method, equipment and the computer-readable recording medium of screenshot capture | |
CN107423065A (en) | Method, mobile terminal and the computer-readable recording medium that a kind of application is attended to anything else | |
CN106998553A (en) | A kind of equipment identities recognition methods, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180216 |