CN109686370A - The method and device of fighting landlord game is carried out based on voice control - Google Patents
The method and device of fighting landlord game is carried out based on voice control Download PDFInfo
- Publication number
- CN109686370A CN109686370A CN201811582421.4A CN201811582421A CN109686370A CN 109686370 A CN109686370 A CN 109686370A CN 201811582421 A CN201811582421 A CN 201811582421A CN 109686370 A CN109686370 A CN 109686370A
- Authority
- CN
- China
- Prior art keywords
- voice
- card
- word
- instruction
- playing
- 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 54
- 238000012544 monitoring process Methods 0.000 claims abstract description 40
- 238000012545 processing Methods 0.000 claims abstract description 28
- 230000015654 memory Effects 0.000 claims description 19
- 230000002618 waking effect Effects 0.000 claims description 14
- 238000004891 communication Methods 0.000 claims description 6
- 230000004044 response Effects 0.000 claims description 2
- 230000002452 interceptive effect Effects 0.000 abstract description 7
- 230000003111 delayed effect Effects 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 19
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 238000004590 computer program Methods 0.000 description 5
- 238000012790 confirmation Methods 0.000 description 4
- 238000012937 correction Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000006399 behavior Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000000630 rising effect Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000000047 product Substances 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 230000007474 system interaction Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- 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/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- 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/40—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
- A63F13/42—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
- A63F13/424—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle involving acoustic input signals, e.g. by using the results of pitch or rhythm extraction or voice recognition
-
- 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/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/223—Execution procedure of a spoken command
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Electrically Operated Instructional Devices (AREA)
Abstract
The present invention discloses a kind of method for carrying out fighting landlord game based on voice control, this method comprises: the first voice of setting wakes up word and the second voice wakes up word;According to state starting audio monitoring of playing a card;Word is waken up according to the first voice of the phonetic order and setting that receive and the second voice wakes up word and carries out processing of playing a card.The invention also discloses a kind of devices that fighting landlord game is carried out based on voice control, the both hands of liberation user may be implemented in the methods and apparatus disclosed according to the present invention, it goes to play a card by way of voice operating, the thing that user is doing at hand will not be delayed in this way, realize that voice control is played a card, solve interactive notch of manually playing a card under the scene, at the same for existing fighting landlord preferred manual is played a card be more convenient and more efficiently, be greatly improved the experience of user.
Description
Technical field
The present invention relates to voice control technology field more particularly to a kind of sides that fighting landlord game is carried out based on voice control
Method and device.
Background technique
With the improvement of living standards, the entertainment way of people is also varied, such as some common public recreation modes:
Playing card, are played Mah-Jong at dancing machine.With the development of science and technology, these current entertainment way can be carried on game terminal and supply
User participates in.Fighting landlord is a kind of entertainment way of public relatively preference, but when carrying out fighting landlord game, needs manual point
Hit board, for the case where some temporary needs hands are moved out for example: answer the call, drink water, stand up by article etc. act for, meeting
Lead to that game cannot be continued or play a card mistake situations such as, greatly influence recreation experience.
Summary of the invention
The present invention to solve the above-mentioned problems, proposes a solution, the program from the both hands of liberation user,
It goes to play a card by way of voice operating, the thing that user is doing at hand will not be delayed in this way, realize that voice control is played a card,
It solves interactive notch of manually playing a card under the scene, while can only rely on relative to existing fighting landlord and play a card manually
Mode, the program are more convenient and more efficiently, are greatly improved the experience sense of user.
In a first aspect, the embodiment of the present invention provides a kind of method for carrying out fighting landlord game based on voice control, comprising:
First voice is set and wakes up word and the second voice wake-up word;
According to state starting audio monitoring of playing a card;
Word is waken up according to the first voice of the phonetic order and the setting received and the second voice wakes up word and carries out
It plays a card processing.
Second aspect, the embodiment of the present invention provide a kind of device that fighting landlord game is carried out based on voice control, comprising:
Engine modules are waken up, the first voice wakes up word and the second voice wakes up word for being arranged;
Speech control module, for according to state starting or the closing audio monitoring of playing a card;
Speech processing module, for waking up word and the second voice according to the first voice of the phonetic order and setting that receive
It wakes up word and carries out processing of playing a card.
The third aspect, the embodiment of the present invention provide a kind of storage medium, are stored with one or more in the storage medium
Including the program executed instruction, it is described execute instruction can by electronic equipment (including but not limited to computer, server, or
Network equipment etc.) it reads and executes, to carry out fighting landlord game based on voice control for executing any of the above-described of the present invention
Method.
Fourth aspect provides a kind of electronic equipment comprising: at least one processor, and with described at least one
Manage the memory of device communication connection, wherein the memory is stored with the instruction that can be executed by least one described processor, institute
It states instruction to be executed by least one described processor, so that at least one described processor is able to carry out any of the above-described of the present invention
The method for carrying out fighting landlord game based on voice control.
The beneficial effect of the embodiment of the present invention is: carrying out fighting landlord trip based on voice control based on the embodiment of the present invention
The method and apparatus of play may be implemented to realize the movement of fighting landlords game such as playing a card by way of interactive voice, liberate user
Both hands, greatly improve the experience sense of user.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment
Attached drawing be briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for this field
For those of ordinary skill, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the method flow diagram that fighting landlord game is carried out based on voice control of one embodiment of the present invention;
Fig. 2 is the method flow diagram that fighting landlord game is carried out based on voice control of another embodiment of the invention;
Fig. 3 is the device principle block diagram that fighting landlord game is carried out based on voice control of one embodiment of the present invention;
Fig. 4 is the structural schematic diagram of an embodiment of electronic equipment of the invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.
The present invention can describe in the general context of computer-executable instructions executed by a computer, such as program
Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, member
Part, data structure etc..The present invention can also be practiced in a distributed computing environment, in these distributed computing environments, by
Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with
In the local and remote computer storage media including storage equipment.
In the present invention, the fingers such as " module ", " device ", " system " are applied to the related entities of computer, such as hardware, hardware
Combination, software or software in execution with software etc..In detail, for example, element can with but be not limited to run on processing
Process, processor, object, executable element, execution thread, program and/or the computer of device.In addition, running on server
Application program or shell script, server can be element.One or more elements can be in the process and/or thread of execution
In, and element can be localized and/or be distributed between two or multiple stage computers on one computer, and can be by each
Kind computer-readable medium operation.Element can also according to the signal with one or more data packets, for example, from one with
Another element interacts in local system, distributed system, and/or the network in internet passes through signal and other system interactions
The signals of data communicated by locally and/or remotely process.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise", 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 equipment institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence " including ... ", it is not excluded that including described want
There is also other identical elements in the process, method, article or equipment of element.
The method and device for carrying out fighting landlord game based on voice control in the embodiment of the present invention has applied to any
On the terminal device of phonetic function, fighting landlord game can be housed configured with display screen or the terminal device on the intelligent terminal
Application, for example, any intelligence such as smart television, smart phone, tablet computer, PC, smart home, projector, mobile unit
Hardware, this is not limited by the present invention.
Fig. 1 schematically shows the side that fighting landlord game is carried out based on voice control according to an embodiment of the present invention
Method flow chart, as shown in Figure 1, the present embodiment includes the following steps:
Step S101: the first voice of setting wakes up word and the second voice wakes up word.Registration is for triggering in waking up engine
The voice of wake-up wakes up word, and in this embodiment, it includes that the first voice wake-up word and the second voice are called out that the voice of setting, which wakes up word,
It wakes up word, wherein it is to abandon board instruction, illustratively " otherwise rise ", " I should not " etc. that the first voice, which wakes up word, and the second voice wakes up
Word is to play a card instruction, illustratively " confirmation is played a card ", " I will play a card " etc., can play a card instruction and abandoning board refers to according to different
Order is configured.
As a kind of preferred implementation example, setting is also that corresponding threshold value is arranged in each wake-up word when waking up word, is being called out
When waking up, decide whether to wake up according to the wake-up word text and confidence level that wake up engine output, such as confidence level reaches setting
When threshold value, just wake up.
More preferably, in order to improve wake-up rate, it is three words that the first voice of setting, which wakes up word and the second voice wake-up word,
More than.
Step S102: according to state starting audio monitoring of playing a card.The starting opportunity of audio monitoring is when taking turns to user to play a card
It opens.Implementation can be first to obtain state of playing a card, and judges the state of playing a card, and when the state of playing a card is to play a card, adjusts
With the corresponding interface of terminal device, starting, there is the component of pickup function to carry out audio collection, such as the hand for Android system
Machine can carry out audio monitoring by calling its AudioRecord interface to start sound-recording function.Wherein, it is logical for obtaining the state of playing a card
Cross the corresponding interface realization for calling fighting landlord game.
Step S103: word is waken up according to the first voice of the phonetic order and setting received and the second voice wakes up word
Carry out processing of playing a card.After starting audio monitoring, referred to by the voice that the component of pickup function carries out voice collecting acquisition user
It enables, and the instruction output of collected user speech is subjected to voice wake-up processing to engine is waken up.The processing waken up according to voice
(when threshold value is arranged, while judging that voice wakes up as a result, waking up when word wakes up word as the first voice in the voice for judging to receive
Confidence level whether reach the threshold value of setting), generation is played a card END instruction, and END instruction of playing a card is exported to fighting landlord game
The respective calls interface of application terminal, executing END instruction of playing a card by the calling interface can realize that abandoning board is handled.Sentencing
When the voice that disconnecting receives wakes up corresponding state when word is the second voice wake-up word, it will do it audio monitoring, supervised according to voice
Result is listened to carry out control operation of playing a card.
Wherein, it when the second voice wakes up progress audio monitoring in the state that word corresponds to, is carried out according to audio monitoring result
Control operation of playing a card may be implemented are as follows: receive the instruction of the first user speech first, the instruction of the first user speech is what user issued
It is used to indicate the instruction for content of dealing out the cards, the audio that audio collection listens to is carried out by the component of pickup function, is transmitted
Speech recognition is carried out to speech recognition engine, determines that first plays a card instruction according to the recognition result instructed to the first user speech
(interface corresponding with game is corresponding) output.Illustratively, user issues voice " I will go out 34567 ", according to speech recognition elder generation
It is converted into phonetic, semantic parsing is carried out according to the phonetic later, generates the finger of playing a card of " out 34567 " corresponding with interface
It enables, fighting landlord game application terminal executes corresponding instruction by calling interface and " 34567 " board is dashed forward upwards from current board column
It shows out.Continue audio monitoring, when receiving second user phonetic order, second user phonetic order is user's hair
Out " confirmation is played a card " instruction, can according to second user phonetic order determine second play a card instruction output to game accordingly connecing
Mouthful, the corresponding interface of game executes the instruction and completes the process played a card.
Step S104: obtaining state of playing a card, and when judging that the state of playing a card finishes to play a card, closes audio monitoring.It completes
It plays a card after operation, state of playing a card can be obtained again, judged whether to close audio monitoring according to the state of playing a card.Wherein complete the behaviour that plays a card
The judgement of work both can be implemented as being considered as completion after instruction output is played a card in generation second and playing a card operation;Also it can be implemented as
When playing a card and instructed to game application in output second, and receiving execution feedback result of the game application to the instruction of playing a card, depending on
To complete operation of playing a card.Specific implementation are as follows: the mode for obtaining state of playing a card is referred to shown in step S101, wherein acquisition
State content of playing a card is fighting landlord game application output, therefore can be according to the state content agreement of playing a card of fighting landlord game application
Analysis judgment is carried out to the content of acquisition.Illustratively, when be judged as play a card after call AudioRecord interface closed
Close the operation of audio monitoring.
The both hands of liberation user may be implemented in the method for the present embodiment, enhance the experience sense of user.And known by voice
Not and the mode that wakes up of voice removes realization interactive voice, prevents user from clicking accidentally playing a card of playing a card, and fast response time manually.
And it is only called and executes relevant instruction by the interface that fighting landlord game terminal carries, simple and convenient feasibility is high,
It is applied widely.
In some embodiments, as the supplement to the above method, processing also is corrected to the wake-up word of setting, is judged
With the presence or absence of comprising word (one of word completely includes the content of another word, as include word) in the wake-up word of setting, when
When judging to exist in the wake-up word of setting comprising word, crash handling is carried out to one of word that wakes up.Illustratively, setting is called out
Wake up word include " I plays a card " and " playing a card to me ", by wake up word carry out matching detection, find the two wake up words for comprising
Word (it includes first full content for waking up word " I plays a card " that the latter, which wakes up word " playing a card to me "), then by " playing a card to me "
It wakes up word to be set as not coming into force, only is set as coming into force by the wake-up word of " I plays a card ".
Show to the schematic property of Fig. 2 another embodiment according to the present invention carries out fighting landlord game based on voice control
Method flow diagram, as shown in Fig. 2, the present embodiment includes the following steps:
Step S201: the first voice of setting wakes up word, the second voice wakes up word and third voice wakes up word.Waking up engine
Middle registration wakes up word for triggering the voice waken up, and in this embodiment, the voice of setting wakes up word and wakes up including the first voice
Word and the second voice wake up word, wherein it is to abandon board instruction that the first voice, which wakes up word, illustratively " otherwise rising ", " I should not "
Waking up word Deng, the second voice is play a card instruction, illustratively " playing a card to me ", " I will play a card " etc., can be according to different
Play a card instruction and abandon board instruction be configured.It is illustratively " to confirm for confirming the instruction played a card that third voice, which wakes up word,
Board ".
Step S202: according to state starting audio monitoring of playing a card.The starting opportunity of audio monitoring is when taking turns to user to play a card
It opens.Implementation can be first to obtain state of playing a card, and judges the state of playing a card, and when the state of playing a card is to play a card, adjusts
With the corresponding interface of terminal device, starting, there is the component of pickup function to carry out audio collection, such as the hand for Android system
Machine can carry out audio monitoring by calling its AudioRecord interface to start sound-recording function.Wherein, it is logical for obtaining the state of playing a card
Cross the corresponding interface realization for calling fighting landlord game.
Step S203: word is waken up according to the first voice of the phonetic order and setting received, the second voice wakes up word
Word, which is waken up, with third voice carries out processing of playing a card.After starting audio monitoring, voice collecting is carried out by the component of pickup function
The phonetic order of user is obtained, and the instruction output of collected user speech is subjected to voice wake-up processing to engine is waken up.Root
End of playing a card is generated when the voice for judging to receive wakes up word and wakes up word as the first voice according to the processing result that voice wakes up
Instruction, END instruction of playing a card is exported to the respective calls interface of the application terminal of fighting landlord game, is held by the calling interface
Capable END instruction of playing a card, which can be realized, abandons board processing.It is waken up when word is the second voice wake-up word pair in the voice that judges to receive
When the state answered, audio monitoring will do it, control operation of playing a card is carried out according to audio monitoring result.
Wherein, it when the second voice wakes up progress audio monitoring in the state that word corresponds to, is carried out according to audio monitoring result
Control operation of playing a card may be implemented are as follows: receive the instruction of the first user speech first, the instruction of the first user speech is what user issued
It is used to indicate the instruction for content of dealing out the cards, the audio that audio collection listens to is carried out by the component of pickup function, is transmitted
Speech recognition is carried out to speech recognition engine, determines that first plays a card instruction according to the recognition result instructed to the first user speech
(this first play a card instruction as the instruction for calling corresponding with game interface) exports.Illustratively, " I will go out user's sending voice
34567 ", phonetic is first converted into according to speech recognition, semantic parsing is carried out according to the phonetic later, is generated corresponding with interface
" out 34567 " instruction of playing a card, fighting landlord game application terminal executes corresponding instruction for " 34567 " board by calling interface
Display is projected upwards from current board column.
Continue audio monitoring, it, can be according to third language when receiving the user speech instruction of third voice wake-up
Sound wake up word determine second play a card instruction output to game the corresponding interface, the corresponding interface of game execute the instruction completion play a card
Process.Wherein, the voice wake-up for waking up word to third voice is the third of phonetic order and setting according to the monitored users
Voice wakes up what word was realized.Second instruction of playing a card is the instruction confirming the calling interface of board and being adapted to game application.
Step S204: obtaining state of playing a card, and when judging that the state of playing a card finishes to play a card, closes audio monitoring.It completes
It plays a card after operation, state of playing a card can be obtained again, judged whether to close audio monitoring according to the state of playing a card.Wherein complete the behaviour that plays a card
The judgement of work both can be implemented as being considered as completion after instruction output is played a card in generation second and playing a card operation;Also it can be implemented as
When playing a card and instructed to game application in output second, and receiving execution feedback result of the game application to the instruction of playing a card, depending on
To complete operation of playing a card.Specific implementation are as follows: the mode for obtaining state of playing a card is referred to shown in step S101, wherein acquisition
State content of playing a card is fighting landlord game application output, therefore can be according to the state content agreement of playing a card of fighting landlord game application
Analysis judgment is carried out to the content of acquisition.Illustratively, when be judged as play a card after call AudioRecord interface closed
Close the operation of audio monitoring.
In the preferred embodiment, determine second play a card instruction output before, further include receive third user speech refer to
It enables, instructs determining third to play a card according to third user speech and instruct output.Wherein, the instruction of third user speech is what user issued
Correction instruction carries out audio collection by pickup component.The correction instruction illustratively issued is " again plus one 8 ", " stays 8
Under " etc., adjustable content of playing a card, implementation is by speech recognition and semantic parsing, to obtain voice content to current
The board to be gone out is adjusted.The function that user's error correction is played a card can be supplied to.
In the preferred embodiment, the audio data got is also carried out the front end signal processing such as denoising, so as to
Clean audio data is obtained, output carries out subsequent operation to engine is waken up.The accuracy rate in interactive voice can be improved.
The both hands that liberation user may be implemented according to the present embodiment, enhance the experience sense of user.And only pass through fighting landlord
The included interface of game terminal is called and executes relevant instruction, and simple and convenient feasibility is high, applied widely.And lead to
It crosses the mode that speech recognition and voice wake up to go to realize interactive voice, prevents user from clicking accidentally playing a card of playing a card manually, and loud
Answer speed fast.
Fig. 3 schematically shows the dress that fighting landlord game is realized based on voice control according to an embodiment of the present invention
Set functional block diagram, which is characterized in that
The device that fighting landlord game is realized based on voice control includes waking up engine modules 2, speech control module 3 and voice
Processing module 4.
Waking up engine modules 2, the first voice wakes up word and the second voice wakes up word for being arranged.First voice wakes up word
Realize the user speech instruction for abandoning board operation, illustratively " otherwise rising ", " I should not " etc., it is to realize to play a card that the second voice, which wakes up word,
The user speech of operation instructs, illustratively " playing a card to me ", " I will play a card " etc..
Speech control module 3 is used to be embodied as calling terminal device according to state starting or the closing audio monitoring of playing a card
The corresponding interface, starting, there is the component of pickup function to carry out audio collection, such as can pass through tune for the mobile phone of Android system
Audio monitoring is carried out with its AudioRecord interface starting sound-recording function and closes audio monitoring.
Speech processing module 4 is used to wake up word and the second voice according to the first voice of the phonetic order and setting that receive
It wakes up word and carries out processing of playing a card.Wherein, speech processing module 4 includes: voice wakeup unit 401 and voice recognition unit 402.
Voice wakeup unit 401 is used to wake up word and the second language according to the first voice of the phonetic order and setting that receive
Sound wake-up word carries out voice wake-up, when voice wakes up state corresponding for the first voice wake-up word, generates END instruction of playing a card
Output carries out audio monitoring, specific implementation is referred to when voice wakes up state corresponding for the second voice wake-up word
Above method part.
Voice recognition unit 402 determines instruction output of playing a card for receiving user speech instruction, according to user speech instruction,
Wherein, user speech instruction includes the instruction of the first user speech and the instruction of third user speech, and instruction of playing a card is played a card including first
Instruction and third are played a card instruction, and the first user speech instructs the instruction for being used to indicate content of dealing out the cards, and the second phonetic order is user
" confirmation is played a card " instruction issued, first plays a card instruction to execute the finger of the calling corresponding interface of game of the first phonetic order
Enable, third instruction of playing a card is that error correction is played a card the instruction of content, and specific implementation is referred to above method part, herein not into
Row repeats.
In the preferred embodiment, engine modules 2 are waken up and are also used to be arranged third voice wake-up word, which wakes up
Word is " confirmation is played a card ".Voice wakeup unit 401 is also used to be waken up according to the phonetic order received and the third voice of setting
Word carries out voice wake-up, determines that second plays a card instruction output, and the second instruction of playing a card is the calling for confirming board with game application
The instruction of interface adaptation.Specific implementation is referred to above-mentioned method part.
Confirm that the instruction played a card in addition to waking up word according to third voice, can also be used by second in some embodiments
Family phonetic order is realized.Concrete implementation mode is referred to above-mentioned method part.
The both hands that liberation user may be implemented according to the device of the present embodiment, enhance the experience sense of user.And pass through language
The mode that sound identification and voice wake up goes to realize interactive voice, prevents user from clicking accidentally playing a card of playing a card manually, and responds fast
Degree is fast.
In some embodiments, the embodiment of the present invention provides a kind of non-volatile computer readable storage medium storing program for executing, described to deposit
Being stored in storage media one or more includes the programs executed instruction, it is described execute instruction can by electronic equipment (including but
It is not limited to computer, server or the network equipment etc.) it reads and executes, to be based on for executing any of the above-described of the present invention
The method of voice control progress fighting landlord game.
In some embodiments, the embodiment of the present invention also provides a kind of computer program product, and the computer program produces
Product include the computer program being stored on non-volatile computer readable storage medium storing program for executing, and the computer program includes that program refers to
It enables, when described program instruction is computer-executed, so that the computer is executed any of the above-described and struggled against based on voice control
The method of ground primary games.
In some embodiments, the embodiment of the present invention also provides a kind of electronic equipment comprising: at least one processor,
And the memory being connect at least one described processor communication, wherein the memory is stored with can be by described at least one
The instruction that a processor executes, described instruction is executed by least one described processor, so that at least one described processor energy
It is enough to execute the method that fighting landlord game is carried out based on voice control.
In some embodiments, the embodiment of the present invention also provides a kind of storage medium, is stored thereon with computer program,
It is characterized in that, the method that fighting landlord game is carried out based on voice control when which is executed by processor.
The device for carrying out fighting landlord game based on voice control of the embodiments of the present invention can be used for executing of the invention real
The method that fighting landlord game is carried out based on voice control of example is applied, and the realization for reaching the embodiments of the present invention accordingly is based on
Voice control carries out the method technical effect achieved of fighting landlord game, and which is not described herein again.It can be in the embodiment of the present invention
Pass through hardware processor (hardware processor) Lai Shixian related function module.
Fig. 4 is that the electronics for method of the execution based on voice control progress fighting landlord game that one embodiment of the invention provides is set
Standby hardware structural diagram, as shown in figure 4, the equipment includes:
One or more processors 410 and memory 420, in Fig. 4 by taking a processor 410 as an example.
It can also include: input unit 430 and defeated for executing the equipment for carrying out the method for fighting landlord game based on voice control
Device 440 out.
Processor 410, memory 420, input unit 430 and output device 440 can pass through bus or other modes
It connects, in Fig. 4 for being connected by bus.
Memory 420 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey
Sequence, non-volatile computer executable program and module, as carried out fighting landlord based on voice control in the embodiment of the present application
Corresponding program instruction/the module of the method for game.Processor 410 is stored in non-volatile soft in memory 420 by operation
Part program, instruction and module, thereby executing the various function application and data processing of server, i.e. the realization above method is real
Apply the method that example carries out fighting landlord game based on voice control.
Memory 420 may include storing program area and storage data area, wherein storing program area can store operation system
Application program required for system, at least one function;Storage data area, which can be stored, carries out fighting landlord trip according to based on voice control
The device of play uses created data etc..It, can be in addition, memory 420 may include high-speed random access memory
Including nonvolatile memory, for example, at least a disk memory, flush memory device or other non-volatile solid state memories
Part.In some embodiments, it includes the memory remotely located relative to processor 410 that memory 420 is optional, these are remotely deposited
Reservoir can be by being connected to the network to the device for carrying out fighting landlord game based on voice control.The example of above-mentioned network includes but not
It is limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Input unit 430 can receive the number or character information of input, and generates and carry out bucket ground with based on voice control
The related signal of user setting and function control of the device of primary games.Output device 440 may include that the displays such as display screen are set
It is standby.
One or more of modules are stored in the memory 420, when by one or more of processors
When 410 execution, the method that fighting landlord game is carried out based on voice control in above-mentioned any means embodiment is executed.
Method provided by the embodiment of the present application can be performed in the said goods, has the corresponding functional module of execution method and has
Beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to method provided by the embodiment of the present application.
The electronic equipment of the embodiment of the present application exists in a variety of forms, including but not limited to:
(1) mobile communication equipment: the characteristics of this kind of equipment is that have mobile communication function, and to provide speech, data
Communication is main target.This Terminal Type includes: smart phone (such as iPhone), multimedia handset, functional mobile phone and low
Hold mobile phone etc..
(2) super mobile personal computer equipment: this kind of equipment belongs to the scope of personal computer, there is calculating and processing function
Can, generally also have mobile Internet access characteristic.This Terminal Type includes: PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device: this kind of equipment can show and play multimedia content.Such equipment include: audio,
Video player (such as iPod), handheld device, e-book and intelligent toy and portable car-mounted navigation equipment.
(4) server: providing the equipment of the service of calculating, and the composition of server includes that processor, hard disk, memory, system are total
Line etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, in processing energy
Power, stability, reliability, safety, scalability, manageability etc. are more demanding.
(5) other electronic devices with data interaction function.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member
It is physically separated with being or may not be, component shown as a unit may or may not be physics list
Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs
In some or all of the modules achieve the purpose of the solution of this embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It is realized by the mode of software plus general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, above-mentioned technology
Scheme substantially in other words can be embodied in the form of software products the part that the relevant technologies contribute, the computer
Software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions to
So that computer equipment (can be personal computer, server or the network equipment etc.) execute each embodiment or
Method described in certain parts of embodiment.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although
The application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution spirit and
Range.
Claims (10)
1. the method for carrying out fighting landlord game based on voice control, comprising:
First voice is set and wakes up word and the second voice wake-up word;
According to state starting audio monitoring of playing a card;
Word is waken up according to the first voice of the phonetic order and the setting that receive and the second voice wakes up word and plays a card
Processing.
2. the method according to claim 1, wherein the first of phonetic order and setting that the basis receives
Voice, which wakes up word and the second voice and wakes up the word processing that play a card, includes:
Word is waken up according to the first voice of the phonetic order and setting that receive and the second voice wakes up word and carries out voice wake-up;
When voice wakes up state corresponding for the first voice wake-up word, END instruction output of playing a card is generated;
When voice wakes up state corresponding for the second voice wake-up word, audio monitoring is carried out, is carried out according to audio monitoring result
Control of playing a card operates.
3. according to the method described in claim 2, it is characterized in that, described wake up in voice is that the second voice wake-up word is corresponding
When state, audio monitoring is carried out, play a card according to audio monitoring result controlling to operate includes:
The instruction of the first user speech is received, is played a card according to first user speech instruction determining first and instructs output;
Receive second user phonetic order, according to the second user phonetic order determine second play a card instruction output;
According to the response results for playing a card instruction to second, generation is played a card END instruction output.
4. according to the method described in claim 2, it is characterized in that, further including
Third voice is set and wakes up word;
According to the third voice of the phonetic order and setting received wake up word carry out voice wake-up, determine second play a card instruct it is defeated
Out;
It is described when it is that the second voice wakes up the corresponding state of word that voice, which wakes up, audio monitoring is carried out, according to audio monitoring result
Play a card controlling to operate and includes:
The instruction of the first user speech is received, is played a card according to first user speech instruction determining first and instructs output.
5. the method according to claim 3 or 4, which is characterized in that determine second play a card instruction output before, further include
The instruction of third user speech is received, instructs determining third to play a card according to the third user speech and instructs output.
6. according to the method described in claim 5, it is characterized in that, after the processing that play a card, further includes:
Acquisition is played a card state, when judging that the state of playing a card finishes to play a card, closes audio monitoring.
7. realizing the device of fighting landlord game based on voice control characterized by comprising
Engine modules are waken up, the first voice wakes up word and the second voice wakes up word for being arranged;
Speech control module, for according to state starting or the closing audio monitoring of playing a card;
Speech processing module, for waking up word and the wake-up of the second voice according to the first voice of the phonetic order and setting that receive
Word carries out processing of playing a card.
8. device according to claim 7, which is characterized in that the speech processing module includes:
Voice wakeup unit, for waking up word and the wake-up of the second voice according to the first voice of the phonetic order and setting that receive
Word carries out voice wake-up, when voice wakes up state corresponding for the first voice wake-up word, generates END instruction output of playing a card,
When voice wakes up state corresponding for the second voice wake-up word, audio monitoring is carried out;
Voice recognition unit determines instruction output of playing a card according to user speech instruction for receiving user speech instruction,
In, the user speech instruction includes at least the instruction of the first user speech and the instruction of third user speech, the instruction packet of playing a card
It includes first and plays a card instruction and third is played a card instruction.
9. device according to claim 8, which is characterized in that the wake-up engine modules are also used to be arranged third voice
Wake up word;
The voice wakeup unit, which is also used to wake up word according to the phonetic order received and the third voice of setting, carries out voice
Wake up, determine second play a card instruction output.
10. a kind of electronic equipment comprising: at least one processor, and connect at least one described processor communication
Memory, wherein the memory be stored with can by least one described processor execute instruction, described instruction by it is described extremely
A few processor executes, so that at least one described processor is able to carry out any one of claim 1-6 the method
The step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811582421.4A CN109686370A (en) | 2018-12-24 | 2018-12-24 | The method and device of fighting landlord game is carried out based on voice control |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811582421.4A CN109686370A (en) | 2018-12-24 | 2018-12-24 | The method and device of fighting landlord game is carried out based on voice control |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109686370A true CN109686370A (en) | 2019-04-26 |
Family
ID=66188948
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811582421.4A Pending CN109686370A (en) | 2018-12-24 | 2018-12-24 | The method and device of fighting landlord game is carried out based on voice control |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109686370A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110211585A (en) * | 2019-06-05 | 2019-09-06 | 广州小鹏汽车科技有限公司 | In-car entertainment interactive approach, device, vehicle and machine readable media |
CN111729291A (en) * | 2020-06-12 | 2020-10-02 | 网易(杭州)网络有限公司 | Interaction method, interaction device, electronic equipment and storage medium |
CN111901687A (en) * | 2020-08-03 | 2020-11-06 | 深圳创维-Rgb电子有限公司 | Game control method, television, device and storage medium |
CN113782016A (en) * | 2021-08-06 | 2021-12-10 | 佛山市顺德区美的电子科技有限公司 | Wake-up processing method, device, equipment and computer storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103581726A (en) * | 2013-10-16 | 2014-02-12 | 四川长虹电器股份有限公司 | Method for achieving game control by adopting voice on television equipment |
CN103611294A (en) * | 2013-11-27 | 2014-03-05 | 南京航空航天大学 | Chess game voice control device and control method thereof |
CN107004412A (en) * | 2014-11-28 | 2017-08-01 | 微软技术许可有限责任公司 | Equipment arbitration for audiomonitor |
CN107360327A (en) * | 2017-07-19 | 2017-11-17 | 腾讯科技(深圳)有限公司 | Audio recognition method, device and storage medium |
CN107704275A (en) * | 2017-09-04 | 2018-02-16 | 百度在线网络技术(北京)有限公司 | Smart machine awakening method, device, server and smart machine |
CN108520743A (en) * | 2018-02-02 | 2018-09-11 | 百度在线网络技术(北京)有限公司 | Sound control method, smart machine and the computer-readable medium of smart machine |
-
2018
- 2018-12-24 CN CN201811582421.4A patent/CN109686370A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103581726A (en) * | 2013-10-16 | 2014-02-12 | 四川长虹电器股份有限公司 | Method for achieving game control by adopting voice on television equipment |
CN103611294A (en) * | 2013-11-27 | 2014-03-05 | 南京航空航天大学 | Chess game voice control device and control method thereof |
CN107004412A (en) * | 2014-11-28 | 2017-08-01 | 微软技术许可有限责任公司 | Equipment arbitration for audiomonitor |
CN107360327A (en) * | 2017-07-19 | 2017-11-17 | 腾讯科技(深圳)有限公司 | Audio recognition method, device and storage medium |
CN107704275A (en) * | 2017-09-04 | 2018-02-16 | 百度在线网络技术(北京)有限公司 | Smart machine awakening method, device, server and smart machine |
CN108520743A (en) * | 2018-02-02 | 2018-09-11 | 百度在线网络技术(北京)有限公司 | Sound control method, smart machine and the computer-readable medium of smart machine |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110211585A (en) * | 2019-06-05 | 2019-09-06 | 广州小鹏汽车科技有限公司 | In-car entertainment interactive approach, device, vehicle and machine readable media |
CN111729291A (en) * | 2020-06-12 | 2020-10-02 | 网易(杭州)网络有限公司 | Interaction method, interaction device, electronic equipment and storage medium |
CN111729291B (en) * | 2020-06-12 | 2024-02-09 | 网易(杭州)网络有限公司 | Interaction method, device, electronic equipment and storage medium |
CN111901687A (en) * | 2020-08-03 | 2020-11-06 | 深圳创维-Rgb电子有限公司 | Game control method, television, device and storage medium |
CN113782016A (en) * | 2021-08-06 | 2021-12-10 | 佛山市顺德区美的电子科技有限公司 | Wake-up processing method, device, equipment and computer storage medium |
WO2023010861A1 (en) * | 2021-08-06 | 2023-02-09 | 佛山市顺德区美的电子科技有限公司 | Wake-up method, apparatus, device, and computer storage medium |
CN113782016B (en) * | 2021-08-06 | 2023-05-05 | 佛山市顺德区美的电子科技有限公司 | Wakeup processing method, wakeup processing device, equipment and computer storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109637548A (en) | Voice interactive method and device based on Application on Voiceprint Recognition | |
CN109686370A (en) | The method and device of fighting landlord game is carried out based on voice control | |
CN109147779A (en) | Voice data processing method and device | |
JP2019117623A (en) | Voice dialogue method, apparatus, device and storage medium | |
CN110769319B (en) | Standby wakeup interaction method and device | |
CN110634483A (en) | Man-machine interaction method and device, electronic equipment and storage medium | |
US20140172423A1 (en) | Speech recognition method, device and electronic apparatus | |
US20230352012A1 (en) | Speech skill jumping method for man machine dialogue, electronic device and storage medium | |
CN109364477A (en) | Play Mah-Jong the method and device of game based on voice control | |
CN110459221A (en) | The method and apparatus of more equipment collaboration interactive voices | |
CN106384591A (en) | Method and device for interacting with voice assistant application | |
CN111049996A (en) | Multi-scene voice recognition method and device and intelligent customer service system applying same | |
CN109360567A (en) | The customizable method and apparatus waken up | |
CN110010125A (en) | Control method and device of intelligent robot, terminal equipment and medium | |
CN109543578A (en) | Smart machine control method, device and storage medium | |
CN109741740B (en) | Voice interaction method and device based on external trigger | |
CN108877804A (en) | Voice service method, system, electronic equipment and storage medium | |
US20220399020A1 (en) | Man-machine dialogue mode switching method | |
WO2017185782A1 (en) | Method and device for customizing alarm clock reminder | |
CN110166789A (en) | Monitor method, computer equipment and the readable storage medium storing program for executing of net cast sensitive information | |
US20230133146A1 (en) | Method and apparatus for determining skill field of dialogue text | |
CN117253478A (en) | Voice interaction method and related device | |
CN109686372B (en) | Resource playing control method and device | |
CN109658924B (en) | Session message processing method and device and intelligent equipment | |
CN110516043A (en) | Answer generation method and device for question answering system |
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 | ||
CB02 | Change of applicant information |
Address after: 215123 building 14, Tengfei Innovation Park, 388 Xinping street, Suzhou Industrial Park, Suzhou City, Jiangsu Province Applicant after: Sipic Technology Co.,Ltd. Address before: 215123 building 14, Tengfei Innovation Park, 388 Xinping street, Suzhou Industrial Park, Suzhou City, Jiangsu Province Applicant before: AI SPEECH Ltd. |
|
CB02 | Change of applicant information |