CN114931747B - Game controller and intelligent voice control method - Google Patents
Game controller and intelligent voice control method Download PDFInfo
- Publication number
- CN114931747B CN114931747B CN202210874901.8A CN202210874901A CN114931747B CN 114931747 B CN114931747 B CN 114931747B CN 202210874901 A CN202210874901 A CN 202210874901A CN 114931747 B CN114931747 B CN 114931747B
- Authority
- CN
- China
- Prior art keywords
- voice control
- game
- control command
- preset
- text content
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000009471 action Effects 0.000 claims abstract description 99
- 230000006870 function Effects 0.000 claims abstract description 21
- 238000004891 communication Methods 0.000 claims description 12
- 238000012795 verification Methods 0.000 claims description 12
- 230000003238 somatosensory effect Effects 0.000 abstract description 5
- 230000008569 process Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 3
- OQEBBZSWEGYTPG-UHFFFAOYSA-N 3-aminobutanoic acid Chemical compound CC(N)CC(O)=O OQEBBZSWEGYTPG-UHFFFAOYSA-N 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000012216 screening Methods 0.000 description 2
- 230000003213 activating effect Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000009193 crawling Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 210000002784 stomach Anatomy 0.000 description 1
Images
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/20—Input arrangements for video game devices
- A63F13/21—Input arrangements for video game devices characterised by their sensors, purposes or types
- A63F13/215—Input arrangements for video game devices characterised by their sensors, purposes or types comprising means for detecting acoustic signals, e.g. using a microphone
-
- 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/08—Speech classification or search
- G10L15/10—Speech classification or search using distance or distortion measures between unknown speech and reference templates
-
- 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
-
- 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/26—Speech to text systems
-
- 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/10—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 input arrangements for converting player-generated signals into game device control signals
- A63F2300/1081—Input via 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)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a game controller and an intelligent voice control method, and belongs to the technical field of game control. The game controller adds an intelligent voice control function in the game controller, realizes a voice control mode different from the traditional key control and somatosensory control modes based on an intelligent voice control method, does not need a user to control a controlled object in a game picture through key operation after a voice acquisition function is started, and can perform identification analysis based on a voice signal sent by the user to generate a corresponding voice control command to control the controlled object in the game picture to execute the operation which the user wants to realize as long as the user expresses the operation which the user wants to realize by using a language. On one hand, the problem that a player feels tired easily due to repeated and tedious operations is avoided, on the other hand, a game operation mode capable of easily achieving high-difficulty actions is provided for the user, and game experience of the user is remarkably improved.
Description
Technical Field
The invention relates to the technical field of game control, in particular to a game controller and an intelligent voice control method.
Background
In recent years, due to the epidemic situation, more and more people have games as one of the entertainment modes at home, and nowadays, game controllers have many functions such as key control and body feeling control along with the development of many years, and the purpose of the game controllers is to improve the use experience of players.
Whether the games are online games, host games or television games, most operations in the games are performed by relying on key commands or somatosensory commands sent by players through game controllers, on one hand, the players feel tired easily due to repeated and tedious operations, and on the other hand, certain actions with high difficulty are difficult to realize through the key commands or the somatosensory commands.
Disclosure of Invention
The invention mainly aims to provide a game controller and an intelligent voice control method, and aims to solve the technical problem of how to improve the traditional game control mode and provide more flexible and changeable game experience modes for users.
In order to achieve the above object, the present invention provides an intelligent voice control method, which is applied to a game controller, wherein the game controller is in communication connection with a preset game host, and the intelligent voice control method comprises the following steps:
when the preset voice acquisition function is monitored to be activated, acquiring a voice signal;
recognizing the voice signal to obtain text content corresponding to the voice signal;
judging whether the text content conforms to a preset control logic;
when the text content accords with a preset control logic, generating a voice control command according to the text content;
and controlling the controlled object in the game picture according to the voice control command so as to enable the controlled object to execute the custom action contained in the text content.
Optionally, the step of determining whether the text content conforms to a preset control logic includes:
comparing the text content with a preset standard instruction to obtain the similarity of the text content and the preset standard instruction;
and judging whether the text content conforms to a preset control logic according to the similarity between the text content and a preset standard instruction.
Optionally, the step of determining whether the text content meets a preset control logic according to the similarity between the text content and a preset standard instruction includes:
if the similarity between the text content and a preset standard instruction is not smaller than a preset threshold value, judging that the text content conforms to a preset control logic;
and if the similarity between the text content and a preset standard instruction is smaller than a preset threshold value, judging that the text content does not accord with a preset control logic.
Optionally, the step of generating a voice control command according to the text content includes:
analyzing the text content to obtain keywords in the text content;
and generating a voice control command according to the keyword and a preset command template.
Optionally, the step of generating a voice control command according to the keyword and a preset command template includes:
determining an action type corresponding to the voice control command according to the keyword;
and configuring corresponding execution duration for the voice control command according to the action type corresponding to the voice control command.
Optionally, the step of determining the action type corresponding to the voice control command according to the keyword includes:
when the keyword comprises a plurality of continuous verbs, identifying the action type corresponding to the voice control command as a quick action;
and when the keywords comprise adjectives which are used for modifying the verbs and represent action amplitude, determining the action type corresponding to the voice control command as an accurate action.
Optionally, the step of configuring, according to the action type corresponding to the voice control command, a corresponding execution duration for the voice control command includes:
when the action type corresponding to the voice control command is a quick action, configuring millisecond-level execution duration for the voice control command;
and when the action type corresponding to the voice control command is the accurate action, configuring a second-level execution duration for the voice control command.
Optionally, after the step of determining whether the text content conforms to a preset control logic, the method further includes:
and outputting error prompt information when the text content does not accord with the preset control logic.
Optionally, the step of controlling the controlled object in the game screen according to the voice control command comprises:
after the voice control command is generated, judging whether other input instructions except the voice signal exist or not;
if the other input instructions exist, preferentially controlling the controlled object in the game picture according to the game control command corresponding to the other input instructions;
and if the other input instructions do not exist, executing the step of controlling the controlled object in the game picture according to the voice control command.
Optionally, the step of controlling the controlled object in the game screen according to the voice control command further comprises:
acquiring a game scene corresponding to a current game picture;
outputting voiceprint verification information or fingerprint verification information according to the game scene to confirm whether to continuously execute the voice control command;
the step of controlling the controlled object in the game picture according to the voice control command comprises:
and sending the voice control command and the action type and the execution duration corresponding to the voice control command to the preset game host to control the controlled object in the game picture.
In addition, in order to achieve the above object, the present invention further provides an intelligent voice control apparatus, including:
the acquisition module is used for acquiring a voice signal when the preset voice acquisition function is monitored to be activated;
the recognition module is used for recognizing the voice signal to obtain text content corresponding to the voice signal;
the judging module is used for judging whether the text content conforms to a preset control logic or not;
the generating module is used for generating a voice control command according to the text content when the text content accords with a preset control logic;
and the output module is used for controlling the controlled object in the game picture according to the voice control command so as to enable the controlled object to execute the custom action contained in the text content.
Further, to achieve the above object, the present invention also provides a game controller including: the intelligent voice control system comprises a memory, a processor and an intelligent voice control program which is stored on the memory and can run on the processor, wherein the steps of the intelligent voice control method are realized when the intelligent voice control program is executed by the processor.
In addition, to achieve the above object, the present invention also provides a computer readable storage medium having an intelligent voice control program stored thereon, which when executed by a processor implements the steps of the intelligent voice control method as described above.
The invention provides a game controller and an intelligent voice control method, and solves the technical problems that in the prior art, a game control mode is too boring and single, part of game operation difficulty is higher, and game experience of a user is influenced. The game controller adds an intelligent voice control function in the game controller, realizes a voice control mode different from the traditional key control and somatosensory control modes based on an intelligent voice control method, does not need a user to control a controlled object in a game picture through key operation after a preset voice acquisition function is started, and can perform recognition analysis based on a voice signal sent by the user to generate a corresponding voice control command to control the controlled object in the game picture to execute the operation which the user wants to realize as long as the user expresses the operation which the user wants to realize by using a language. On one hand, the problem that a player feels tired easily due to repeated and tedious operations is avoided, on the other hand, a game operation mode capable of easily achieving high-difficulty actions is provided for the user, and game experience of the user is remarkably improved.
Drawings
FIG. 1 is a schematic diagram of a game controller according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart diagram illustrating an intelligent voice control method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of functional modules of an embodiment of an intelligent voice control apparatus according to the present invention.
The implementation, functional features and advantages of the present invention will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
An embodiment of the present invention provides a game controller, and referring to fig. 1, fig. 1 is a schematic structural diagram of a game controller according to an embodiment of the present invention.
As shown in fig. 1, the game controller may further include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to implement connection communication among these components. The user interface 1003 may include a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a memory device separate from the processor 1001 described above.
Those skilled in the art will appreciate that the configuration shown in FIG. 1 is not intended to be limiting of game controllers and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory 1005, which is a storage medium, may include therein an operating system, a data storage module, a network communication module, a user interface module, and a smart voice control program.
In the game controller shown in fig. 1, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in this embodiment may be provided in a game controller, and the game controller calls the intelligent voice control program stored in the memory 1005 through the processor 1001 and executes the following operations:
when the preset voice acquisition function is monitored to be activated, acquiring a voice signal;
recognizing the voice signal to obtain text content corresponding to the voice signal;
judging whether the text content accords with a preset control logic;
when the text content accords with a preset control logic, generating a voice control command according to the text content;
and controlling the controlled object in the game picture according to the voice control command so as to enable the controlled object to execute the custom action contained in the text content.
Further, the processor 1001 may call the smart voice control program stored in the memory 1005, and also perform the following operations:
the step of judging whether the text content conforms to a preset control logic comprises the following steps:
comparing the text content with a preset standard instruction to obtain the similarity between the text content and the preset standard instruction;
and judging whether the text content conforms to a preset control logic or not according to the similarity of the text content and a preset standard instruction.
Further, the processor 1001 may call the smart voice control program stored in the memory 1005, and also perform the following operations:
the step of judging whether the text content conforms to a preset control logic according to the similarity between the text content and a preset standard instruction comprises the following steps:
if the similarity between the text content and a preset standard instruction is not smaller than a preset threshold value, judging that the text content conforms to a preset control logic;
and if the similarity between the text content and a preset standard instruction is smaller than a preset threshold value, judging that the text content does not accord with a preset control logic.
Further, the processor 1001 may call the smart voice control program stored in the memory 1005, and further perform the following operations:
the step of generating a voice control command according to the text content comprises:
analyzing the text content to obtain keywords in the text content;
and generating a voice control command according to the keyword and a preset command template.
Further, the processor 1001 may call the smart voice control program stored in the memory 1005, and also perform the following operations:
the step of generating a voice control command according to the keyword and a preset command template comprises the following steps:
determining an action type corresponding to the voice control command according to the keyword;
and configuring corresponding execution duration for the voice control command according to the action type corresponding to the voice control command.
Further, the processor 1001 may call the smart voice control program stored in the memory 1005, and further perform the following operations:
the step of determining the action type corresponding to the voice control command according to the keyword comprises the following steps:
when the keyword comprises a plurality of continuous verbs, identifying the action type corresponding to the voice control command as a quick action;
and when the keywords contain adjectives which are used for modifying verbs and represent action amplitude, determining the action type corresponding to the voice control command as an accurate action.
Further, the processor 1001 may call the smart voice control program stored in the memory 1005, and also perform the following operations:
the step of configuring the corresponding execution duration for the voice control command according to the action type corresponding to the voice control command comprises:
when the action type corresponding to the voice control command is a quick action, configuring millisecond-level execution duration for the voice control command;
and when the action type corresponding to the voice control command is the accurate action, configuring a second-level execution duration for the voice control command.
Further, the processor 1001 may call the smart voice control program stored in the memory 1005, and further perform the following operations:
the step of controlling the controlled object in the game picture according to the voice control command comprises the following steps:
after the voice control command is generated, judging whether other input instructions except the voice signal exist;
if the other input instructions exist, preferentially controlling the controlled object in the game picture according to the game control command corresponding to the other input instructions;
and if the other input instructions do not exist, executing the step of controlling the controlled object in the game picture according to the voice control command.
Further, the processor 1001 may call the smart voice control program stored in the memory 1005, and also perform the following operations:
the step of controlling the controlled object in the game picture according to the voice control command further comprises the following steps:
acquiring a game scene corresponding to a current game picture;
outputting voiceprint verification information or fingerprint verification information according to the game scene to determine whether to continuously execute the voice control command;
the step of controlling the controlled object in the game picture according to the voice control command comprises:
and sending the voice control command and the action type and the execution duration corresponding to the voice control command to the preset game host to control the controlled object in the game picture.
An embodiment of the present invention provides an intelligent voice control method, and referring to fig. 2, fig. 2 is a schematic flowchart of an embodiment of an intelligent voice control method according to the present invention.
In this embodiment, the intelligent voice control method is applied to a game controller, the game controller is in communication connection with a preset game host, and the intelligent voice control method includes the following steps:
step S10, when the preset voice acquisition function is monitored to be activated, acquiring a voice signal;
it should be noted that, in this embodiment, the execution main body is a game controller, the game controller and a preset game host are in the same communication network, the preset game host may be a terminal device such as a mobile phone, a computer, a television, or the like, and the communication connection between the game controller and the preset game host may be a wired connection, for example, the game controller and the preset game host are connected with each other through a USB (Universal Serial Bus) signal line for wired communication, or a wireless connection, for example, the game controller and the preset game host are connected with each other through bluetooth, WIFI, or the like for wireless communication; the game controller can be a game handle or a mouse which comprises a key or a switch capable of switching on and off a preset voice acquisition function, when the key is in a pressed state or the switch is in an on state, the preset voice acquisition function is regarded as an activated state, and when the key is in a bounce state or the switch is in an off state, the preset voice acquisition function is regarded as an inactivated state. When the preset voice acquisition function is activated, the game controller has the functions of recording and processing voice signals, the game controller can acquire the voice signals sent by the user through the microphone, and the process of activating the preset voice acquisition function can be regarded as the process of granting the microphone to acquire the voice signal permission.
Step S20, recognizing the voice signal to obtain text content corresponding to the voice signal;
step S30, judging whether the text content accords with a preset control logic;
in this embodiment, the game controller includes a voice recognition module, and the voice recognition module can recognize a voice signal collected by the microphone and convert the voice signal into text content.
As an example, in the present embodiment, step S30 includes:
step S31, comparing the text content with a preset standard instruction to obtain the similarity between the text content and the preset standard instruction;
and step S32, judging whether the text content accords with a preset control logic according to the similarity of the text content and a preset standard instruction.
It should be noted that the storage data of the game controller includes a plurality of preset standard instructions, which may be action instructions for a controlled object in a game picture, such as forward, backward, leftward, rightward, jump, squat, lie on the stomach, stand, and the like, or control actions corresponding to preset keys or preset rockers of the game controller, such as up a, down B, up left B, down right a, up, down, left, right, and left BABA; the similarity is used for representing the proportion of a preset standard instruction in the text content, if the text content contains the preset standard instruction, the similarity between the text content and the preset standard instruction is in a higher level, and if the text content does not contain the preset standard instruction, the similarity between the text content and the preset standard instruction is in a lower level; the preset control logic is used for screening correct control commands, and it can be understood that a user may talk with others and chat in a game process, in such a case, a preset standard instruction may also exist in a collected voice signal, but the occupation ratio in the whole text content is not too high, and the user does not want to control the game at this time, so that the user is not considered to have reached the voice control commands in such a case.
Further, step S32 includes: step S320, if the similarity between the text content and a preset standard instruction is not less than a preset threshold value, judging that the text content conforms to a preset control logic; in step S321, if the similarity between the text content and the preset standard instruction is smaller than a preset threshold, it is determined that the text content does not conform to a preset control logic.
It should be noted that, in this embodiment, a preset threshold may be set in the game controller in advance, so as to compare the similarity, further implement the screening of the text content, and avoid the occurrence of misjudgment that the action executed by the controlled object in the game screen is not the action that the user wants to execute, where the preset threshold may be changed by the user, and the default setting may be 50% or 45%, and the specific value of the preset threshold is not limited in this embodiment.
It can be understood that when the similarity between the text content and the preset standard instruction is not less than the preset threshold value, the similarity is higher, and the voice information sent by the user at the moment is determined to include the voice control command and conform to the preset control logic; and when the similarity between the text content and the preset standard instruction is smaller than a preset threshold value, the similarity is lower, and the voice information sent by the user at the moment is determined not to contain the voice control command and is not in accordance with the preset control logic.
Step S40, when the text content accords with a preset control logic, generating a voice control command according to the text content;
it can be understood that, when the text content conforms to the preset control logic, it indicates that the voice message sent by the user at this time includes some operation instructions that the user wants to play the game, and the game controller takes the text content as input and performs signal conversion on the text content, and the obtained voice control command is a command that needs to be output to the preset game host and can be recognized and executed by the preset game host.
As an example, in this embodiment, the step of generating the voice control command according to the text content in step S40 includes: analyzing the text content to obtain keywords in the text content; and generating a voice control command according to the keyword and a preset command template.
It should be noted that the speech recognition module in the game controller may perform word segmentation processing on the text content to obtain keywords in the text content; for example, if the obtained text content is "move left a little step", the keywords obtained by segmenting the text content include: "left", "move" and "a small step"; the preset command template is used for converting the operation instruction of the game controller into a control command which can be read by the game host, and can be regarded as a signal conversion scheme.
Further, step S40 is followed by:
step S401, determining an action type corresponding to the voice control command according to the keyword;
and S402, configuring corresponding execution duration for the voice control command according to the action type corresponding to the voice control command.
Wherein, step S401 includes: when the keyword comprises a plurality of continuous verbs, identifying the action type corresponding to the voice control command as a quick action; and when the keywords contain adjectives which are used for modifying verbs and represent action amplitude, determining the action type corresponding to the voice control command as an accurate action.
Step S402 includes: when the action type corresponding to the voice control command is a quick action, configuring millisecond-level execution duration for the voice control command; and when the action type corresponding to the voice control command is the accurate action, configuring a second-level execution duration for the voice control command.
It should be noted that, in this embodiment, the game controller may determine what the action that the user wants to make the controlled object in the game screen perform according to the voice signal of the user, and when the keyword includes multiple consecutive verbs, such as upper a, lower B, upper left B, lower right a, upper, lower, left, right, upper, lower, left, right, and left BABA, it may be understood that the keyword continuously presses some keys, and at this time, the user may want to implement some invitations in the game that can be implemented by a fast key, so this case is regarded as a fast action, and the action is completed within a time duration of millisecond, for example, within 20ms or within 50 ms; when the keyword contains an adjective used for modifying the verb and representing the action amplitude, such as "a small step", it indicates that the user may be a precise mechanism for breaking some games at this time, and the control on the controlled object needs to be realized through a fine and precise action, so that this situation is regarded as a precise action, and the action is completed within a time duration of the order of seconds, such as within 3s or 5s, and meanwhile, when the keyword obtained by the game controller contains a description similar to "a small step", the game controller can further refine the action, such as splitting a displacement action into multiple times to meet the requirement of the user on the precise action.
As an example, in the present embodiment, the step S30 is followed by a branch step parallel to the step S40: and outputting error prompt information when the text content does not accord with the preset control logic.
It can be understood that when the text content does not conform to the preset control logic, it indicates that the voice message sent by the user at this time does not include some operation instructions that the user wants to perform on the game, but may be the voice message collected by the user when the user has a chat with another person, and at this time, the game controller may output an error prompt message to guide the user to say an operation that the user wants to perform, or prompt the user to temporarily turn off the voice control function to save the electric quantity. The error prompt information may be displayed in a game screen, or may be notified to the user through a speaker in a voice broadcast manner, and when the error prompt information is output, the game controller may retrieve the voice information again, that is, step 10 is executed.
And S50, controlling the controlled object in the game picture according to the voice control command so that the controlled object executes the custom action contained in the text content.
As an example, in the present embodiment, step S50 includes: after the voice control command is generated, judging whether other input instructions except the voice signal exist; if the other input instructions exist, preferentially controlling the controlled object in the game picture according to the game control command corresponding to the other input instructions; and if the other input instructions do not exist, executing the step of controlling the controlled object in the game picture according to the voice control command.
For example, to prevent misoperation, after a voice control command is generated, it is further determined whether another input instruction exists in the game controller at the current moment, that is, whether a user is controlling a game through a key operation or a body sensing operation, it should be understood that there is a priority division between various operation modes. In contrast, if it is not detected that the user has another operation when the voice control command is generated, the step S50 is executed, that is, the game is controlled by the voice control command.
As an example, in this embodiment, step S50 further includes: acquiring a game scene corresponding to a current game picture; and outputting voiceprint verification information or fingerprint verification information according to the game scene to confirm whether to continuously execute the voice control command.
For example, before the game is controlled by the voice control command, a verification process may be set according to a game scene, for example, when there may be a precious item in the game scene in the game picture, in order to avoid that the precious item is damaged after the voice control command is executed, it is necessary to confirm whether to confirm to execute the voice control command to the user, specifically, confirmation may be performed by verifying voiceprint information or fingerprint information of the user, so as to implement validity verification of the instruction. In addition, different preset command templates can be configured for different game scenes, different corresponding preset command templates are selected according to different scenes before the voice control command is generated, and then the voice control command suitable for the game scene is generated according to the keywords and the preset command templates corresponding to the game scenes.
As an example, in the present embodiment, the step of controlling the controlled object in the game screen according to the voice control command in step S50 includes: and sending the voice control command and the action type and the execution duration corresponding to the voice control command to the preset game host to control the controlled object in the game picture.
It can be understood that the voice control command needs to be sent to a preset game host to control the controlled object in the game screen, and while the voice control command is sent, the action type corresponding to the voice control command, i.e. the fast action or the precise action, and the execution duration corresponding to the voice control command are sent to the preset game host together, so that the preset game host can accurately control the controlled object in the game screen according to the voice control command, the action type corresponding to the voice control command, and the execution duration, where the controlled object may be a virtual game character or an operation interface, and the custom action is an action included in a voice signal from a user, such as squatting, crawling, standing, and the like, but does not violate the setting of the game itself, i.e. the virtual game character in the game cannot execute other actions outside the set action range.
The embodiment provides an intelligent voice control method, and the technical problems that in the prior art, a game control mode is too boring and single, the operation difficulty of part of games is higher, and the game experience of a user is influenced are solved. In the embodiment, an intelligent voice control function is added in the game controller, a voice control mode different from the traditional key control and somatosensory control mode is realized based on an intelligent voice control method, after a preset voice acquisition function is started, a user does not need to control a controlled object in a game picture through key operation, the user only needs to express an operation which the user wants to realize by using a language, the game controller can perform recognition analysis based on a voice signal sent by the user, and a corresponding voice control command is generated to control the controlled object in the game picture to execute the operation which the user wants to realize. On one hand, the problem that a player feels tired easily due to repeated and tedious operations is avoided, on the other hand, a game operation mode capable of easily achieving high-difficulty actions is provided for the user, and game experience of the user is remarkably improved.
In addition, an embodiment of the present invention further provides an intelligent voice control device, and referring to fig. 3, fig. 3 is a schematic diagram of functional modules of an embodiment of an intelligent voice control device according to the present invention.
In this embodiment, the intelligent voice control device 10 includes:
the system comprises an acquisition module 101, wherein the acquisition module 101 is used for acquiring a voice signal when monitoring that a preset voice acquisition function is activated;
the recognition module 102 is configured to recognize the voice signal, so as to obtain text content corresponding to the voice signal;
a judging module 103, wherein the judging module 103 is configured to judge whether the text content conforms to a preset control logic;
the generating module 104, the generating module 104 is configured to generate a voice control command according to the text content when the text content conforms to a preset control logic;
an output module 105, where the output module 105 is configured to control a controlled object in a game screen according to the voice control command, so that the controlled object executes a custom action included in the text content.
The specific implementation of the intelligent voice control device 10 can refer to the corresponding steps of the above embodiments of the intelligent voice control method, and the intelligent voice control device 10 can achieve the same technical effects as the above embodiments of the intelligent voice control method.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where an intelligent voice control program is stored on the computer-readable storage medium, and when executed by a processor, the intelligent voice control program implements the following operations:
when the preset voice acquisition function is monitored to be activated, acquiring a voice signal;
recognizing the voice signal to obtain text content corresponding to the voice signal;
judging whether the text content accords with a preset control logic;
when the text content accords with a preset control logic, generating a voice control command according to the text content;
and controlling the controlled object in the game picture according to the voice control command so as to enable the controlled object to execute the custom action contained in the text content.
Further, the intelligent voice control program when executed by the processor further implements the following operations:
the step of judging whether the text content conforms to a preset control logic comprises the following steps:
comparing the text content with a preset standard instruction to obtain the similarity between the text content and the preset standard instruction;
and judging whether the text content conforms to a preset control logic according to the similarity between the text content and a preset standard instruction.
Further, the intelligent voice control program when executed by the processor further implements the following operations:
the step of judging whether the text content conforms to a preset control logic according to the similarity between the text content and a preset standard instruction comprises the following steps:
if the similarity between the text content and a preset standard instruction is not smaller than a preset threshold value, judging that the text content conforms to a preset control logic;
and if the similarity between the text content and a preset standard instruction is smaller than a preset threshold value, judging that the text content does not conform to a preset control logic.
Further, the intelligent voice control program when executed by the processor further implements the following operations:
the step of generating a voice control command from the text content comprises:
analyzing the text content to obtain keywords in the text content;
and generating a voice control command according to the keyword and a preset command template.
Further, the intelligent voice control program when executed by the processor further implements the following operations:
the step of generating a voice control command according to the keyword and a preset command template comprises the following steps:
determining an action type corresponding to the voice control command according to the keyword;
and configuring corresponding execution duration for the voice control command according to the action type corresponding to the voice control command.
Further, the intelligent voice control program when executed by the processor further implements the following operations:
the step of determining the action type corresponding to the voice control command according to the keyword comprises the following steps:
when the keyword comprises a plurality of continuous verbs, identifying the action type corresponding to the voice control command as a quick action;
and when the keywords comprise adjectives which are used for modifying the verbs and represent action amplitude, determining the action type corresponding to the voice control command as an accurate action.
Further, the intelligent voice control program when executed by the processor further implements the following operations:
the step of configuring the corresponding execution duration for the voice control command according to the action type corresponding to the voice control command comprises:
when the action type corresponding to the voice control command is a quick action, configuring millisecond-level execution duration for the voice control command;
and when the action type corresponding to the voice control command is an accurate action, configuring second-level execution duration for the voice control command.
Further, the intelligent voice control program when executed by the processor further implements the following operations:
the step of controlling the controlled object in the game picture according to the voice control command comprises the following steps:
after the voice control command is generated, judging whether other input instructions except the voice signal exist;
if the other input instructions exist, preferentially controlling the controlled object in the game picture according to the game control command corresponding to the other input instructions;
and if the other input instructions do not exist, executing the step of controlling the controlled object in the game picture according to the voice control command.
Further, the intelligent voice control program when executed by the processor further implements the following operations:
the step of controlling the controlled object in the game picture according to the voice control command further comprises the following steps:
acquiring a game scene corresponding to a current game picture;
outputting voiceprint verification information or fingerprint verification information according to the game scene to confirm whether to continuously execute the voice control command;
the step of controlling the controlled object in the game screen according to the voice control command comprises:
and sending the voice control command and the action type and the execution duration corresponding to the voice control command to the preset game host to control the controlled object in the game picture.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or system comprising the element.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or the portions contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all equivalent structures or equivalent processes performed by the present invention or directly or indirectly applied to other related technical fields are also included in the scope of the present invention.
Claims (6)
1. An intelligent voice control method is characterized in that the intelligent voice control method is applied to a game controller, the game controller is in communication connection with a preset game host, and the intelligent voice control method comprises the following steps:
when the preset voice acquisition function is monitored to be activated, acquiring a voice signal;
recognizing the voice signal to obtain text content corresponding to the voice signal;
judging whether the text content conforms to a preset control logic;
when the text content accords with preset control logic, analyzing the text content to obtain keywords in the text content, and generating a voice control command according to the keywords and a preset command template;
determining an action type corresponding to the voice control command according to the keyword; when the keywords contain a plurality of continuous verbs, the action type corresponding to the voice control command is determined as a quick action; when the keywords comprise adjectives which are used for modifying the verbs and represent action amplitude, the action types corresponding to the voice control commands are determined to be accurate actions;
configuring corresponding execution duration for the voice control command according to the action type corresponding to the voice control command; when the action type corresponding to the voice control command is a quick action, configuring millisecond-level execution duration for the voice control command; when the action type corresponding to the voice control command is an accurate action, configuring second-level execution duration for the voice control command;
and controlling the controlled object in the game picture according to the voice control command so as to enable the controlled object to execute the custom action contained in the text content.
2. The intelligent voice control method according to claim 1, wherein the step of determining whether the text content conforms to a preset control logic comprises:
comparing the text content with a preset standard instruction to obtain the similarity of the text content and the preset standard instruction;
and judging whether the text content conforms to a preset control logic according to the similarity between the text content and a preset standard instruction.
3. The intelligent voice control method according to claim 2, wherein the step of determining whether the text content conforms to the preset control logic according to the similarity between the text content and the preset standard command comprises:
if the similarity between the text content and a preset standard instruction is not smaller than a preset threshold value, judging that the text content conforms to a preset control logic;
and if the similarity between the text content and a preset standard instruction is smaller than a preset threshold value, judging that the text content does not conform to a preset control logic.
4. The smart voice control method according to any one of claims 1 to 3, wherein the step of controlling the controlled object in the game screen according to the voice control command is preceded by:
after the voice control command is generated, judging whether other input instructions except the voice signal exist;
if the other input instructions exist, preferentially controlling the controlled object in the game picture according to the game control command corresponding to the other input instructions;
and if the other input instructions do not exist, executing the step of controlling the controlled object in the game picture according to the voice control command.
5. The intelligent voice control method according to claim 4, wherein the step of controlling the controlled object in the game screen according to the voice control command further comprises:
acquiring a game scene corresponding to a current game picture;
outputting voiceprint verification information or fingerprint verification information according to the game scene to confirm whether to continuously execute the voice control command;
the step of controlling the controlled object in the game picture according to the voice control command comprises:
and sending the voice control command and the action type and the execution duration corresponding to the voice control command to the preset game host to control the controlled object in the game picture.
6. A game controller, the game controller comprising: a memory, a processor and an intelligent speech control program stored on the memory and executable on the processor, the intelligent speech control program when executed by the processor implementing the steps of the intelligent speech control method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210874901.8A CN114931747B (en) | 2022-07-25 | 2022-07-25 | Game controller and intelligent voice control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210874901.8A CN114931747B (en) | 2022-07-25 | 2022-07-25 | Game controller and intelligent voice control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114931747A CN114931747A (en) | 2022-08-23 |
CN114931747B true CN114931747B (en) | 2022-10-14 |
Family
ID=82867893
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210874901.8A Active CN114931747B (en) | 2022-07-25 | 2022-07-25 | Game controller and intelligent voice control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114931747B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110180190A (en) * | 2019-06-04 | 2019-08-30 | 网易(杭州)网络有限公司 | Processing method, device, storage medium and the electronic device of the movement of virtual role |
Family Cites Families (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2554195A (en) * | 1994-05-16 | 1995-12-05 | Lazer-Tron Corporation | Speech enhanced game apparatus and method therefor |
EP0850673B1 (en) * | 1996-07-11 | 2003-10-01 | Sega Enterprises, Ltd. | Game input device and game input method with voice recognition |
TW495710B (en) * | 1998-10-15 | 2002-07-21 | Primax Electronics Ltd | Voice control module for control of game controller |
US7085722B2 (en) * | 2001-05-14 | 2006-08-01 | Sony Computer Entertainment America Inc. | System and method for menu-driven voice control of characters in a game environment |
JP4476255B2 (en) * | 2006-08-10 | 2010-06-09 | 株式会社コナミデジタルエンタテインメント | GAME PROGRAM, GAME DEVICE, AND GAME CONTROL METHOD |
CN101377797A (en) * | 2008-09-28 | 2009-03-04 | 腾讯科技(深圳)有限公司 | Method for controlling game system by voice |
CN102671383A (en) * | 2011-03-08 | 2012-09-19 | 德信互动科技(北京)有限公司 | Game implementing device and method based on acoustic control |
CN202590338U (en) * | 2011-12-31 | 2012-12-12 | 北京德信互动网络技术有限公司 | Handle with voice function |
TWI469814B (en) * | 2013-02-07 | 2015-01-21 | Univ Southern Taiwan Sci & Tec | Voice - based and brain waves, supplemented by the role of video game control system Methods and methods |
CN105390135A (en) * | 2015-10-12 | 2016-03-09 | 四川长虹电器股份有限公司 | Game voice control system |
CN106297784A (en) * | 2016-08-05 | 2017-01-04 | 王 | Intelligent terminal plays the method and system of quick voice responsive identification |
KR102367489B1 (en) * | 2017-09-07 | 2022-02-24 | 주식회사 엔씨소프트 | Apparatus and method for controlling an action of a character in online game based on vacal information |
CN107773982B (en) * | 2017-10-20 | 2021-08-13 | 科大讯飞股份有限公司 | Game voice interaction method and device |
CN108245886B (en) * | 2018-01-22 | 2021-08-10 | 深度智联(厦门)软件开发有限公司 | Game language learning method and system based on voice control |
CN109589603B (en) * | 2018-11-30 | 2022-09-13 | 广州要玩娱乐网络技术股份有限公司 | Game operation control method, device, medium and computer equipment |
CN109616117A (en) * | 2019-01-24 | 2019-04-12 | 芜湖创思信息技术有限公司 | A kind of mobile phone games control system and method based on speech recognition technology |
CN110327622A (en) * | 2019-05-09 | 2019-10-15 | 百度在线网络技术(北京)有限公司 | A kind of game control method, device and terminal |
CN112164442A (en) * | 2020-09-02 | 2021-01-01 | 河南翔宇医疗设备股份有限公司 | Language disorder training system |
CN112201235B (en) * | 2020-09-16 | 2022-12-27 | 华人运通(上海)云计算科技有限公司 | Control method and device of game terminal, vehicle-mounted system and vehicle |
CN112516584B (en) * | 2020-12-21 | 2024-06-04 | 上海连尚网络科技有限公司 | Game role control method and device |
-
2022
- 2022-07-25 CN CN202210874901.8A patent/CN114931747B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110180190A (en) * | 2019-06-04 | 2019-08-30 | 网易(杭州)网络有限公司 | Processing method, device, storage medium and the electronic device of the movement of virtual role |
Also Published As
Publication number | Publication date |
---|---|
CN114931747A (en) | 2022-08-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111475241B (en) | Interface operation method and device, electronic equipment and readable storage medium | |
CN108614722A (en) | Application program preloads method, apparatus, storage medium and terminal | |
CN112863510B (en) | Method for executing operation on client device platform and client device platform | |
CN108363593A (en) | Application program preloads method, apparatus, storage medium and terminal | |
CN108108142A (en) | Voice information processing method, device, terminal device and storage medium | |
KR20160014465A (en) | electronic device for speech recognition and method thereof | |
US20150134341A1 (en) | Display control apparatus, display control method, program, and information storage medium | |
CN109086276B (en) | Data translation method, device, terminal and storage medium | |
CN108920202A (en) | Using preloading management method, device, storage medium and intelligent terminal | |
CN108647056A (en) | Application program preloads method, apparatus, storage medium and terminal | |
CN111462744A (en) | Voice interaction method and device, electronic equipment and storage medium | |
CN111681658A (en) | Voice control method and device for vehicle-mounted APP | |
CN111326154A (en) | Voice interaction method and device, storage medium and electronic equipment | |
CN104598152A (en) | Terminal based on handwriting input or calligraphy input and synchronous accompanying sound playing method thereof | |
CN108304434B (en) | Information feedback method and terminal equipment | |
CN108710516A (en) | Acquisition method, device, storage medium and the intelligent terminal of forecast sample | |
CN117253478A (en) | Voice interaction method and related device | |
CN111968637B (en) | Terminal equipment operation mode control method and device, terminal equipment and medium | |
CN114931747B (en) | Game controller and intelligent voice control method | |
CN113938733A (en) | Shortcut key control method and device for remote control equipment, storage medium and device | |
CN108762838A (en) | Application program preloads method, apparatus, storage medium and terminal | |
CN113763962A (en) | Audio processing method and device, storage medium and computer equipment | |
CN112863511B (en) | Signal processing method, device and storage medium | |
CN113987142A (en) | Voice intelligent interaction method, device, equipment and storage medium with virtual doll | |
CN112002326A (en) | Interaction method and robot equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |