CN108771870A - Voice transmission method, terminal based on game and computer readable storage medium - Google Patents
Voice transmission method, terminal based on game and computer readable storage medium Download PDFInfo
- Publication number
- CN108771870A CN108771870A CN201810533977.8A CN201810533977A CN108771870A CN 108771870 A CN108771870 A CN 108771870A CN 201810533977 A CN201810533977 A CN 201810533977A CN 108771870 A CN108771870 A CN 108771870A
- Authority
- CN
- China
- Prior art keywords
- game
- voice
- user
- terminal
- voice transmission
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 82
- 230000005540 biological transmission Effects 0.000 title claims abstract description 65
- 230000008569 process Effects 0.000 claims abstract description 42
- 230000006854 communication Effects 0.000 claims description 20
- 238000004891 communication Methods 0.000 claims description 19
- 230000005236 sound signal Effects 0.000 claims description 13
- 230000006870 function Effects 0.000 description 16
- 238000005516 engineering process Methods 0.000 description 11
- 238000012545 processing Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 230000007123 defense Effects 0.000 description 6
- 238000012546 transfer Methods 0.000 description 5
- 238000010295 mobile communication Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000000052 comparative effect Effects 0.000 description 2
- 230000009977 dual effect Effects 0.000 description 2
- 230000005764 inhibitory process Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000000149 penetrating effect Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/85—Providing additional services to players
- A63F13/87—Communicating with other players during game play, e.g. by e-mail or chat
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/08—Speech classification or search
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/50—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
- A63F2300/53—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing
- A63F2300/537—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing for exchanging game data using a messaging service, e.g. e-mail, SMS, MMS
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/08—Speech classification or search
- G10L2015/088—Word spotting
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a kind of voice transmission methods based on game, and the method comprising the steps of:The application program currently opened of detecting user, and the form where the current main interface of the application program is set as the first form;When the application program that user currently opens is game, the second form is presented in the terminal screen main interface;In second form, selection region is set;Receive clicking operation of the user to the selection region;The voice transmission mode of the game of user's selection is determined according to the clicking operation;And the voice of the game is correspondingly transmitted according to the voice transmission mode.The embodiment of the invention also discloses a kind of terminal and computer readable storage mediums.Technical solution through the embodiment of the present invention, it is intended to which in user's game process, shielding and incoherent voice of playing allow user to reach best game experiencing pattern.
Description
Technical field
The present invention relates to field of terminal technology more particularly to a kind of voice transmission method, terminal and calculating based on game
Machine readable storage medium storing program for executing.
Background technology
User plays being played with terminal, when opening speech exchange, it may appear that many noises and uncorrelated to game
Voice, extremely bad game experiencing is caused to user.
Invention content
It is a primary object of the present invention to propose a kind of voice transmission method based on game and corresponding terminal, it is intended to use
In the game process of family, shielding and incoherent voice of playing allow user to reach best game experiencing pattern.
To achieve the above object, a kind of voice transmission method based on game provided by the invention is applied to terminal, the party
Method includes step:The application program that detecting user currently opens, and set the form where the current main interface of application program
For the first form;When the application program that user currently opens is game, the second form is presented in the terminal screen main interface;
In second form, selection region is set;Receive clicking operation of the user to the selection region;According to the clicking operation
Determine the voice transmission mode of the game of user's selection;And the language of the game is correspondingly transmitted according to the voice transmission mode
Sound.
Preferably, the voice transmission mode includes at least silent mode, general mode and professional mode.
Preferably, second form is suspended on first form.
Preferably, when the voice transmission mode that the user selects for professional mode when, the method further includes step:It is logical
Cross the audio signal except user speech described in predetermined manner shielding game process.
Preferably, the step of audio signal shielded by predetermined manner except user speech described in game process
Including:Speech recognition dictionary is pre-set, the speech recognition dictionary includes game keyword;And received when the terminal
When voice includes the game keyword, the voice that is received described in transmission.
Preferably, the step of audio signal shielded by predetermined manner except user speech described in game process
Including:The speech recognition dictionary can upgrade update, and the target word number mentioned when the user plays is more than default time
When number, the voice of the target word is added in the speech recognition dictionary.
In addition, to achieve the above object, the present invention also proposes that a kind of terminal, the terminal include at least:Memory, communication
Bus and processor, wherein:The memory transmits program for storaged voice;The communication bus, for realizing processor
Connection communication between memory;The processor, for executing the voice transfer program stored in memory, to realize such as
Lower step:The application program currently opened of detecting user, and the form where the current main interface of the application program is set as the
One form;When the application program that user currently opens is game, the second form is presented in the terminal screen main interface;Institute
State the second form setting selection region;Receive clicking operation of the user to the selection region;It is determined according to the clicking operation
The voice transmission mode of the game of user's selection;And the voice of the game is correspondingly transmitted according to the voice transmission mode.
Preferably, the voice transmission mode includes at least silent mode, general mode and professional mode.
Preferably, when the voice transmission mode that the user selects for professional mode when, the voice based on game passes
When defeated program is executed by the processor, step is also realized:By predetermined manner shield game process described in user speech it
Outer audio signal.
Further, the present invention also provides a kind of computer readable storage medium, the computer readable storage mediums
It is stored with one or more program, one or more of programs can be executed by one or more processor, to realize
The step of voice transmission method of any one of them as above based on game.
Voice transmission method, terminal and computer readable storage medium proposed by the present invention based on game, it is intended to user
In game process, shielding and incoherent voice of playing allow user to reach best game experiencing pattern.
Description of the drawings
The hardware architecture diagram of Fig. 1 terminals of each embodiment to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of terminal as shown in Figure 1;
Fig. 3 is a kind of flow chart for voice transmission method based on game that first embodiment of the invention proposes;
Fig. 4 is a kind of module diagram for terminal that second embodiment of the invention proposes.
Fig. 5 is a kind of composed structure schematic diagram of terminal of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
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, using for indicating that the suffix of such as " module ", " component " or " unit " of element is only
The explanation for being conducive to the present invention, itself does not have 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, tablet
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. are eventually
End, and the fixed terminals such as number TV, desktop computer.
It will be illustrated by taking terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to being used in particular for
Except the element of mobile purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its terminal of each embodiment to realize the present invention, the 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, storage
The components such as device 109, processor 110 and power supply 111.It will be understood by those skilled in the art that terminal structure shown in Fig. 1
The not restriction of structure paired terminal, terminal may include than illustrating more or fewer components, either combine certain components or
Different component arrangements.
The all parts of terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, 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 radio communication.Above-mentioned wireless communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, 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 terminal can help user's transceiver electronics postal by WiFi module 102
Part, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 is shown
WiFi module 102, but it is understood that, and it is not belonging to must be configured into for terminal, it can not change as needed completely
Become in the range of the essence of invention and omits.
Audio output unit 103 can be in call signal reception pattern, call mode, logging mode, language in terminal 100
It is that radio frequency unit 101 or WiFi module 102 are received or depositing when under the isotypes such as sound recognition mode, broadcast reception mode
The audio data stored in reservoir 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 may be used also
To provide the relevant audio output of specific function executed with terminal 100 (for example, call signal receives sound, message sink sound
Sound etc.).Audio output unit 103 may include loud speaker, buzzer etc..
A/V input units 104 are for receiving audio or video signal.A/V input units 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 by image capture apparatus (such as camera) in image capture mode 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 of telephone calling model.
Microphone 1042 can implement 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.
Terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjusts the brightness of display panel 1061, and proximity sensor can close display panel when terminal 100 is moved in one's ear
1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add
The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture
Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone
Configurable fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, temperature
The other sensors such as meter, 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 may 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 generates and set with the user of terminal
It sets and the related key signals of function control inputs.Specifically, user input unit 107 may include touch panel 1071 and its
His input equipment 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation (are compared
Such as user is using finger, stylus any suitable object or attachment on touch panel 1071 or near touch panel 1071
Operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detecting apparatus
With two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect what touch operation was brought
Signal transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and it is converted
At contact coordinate, then processor 110 is given, and order that processor 110 is sent can be received and executed.Furthermore, it is possible to adopt
Touch panel 1071 is realized with 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 lever etc.
It is one or more, do not limit herein specifically.
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 to realize the function that outputs and inputs of terminal as two independent components, but in some embodiments it is possible to will
Touch panel 1071 is integrated with display panel 1061 and realizes the function that outputs and inputs of terminal, does not limit herein specifically.
Interface unit 108 be used as at least one external device (ED) connect with terminal 100 can by interface.For example, external
Device may include wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless number
According to port, memory card port, the port for connecting the device with identification module, the port audio input/output (I/O), regard
The ports frequency I/O, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, data are believed
Breath, electric power etc.) and by one or more elements that the input received is transferred in terminal 100 or can be used at end
Transmission data between end 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area
And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to
It crosses operation or executes the software program and/or module being stored in memory 109, and call and be stored in memory 109
Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 110 may include one
Or multiple processing units;Preferably, processor 110 can integrate application processor and modem processor, wherein application processing
The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage
Solution, above-mentioned modem processor can not also be integrated into processor 110.
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 with
It is logically contiguous by power-supply management system and processor 110, to by power-supply management system realize management charging, electric discharge, with
And the functions such as power managed.
Although Fig. 1 is not shown, 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 being based below to the terminal of the present invention are retouched
It states.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes communicating UE (User Equipment, the use of connection successively
Family equipment) (the lands 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 some are preserved in relation to use such as service features, data rates
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and 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 it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., it does not limit herein.
Based on above-mentioned terminal hardware structure and communications network system, each embodiment of the method for the present invention is proposed.
A kind of voice transmission method based on game proposed by the present invention is applied in terminal, it is intended to user's game process
In, shielding and incoherent voice of playing allow user to reach best game experiencing pattern.
Embodiment one
As shown in figure 3, first embodiment of the invention proposes a kind of voice transmission method based on game, it is applied to terminal
100, this approach includes the following steps:
Step S300, the application program that detecting user currently opens, and set the current main interface place of the application program
Form be the first form.
Specifically, terminal 100 sets the form where the current main interface of the application program and is mainly as the first form
It distinguishes with other forms, is not to be defined to form.
Step S302 is presented when the application program that user currently opens is game in 100 screen main interface of the terminal
Second form.
Specifically, second form is suspended on first form, is different from the first form.
Selection region is arranged in second form in step S304.
Specifically, voice transmission mode of the terminal 100 when selection region is arranged in the second form, selects to play for user.
In the present embodiment, the voice transmission mode includes at least silent mode, general mode and professional mode.Silent mode is being swum
There is no voice transmission, general mode, that is, terminal 100 to be transmitted the voice signal of all receptions during play, professional mode
That is the shielding of terminal 100 and the incoherent voice of playing, in game process, the partner of user can only hear the relevant voice of game.
Step S306 receives clicking operation of the user to the selection region.
Terminal 100 receive user made by the selection region of the second form about game process in voice transmission mould
Formula.
Step S308 determines the voice transmission mode of the game of user's selection according to the clicking operation.
Specifically, when the voice transmission mode that the user selects for professional mode when, terminal 100 passes through predetermined manner screen
Cover the audio signal except user speech described in game process.Wherein, the predetermined manner can be dual microphone (mic) drop
Method for de-noising, long speech recognition, the technologies such as scene speech recognition, these technologies belong to the technology of existing comparative maturity, this implementation
Example repeats no more.In this way, terminal 100 can shield common noise and noise, for example, enabling sound, other people one's voices in speech.
Further, terminal 100 shields user described in game process to realize by predetermined manner in the following way
Audio signal except voice:
Terminal 100 pre-sets speech recognition dictionary, and the speech recognition dictionary includes game keyword.And work as the end
When to terminate the voice that receives include the game keyword, the voice that is received described in transmission.In the present embodiment, the keyword
Including at least the action of game, the place of game, and game common-use words.In this way, what game each side occurred in game process
The topic unrelated with game can also shield.
In the present embodiment, the speech recognition dictionary can be with automatic upgrading and updating, and terminal 100 in game process to occurring
Word counted, the target word number mentioned when the user plays be more than preset times, for example, three times when, terminal 100
The voice of the target word is added in the speech recognition dictionary.For example, in game process, " go back on defense highland " this word goes out
Show three times, " go back on defense highland " this word is added to the keyword of speech recognition dictionary by terminal 100, occurs " returning when the 4th time
When this word of anti-highland ", the speech recognition dictionary of terminal 100 can pass through identification, automatic transmission to " go back on defense highland " this word
?.
In this way, through the above steps, user is in game process, if game side is all made of the voice transfer of professional mode
Pattern, then in game process, game each side can only hear game each side with the relevant voice content of game itself, screen
Covered with the game incoherent voice of keyword, and will not hear external noise, greatly improve the experience in game process.
Step S310 correspondingly transmits the voice of the game according to the voice transmission mode.
Further, the voice transmission mode that terminal 100 is selected according to user, correspondingly to transmit the language in game process
Sound.In this way, user can neatly determine the voice transfer mode in game process.
The voice transmission method that the present embodiment proposes, it is intended to solve in user's game process, shielding and game are incoherent
Voice allows user to reach best game experiencing pattern.
Embodiment three
Fig. 4 is a kind of module diagram of terminal 100 of the invention, and the terminal 100 includes detecting module 400, display mould
Block 402, setup module 404, receiving module 406, selecting module 408, transmission module 410, memory 403 and processor 405, on
It states program module and is stored in memory 403 in the form of program code, and executed by processor 405, it is above-mentioned to realize
Step in embodiment or method.
Detecting module 400 sets the application program currently main boundary for detecting the application program that user currently opens
Form where face is the first form.
Specifically, the form where detecting module 400 sets the current main interface of the application program is main as the first form
It is to be distinguished with other forms, is not to be defined to form.
Display module 402 is used for, when the application program that user currently opens is game, in the terminal screen main interface
The second form is presented.
Specifically, second form is suspended on first form, is different from the first form.
Setup module 404 is used to that selection region to be arranged in second form.
Specifically, voice transfer mould of the setup module 404 when selection region is arranged in the second form, selects to play for user
Formula.In the present embodiment, the voice transmission mode includes at least silent mode, general mode and professional mode.Silent mode is
There is no voice transmission, general mode, that is, terminal 100 to be transmitted the voice signal of all receptions in game process, profession
Pattern, that is, terminal 100 shields and the incoherent voice of game, and in game process, the partner of user can only hear the relevant language of game
Sound.
The clicking operation that receiving module 406 is used to receive user to the selection region.
Specifically, receiving module 406 receive user made by the selection region of the second form about in game process
The transmission mode of voice.
Selecting module 408 is used to determine the voice transmission mode of the game of user's selection according to the clicking operation.
Specifically, when the voice transmission mode that the user selects for professional mode when, selecting module 408 passes through default side
Formula shields the audio signal except user speech described in game process.Wherein, the predetermined manner can be dual microphone
(mic) noise-reduction method, long speech recognition, the technologies such as scene speech recognition, these technologies belong to the technology of existing comparative maturity,
This embodiment is not repeated.In this way, selecting module 408 can shield common noise and noise, for example, enabling sound, other people say
The sound of words.
Further, selecting module 408 is shielded by predetermined manner described in game process with realizing in the following way
Audio signal except user speech:
Selecting module 408 is additionally operable to pre-set speech recognition dictionary, and the speech recognition dictionary includes game keyword.
And when the voice that the terminal receives includes the game keyword, the voice that is received described in transmission.In the present embodiment,
The keyword includes at least the action of game, the place of game, and game common-use words.In this way, game each side was playing
The topic unrelated with game occurred in journey can also shield.
In the present embodiment, the speech recognition dictionary can be additionally operable to automatic upgrading and updating, selecting module 408 to game
The word occurred in the process is counted, and the target word number mentioned when the user plays is more than preset times, for example, three times
When, the voice of the target word is added in the speech recognition dictionary by selecting module 408.For example, in game process, " return
This word of anti-highland " occurs three times, and " go back on defense highland " this word is added to the key of speech recognition dictionary by selecting module 408
Word, when there is " go back on defense highland " this word the 4th time, the speech recognition dictionary of terminal 100 can be to " go back on defense highland " this word
By identification, transmit automatically.
In this way, through the above steps, user is in game process, if game side is all made of the voice transfer of professional mode
Pattern, then in game process, game each side can only hear game each side with the relevant voice content of game itself, screen
Covered with the game incoherent voice of keyword, and will not hear external noise, greatly improve the experience in game process.
Transmission module 410 is used to correspondingly transmit the voice of the game according to the voice transmission mode.
Further, the voice transmission mode that transmission module 410 is selected according to user, correspondingly to transmit in game process
Voice.In this way, user can neatly determine the voice transfer mode in game process.
, can be in user's game process by implementing said program, shield and play incoherent voice, and user is allowed to reach
To best game experiencing pattern
Fig. 5 is the composed structure schematic diagram of terminal of the present invention, as shown in figure 5, the terminal includes at least:Memory 501,
Communication bus 502 and processor 503, wherein:
The memory 501, for storing the voice transfer program based on game;
The communication bus 502, for realizing the connection communication between processor and memory;
The processor 503, it is above-mentioned to realize for executing the voice transfer program based on game stored in memory
The step of each embodiment.
Can be to provide a kind of voice transmission method based on game in terminal, it is intended to user by implementing said program
In game process, shielding and incoherent voice of playing allow user to reach best game experiencing pattern
It should be noted that the description of the above terminal embodiment, is similar with the description of above method embodiment, has
The similar advantageous effect with embodiment of the method.For undisclosed technical detail in terminal embodiment of the present invention, this hair is please referred to
The description of bright embodiment of the method and understand.
It should be noted that in the embodiment of the present invention, if realizing that above-mentioned voice passes in the form of software function module
Transmission method, and when sold or used as an independent product, can also be stored in a computer read/write memory medium.Base
In such understanding, substantially the part that contributes to existing technology can be in other words for the technical solution of the embodiment of the present invention
The form of software product embodies, which is stored in a storage medium, including some instructions to
So that a computing device (can be personal computer, server or network equipment etc.) executes each embodiment of the present invention
The all or part of the method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (Read Only
Memory, ROM), the various media that can store program code such as magnetic disc or CD.In this way, the embodiment of the present invention does not limit
It is combined in any specific hardware and software.
Accordingly, the embodiment of the present invention provides a kind of computer readable storage medium, the computer readable storage medium
It is stored with one or more program, one or more of programs can be executed by one or more processor, to realize
Such as the step of above-mentioned voice transmission method based on game.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements include not only 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 this
There is also other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (10)
1. a kind of voice transmission method based on game is applied in terminal, which is characterized in that the method comprising the steps of:
The application program currently opened of detecting user, and the form where setting the current main interface of the application program is regarded as first
Window;
When the application program that user currently opens is game, the second form is presented in the terminal screen main interface;
In second form, selection region is set;
Receive clicking operation of the user to the selection region;
The voice transmission mode of the game of user's selection is determined according to the clicking operation;And
The voice of the game is correspondingly transmitted according to the voice transmission mode.
2. the voice transmission method according to claim 1 based on game, which is characterized in that the voice transmission mode is extremely
Include silent mode, general mode and professional mode less.
3. the voice transmission method according to claim 1 based on game, which is characterized in that second form is suspended in
On first form.
4. the voice transmission method according to claim 2 based on game, which is characterized in that when the language of user selection
When sound transmission mode is professional mode, the method further includes step:
The audio signal except user speech described in game process is shielded by predetermined manner.
5. the voice transmission method according to claim 4 based on game, which is characterized in that described to pass through predetermined manner screen
The step of covering the audio signal except user speech described in game process include:
Speech recognition dictionary is pre-set, the speech recognition dictionary includes game keyword;And
When the voice that the terminal receives includes the game keyword, the voice that is received described in transmission.
6. the voice transmission method according to claim 5 based on game, which is characterized in that described to pass through predetermined manner screen
The step of covering the audio signal except user speech described in game process include:
The speech recognition dictionary can upgrade update, and the target word number mentioned when the user plays is more than preset times
When, the voice of the target word is added in the speech recognition dictionary.
7. a kind of terminal, which is characterized in that the terminal includes at least:Memory, communication bus and processor, wherein:
The memory, for storing the voice transfer program based on game;
The communication bus, for realizing the connection communication between processor and memory;
The processor, for executing the voice transfer program based on game stored in memory, to realize following steps:
The application program currently opened of detecting user, and the form where setting the current main interface of the application program is regarded as first
Window;
When the application program that user currently opens is game, the second form is presented in the terminal screen main interface;
In second form, selection region is set;
Receive clicking operation of the user to the selection region;
The voice transmission mode of the game of user's selection is determined according to the clicking operation;And
The voice of the game is correspondingly transmitted according to the voice transmission mode.
8. terminal according to claim 7, which is characterized in that the voice transmission mode includes at least silent mode, general
Logical pattern and professional mode.
9. terminal according to claim 7, which is characterized in that when the voice transmission mode that the user selects is professional mould
When formula, when the voice transfer program based on game is executed by the processor, step is also realized:
The audio signal except user speech described in game process is shielded by predetermined manner.
10. a kind of computer readable storage medium, which is characterized in that be stored on the computer readable storage medium based on trip
The voice transfer program of play realizes such as claim 1- when the voice transfer program based on game is executed by the processor
The step of voice transmission method based on game described in any one of 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810533977.8A CN108771870A (en) | 2018-05-29 | 2018-05-29 | Voice transmission method, terminal based on game and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810533977.8A CN108771870A (en) | 2018-05-29 | 2018-05-29 | Voice transmission method, terminal based on game and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108771870A true CN108771870A (en) | 2018-11-09 |
Family
ID=64028189
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810533977.8A Pending CN108771870A (en) | 2018-05-29 | 2018-05-29 | Voice transmission method, terminal based on game and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108771870A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110215692A (en) * | 2019-07-10 | 2019-09-10 | 网易(杭州)网络有限公司 | The processing method of voice messaging, device, storage medium and electronic device in game |
CN111773739A (en) * | 2020-06-11 | 2020-10-16 | 珠海天朗互动科技有限公司 | Communication interaction system for preventing interference in game |
CN111803936A (en) * | 2020-07-16 | 2020-10-23 | 网易(杭州)网络有限公司 | Voice communication method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102324231A (en) * | 2011-08-29 | 2012-01-18 | 北京捷通华声语音技术有限公司 | Game dialogue voice synthesizing method and system |
CN104409076A (en) * | 2014-12-02 | 2015-03-11 | 上海语知义信息技术有限公司 | Voice control system and voice control method for chess and card games |
CN106251868A (en) * | 2016-08-09 | 2016-12-21 | 江门雷斯诺照明有限公司 | A kind of light fixture voice identification control method with Intelligent noise reduction function |
CN106775267A (en) * | 2016-11-24 | 2017-05-31 | 广州华多网络科技有限公司 | A kind of method and apparatus of the function menu for showing game plug-in unit |
CN107172670A (en) * | 2017-06-29 | 2017-09-15 | 北京奇艺世纪科技有限公司 | A kind of method of data transfer, device and equipment |
-
2018
- 2018-05-29 CN CN201810533977.8A patent/CN108771870A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102324231A (en) * | 2011-08-29 | 2012-01-18 | 北京捷通华声语音技术有限公司 | Game dialogue voice synthesizing method and system |
CN104409076A (en) * | 2014-12-02 | 2015-03-11 | 上海语知义信息技术有限公司 | Voice control system and voice control method for chess and card games |
CN106251868A (en) * | 2016-08-09 | 2016-12-21 | 江门雷斯诺照明有限公司 | A kind of light fixture voice identification control method with Intelligent noise reduction function |
CN106775267A (en) * | 2016-11-24 | 2017-05-31 | 广州华多网络科技有限公司 | A kind of method and apparatus of the function menu for showing game plug-in unit |
CN107172670A (en) * | 2017-06-29 | 2017-09-15 | 北京奇艺世纪科技有限公司 | A kind of method of data transfer, device and equipment |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110215692A (en) * | 2019-07-10 | 2019-09-10 | 网易(杭州)网络有限公司 | The processing method of voice messaging, device, storage medium and electronic device in game |
CN110215692B (en) * | 2019-07-10 | 2023-02-28 | 网易(杭州)网络有限公司 | Method and device for processing voice information in game, storage medium and electronic device |
CN111773739A (en) * | 2020-06-11 | 2020-10-16 | 珠海天朗互动科技有限公司 | Communication interaction system for preventing interference in game |
CN111803936A (en) * | 2020-07-16 | 2020-10-23 | 网易(杭州)网络有限公司 | Voice communication method and device, electronic equipment and storage medium |
CN111803936B (en) * | 2020-07-16 | 2024-05-31 | 网易(杭州)网络有限公司 | Voice communication method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108536481A (en) | A kind of application program launching method, mobile terminal and computer storage media | |
CN108196741A (en) | Application split screen method, terminal and computer readable storage medium based on flexible screen | |
CN108769784A (en) | screen recording method, mobile terminal and storage medium | |
CN107027114A (en) | A kind of SIM card switching method, equipment and computer-readable recording medium | |
CN108664329A (en) | A kind of resource allocation method, terminal and computer readable storage medium | |
CN108176047A (en) | A kind of game control method, terminal and computer readable storage medium | |
CN108762876A (en) | A kind of input method switching method, mobile terminal and computer storage media | |
CN108234773A (en) | A kind of switching method of double-sided screen, terminal and storage medium | |
CN108572764A (en) | A kind of word input control method, equipment and computer readable storage medium | |
CN108537021A (en) | Unlocked by fingerprint method, terminal and computer readable storage medium based on double-sided screen | |
CN108418948A (en) | A kind of based reminding method, mobile terminal and computer storage media | |
CN108200275A (en) | A kind of record screen control method, equipment and computer readable storage medium | |
CN107729115A (en) | A kind of display methods, equipment and computer-readable storage medium | |
CN108307030A (en) | A kind of SIM card management method, equipment and computer readable storage medium | |
CN107807767A (en) | A kind of processing method of communication traffic, terminal and computer-readable recording medium | |
CN110177177A (en) | Message back method, mobile terminal and computer readable storage medium | |
CN110187943A (en) | A kind of record screen method, terminal and computer readable storage medium | |
CN108762631A (en) | A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN108307043A (en) | Speech message conversion method, mobile terminal and computer readable storage medium | |
CN108833665A (en) | Communication means, wearable device and computer readable storage medium | |
CN108391190A (en) | A kind of noise-reduction method, earphone and computer readable storage medium | |
CN108536383A (en) | A kind of game control method, equipment and computer readable storage medium | |
CN108600513A (en) | A kind of record screen control method, equipment and computer readable storage medium | |
CN108771870A (en) | Voice transmission method, terminal based on game and computer readable storage medium | |
CN108334302A (en) | A kind of sound transmission method, 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: 20181109 |