CN106713668A - Terminal vibration controlling method and device - Google Patents

Terminal vibration controlling method and device Download PDF

Info

Publication number
CN106713668A
CN106713668A CN201710092268.6A CN201710092268A CN106713668A CN 106713668 A CN106713668 A CN 106713668A CN 201710092268 A CN201710092268 A CN 201710092268A CN 106713668 A CN106713668 A CN 106713668A
Authority
CN
China
Prior art keywords
voice data
audio
frequency
audio frequency
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710092268.6A
Other languages
Chinese (zh)
Other versions
CN106713668B (en
Inventor
潘杰茂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710092268.6A priority Critical patent/CN106713668B/en
Publication of CN106713668A publication Critical patent/CN106713668A/en
Application granted granted Critical
Publication of CN106713668B publication Critical patent/CN106713668B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a terminal vibration controlling method and device. The method comprises: acquiring to-be-played audio data of a terminal; acquiring audio frequency corresponding to the audio data; and when playing the audio data, controlling a vibrator of the terminal to vibrate, and according to the audio frequency, adjusting vibration frequency of the vibrator. According to the terminal vibration controlling method and device, when the terminal plays an audio, the vibration frequency of the terminal can be controlled according to the audio frequency; and even though a user cannot hear sounds of the audio, the user can perceive the playing audio by perceiving the terminal vibration when the audio is played, thereby enriching perception experience of the user.

Description

The method and apparatus of control terminal vibrations
Technical field
The present invention relates to Internet technical field, more particularly to the method and apparatus that a kind of control terminal shakes.
Background technology
At present, the commonly provided dynamic image is used for user as " expression " in exchange in the social networking application of mobile phone terminal, To lift the sensory experience of user, part carries audio in expressing one's feelings.
But user is in some scenarios, mobile phone can be set to mute state.For example, certain user wishes hand during incoming call There are vibrations rather than play the tinkle of bells in machine, then mobile phone is adjusted into mute state.Now, the expression for carrying audio is showing use During family, because mobile phone is in mute state, user cannot hear the corresponding sound of expression, just lose the sensory experience of audio.
Accordingly, it would be desirable to a kind of technical scheme, is under silent mode in mobile phone, audio still can be perceived by the user.
The content of the invention
In view of this, it is an object of the invention to provide a kind of method and apparatus of control terminal vibrations, to solve at end Under mute state, user cannot perceive the problem of audio at end.
The technical scheme that present invention solution above-mentioned technical problem is used is as follows:
According to an aspect of the present invention, there is provided a kind of control terminal vibrations method, including:Obtain terminal to be played Voice data;Obtain the corresponding audio frequency of the voice data;In playing audio data, the terminal is controlled Vibrations device is shaken, and according to the vibration frequency of the audio frequency adjustment vibrations device.
According to another aspect of the present invention, there is provided a kind of device of control terminal vibrations, including:Voice data obtains mould Block, the voice data to be played for obtaining terminal;Audio frequency acquisition module, for obtaining the corresponding sound of the voice data Frequent rate;Shake control module, in playing audio data, controlling the vibrations device of the terminal to be shaken, And according to the vibration frequency of the audio frequency adjustment vibrations device.
According to above technical scheme, it is known that the method and apparatus of control terminal vibrations of the invention at least have following beneficial Effect:
In the inventive solutions, when terminal plays audio, can be according to the frequency control terminal of audio The frequency for being shaken, even if user cannot hear the sound of audio, can but be shaken when audio is played by experiencing terminal Mode perceive the audio played so that the sensory experience of abundant user.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the method for control terminal vibrations provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the method for another control terminal vibrations provided in an embodiment of the present invention;
Fig. 3 is a kind of principle flow chart of the method for control terminal vibrations provided in an embodiment of the present invention;
Fig. 4 is a kind of block diagram of the device of control terminal vibrations provided in an embodiment of the present invention;
Fig. 5 is the block diagram of the device of another control terminal vibrations provided in an embodiment of the present invention;
Fig. 6 is the terminal structure schematic diagram of the embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
Specific embodiment
In order that the technical problems to be solved by the invention, technical scheme and beneficial effect are clearer, clear, below tie Drawings and Examples are closed, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only It is used to explain the present invention, is not intended to limit the present invention.
As shown in figure 1, the method that a kind of vibrations of control terminal are provided in one embodiment of the present of invention, the present embodiment Method is applied to mobile terminal, is used when audio is played for mobile terminal, and mobile terminal includes but is not limited to mobile phone;This implementation The method of example can include:
Step S110, obtains terminal voice data to be played.In the present embodiment, the type to voice data is not carried out Limitation, its song that can be derived from network can be the voice for receiving, and can be the audio-frequency unit in audio/video file, can Being the tinkle of bells of mobile phone etc..
Step S120, obtains the corresponding audio frequency of voice data.In the present embodiment, to the mode of acquisition audio frequency It is not limited, voice data post analysis audio frequency can be being obtained, it is also possible to obtain the audio frequency information for having recorded; In the present embodiment, the audio frequency can be highest, minimum or average frequency of the voice data in whole playing duration, also may be used Being different time points, the frequency of time period of the voice data in playing duration.
Step S130, in playing audio-fequency data, the vibrations device of control terminal is shaken, and is adjusted according to audio frequency The vibration frequency of whole vibrations device.In the present embodiment, for mobile phone, vibrations device is the vibrations electricity of setting in mobile phone Machine;In the present embodiment, the audio frequency of voice data is corresponding with the vibration frequency of vibrations device, that is to say, that voice data Frequency characteristic passes to user by vibrations form.
In the present embodiment, when terminal plays audio, can be shaken according to the frequency control terminal of audio Frequency, even if user cannot hear the sound of audio, but can when audio is played, experience terminal shake by way of, To perceive the audio played, so that the sensory experience of abundant user.
As shown in Fig. 2 the method that a kind of vibrations of control terminal are provided in one embodiment of the present of invention, the present embodiment Method can include:
Step S210, when user selects dynamic image to be played, detects whether there is the audio of dynamic image association Data, using the voice data of dynamic image association as voice data to be played in the presence of.In the present embodiment, Dynamic Graph The facial expression image as shown in can be social tool, some facial expression images are carried in displaying and also play corresponding audio.Cause This, when the technical scheme of the present embodiment is used to show the scene of facial expression image, it is necessary to detect facial expression image whether with audio Data, in the presence of then need obtain the voice data.
Whether step S220, judge terminal currently in mute state.In the present embodiment, due to terminal be in can Play under the general mode of sound, the sound that voice data is played can be heard by the user, and now then there is no need to shake shape Formula passes to user, so under terminal non-mute state, it is not necessary to sound is converted into vibrations form, to reduce terminal Energy consumption.
Step S230, when judged result is to be, obtains the sound of multiple time periods of the voice data in its playing duration Frequent rate.In the present embodiment, because the sound-content of voice data is typically change, so voice data is in playing duration In the frequency of different time sections be different, in order to allow terminal that the sound variation of voice data is embodied when shaking, in this reality Apply and obtain in example frequency of the voice data in different time sections;In the present embodiment, the length to the time period is not limited, example Such as, the length of each time period can be 1 millisecond.
Step S220 is specifically included:Default multiple index values and the corresponding frequency values of multiple index values are obtained, it is multiple Index value represents the multiple time periods in the playing duration of voice data, and the corresponding frequency values of multiple index values represent voice data In the audio frequency of multiple time periods.In the present embodiment, there is provided a kind of method of the voice data frequency of record.To express one's feelings As a example by the corresponding voice data of image, after producer's making facial expression image and when setting corresponding audio material, according to The technical scheme of the present embodiment realizes an audio frequency controller end to analyze audio file, recording frequency length and every millisecond of audio Frequency (unit is hertz Hz).
Step S240, in playing audio-fequency data, the audio frequency of time period, adjustment shake is presently according to voice data Dynamic device is in current vibration frequency.In the present embodiment, relative to foregoing management end, the social tool phase on user mobile phone When in client, when client is clicked on facial expression image and is shown, the technical scheme according to the present embodiment judges user Whether the facial expression image carries audio, if just being carried out why the audio frequency for recording switchs to the vibration frequency of motor It is synchronous to play.
According to the technical scheme of the present embodiment, the foregoing corresponding overall flow of management end and client is as shown in figure 3, table After the corresponding voice data of feelings producer's setting facial expression image, the broadcasting of the audio instrument analysis voice data of management end is long Degree, it is assumed that its length is n milliseconds, management end sets n index, and index value is 1-n, represents the n-th of voice data playout length Millisecond, it is every in the playout length by audio analyzer analysis voice data after management end reads voice data in caching The frequency of millisecond, and accordingly recorded with index, user plays audio simultaneously when social tool client shows dynamic image Start the vibration motor of mobile phone, and read the vibration frequency of index and frequency values control mobile phone motor, it is seen that by this implementation The technical scheme of example, makes user perceive audio by vibration mode, increased the sensory experience of user.
As shown in figure 4, a kind of device of control terminal vibrations is provided in one embodiment of the present of invention, the present embodiment Device is applied to mobile terminal, is used when audio is played for mobile terminal, and mobile terminal includes but is not limited to mobile phone;This implementation The device of example can include:
Voice data acquisition module 410, obtains terminal voice data to be played.In the present embodiment, to voice data Type be not limited, its song that can be derived from network can be the voice for receiving, in being audio/video file Audio-frequency unit, can be the tinkle of bells of mobile phone etc..
Audio frequency acquisition module 420, obtains the corresponding audio frequency of voice data.In the present embodiment, to obtaining sound The mode of frequent rate is not limited, and can obtain voice data post analysis audio frequency, it is also possible to obtain what is recorded Audio frequency information;In the present embodiment, the audio frequency can be voice data whole playing duration highest, it is minimum or Different time points, the frequency of time period of average frequency, or voice data in playing duration.
Shake control module 430, in playing audio-fequency data, the vibrations device of control terminal is shaken, and according to sound The vibration frequency of frequent rate adjustment vibrations device.In the present embodiment, for mobile phone, vibrations device is setting in mobile phone Vibration motor;In the present embodiment, the audio frequency of voice data is corresponding with the vibration frequency of vibrations device, that is to say, that audio The frequency characteristic of data passes to user by vibrations form.
In the present embodiment, when terminal plays audio, can be shaken according to the frequency control terminal of audio Frequency, even if user cannot hear the sound of audio, but can when audio is played, experience terminal shake by way of, To perceive the audio played, so that the sensory experience of abundant user.
As shown in figure 5, a kind of device of control terminal vibrations is provided in one embodiment of the present of invention, the present embodiment Device can include:
Voice data acquisition module 510, when user selects dynamic image to be played, detects whether there is dynamic image The voice data of association, using the voice data of dynamic image association as voice data to be played in the presence of.In this implementation In example, dynamic image can be facial expression image shown in social tool, and some facial expression images are carried in displaying and also play right The audio answered.Therefore, when the technical scheme of the present embodiment is used to show the scene of facial expression image, it is necessary to detect that facial expression image is It is no with voice data, in the presence of then need obtain the voice data.
Whether mute state judge module 520, judge terminal currently in mute state.In the present embodiment, due to Terminal is under the general mode that can play sound, and the sound that voice data is played can be heard by the user, and not have then now Necessity passes to user to shake form, so under terminal non-mute state, it is not necessary to which sound is converted into vibrations form, To reduce the energy consumption of terminal.
Audio frequency acquisition module 530, when judged result is to be, obtains multiple of the voice data in its playing duration The audio frequency of time period.In the present embodiment, because the sound-content of voice data is typically change, so voice data The frequency of the different time sections in playing duration is different, in order to the sound for allowing terminal that voice data is embodied when shaking becomes Change, frequency of the voice data in different time sections is obtained in the present embodiment;In the present embodiment, the length to the time period is not entered Row limitation, for example, the length of each time period can be 1 millisecond.
Audio frequency acquisition module 530 obtains default multiple index values and the corresponding frequency values of multiple index values, many Individual index value represents the multiple time periods in the playing duration of voice data, and the corresponding frequency values of multiple index values represent audio number According to the audio frequency in multiple time periods.In the present embodiment, there is provided a kind of method of the voice data frequency of record.With table As a example by the corresponding voice data of feelings image, after producer's making facial expression image and when setting corresponding audio material, root An audio frequency controller end is realized according to the technical scheme of the present embodiment to analyze audio file, recording frequency length and every millisecond of sound Frequent rate (unit is hertz Hz).
Shake control module 540, in playing audio-fequency data, the audio for being presently in the time period according to voice data is frequently Rate, adjustment vibrations device is in current vibration frequency.In the present embodiment, relative to foregoing management end, on user mobile phone Social tool equivalent to client, user when client is clicked on facial expression image and is shown, according to the skill of the present embodiment Whether art scheme judges the facial expression image with audio, if just why the audio frequency for recording switchs to the vibrations of motor Frequency, synchronizes broadcasting.
According to the technical scheme of the present embodiment, the foregoing corresponding overall flow of management end and client is as shown in figure 3, table After the corresponding voice data of feelings producer's setting facial expression image, the broadcasting of the audio instrument analysis voice data of management end is long Degree, it is assumed that its length is n milliseconds, management end sets n index, and index value is 1-n, represents the n-th of voice data playout length Millisecond, it is every in the playout length by audio analyzer analysis voice data after management end reads voice data in caching The frequency of millisecond, and accordingly recorded with index, user plays audio simultaneously when social tool client shows dynamic image Start the vibration motor of mobile phone, and read the vibration frequency of index and frequency values control mobile phone motor, it is seen that by this implementation The technical scheme of example, makes user perceive audio by vibration mode, increased the sensory experience of user.
The embodiment of the present invention additionally provides a kind of terminal for realizing the device of embodiment of the present invention control terminal vibrations, As shown in fig. 6, for convenience of description, illustrate only the part related to the embodiment of the present invention, particular technique details is not disclosed, Refer to present invention method part.The terminal can be to include mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), any terminal device such as vehicle-mounted computer, So that terminal is as mobile phone as an example:
Fig. 6 is illustrated that the block diagram of the part-structure of the mobile phone related to terminal provided in an embodiment of the present invention.With reference to figure 6, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 610, memory 620, input block 630, display unit 640, Sensor 650, voicefrequency circuit 660, Wireless Fidelity (wireless fidelity, WiFi) module 670, processor 680 and The grade part of power supply 690.It will be understood by those skilled in the art that the handset structure shown in Fig. 6 does not constitute the restriction to mobile phone, Part more more or less than diagram can be included, or combine some parts, or different part arrangements.
Each component parts of mobile phone is specifically introduced with reference to Fig. 6:
RF circuits 610 can be used to receiving and sending messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information is received, processed to processor 680;In addition, up data is activation will be designed to base station.Generally, RF circuits bag Include but be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuits 60 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 global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 620 can be used to store software program and module, and processor 680 is by running storage in memory 620 Software program and module, so as to perform various function application and the data processing of mobile phone.Memory 620 can mainly include Storing program area and storage data field, wherein, the application journey that storing program area can be needed for storage program area, at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored and use what is created according to mobile phone Data (such as voice data, phone directory etc.) etc..Additionally, memory 620 can include high-speed random access memory, can be with Including nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-states Part.
Input block 630 can be used to receive the numeral or character information of input, and generation is set with the user of mobile phone 600 And the relevant key signals input of function control.Specifically, input block 630 may include contact panel 631 and other inputs Equipment 632.Contact panel 631, also referred to as touch-screen, user can be collected thereon or neighbouring touch operation (such as user makes With the operation of any suitable object such as finger, stylus or annex on contact panel 631 or near contact panel 631), and Corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 631 may include touch detecting apparatus and touch Touch two parts of controller.Wherein, touch detecting apparatus detect the touch orientation of user, and detect the letter that touch operation brings Number, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into Contact coordinate, then give processor 680, and the order sent of receiving processor 680 and can be performed.Furthermore, it is possible to using The polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave realize contact panel 631.It is defeated except contact panel 631 Entering unit 630 can also include other input equipments 632.Specifically, other input equipments 632 can include but is not limited to physics One or more in keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 640 can be used for show by user input information or be supplied to user information and mobile phone it is various Menu.Display unit 640 may include display panel 641, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 641.Further, contact panel 631 can cover display panel 641, when contact panel 631 detect it is thereon or attached After near touch operation, processor 680 is sent to determine the type of touch event, with preprocessor 680 according to touch event Type corresponding visual output is provided on display panel 641.Although in figure 6, contact panel 631 and display panel 641 It is input and the input function that mobile phone is realized as two independent parts, but in some embodiments it is possible to by touch-control Panel 631 and display panel 641 be integrated and input that realize mobile phone and output function.
Mobile phone 600 may also include at least one sensor 650, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include 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 641, and proximity transducer can close display panel when mobile phone is moved in one's ear 641 and/or backlight.Used as one kind of motion sensor, (generally three axles) add in the detectable all directions of accelerometer sensor The size of speed, can detect that size and the direction of gravity when static, can be used to recognize application (the such as horizontal/vertical screen of mobile phone attitude Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for mobile phone also The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Voicefrequency circuit 660, loudspeaker 661, microphone 662 can provide the COBBAIF between user and mobile phone.Audio-frequency electric Electric signal after the voice data conversion that road 660 will can receive, is transferred to loudspeaker 661, and sound is converted to by loudspeaker 661 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 662, is turned after being received by voicefrequency circuit 660 It is changed to voice data, then after voice data output processor 680 is processed, through RF circuits 610 to be sent to such as another mobile phone, Or export to memory 620 so as to further treatment voice data.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 670 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 6 shows WiFi module 670, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone 600, completely can as needed not Change in the essential scope of invention and omit.
Processor 680 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform software program of the storage in memory 620 and/or module, and call storage in memory 620 Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 680 can be wrapped Include one or more processing units;Preferably, processor 680 can integrated application processor and modem processor, wherein, should Operating system, user interface and application program etc. are mainly processed with processor, modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated into processor 680.
Mobile phone 600 also includes the power supply 690 (such as battery) powered to all parts, it is preferred that power supply can be by electricity Management system is logically contiguous with processor 680, so as to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.
Although not shown, mobile phone 600 can also will not be repeated here including camera, bluetooth module etc..
In embodiments of the present invention, the processor 680 included by the terminal also has following functions:
Obtain terminal voice data to be played;
Obtain the corresponding audio frequency of the voice data;
In playing audio data, the vibrations device of the terminal is controlled to be shaken, and according to the audio frequently The vibration frequency of the rate adjustment vibrations device.
Above-mentioned processor 680 also obtains the audio frequency of multiple time periods of the voice data in its playing duration;
Above-mentioned processor 680 is presently in the time period also in playing audio data according to the voice data Audio frequency, adjusts the vibrations device in current vibration frequency.
Above-mentioned processor 680 also obtains default multiple index values and the corresponding frequency values of the multiple index value, institute State the multiple time periods during multiple index values represent the playing duration of the voice data, the corresponding frequency of the multiple index value Value represents audio frequency of the voice data in the multiple time period.
Above-mentioned processor 680 also judges that whether the terminal, currently in mute state, when judged result is to be, is performed Obtain the corresponding audio frequency of the voice data.
Above-mentioned processor 680 also when the user selects dynamic image to be played, detects whether there is the dynamic The voice data of image association, using the voice data of dynamic image association as the audio number to be played in the presence of According to.
In addition, one of ordinary skill in the art will appreciate that realizing all or part of step in above-mentioned each method embodiment The hardware that program be can be by instruct correlation is completed, and corresponding program can be stored in a kind of computer-readable recording medium In, storage medium mentioned above can be read-only storage, disk or CD etc..
Above by reference to the preferred embodiments of the present invention have been illustrated, not thereby limit to interest field of the invention.This Art personnel do not depart from the scope of the present invention and essence, can have various flexible programs to realize the present invention, for example as one The feature of individual embodiment can be used for another embodiment and obtain another embodiment.It is all to use institute within technology design of the invention Any modification, equivalent and the improvement made, all should be within interest field of the invention.

