CN109947248A - Vibration control method, mobile terminal and computer readable storage medium - Google Patents

Vibration control method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN109947248A
CN109947248A CN201910195164.7A CN201910195164A CN109947248A CN 109947248 A CN109947248 A CN 109947248A CN 201910195164 A CN201910195164 A CN 201910195164A CN 109947248 A CN109947248 A CN 109947248A
Authority
CN
China
Prior art keywords
game
mobile terminal
sound
sound information
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910195164.7A
Other languages
Chinese (zh)
Inventor
敖杉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910195164.7A priority Critical patent/CN109947248A/en
Publication of CN109947248A publication Critical patent/CN109947248A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

This application provides a kind of game vibration control method, the method is applied to mobile terminal, which comprises determines that the mobile terminal is in game running state;Obtain the current sound information of the mobile terminal;It determines the current sound information matches target game sound, controls the mobile terminal and vibrated.Present invention also provides a kind of mobile terminal and computer readable storage mediums.In this manner, sound outside game sound and game can with high-accuracy be distinguished, the accuracy rate for the vibrational feedback that mobile terminal provides the event change in game is substantially improved, enhances user experience.

Description

Vibration control method, mobile terminal and computer readable storage medium
Technical field
This application involves network communication technology field more particularly to a kind of vibration control methods, mobile terminal and computer Readable storage medium storing program for executing.
Background technique
With the rapid development of mobile terminals, the configuration of mobile terminal is higher and higher, can support the need of high data processing It asks, therefore, game is played by mobile terminal and has become a kind of trend.The player of game is played more by mobile terminal in order to provide Good game experiencing, mobile terminal not only reflect scene in game, plot and operation content by modes such as sound, light and shades Variation is more provided to inform that certain particular game events occur for user by way of vibrational feedback, for example, kill, hit, It is attacked.There is also the sound by monitoring mobile terminal sending in existing game as judgment basis, to trigger vibration Feedback.But in existing mode, mobile terminal can not accurately distinguish the source of sound, therefore, it may appear that in the field of mistake The case where being vibrated under scape, reduces user experience.
Summary of the invention
The main purpose of the application is to propose a kind of vibration control method, mobile terminal and computer-readable storage medium Matter, it is desirable to provide mobile terminal accurately can provide accurate vibrational feedback according to the event change in game.
To achieve the above object, this application provides a kind of game vibration control method, the method is applied to mobile whole End, which comprises determine that the mobile terminal is in game running state;Obtain the current sound letter of the mobile terminal Breath;It determines the current sound information matches target game sound, controls the mobile terminal and vibrated.
Optionally, the determination mobile terminal is in the step of game running state, comprising: obtains described mobile whole The current picture at end;When the current picture and default game picture match, determine that the mobile terminal is in game fortune Row state.
Optionally, the determination mobile terminal is in the step of game running state, comprising: obtains current operation journey The parameter information of sequence;When the parameter information meets game application parameter information, determine that the mobile terminal is in game fortune Row state.
Optionally, the step of determination current sound information matches target game sound, comprising: obtain work as in advance Game sound information corresponding to the games of preceding operation;When the current sound information and the game sound information meet When preset matching threshold value, the current sound information matches target game sound is determined.
Optionally, the game sound information includes audio file, wherein described to obtain currently running game journey in advance Corresponding to sequence the step of game sound information are as follows: obtain the documentation of the currently running games;Described in extraction Meet the audio file of preset audio type in documentation.
Optionally, the step of when the current sound information and the game sound information meet preset matching threshold value, packet It includes: extracting the sound characteristic value and the corresponding current sound characteristic value of the current sound information of the game sound information;When When the sound characteristic value and the current sound characteristic value meet the preset matching threshold value, the current sound information is determined Meet preset matching threshold value with the game sound information.
Optionally, the step of control mobile terminal is vibrated, comprising: obtain in the current sound information Audio parameter, the vibration parameters are determined according to the audio parameter;The mobile terminal is controlled according to the vibration parameters It is vibrated.
Optionally, audio parameter includes following at least one: sound intensity, sound amplitude and sound frequency.
The application also provides a kind of mobile terminal, and the mobile terminal includes: touch screen;Processor;
Memory is connected to the processor, and the memory includes control instruction, when the processor reads the control When system instruction, controls the mobile terminal and realize above-mentioned vibration control method.
The application also provides a kind of computer readable storage medium, and the computer readable storage medium has one or more Program, one or more of programs are executed by one or more processors, to realize above-mentioned vibration control method.
Vibration control method, mobile terminal and computer readable storage medium provided by the present application, it is mobile whole by determining When end is in game running state, triggering obtains the current sound information that mobile terminal issues, by extracting in game in advance Mode of the game sound information as target game sound, the current sound information that will acquire and the progress of target game sound Match, when determining current sound information and target game Sound Match, determine that current sound information is the sound in game, And then mobile terminal is controlled according to current sound information and is vibrated.In this manner, trip can with high-accuracy be distinguished Play sound and the outer sound of game, are substantially improved the accuracy rate for the vibrational feedback that mobile terminal provides the event change in game, Enhance user experience.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
Fig. 1 is the hardware structural diagram for realizing each embodiment one optional mobile terminal of the application;
Fig. 2 is the communications network system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the flow chart for the vibration control method that one embodiment of the application provides;
Fig. 4 is the structural schematic diagram for the mobile terminal that one embodiment of the application provides.
The embodiments will be further described with reference to the accompanying drawings for realization, functional characteristics and the advantage of the application purpose.
Specific 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 subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components 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 constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless 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, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex 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, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the 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 received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent 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 (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further 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 sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of 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 sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of 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) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch 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 It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it 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, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, 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 storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it 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 entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless 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) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN 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 details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may 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, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may 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 should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
Fig. 3 is the flow chart of the embodiment of a vibration control method provided by the present application.Once the method quilt of the embodiment User's triggering, then the process in the embodiment passes through mobile terminal automatic running, wherein each step can be with when operation It is successively to be carried out according to the sequence in such as flow chart, is also possible to multiple steps according to the actual situation while carrying out, herein not It limits.Vibration control method provided by the present application includes the following steps:
Step S310 determines that the mobile terminal is in game running state;
Step S330 obtains the current sound information of the mobile terminal;
Step S350 determines the current sound information matches target game sound, controls the mobile terminal and shake It is dynamic.
By above embodiment, when by determining that mobile terminal is in game running state, triggering obtains mobile terminal The current sound information of sending will by way of extracting the game sound information in game in advance as target game sound The current sound information got is matched with target game sound, when determining current sound information and target game sound Timing determines that current sound information is the sound in game, and then controls mobile terminal according to current sound information and carry out Vibration.In this manner, sound outside game sound and game can with high-accuracy be distinguished, mobile terminal pair is substantially improved The accuracy rate for the vibrational feedback that event change in game provides enhances user experience.
Above-mentioned steps are specifically described below in conjunction with specific embodiment.
In step s310, determine that the mobile terminal is in game running state.It is run determining that mobile terminal is in When state, microphone is opened in triggering, for monitoring the sound of mobile terminal sending.It in this manner, can be to avoid swashing constantly Microphone works state living, thereby reduces power consumption.In embodiment itself, game running state refers to game application journey Sequence is in front stage operation state.In other embodiments, game running state refers to that game application is in work shape State, wherein including in front stage operation state or in the state of running background.Wherein it is determined that the mobile terminal is in trip Play operating status can be realized by way of determining that mobile terminal receives the data information for meeting game data feature.At this In embodiment, step S310 can be achieved by the steps of:
Step S3101 obtains the current picture of the mobile terminal;
Step S3103 determines that the mobile terminal is in trip when the current picture matches with default game picture Play operating status.
Specifically, preset vibrational feedback mode, when determining that mobile terminal is in vibrational feedback mode, in real time or with Preset time interval obtains the current picture of mobile terminal.In the present embodiment, presetting vibrational feedback mode can be with It realizes, can also be realized by way of setting shortcut key in such a way that corresponding virtual switch is arranged in set interface, when When mobile terminal detects when virtual switch is in the open state or detects that shortcut key is triggered, control mobile terminal enters Vibrational feedback mode.In step S3101, it can be obtained in such a way that backstage captures image camera module mobile whole The current picture at end, in this manner, it is possible to reduce user is had an impact when obtaining current picture.It should be noted that It can be carried out by way of other available current pictures, be not specifically limited herein.In step S3103, by sentencing The whether matched mode of color parameter of the color parameter and default game picture of disconnected current picture is realized, image can also be passed through Identification method determines whether the picture material for including in current picture matches with the picture material for including in default game picture Mode realize, naturally it is also possible to can determine that the whether matched mode of two images is realized by others, herein not It is specifically limited.
In other embodiments, step S310 can be achieved by the steps of:
Step S3105 obtains the received touch information of mobile terminal;
Step S3107 determines that the mobile terminal is in when determining that touch data meets default game touch characteristic Game running state.
Specifically, touch information includes but is not limited to: touching position information, the trace information of touch, touch frequency information Deng.Preset game touch characteristic, for example, game touch characteristic may include touch location concentrate on it is pre- If position, for example, the lower left and lower right of screen, therefore, and when running of mobile terminal game, the mobile control and technical ability of game Control is respectively arranged at the lower left and lower right of screen, when judge in the received touch information of mobile terminal touch location letter When breath concentrates on predeterminated position, it is determined that the mobile terminal is in game running state.By above embodiment, can subtract Few image procossing pressure, provides data processing rate.
In other embodiments, step S310 can be achieved by the steps of:
Step S3108 obtains the parameter information of current operation program;
Step S3109 determines that the mobile terminal is in trip when the parameter information meets game application parameter information Play operating status.
Specifically, the parameter information of program being currently running is obtained by Program Manager, wherein parameter information is Information of characterization program type, such as title, the developer of program etc..By by currently running parameter information and the journey that prestores The information such as sequence title or developer are compared, and are such as matched to corresponding game application parameter information, it is determined that mobile terminal In game running state, if be not matched in the information being locally stored, it is compared by way of networking, such as Fruit is matched to corresponding game application parameter information on the internet, it is determined that and mobile terminal is in game running state, meanwhile, Information on the internet is stored to local.In this manner, Data Matching efficiency can effectively be improved.
In step S330, the current sound information of the mobile terminal is obtained.It is mobile whole by opening when specific implementation The microphone at end collects acoustic information.Current sound information refers to the information for embodying sound characteristic, and for example, acoustic information can To include the loudness of sound, the frequency of sound and amplitude of sound etc..
In step S350, the current sound information matches target game sound is determined, control the mobile terminal and carry out Vibration.
Specifically, target game sound is for determining whether acoustic information to be compared is that game in specific game is pre- Sound processed, for example, dubbing in background music in game, the sound configured in the NPC telephone voice or other game in game.Its In, target game sound can be obtained by way of the file in the installation kit for extracting local game application program, can also be with Mode obtaining the audio document of game existing on network by way of networking is realized, it should be noted that it is any can be with The mode for obtaining the acoustic information in game is ok, specifically without limitation.Specifically, in the present embodiment, step S350 In the determination current sound information matches target game sound can be achieved by the steps of:
Step S3501 obtains game sound information corresponding to currently running games in advance;
Step S3503 is determined when the current sound information meets preset matching threshold value with the game sound information The current sound information matches target game sound.
Specifically, the installation kit of games can store in the corresponding file of games after decompression and installation There is audio files, make game in the process of running by these audio files, is detecting corresponding sounds trigger event When, audio files corresponding with trigger event can be transferred and played out.In the present embodiment, step 3501 can be by such as Lower step is realized: obtaining the documentation of the currently running games;It extracts and meets default sound in the documentation The audio file of frequency type, for example, operating system decompress the documentation in game apk, extract distinctive sound in apk Frequency associated documents, for example, file format is the file of wmv, mp3.In other embodiments, step S3501 can also pass through Audio files relevant to the game run before current year is searched for by way of networking to make according to currently running game information For game sound information.
In step S3503, can be achieved by the steps of: extract the game sound information sound characteristic value and The corresponding current sound characteristic value of the current sound information;When the sound characteristic value and the current sound characteristic value meet When the preset matching threshold value, determine that the current sound information and the game sound information meet preset matching threshold value.Its In, the sound characteristic value of game sound information can obtain in advance the letter of game sound corresponding to currently running games Extracted when breath, the sound characteristic value of the game sound information of extraction recorded, in this manner, can in advance by A large amount of game sound information is pre-processed, so that subsequent carrying out aspect ratio clock synchronization with current sound information, it is only necessary to real When extract current sound information characteristic value therefore reduce the parallel data processing pressure of mobile terminal, improving is Computational efficiency.Wherein, preset matching threshold value can increase serious forgiveness in this manner for numerical intervals.
Wherein, in the present embodiment, control the step of mobile terminal is vibrated can as follows into Row:
Step S3505, obtains the audio parameter in the current sound information, determines the vibration according to the audio parameter Dynamic parameter;
Step S3507 controls the mobile terminal according to the vibration parameters and is vibrated.
Specifically, in an optional embodiment, audio parameter can be sonority, sound amplitude and sound frequency. Wherein, vibration parameters include but is not limited to the frequency vibrated, the amplitude of vibration.In the present embodiment, current sound is preset The corresponding relationship of audio parameter and vibration parameters in message breath, in step S3505, after getting audio parameter, according to sound Sound parameter determines corresponding vibration parameters with the corresponding relationship of vibration parameters.
In other embodiments, scene of game information corresponding to target game sound is predefined, wherein sports ground Scape information refers to environmental information locating for the virtual role in characterization going game, for example, scene of game information can be attack Scene, scene of fighting or other scenes.The corresponding relationship of scene of game and vibration parameters is preset, is controlled described mobile whole The step of end is vibrated can also carry out as follows: determining to think matched target game sound with current sound information Sound, current scene of game information is determined according to target game sound, determines corresponding vibration parameters according to scene of game information, And then mobile terminal is controlled according to vibration parameters and is vibrated.
By above embodiment, mobile terminal is allowed according to unused scene of game to carry out different vibrations anti- Feedback, allows player to determine current game situation according to vibrational feedback situation, meanwhile, provide the game experiencing of user.
Fig. 4 is the structure composition schematic diagram of mobile terminal 100 provided by the embodiments of the present application, and mobile terminal 100 includes: touching Touch panel 1071;Processor 110;Memory 109 is connect with the processor 110, and the memory 109 includes control instruction, When the processor 110 reads the control instruction, controls the mobile terminal 100 and realizes following steps:
Determine that the mobile terminal is in game running state;Obtain the current sound information of the mobile terminal;It determines The current sound information matches target game sound, controls the mobile terminal and is vibrated.
Optionally, the determination mobile terminal is in the step of game running state, comprising: obtains described mobile whole The current picture at end;When the current picture and default game picture match, determine that the mobile terminal is in game fortune Row state.
Optionally, the determination mobile terminal is in the step of game running state, comprising: obtains current operation journey The parameter information of sequence;When the parameter information meets game application parameter information, determine that the mobile terminal is in game fortune Row state.
Optionally, the step of determination current sound information matches target game sound, comprising: obtain work as in advance Game sound information corresponding to the games of preceding operation;When the current sound information and the game sound information meet When preset matching threshold value, the current sound information matches target game sound is determined.
Optionally, the game sound information includes audio file, wherein described to obtain currently running game journey in advance Corresponding to sequence the step of game sound information are as follows: obtain the documentation of the currently running games;Described in extraction Meet the audio file of preset audio type in documentation.
Optionally, the step of when the current sound information and the game sound information meet preset matching threshold value, packet It includes: extracting the sound characteristic value and the corresponding current sound characteristic value of the current sound information of the game sound information;When When the sound characteristic value and the current sound characteristic value meet the preset matching threshold value, the current sound information is determined Meet preset matching threshold value with the game sound information.
Optionally, the step of control mobile terminal is vibrated, comprising: obtain in the current sound information Audio parameter, the vibration parameters are determined according to the audio parameter;The mobile terminal is controlled according to the vibration parameters It is vibrated.
Optionally, audio parameter includes following at least one: sound intensity, sound amplitude and sound frequency.
By above-mentioned mobile terminal, when by determining that mobile terminal is in game running state, triggering obtains mobile terminal The current sound information of sending will by way of extracting the game sound information in game in advance as target game sound The current sound information got is matched with target game sound, when determining current sound information and target game sound Timing determines that current sound information is the sound in game, and then controls mobile terminal according to current sound information and carry out Vibration.In this manner, sound outside game sound and game can with high-accuracy be distinguished, mobile terminal pair is substantially improved The accuracy rate for the vibrational feedback that event change in game provides enhances user experience.
The embodiment of the present application also provides a kind of computer readable storage medium, and computer readable storage medium has one or more A program, one or more programs are executed by one or more processors, to realize following steps: being determined at the mobile terminal In game running state;Obtain the current sound information of the mobile terminal;Determine the current sound information matches target trip Play sound, controls the mobile terminal and is vibrated.
Optionally, the determination mobile terminal is in the step of game running state, comprising: obtains described mobile whole The current picture at end;When the current picture and default game picture match, determine that the mobile terminal is in game fortune Row state.
Optionally, the determination mobile terminal is in the step of game running state, comprising: obtains current operation journey The parameter information of sequence;When the parameter information meets game application parameter information, determine that the mobile terminal is in game fortune Row state.
Optionally, the step of determination current sound information matches target game sound, comprising: obtain work as in advance Game sound information corresponding to the games of preceding operation;When the current sound information and the game sound information meet When preset matching threshold value, the current sound information matches target game sound is determined.
Optionally, the game sound information includes audio file, wherein described to obtain currently running game journey in advance Corresponding to sequence the step of game sound information are as follows: obtain the documentation of the currently running games;Described in extraction Meet the audio file of preset audio type in documentation.
Optionally, the step of when the current sound information and the game sound information meet preset matching threshold value, packet It includes: extracting the sound characteristic value and the corresponding current sound characteristic value of the current sound information of the game sound information;When When the sound characteristic value and the current sound characteristic value meet the preset matching threshold value, the current sound information is determined Meet preset matching threshold value with the game sound information.
Optionally, the step of control mobile terminal is vibrated, comprising: obtain in the current sound information Audio parameter, the vibration parameters are determined according to the audio parameter;The mobile terminal is controlled according to the vibration parameters It is vibrated.
Optionally, audio parameter includes following at least one: sound intensity, sound amplitude and sound frequency.
By above-mentioned computer readable storage medium, when by determining that mobile terminal is in game running state, triggering is obtained The current sound information for taking mobile terminal to issue, by extracting the game sound information in game in advance as target game sound Mode, the current sound information that will acquire matched with target game sound, when determining current sound information and target When game sound matches, determine that current sound information is the sound in game, and then control and move according to current sound information Dynamic terminal is vibrated.In this manner, sound outside game sound and game can with high-accuracy be distinguished, is substantially improved The accuracy rate for the vibrational feedback that mobile terminal provides the event change in game enhances user experience.
The embodiment of the present application also provides a kind of computer readable storage mediums.Here computer readable storage medium is deposited Contain one or more program.Wherein, computer readable storage medium may include volatile memory, such as arbitrary access Memory;Memory also may include nonvolatile memory, such as read-only memory, flash memory, hard disk or solid-state are hard Disk;Memory can also include the combination of the memory of mentioned kind.
Corresponding technical characteristic in the respective embodiments described above do not cause scheme contradiction or it is not implementable under the premise of, can Mutually to use.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, the technical solution of the application substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the application.
Embodiments herein is described above in conjunction with attached drawing, but the application be not limited to it is above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the enlightenment of the application, when not departing from the application objective and scope of the claimed protection, can also it make very much Form, these are belonged within the protection of the application.

