CN114931747A - Game controller and intelligent voice control method - Google Patents

Game controller and intelligent voice control method Download PDF

Info

Publication number
CN114931747A
CN114931747A CN202210874901.8A CN202210874901A CN114931747A CN 114931747 A CN114931747 A CN 114931747A CN 202210874901 A CN202210874901 A CN 202210874901A CN 114931747 A CN114931747 A CN 114931747A
Authority
CN
China
Prior art keywords
voice control
control command
game
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.)
Granted
Application number
CN202210874901.8A
Other languages
Chinese (zh)
Other versions
CN114931747B (en
Inventor
张兵
邬健伟
林晓甘
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jingchuang Technology Electronics Co ltd
Original Assignee
Shenzhen Jingchuang Technology Electronics Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jingchuang Technology Electronics Co ltd filed Critical Shenzhen Jingchuang Technology Electronics Co ltd
Priority to CN202210874901.8A priority Critical patent/CN114931747B/en
Publication of CN114931747A publication Critical patent/CN114931747A/en
Application granted granted Critical
Publication of CN114931747B publication Critical patent/CN114931747B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/215Input arrangements for video game devices characterised by their sensors, purposes or types comprising means for detecting acoustic signals, e.g. using a microphone
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing 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/424Processing 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
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/08Speech classification or search
    • G10L15/10Speech classification or search using distance or distortion measures between unknown speech and reference templates
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features 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/10Features 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/1081Input via voice recognition
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

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 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 the one hand, the problem that a player feels tired easily due to repeated and boring operations is avoided, on the other hand, a game operation mode which is easy to realize high-difficulty actions is provided for the user, and game experience of the user is remarkably improved.

Description

Game controller and intelligent voice control method
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 network games, host games or television games, most operations in the games are required to be performed by depending on key commands or somatosensory commands sent by players through game controllers, on one hand, the players feel tired due to repeated and boring 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 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.
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 or not according to the similarity of 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 conform to 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 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.
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;
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 accords with a preset control logic;
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 is added with an intelligent voice control function, a voice control mode different from the traditional key control mode and the traditional 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 the 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 the one hand, the problem that a player feels tired easily due to repeated and boring operations is avoided, on the other hand, a game operation mode which is easy to realize 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 are not intended to 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. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (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 does not constitute a limitation of the game controller, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a 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 an intelligent 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 disposed in a game controller, and the game controller invokes the smart voice control program stored in the memory 1005 through the processor 1001, and performs 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 of 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 further perform the following operations:
the step of judging whether the text content meets 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 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 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 further 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 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 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 also 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 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.
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 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.
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, the execution main body in this embodiment 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 two are connected through a USB (Universal Serial Bus) signal line to perform wired communication, or a wireless connection, for example, the two are connected through bluetooth, WIFI, or the like to perform wireless communication; the game controller can be a game handle or a mouse which comprises a button or a switch capable of switching on and off a preset voice acquisition function, when the button 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 button 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 authority of the voice signals.
Step S20, recognizing the voice signal to obtain the text content corresponding to the voice signal;
step S30, judging whether the text content accords with the 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 the preset control logic according to the similarity between the text content and the 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, lying on the stomach, standing up, etc., 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, etc.; 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 other people and chat in the game process, in such a case, a preset standard instruction may exist in the 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, so that the user is not considered to reach 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 accords with 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 the 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 a 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 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 a plurality of consecutive verbs, such as upper a, lower B, upper left B, lower right a, upper, lower, left, right, left, and right BABA, it may be understood that the user may continuously press some keys, and at this time, the user may want to implement some intentions that can be implemented by fast pressing keys in the game, 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 when the user chats with others, and at this time, the game controller may output an error prompt message to guide the user to speak out the operation that the user wants to perform, or prompt the user to temporarily turn off the voice control function to save the power. The error prompt information may be displayed in a game screen, or may be notified to the user through a speaker in a form of voice announcement, and when the error prompt information is output, the game controller may reacquire the voice information, that is, execute step 10.
Step S50, controlling the controlled object in the game screen 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 a misoperation, after a voice control command is generated, it is further determined whether another input instruction exists in the game controller at the current time, 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 performed 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 is preceded by: 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, before the voice control command is generated, the corresponding different preset command templates are selected according to different scenes, 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, sending the voice control command, and simultaneously sending the action type corresponding to the voice control command, namely quick action or accurate action, and the execution duration corresponding to the voice control command are sent to a preset game host together, so that the preset game host can realize accurate control of the controlled object in the game picture according to the voice control command and the corresponding action type and execution duration, the controlled object can be a virtual game character or an operation interface, the self-defined action is the action contained in the voice signal from the user, such as squatting, creeping, standing up and the like, but the setting of the game is not violated, i.e., the virtual game character within the game cannot be caused to perform other actions outside the scope of the modeling action.
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 the 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, where the recognition module 102 is configured to recognize the voice signal 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 of 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 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 the accurate action, configuring a 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 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.
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 phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits 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 may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., 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 not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

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 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.
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 a preset control logic according to the similarity between the text content and a preset standard instruction 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 accord with a preset control logic.
4. The intelligent voice control method of claim 3, wherein the step of generating voice control commands from the textual 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.
5. The intelligent voice control method of claim 4, wherein the step of generating the voice control command based on the keyword and a preset command template is followed by:
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.
6. The intelligent voice control method according to claim 5, wherein the step of determining the action type corresponding to the voice control command according to the keyword comprises:
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.
7. The intelligent voice control method according to claim 6, wherein 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 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.
8. The intelligent voice control method according to claim 7, 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 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.
9. The intelligent voice control method according to claim 8, 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.
10. A game controller, characterized in that the game controller comprises: 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 9.
CN202210874901.8A 2022-07-25 2022-07-25 Game controller and intelligent voice control method Active CN114931747B (en)

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 true CN114931747A (en) 2022-08-23
CN114931747B 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 (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995031264A1 (en) * 1994-05-16 1995-11-23 Lazer-Tron Corporation Speech enhanced game apparatus and method therefor
CN1197404A (en) * 1996-07-11 1998-10-28 世雅企业股份有限公司 Voice recognizer, voice recognizing method and game machine using them
DE19905076A1 (en) * 1998-10-15 2000-05-25 Primax Electronics Ltd Voice control module for controlling computer game etc. activates command mode speech recognition device after continuous speech recognition device converts a switch command
CN1385783A (en) * 2001-05-14 2002-12-18 索尼电脑娱乐美国公司 System and method for controllnig role by menu driven speech sound in game environment
JP2008040419A (en) * 2006-08-10 2008-02-21 Konami Digital Entertainment:Kk Program, computer, and 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
TW201431592A (en) * 2013-02-07 2014-08-16 Univ Southern Taiwan Sci & Tec Video game character control system and method primarily based on voice control with brain waves as assistance
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
CN107773982A (en) * 2017-10-20 2018-03-09 科大讯飞股份有限公司 Game voice interactive method and device
CN108245886A (en) * 2018-01-22 2018-07-06 深度智联(厦门)软件开发有限公司 Game interactive learning methods and system based on voice control
KR20190027563A (en) * 2017-09-07 2019-03-15 주식회사 엔씨소프트 Apparatus and method for controlling an action of a character in online game based on vacal information
CN109589603A (en) * 2018-11-30 2019-04-09 广州要玩娱乐网络技术股份有限公司 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
CN110180190A (en) * 2019-06-04 2019-08-30 网易(杭州)网络有限公司 Processing method, device, storage medium and the electronic device of the movement of virtual role
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
CN112201235A (en) * 2020-09-16 2021-01-08 华人运通(上海)云计算科技有限公司 Control method and device of game terminal, vehicle-mounted system and vehicle
CN112516584A (en) * 2020-12-21 2021-03-19 上海连尚网络科技有限公司 Control method and device for game role

Patent Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995031264A1 (en) * 1994-05-16 1995-11-23 Lazer-Tron Corporation Speech enhanced game apparatus and method therefor
CN1197404A (en) * 1996-07-11 1998-10-28 世雅企业股份有限公司 Voice recognizer, voice recognizing method and game machine using them
DE19905076A1 (en) * 1998-10-15 2000-05-25 Primax Electronics Ltd Voice control module for controlling computer game etc. activates command mode speech recognition device after continuous speech recognition device converts a switch command
CN1385783A (en) * 2001-05-14 2002-12-18 索尼电脑娱乐美国公司 System and method for controllnig role by menu driven speech sound in game environment
JP2008040419A (en) * 2006-08-10 2008-02-21 Konami Digital Entertainment:Kk Program, computer, and 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
TW201431592A (en) * 2013-02-07 2014-08-16 Univ Southern Taiwan Sci & Tec Video game character control system and method primarily based on voice control with brain waves as assistance
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
KR20190027563A (en) * 2017-09-07 2019-03-15 주식회사 엔씨소프트 Apparatus and method for controlling an action of a character in online game based on vacal information
CN107773982A (en) * 2017-10-20 2018-03-09 科大讯飞股份有限公司 Game voice interactive method and device
CN108245886A (en) * 2018-01-22 2018-07-06 深度智联(厦门)软件开发有限公司 Game interactive learning methods and system based on voice control
CN109589603A (en) * 2018-11-30 2019-04-09 广州要玩娱乐网络技术股份有限公司 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
CN110180190A (en) * 2019-06-04 2019-08-30 网易(杭州)网络有限公司 Processing method, device, storage medium and the electronic device of the movement of virtual role
CN112164442A (en) * 2020-09-02 2021-01-01 河南翔宇医疗设备股份有限公司 Language disorder training system
CN112201235A (en) * 2020-09-16 2021-01-08 华人运通(上海)云计算科技有限公司 Control method and device of game terminal, vehicle-mounted system and vehicle
CN112516584A (en) * 2020-12-21 2021-03-19 上海连尚网络科技有限公司 Control method and device for game role

Also Published As

Publication number Publication date
CN114931747B (en) 2022-10-14

Similar Documents

Publication Publication Date Title
US11302302B2 (en) Method, apparatus, device and storage medium for switching voice role
CN110598576B (en) Sign language interaction method, device and computer medium
CN111475241B (en) Interface operation method and device, electronic equipment and readable storage medium
JP2020529032A (en) Speech recognition translation method and translation device
CN111627436B (en) Voice control method and device
JP2019185062A (en) Voice interaction method, terminal apparatus, and computer readable recording medium
CN108882101B (en) Playing control method, device, equipment and storage medium of intelligent sound box
CN109086276B (en) Data translation method, device, terminal and storage medium
CN112102828A (en) Voice control method and system for automatically broadcasting content on large screen
CN111462744A (en) Voice interaction method and device, electronic equipment and storage medium
CN104598152A (en) Terminal based on handwriting input or calligraphy input and synchronous accompanying sound playing method thereof
CN110808038A (en) Mandarin assessment method, device, equipment and storage medium
CN111326154A (en) Voice interaction method and device, storage medium and electronic equipment
CN108304434B (en) Information feedback method and terminal equipment
CN112004145A (en) Program advertisement skipping processing method and device, television and system
CN114931747B (en) Game controller and intelligent voice control method
CN111681658A (en) Voice control method and device for vehicle-mounted APP
CN109725798B (en) Intelligent role switching method and related device
CN110706704A (en) Method, device and computer equipment for generating voice interaction prototype
CN113987142A (en) Voice intelligent interaction method, device, equipment and storage medium with virtual doll
CN112259098A (en) Voice remote control system based on fingerprint identification
CN112002326A (en) Interaction method and robot equipment
CN111540351B (en) Method for controlling interactive live broadcast classroom by using voice instruction
CN111326145B (en) Speech model training method, system and computer readable storage medium
CN113241067B (en) Voice interaction method and system and voice interaction 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