Claims (10)

1. a kind of method that control terminal shakes, it is characterised in that including:
Obtain terminal voice data to be played;
Obtain the corresponding audio frequency of the voice data;
In playing audio data, the vibrations device of the terminal is controlled to be shaken, and adjusted according to the audio frequency The vibration frequency of the whole vibrations device.
2. method according to claim 1, it is characterised in that obtain the corresponding audio frequency of the voice data, specifically Including:
Obtain the audio frequency of multiple time periods of the voice data in its playing duration;
The size of the vibration frequency of the size control vibrations device according to the audio frequency, specifically includes:
In playing audio data, the audio frequency of time period is presently according to the voice data, adjusts the shake Dynamic device is in current vibration frequency.
3. method according to claim 2, it is characterised in that obtain multiple of the voice data in its playing duration The audio frequency of time period, specifically includes:
Default multiple index values and the corresponding frequency values of the multiple index value are obtained, the multiple index value represents described Multiple time periods in the playing duration of voice data, the corresponding frequency values of the multiple index value represent that the voice data exists The audio frequency of the multiple time period.
4. method according to claim 1, it is characterised in that obtain the corresponding audio frequency of the voice data it Before, also include:
Judge that whether the terminal, currently in mute state, when judged result is to be, is performed and obtains the voice data pair The audio frequency answered.
5. the method according to any one of Claims 1-4, it is characterised in that obtain terminal voice data to be played, tool Body includes:
When the user selects dynamic image to be played, detect whether there is the voice data of the dynamic image association, Using the voice data of dynamic image association as the voice data to be played in the presence of.
6. the device that a kind of control terminal shakes, it is characterised in that including:
Voice data acquisition module, the voice data to be played for obtaining terminal;
Audio frequency acquisition module, for obtaining the corresponding audio frequency of the voice data;
Shake control module, in playing audio data, controlling the vibrations device of the terminal to be shaken, and root According to the vibration frequency of the audio frequency adjustment vibrations device.
7. device according to claim 6, it is characterised in that
The audio frequency acquisition module obtains the audio frequency of multiple time periods of the voice data in its playing duration;
The shake control module is presently in the audio of time period according to the voice data in playing audio data Frequency, adjusts the vibrations device in current vibration frequency.
8. device according to claim 7, it is characterised in that
The audio frequency acquisition module obtains default multiple index values and the corresponding frequency values of the multiple index value, institute State the multiple time periods during multiple index values represent the playing duration of the voice data, the corresponding frequency of the multiple index value Value represents audio frequency of the voice data in the multiple time period.
9. device according to claim 6, it is characterised in that also include:
Mute state judge module, for judging the terminal currently whether in mute state, when judged result is to be, institute State audio frequency acquisition module and perform the corresponding audio frequency of the acquisition voice data.
10. the device according to any one of claim 6 to 9, it is characterised in that
The voice data acquisition module detects whether there is the dynamic when the user selects dynamic image to be played The voice data of image association, using the voice data of dynamic image association as the audio number to be played in the presence of According to.
CN201710092268.6A 2017-02-21 2017-02-21 Method and device for controlling vibration of terminal Active CN106713668B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710092268.6A CN106713668B (en) 2017-02-21 2017-02-21 Method and device for controlling vibration of terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710092268.6A CN106713668B (en) 2017-02-21 2017-02-21 Method and device for controlling vibration of terminal