Claims (10)

1. a kind of game vibration control method, which is characterized in that the method is applied to mobile terminal, which comprises
Determine that the mobile terminal is in game running state;
Obtain the current sound information of the mobile terminal;
It determines the current sound information matches target game sound, controls the mobile terminal and vibrated.
2. game vibration control method as described in claim 1, which is characterized in that the determination mobile terminal is in game The step of operating status, comprising:
Obtain the current picture of the mobile terminal;
When the current picture and default game picture match, determine that the mobile terminal is in game running state.
3. game vibration control method as described in claim 1, which is characterized in that the determination mobile terminal is in trip The step of operating status of playing, comprising:
Obtain the parameter information of current operation program;
When the parameter information meets game application parameter information, determine that the mobile terminal is in game running state.
4. game vibration control method as described in claim 1, which is characterized in that the determination current sound information The step of with target game sound, comprising:
Game sound information corresponding to currently running games is obtained in advance;
When the current sound information and the game sound information meet preset matching threshold value, the current sound letter is determined Breath matching target game sound.
5. game vibration control method as claimed in claim 4, which is characterized in that the game sound information includes audio text Part, wherein described the step of obtaining game sound information corresponding to currently running games in advance are as follows:
Obtain the documentation of the currently running games;
Extract the audio file for meeting preset audio type in the documentation.
6. game vibration control method as claimed in claim 4, which is characterized in that the current sound information and the game The step of when acoustic information meets preset matching threshold value, comprising:
Extract the sound characteristic value and the corresponding current sound characteristic value of the current sound information of the game sound information;
When the sound characteristic value and the current sound characteristic value meet the preset matching threshold value, the current sound is determined Message breath meets preset matching threshold value with the game sound information.
7. game vibration control method as described in claim 1, which is characterized in that the control mobile terminal shakes Dynamic step, comprising:
The audio parameter in the current sound information is obtained, the vibration parameters are determined according to the audio parameter;
The mobile terminal is controlled according to the vibration parameters to be vibrated.
8. game vibration control method as claimed in claim 7, which is characterized in that audio parameter includes following at least one: Sound intensity, sound amplitude and sound frequency.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Touch screen;
Processor;
Memory is connected to the processor, and the memory includes control instruction, is referred to when the processor reads the control When enabling, controls the mobile terminal and realize any one of claim 1-8 vibration control method.
10. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium has one or more journeys Sequence, one or more of programs are executed by one or more processors, to realize the vibration control of any one of claim 1 to 8 Method.
CN201910195164.7A 2019-03-14 2019-03-14 Vibration control method, mobile terminal and computer readable storage medium Pending CN109947248A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910195164.7A CN109947248A (en) 2019-03-14 2019-03-14 Vibration control method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910195164.7A CN109947248A (en) 2019-03-14 2019-03-14 Vibration control method, mobile terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109947248A true CN109947248A (en) 2019-06-28