Publications (2)

Publication Number Publication Date
CN106713668A true CN106713668A (en) 2017-05-24
CN106713668B CN106713668B (en) 2021-07-09

Family

ID=58917056

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710092268.6A Active CN106713668B (en) 2017-02-21 2017-02-21 Method and device for controlling vibration of terminal

Country Status (1)

Country Link
CN (1) CN106713668B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021139535A1 (en) * 2020-01-10 2021-07-15 腾讯音乐娱乐科技(深圳)有限公司 Method, apparatus and system for playing audio, and device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104506114A (en) * 2014-12-15 2015-04-08 青岛海信移动通信技术股份有限公司 Motor control method and device in mobile terminal
CN104679046A (en) * 2013-11-27 2015-06-03 成都优百沃科技有限公司 Sound control circuit capable of controlling vibration frequency of mobile phone through sound
CN105323731A (en) * 2014-07-30 2016-02-10 中兴通讯股份有限公司 Information transmission method and terminal device
CN105976852A (en) * 2016-04-28 2016-09-28 上海斐讯数据通信技术有限公司 Music player
CN106134218A (en) * 2014-04-04 2016-11-16 歌乐株式会社 Vibration audio devices, vibration audio-frequency inputting method and vibration audio program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679046A (en) * 2013-11-27 2015-06-03 成都优百沃科技有限公司 Sound control circuit capable of controlling vibration frequency of mobile phone through sound
CN106134218A (en) * 2014-04-04 2016-11-16 歌乐株式会社 Vibration audio devices, vibration audio-frequency inputting method and vibration audio program
CN105323731A (en) * 2014-07-30 2016-02-10 中兴通讯股份有限公司 Information transmission method and terminal device
CN104506114A (en) * 2014-12-15 2015-04-08 青岛海信移动通信技术股份有限公司 Motor control method and device in mobile terminal
CN105976852A (en) * 2016-04-28 2016-09-28 上海斐讯数据通信技术有限公司 Music player

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021139535A1 (en) * 2020-01-10 2021-07-15 腾讯音乐娱乐科技(深圳)有限公司 Method, apparatus and system for playing audio, and device and storage medium

Also Published As

Publication number Publication date
CN106713668B (en) 2021-07-09

Similar Documents

Publication Publication Date Title
CN106534941B (en) Method and device for realizing video interaction
CN103414982B (en) A kind of method and apparatus that sound is provided
CN108647005A (en) Audio frequency playing method, mobile terminal and computer readable storage medium
CN108803859A (en) Information processing method, device, terminal, earphone and readable storage medium storing program for executing
CN106506437B (en) Audio data processing method and device
CN108391190B (en) A kind of noise-reduction method, earphone and computer readable storage medium
CN107767839A (en) Brightness adjusting method and related product
CN108391207A (en) Data processing method, device, terminal, earphone and readable storage medium storing program for executing
CN105959482B (en) A kind of control method and electronic equipment of scene audio
CN103491240B (en) A kind of alarm clock ringing method, device and mobile terminal
CN107743178A (en) A kind of message player method and mobile terminal
CN106775773A (en) A kind of theme control method and terminal device
CN106101764A (en) A kind of methods, devices and systems showing video data
CN107741812B (en) A kind of method and terminal handling media file
CN106126160A (en) A kind of effect adjusting method and user terminal
CN109582817A (en) A kind of song recommendations method, terminal and computer readable storage medium
CN109088997A (en) A kind of gaming audio control method, terminal and computer readable storage medium
CN109375894A (en) Earpiece volume based reminding method, device, mobile terminal and readable storage medium storing program for executing
CN106653068A (en) Audio data playing method, device and terminal
CN108541116A (en) Lamp light control method, terminal and computer readable storage medium
CN107635083A (en) The tinkle of bells method to set up, mobile terminal and readable storage medium storing program for executing
CN110083331A (en) Wearable device play mode control method, device, wearable device and medium
CN108401179B (en) A kind of animation playing method based on virtual objects, device and mobile terminal
CN109558009A (en) Video broadcasting method, mobile terminal and computer readable storage medium
CN108259672A (en) A kind of processing method of multimedia content, terminal and computer storage media

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
GR01 Patent grant
GR01 Patent grant