Family

ID=67009827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910195164.7A Pending CN109947248A (en) 2019-03-14 2019-03-14 Vibration control method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109947248A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110465080A (en) * 2019-07-25 2019-11-19 维沃移动通信有限公司 Control method, apparatus, mobile terminal and the computer readable storage medium of vibration
CN110568926A (en) * 2019-08-26 2019-12-13 维沃移动通信有限公司 Sound signal processing method and terminal equipment
CN110850980A (en) * 2019-11-07 2020-02-28 网易(杭州)网络有限公司 Mobile terminal control method, mobile terminal and storage medium
CN110879850A (en) * 2019-11-14 2020-03-13 腾讯科技(深圳)有限公司 Method, device and equipment for acquiring jitter parameters and storage medium
CN112449055A (en) * 2020-11-26 2021-03-05 深圳市艾酷通信软件有限公司 Information processing method and device, readable storage medium and electronic equipment
CN112492095A (en) * 2019-09-11 2021-03-12 北京小米移动软件有限公司 System, terminal, method, apparatus and storage medium for controlling terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101424975B (en) * 2001-10-09 2011-08-17 伊默逊股份有限公司 Method for triggering haptic feedback sensations based on audio output from computer devices
US20150297990A1 (en) * 2014-04-21 2015-10-22 Steelseries Aps Customizable rumble effect in gaming accessory
CN108509278A (en) * 2018-03-30 2018-09-07 努比亚技术有限公司 Message screening method, message screening device and computer readable storage medium
CN108511002A (en) * 2018-01-23 2018-09-07 努比亚技术有限公司 The recognition methods of hazard event voice signal, terminal and computer readable storage medium
CN108540358A (en) * 2018-04-08 2018-09-14 努比亚技术有限公司 Control method, mobile terminal and the computer readable storage medium of household appliance
CN109189220A (en) * 2018-08-21 2019-01-11 Oppo广东移动通信有限公司 motor control method, device, storage medium and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101424975B (en) * 2001-10-09 2011-08-17 伊默逊股份有限公司 Method for triggering haptic feedback sensations based on audio output from computer devices
US20150297990A1 (en) * 2014-04-21 2015-10-22 Steelseries Aps Customizable rumble effect in gaming accessory
CN108511002A (en) * 2018-01-23 2018-09-07 努比亚技术有限公司 The recognition methods of hazard event voice signal, terminal and computer readable storage medium
CN108509278A (en) * 2018-03-30 2018-09-07 努比亚技术有限公司 Message screening method, message screening device and computer readable storage medium
CN108540358A (en) * 2018-04-08 2018-09-14 努比亚技术有限公司 Control method, mobile terminal and the computer readable storage medium of household appliance
CN109189220A (en) * 2018-08-21 2019-01-11 Oppo广东移动通信有限公司 motor control method, device, storage medium and electronic equipment

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110465080A (en) * 2019-07-25 2019-11-19 维沃移动通信有限公司 Control method, apparatus, mobile terminal and the computer readable storage medium of vibration
WO2021012900A1 (en) * 2019-07-25 2021-01-28 维沃移动通信有限公司 Vibration control method and apparatus, mobile terminal, and computer-readable storage medium
CN110568926A (en) * 2019-08-26 2019-12-13 维沃移动通信有限公司 Sound signal processing method and terminal equipment
CN110568926B (en) * 2019-08-26 2021-07-30 维沃移动通信有限公司 Sound signal processing method and terminal equipment
CN112492095A (en) * 2019-09-11 2021-03-12 北京小米移动软件有限公司 System, terminal, method, apparatus and storage medium for controlling terminal
CN110850980A (en) * 2019-11-07 2020-02-28 网易(杭州)网络有限公司 Mobile terminal control method, mobile terminal and storage medium
CN110850980B (en) * 2019-11-07 2024-02-06 网易(杭州)网络有限公司 Mobile terminal control method, mobile terminal and storage medium
CN110879850A (en) * 2019-11-14 2020-03-13 腾讯科技(深圳)有限公司 Method, device and equipment for acquiring jitter parameters and storage medium
CN112449055A (en) * 2020-11-26 2021-03-05 深圳市艾酷通信软件有限公司 Information processing method and device, readable storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN109462692A (en) Split screen display available operating method, mobile terminal and computer readable storage medium
CN108536481A (en) A kind of application program launching method, mobile terminal and computer storage media
CN109947248A (en) Vibration control method, mobile terminal and computer readable storage medium
CN109032466A (en) Long screenshot method, mobile terminal and storage medium based on double screen
CN108391190B (en) A kind of noise-reduction method, earphone and computer readable storage medium
CN108196750A (en) The method, apparatus and computer readable storage medium of screen interface sectional drawing
CN109701266A (en) Game vibrating method, device, mobile terminal and computer readable storage medium
CN109634542A (en) A kind of switching display control method, terminal and computer readable storage medium
CN110187943A (en) A kind of record screen method, terminal and computer readable storage medium
CN109538538A (en) A kind of processing method of fan noise, mobile terminal and storage medium
CN109697008A (en) A kind of content share method, terminal and computer readable storage medium
CN109901980A (en) Serial ports log grabs circuit, method, terminal and computer readable storage medium
CN107463243A (en) A kind of screen control method, mobile terminal and computer-readable recording medium
CN109672822A (en) A kind of method for processing video frequency of mobile terminal, mobile terminal and storage medium
CN109151162A (en) A kind of multi-panel screen interaction control method, equipment and computer readable storage medium
CN108965710A (en) Method, photo taking, device and computer readable storage medium
CN109062465A (en) A kind of application program launching method, mobile terminal and storage medium
CN110314375A (en) A kind of method for recording of scene of game, terminal and computer readable storage medium
CN109729267A (en) Filter selection method, mobile terminal and computer readable storage medium
CN110187808A (en) Dynamic wallpaper setting method, device and computer readable storage medium
CN109542325A (en) Double-sided screen touch control method, double-sided screen terminal, readable storage medium storing program for executing
CN109584897A (en) Vedio noise reduction method, mobile terminal and computer readable storage medium
CN109144383A (en) A kind of application control method, terminal and computer readable storage medium
CN108600513A (en) A kind of record screen control method, equipment and computer readable storage medium
CN110064196A (en) Method for controlling mobile terminal, mobile terminal and computer readable 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: 20190628