CN111939559A - Control method and device for vehicle-mounted voice game - Google Patents

Control method and device for vehicle-mounted voice game Download PDF

Info

Publication number
CN111939559A
CN111939559A CN201910405881.8A CN201910405881A CN111939559A CN 111939559 A CN111939559 A CN 111939559A CN 201910405881 A CN201910405881 A CN 201910405881A CN 111939559 A CN111939559 A CN 111939559A
Authority
CN
China
Prior art keywords
voice
game
instruction
control
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910405881.8A
Other languages
Chinese (zh)
Inventor
马东辉
张汉超
谢智斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing CHJ Automobile Technology Co Ltd
Original Assignee
Beijing CHJ Automobile Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing CHJ Automobile Technology Co Ltd filed Critical Beijing CHJ Automobile Technology Co Ltd
Priority to CN201910405881.8A priority Critical patent/CN111939559A/en
Publication of CN111939559A publication Critical patent/CN111939559A/en
Pending legal-status Critical Current

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/23Input arrangements for video game devices for interfacing with the game device, e.g. specific interfaces between game controller and console
    • 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/55Controlling game characters or game objects based on the game progress
    • A63F13/56Computing the motion of game characters with respect to other game characters, game objects or elements of the game scene, e.g. for simulating the behaviour of a group of virtual soldiers or for path finding
    • 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/80Special adaptations for executing a specific game genre or game mode
    • A63F13/822Strategy games; Role-playing games
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a control method and a control device of a vehicle-mounted voice game, which are applied to a vehicle, wherein the method comprises the following steps: receiving a voice control instruction for a target game, and determining an operation control word corresponding to the voice operation instruction; converting the voice control instruction into a game control instruction through an off-line voice engine; executing game operation on the target game according to the game control instruction; the off-line voice engine is stored with the operation control words of the target game in advance, and the operation control words of the target game are associated with the game control instructions of the target game. The embodiment of the invention can improve the control performance of the vehicle-mounted voice game.

Description

Control method and device for vehicle-mounted voice game
Technical Field
The invention relates to the technical field of vehicle-mounted voice control, in particular to a control method and device for a vehicle-mounted voice game.
Background
Compared with manual operation such as touch operation and gesture operation, voice control has the advantages of convenience, simplicity in operation and the like, and therefore the voice control is more and more widely applied to the field of control of terminal equipment.
In the related art, a microphone receives voice information input by a user, and an online voice engine converts the voice information into corresponding control information, so that a terminal device executes corresponding response operation according to the control information.
In the process of applying the online voice engine to the control of the vehicle-mounted voice game, because the network communication on the vehicle is not stable enough, the conversion operation of the voice information cannot be executed under the condition of offline or poor network communication quality, thereby causing the poor control performance of the vehicle-mounted voice game.
Disclosure of Invention
The embodiment of the invention provides a control method and a control device for a vehicle-mounted voice game, and aims to solve the problem of poor control performance of the vehicle-mounted voice game in the related art.
In order to solve the technical problems, the invention adopts the following technical scheme:
in a first aspect, an embodiment of the present invention provides a method for controlling a vehicle-mounted voice game, which is applied to a vehicle, and the method includes:
receiving a voice control instruction for a target game, and determining an operation control word corresponding to the voice operation instruction;
converting the voice control instruction into a game control instruction through an off-line voice engine;
executing game operation on the target game according to the game control instruction;
the off-line voice engine is stored with the operation control words of the target game in advance, and the operation control words of the target game are associated with the game control instructions of the target game.
In a second aspect, an embodiment of the present invention provides a control device for a vehicle-mounted voice game, which is applied to a vehicle, and includes:
the first receiving module is used for receiving a voice control instruction for a target game and determining an operation control word corresponding to the voice operation instruction;
the conversion module is used for converting the voice control instruction into a game control instruction through an offline voice engine;
the execution module is used for executing game operation on the target game according to the game control instruction;
the off-line voice engine is stored with the operation control words of the target game in advance, and the operation control words of the target game are associated with the game control instructions of the target game.
In a third aspect, an embodiment of the present invention further provides a terminal device, including: the device comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the computer program to realize the steps in the control method of the vehicle-mounted voice game provided by the embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps in the control method for the vehicle-mounted voice game provided in the embodiment of the present invention.
In the embodiment of the invention, the off-line voice engine is arranged in the vehicle-mounted terminal, and the related operation control words corresponding to the specific game are stored in advance, so that when the voice control instruction is obtained, the off-line voice engine is utilized to convert the voice control instruction into the game control instruction so as to control the game terminal to execute the corresponding game operation according to the game control instruction, the process of identifying and converting the voice control instruction in an off-line environment is realized, and the control performance of the vehicle-mounted voice game is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a control method of a vehicle-mounted voice game according to an embodiment of the present invention;
fig. 2 is one of the structural diagrams of a control apparatus of a vehicle-mounted voice game provided by an embodiment of the present invention;
fig. 3 is a second structural diagram of a control device of a vehicle-mounted voice game according to an embodiment of the present invention;
fig. 4 is a third structural diagram of a control device of a vehicle-mounted voice game according to an embodiment of the present invention;
FIG. 5 is a fourth block diagram of a control device for a car-mounted voice game according to an embodiment of the present invention;
FIG. 6 is a fifth configuration diagram of a control device for a car-mounted voice game according to an embodiment of the present invention;
fig. 7 is a sixth configuration diagram of a control device for a car-mounted voice game according to an embodiment of the present invention;
fig. 8 is a structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a control method for a vehicle-mounted voice game according to an embodiment of the present invention. The method is applied to a vehicle, and as shown in fig. 1, the method may include the steps of:
step 101, receiving a voice control instruction for a target game, and determining an operation control word corresponding to the voice operation instruction.
In a specific implementation, the target game may be any application program capable of playing a game or entertainment, which is installed on a vehicle terminal and can output a game interface, game sound and the like through a display screen, a loudspeaker and the like on the vehicle. The voice control instruction is voice input by a user and is used for controlling the target game to execute corresponding game operation. For example: if the target game is a fighting game and the user controls the fighting character a to attack the fighting character B by voice, the response operation of the game application program may include: and displaying an interface of the fighting character A attacking the game character B, outputting corresponding sound effect through a loudspeaker, reducing the vital force value of the game character B and the like on a screen in the vehicle. In implementation, the received voice control instruction may be subjected to voice recognition, and an operation control word corresponding to the received voice control instruction is determined according to a voice recognition result, for example: jumping, running, etc.
And 102, converting the voice control instruction into a game control instruction through an offline voice engine, wherein the offline voice engine stores the operation control words of the target game in advance, and the operation control words of the target game are associated with the game control instruction of the target game.
In a specific implementation, the operation control word of the target game may refer to that the operation control word corresponds to at least one of a game type, a game character, an operation type, and the like of the target game. For example: the operation control words of the dice-stacking type game may include: left movement, right movement, left flipping, right flipping, falling, etc.; and the operation control words of the fighting game may include: left hook, right hook, kicking, left gear, right gear, jumping, etc., so that the customization of the operation control words can be performed for the target game and stored in the offline speech engine in advance. In a specific implementation, the operation control word may include an operation control word that is input into the offline speech engine by the user in advance, and may also include an operation control word obtained after performing processes such as machine learning, verification, matching and the like according to a game type, an operation type, an accuracy degree, a reaction speed and the like of a target game corresponding to the operation control word. For example: in the racing game, the operation control words of the racing game can be obtained by performing the processes of machine learning, verification, matching and the like according to the control types of speed control, turning and the like of the racing game, and comprise: in specific applications, the control parameters corresponding to each operation control word may also be determined according to the results of the processes of machine learning, verification, matching, and the like, for example: operating the control words: the acceleration corresponding to the acceleration can also be determined based on the results of the processes of machine learning, validation, matching, etc.
In a specific implementation, the offline speech engine may convert the speech control command into a game control command through Natural Language Processing (NLP), and in a practical application, the game control command may include: code, parameters, etc. any control information that may be recognized by the gaming application. In addition, the association of the operation control words of the target game with the game control instructions of the target game may be understood as: the off-line voice engine stores the incidence relation between the operation control words and the game control commands in advance, and under the condition that the voice control commands are obtained, the matched operation control words can be determined according to the voice recognition result, and the game control commands related to the operation control words are determined, so that the voice control commands can be efficiently converted into the game control commands under the environment with off-line or poor network communication quality.
In the case where a plurality of game applications are installed in the vehicle, the offline speech engine may store operation control word banks corresponding to the respective game applications in advance, and may determine the running game application, and acquire an operation control word bank corresponding to the running game application in the offline speech engine, so as to identify an operation control word matching the speech control instruction from the operation control word bank, and determine the game control instruction associated with the operation control word. Therefore, under the condition of running different games, the operation control words matched with the voice control instructions can be determined from different operation control word banks, and the game control instructions related to the operation control words are determined, so that the time consumed by converting the voice control instructions into the game control instructions is shortened, and the difficulty of voice recognition is simplified.
For example: the operation control word library of the square-stacked game may not include the operation control word library of the fighting game: the operation control words such as left hook, left run, right hook, kicking and the like do not need to be matched with the voice control command of the left move in the operation control word bank of the fighting game under the condition that the voice control command of the left move is input by a user: control words such as left hook and left run are matched, so that the workload of a voice recognition process and a matching process is greatly reduced.
In the embodiment, by storing the operation control word of the target game in the offline voice engine in advance, the voice control instruction and the operation control word of the target game can be subjected to voice matching in the offline environment under the condition that the target game is operated and the voice control instruction input by the user aiming at the target game is obtained, so that the voice control instruction is converted into the game control instruction associated with the operation control word successfully matched with the voice control instruction, and therefore, the method is suitable for the application environment with unstable network communication on a vehicle and improves the control performance of the vehicle-mounted voice game; meanwhile, operation control words of the target game can be greatly reduced, so that the matching process between the voice control instruction and the operation control words is simplified, the process of converting the voice control instruction into the game control instruction is simplified, and the occupation of calculation and storage resources of the vehicle-mounted game terminal is reduced.
And 103, executing game operation on the target game according to the game control instruction.
In a specific implementation, the executing the game operation on the target game according to the game control instruction may be understood as: and inputting the game control instruction into an application program corresponding to the target game so as to control the application program to execute corresponding response operation, operation feedback and the like according to the code or the parameter and the like of the game control instruction. In a specific implementation, the game operation may include: when the game application program executes the game control command, the effects of response operation output through devices such as a display screen and a loudspeaker, change and feedback of relevant game parameters in the game application program and the like are achieved.
As an optional implementation, before receiving the voice control instruction for the target game, the method further includes:
receiving a character selection voice instruction for the target game;
associating the character of the target game with the voice characteristic parameters of the character selection voice instruction;
the executing the game operation to the target game according to the game control instruction comprises:
executing game operation on the target role of the target game according to the game control instruction;
and the target role is determined according to the voice characteristic parameters of the voice control instruction.
In a specific implementation, the game character may include an operated body in a game application, for example: a character A and a character B in a fighting game, each of the game characters in a competitive game, and the like. In addition, the character selection voice instruction may be an instruction for selecting a game character input by the user through voice, which includes game character identification information of the game character to be selected by the user, such as: name, feature, or number, thereby associating the character corresponding to the game character identification information with the voice feature parameter of the user who has input the instruction to select the game character.
For example: the user speaks a character selection voice command comprising: and if the character A is selected, associating the character A in the target game with the voice characteristic parameters of the user, so that the character A executes corresponding game operation when the user speaks a voice control instruction subsequently.
In practical applications, the voice characteristic parameter of the role selection voice command may be a sound source localization parameter, a voiceprint characteristic parameter, and the like of the role selection voice command, which can distinguish voices input by different users, and is not specifically limited herein.
In this embodiment, after the character of the target game is associated with the voice feature parameter of the voice command selected by the character, the associated character can be determined according to the voice feature parameter of the voice control command input by the user, and the corresponding game operation is executed by the character, so that the situation that the voice control command input by the user a is executed by the character B in the process of a common game of a plurality of users is avoided, and the control method for the vehicle-mounted voice game performed by a plurality of users together becomes more reliable.
In an optional embodiment, in the case that the voice feature parameter is a sound source localization parameter, the associating the character of the target game with the voice feature parameter of the character selection voice instruction includes:
receiving the role selection voice instruction based on a microphone array, and carrying out sound source positioning on the role selection voice instruction to obtain a sound source positioning parameter of the role selection voice instruction;
associating the sound source positioning parameter of the character selection voice instruction with the character of the target game selected by the character selection voice instruction;
or
In a case that the voice feature parameter is a voiceprint feature parameter, the associating the character of the target game with the voice feature parameter of the character selection voice instruction includes:
receiving the role selection voice command based on a microphone, and carrying out voiceprint analysis on the role selection voice command to obtain a voiceprint characteristic parameter of the role selection voice command;
associating the voiceprint characteristic parameters of the character selection voice command with the character of the target game selected by the character selection voice command;
or
Under the condition that the voice characteristic parameters are a sound source positioning parameter and a voiceprint characteristic parameter, associating the role of the target game with the voice characteristic parameters of the role selection voice command comprises the following steps:
receiving the role selection voice instruction based on a microphone array, and carrying out sound source positioning on the role selection voice instruction to obtain a sound source positioning parameter of the role selection voice instruction;
performing voiceprint analysis on the role selection voice command to obtain a voiceprint characteristic parameter of the role selection voice command;
and associating the sound source positioning parameter and the voiceprint characteristic parameter of the role selection voice command with the role of the target game selected by the role selection voice command.
In a specific implementation, the microphone array may be understood as a microphone respectively arranged at different positions on the vehicle, for example: one microphone is provided at each seating position in the vehicle. In a specific implementation, when a passenger sitting in the vehicle outputs a voice control command, the sound source location parameter of the voice control command, that is, the position of the user outputting the voice control command, may be determined based on parameters such as a time difference, signal strength, and the like of at least two microphones of the microphone array receiving the voice control command.
For example: user A takes in the copilot position, and user B takes in the back row left seat, and user A says through the voice command of role selection: i select character a, then obtain the sound source positioning information (in this embodiment, the copilot position) of the character selection voice command, and associate character a with the copilot position taken by user a, so that, in the subsequent game process, if the voice control command output by the user at the copilot position is recognized, the voice control command can be executed by character a. In a specific implementation, sound source positioning information of the voice control command can be added to the game control command converted from the voice control command, so that the game application program determines which character executes the game control command according to the sound source positioning information.
In an optional embodiment, the voice characteristic parameter is a sound source positioning parameter, in this embodiment, the voice information input by the user is positioned through the microphone array, and the position information where the user is located is associated with the role selected by the user, when the voice control instruction input by the user at the position is obtained again in the game process, the voice control instruction can be executed by the role associated with the position information, so that the process of obtaining and identifying the voice characteristic parameter is simplified, the voice control instructions output by the users sitting at different positions are respectively executed by the corresponding roles, and the control effect of the multi-player vehicle-mounted voice game is improved.
In a second optional implementation manner, the voice feature parameters include voiceprint feature parameters, and in this implementation manner, the voiceprint feature parameters of the user are associated with the role of the target game, so that in a subsequent voice operation process, only the voiceprint feature parameters of the voice control instruction need to be determined, which user executes the voice control instruction can be determined, and then the corresponding game role is controlled to execute the game operation instruction corresponding to the voice control instruction, thereby avoiding a problem that the user is confused with the associated game role after the user changes a seat.
In a third optional implementation manner, the voice feature parameters include a sound source positioning parameter and a voiceprint feature parameter at the same time, so that after a user changes a seat, the association relationship between the changed position and the game role can be reestablished according to the voiceprint feature parameter of the user, and thus the problem that the user is confused with the associated game role after changing the seat is avoided.
As an optional implementation, after the receiving the voice control instruction for the target game and before the converting the voice control instruction into the game control instruction by the offline voice engine, the method further includes:
and performing echo cancellation processing and noise reduction processing on the voice control instruction based on a microphone array.
In practical applications, the environment in the vehicle has: noisy sound, high noise, easy echo generation, and the like. In the embodiment, the accuracy of the voice recognition process is ensured by the microphone array to the voice information. For example: echo cancellation processing and noise reduction processing are carried out on the character selection voice command and the voice control command through the microphone array and the related application program, so that the accuracy of a voice recognition result is improved, and the accuracy of a vehicle-mounted voice game is further improved.
As an optional implementation, the converting, by the offline speech engine, the speech control instruction into a game control instruction includes:
determining a first type of operation control word and a second type of operation control word according to the voice control instruction;
determining the game operation type of the game control instruction according to the first type of operation control words;
and determining game operation parameters of the game control instruction according to the second type of operation control words.
In a specific implementation, the first type of operation control word may be an operation control word describing a type of game operation, such as: left move, jump, etc., the second type of operation control word may be a control word describing parameters of the game operation such as speed, degree, etc., of the game operation, for example: moving left by "3 steps" of 3 steps, "jumping" of fast jumping, etc., are not exhaustive.
In a specific implementation, the vehicle is further provided with a direction key (D-Pad) and a Control key (Control Buttons), wherein the direction key is a medium for inputting a game Control command corresponding to a part (for example, left, right, up, down, etc.) related to the direction Control in the voice Control command to the in-vehicle game terminal, and the Control key is a medium for inputting a game Control command corresponding to another part except the direction Control in the voice Control command to the in-vehicle game terminal.
It should be noted that, in a specific implementation, the game control commands associated with the same operation control word may be different for different voice games, for example: operation control words in tetris: left shift, its associated game control command is used to control the russian blocks to move a first distance to the left at a first speed, and the operation control words in the fighting game: and moving to the left, wherein the associated game control command is used for controlling the game character to run a second distance to the left according to a second speed, the first speed is different from the second speed, and the first distance is different from the second distance.
In the embodiment, the operation control words are split, so that the game operation type and the game operation parameters of the game control instruction are determined more accurately, and the control accuracy of the vehicle-mounted voice game is improved.
As an optional implementation manner, the offline speech engine further stores operation control speech corresponding to the operation control word in advance, where the operation control speech corresponding to the operation control word includes speech information obtained by performing speech training on the operation control word;
the converting the voice control command into a game control command through an offline voice engine comprises:
searching a target operation control voice matched with the voice control instruction from the offline voice engine, and determining a target operation control word corresponding to the target operation control voice;
and determining the game control instruction according to the target operation control word.
In practical applications, due to differences in regions and speech habits, different users have different expressions of the same operation control word on speech, such as: in order to more accurately recognize the operation intention of the user input by voice, the voice training is performed on the operation control word so as to obtain a plurality of voice expression forms close to the control intention of the operation control word as the operation control voice corresponding to the operation control word, such as: left shift, etc.
In the embodiment, the operation control word is subjected to voice training to obtain the operation control voice of the operation control word in a plurality of voice expression forms close to the voice or the operation intention of the operation control word, when the voice control instruction input by the user is obtained, the voice control instruction can be matched with the operation control voice in an off-line environment, and if the matching is successful, the operation control word corresponding to the voice control instruction is determined to be the operation control word corresponding to the operation control voice, so that the voice recognition is efficiently performed in an environment where network communication on a vehicle is unstable, the application range and the use object of the voice recognition are improved, and the applicability of a vehicle-mounted voice game to users with different voices is improved.
In the embodiment of the invention, the off-line voice engine is arranged in the vehicle-mounted terminal, and the related operation control words corresponding to the specific game are stored in advance, so that when the voice control instruction is obtained, the off-line voice engine is utilized to convert the voice control instruction into the game control instruction so as to control the game terminal to execute the corresponding game operation according to the game control instruction, the process of identifying and converting the voice control instruction in an off-line environment is realized, and the control performance of the vehicle-mounted voice game is improved.
Referring to fig. 2, an embodiment of the invention further provides a control device 200 for a vehicle-mounted voice game. As shown in fig. 2, the control device 200 for the in-vehicle voice game is applied to a vehicle, and the control device 200 for the in-vehicle voice game includes:
a first receiving module 201, configured to receive a voice control instruction for a target game, and determine an operation control word corresponding to the voice control instruction;
the conversion module 202 is configured to convert the voice control instruction into a game control instruction through an offline voice engine;
the execution module 203 is configured to execute a game operation on the target game according to the game control instruction;
the off-line voice engine is stored with the operation control words of the target game in advance, and the operation control words of the target game are associated with the game control instructions of the target game.
Optionally, as shown in fig. 3, the control device 200 for the in-vehicle voice game further includes:
a second receiving module 204, configured to receive a character selection voice instruction for a target game before the receiving of the voice control instruction for the target game;
an association module 205, configured to associate the character of the target game with the voice feature parameter of the character selection voice instruction;
the execution module 203 is specifically configured to:
executing game operation on the target role of the target game according to the game control instruction;
and the target role is determined according to the voice characteristic parameters of the voice control instruction.
Optionally, as shown in fig. 4, in a case that the voice feature parameter is a sound source localization parameter, the associating module 205 includes:
a positioning unit 2051, configured to receive the role selection voice instruction based on the microphone array, and perform sound source positioning on the role selection voice instruction to obtain a sound source positioning parameter of the role selection voice instruction;
a first associating unit 2052, configured to associate a sound source localization parameter of the character selection voice instruction with the character of the target game selected by the character selection voice instruction;
or
In the case that the voice feature parameter is a voiceprint feature parameter, the associating module 205 includes:
the voiceprint analysis unit is used for receiving the role selection voice command based on a microphone and carrying out voiceprint analysis on the role selection voice command to obtain a voiceprint characteristic parameter of the role selection voice command;
a second associating unit, configured to associate a voiceprint feature parameter of the character selection voice instruction with the character of the target game selected by the character selection voice instruction;
or
In the case that the voice feature parameters are a sound source localization parameter and a voiceprint feature parameter, the associating module 205 includes:
the positioning unit is used for receiving the role selection voice instruction based on a microphone array and carrying out sound source positioning on the role selection voice instruction to obtain a sound source positioning parameter of the role selection voice instruction;
the voice print analysis unit is used for carrying out voice print analysis on the role selection voice command to obtain voice print characteristic parameters of the role selection voice command;
and the third association unit is used for associating the sound source positioning parameter and the voiceprint characteristic parameter of the role selection voice command with the role of the target game selected by the role selection voice command. It should be noted that fig. 4 only exemplifies that, in the case where the speech feature parameter is a sound source localization parameter, the association module 205 includes a localization unit 2051 and a first association unit 2052, in other cases, the association module 205 may include a voiceprint analysis unit and a second association unit, or the association module 205 may include a voiceprint analysis unit, a localization unit and a third association unit.
Optionally, as shown in fig. 5, the control device 200 for the in-vehicle voice game further includes:
a sound processing module 206, configured to perform echo cancellation processing and noise reduction processing on the voice control instruction based on a microphone array after the receiving of the voice control instruction for the target game and before the converting of the voice control instruction into the game control instruction by the offline voice engine.
Optionally, as shown in fig. 6, the conversion module 202 includes:
the first determining unit 2021 is configured to determine a first type of operation control word and a second type of operation control word according to the voice control instruction;
a second determining unit 2022, configured to determine a game operation type of the game control instruction according to the first class operation control word;
a third determining unit 2023, configured to determine a game operation parameter of the game control instruction according to the second type of operation control word.
Optionally, the offline speech engine also stores operation control speech corresponding to the operation control word in advance, where the operation control speech corresponding to the operation control word includes speech information obtained by performing speech training on the operation control word;
as shown in fig. 7, the conversion module 202 includes:
a fourth determining unit 2024, configured to search, from the offline speech engine, a target operation control speech matched with the speech control instruction, and determine a target operation control word corresponding to the target operation control speech;
a fifth determining unit 2025, configured to determine the game control instruction according to the target operation control word.
The control device for the vehicle-mounted voice game provided by the embodiment of the invention can realize each process in the control method for the vehicle-mounted voice game provided by the embodiment of the invention, can obtain the same beneficial effect, and is not repeated herein for avoiding repetition.
Referring to fig. 8, the embodiment of the present invention further provides a terminal device 800, which includes a memory 801, a processor 802, and a computer program 8011 stored in the memory 801 and executable on the processor 802.
Wherein the processor 802 is configured to perform the following steps:
receiving a voice control instruction for a target game, and determining an operation control word corresponding to the voice operation instruction;
converting the voice control instruction into a game control instruction through an off-line voice engine;
executing game operation on the target game according to the game control instruction;
the off-line voice engine is stored with the operation control words of the target game in advance, and the operation control words of the target game are associated with the game control instructions of the target game.
Optionally, the processor 802 is further configured to, before receiving the voice control instruction for the target game, perform the following steps:
receiving a character selection voice instruction for the target game;
associating the character of the target game with the voice characteristic parameters of the character selection voice instruction;
the executing the game operation to the target game according to the game control instruction comprises:
executing game operation on the target role of the target game according to the game control instruction;
and the target role is determined according to the voice characteristic parameters of the voice control instruction.
Optionally, the voice characteristic parameter is a sound source positioning parameter;
in the case that the voice feature parameter is a sound source positioning parameter, the step performed by the processor 902 to associate the character of the target game with the voice feature parameter of the character selection voice instruction includes:
receiving the role selection voice instruction based on a microphone array, and carrying out sound source positioning on the role selection voice instruction to obtain a sound source positioning parameter of the role selection voice instruction; associating the sound source positioning parameter of the character selection voice instruction with the character of the target game selected by the character selection voice instruction;
or
In the case where the voice feature parameter is a voiceprint feature parameter, the step performed by processor 802902 of associating the character of the target game with the voice feature parameter of the character selection voice instruction includes:
receiving the role selection voice command based on a microphone, and carrying out voiceprint analysis on the role selection voice command to obtain a voiceprint characteristic parameter of the role selection voice command;
associating the voiceprint characteristic parameters of the character selection voice command with the character of the target game selected by the character selection voice command;
or
In the case that the voice feature parameters are a sound source localization parameter and a voiceprint feature parameter, the step performed by the processor 902 to associate the character of the target game with the voice feature parameters of the character selection voice instruction includes:
receiving the role selection voice instruction based on a microphone array, and carrying out sound source positioning on the role selection voice instruction to obtain a sound source positioning parameter of the role selection voice instruction;
performing voiceprint analysis on the role selection voice command to obtain a voiceprint characteristic parameter of the role selection voice command;
and associating the sound source positioning parameter and the voiceprint characteristic parameter of the role selection voice command with the role of the target game selected by the role selection voice command.
Optionally, the voice feature parameters include a voiceprint feature parameter, and the step performed by the processor 902 to associate the character of the target game with the voice feature parameter of the character selection voice instruction includes:
receiving the role selection voice command based on a microphone, and carrying out voiceprint analysis on the role selection voice command to obtain a voiceprint characteristic parameter of the role selection voice command;
and associating the voiceprint characteristic parameters of the character selection voice command with the character of the target game selected by the character selection voice command.
Optionally, the processor 802 is further configured to, after the receiving of the voice control instruction for the target game and before the converting of the voice control instruction into the game control instruction by the offline voice engine, perform the following steps:
and performing echo cancellation processing and noise reduction processing on the voice control instruction based on a microphone array.
Optionally, the step of converting the voice control command into the game control command by the offline voice engine executed by the processor 802 includes:
determining a first type of operation control word and a second type of operation control word according to the voice control instruction;
determining the game operation type of the game control instruction according to the first type of operation control words;
and determining game operation parameters of the game control instruction according to the second type of operation control words.
Optionally, the offline speech engine also stores operation control speech corresponding to the operation control word in advance, where the operation control speech corresponding to the operation control word includes speech information obtained by performing speech training on the operation control word;
the steps performed by the processor 802 to convert the voice control commands to game control commands via the offline speech engine include:
searching a target operation control voice matched with the voice control instruction from the offline voice engine, and determining a target operation control word corresponding to the target operation control voice;
and determining the game control instruction according to the target operation control word.
The terminal device provided by the embodiment of the present invention may be any one of vehicle-mounted terminal devices such as a computer and a network device, and the steps in the method for controlling a vehicle-mounted voice game provided in the method embodiment shown in fig. 1 may be implemented, so that the control performance of the terminal device when the vehicle-mounted voice game is run is improved.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps in the method for controlling a vehicle-mounted voice game provided in the embodiment of the method shown in fig. 1 are implemented, and the same beneficial effects can be obtained, and are not described herein again to avoid repetition.
The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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 essentially or contributing to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an on-board terminal (which may be a computer, a server, a controller, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (14)

1. A control method of a vehicle-mounted voice game is applied to a vehicle, and is characterized by comprising the following steps:
receiving a voice control instruction for a target game, and determining an operation control word corresponding to the voice operation instruction;
converting the voice control instruction into a game control instruction through an off-line voice engine;
executing game operation on the target game according to the game control instruction;
the off-line voice engine is stored with the operation control words of the target game in advance, and the operation control words of the target game are associated with the game control instructions of the target game.
2. The method of claim 1, wherein prior to receiving voice control instructions for a target game, the method further comprises:
receiving a character selection voice instruction for the target game;
associating the character of the target game with the voice characteristic parameters of the character selection voice instruction;
the executing the game operation to the target game according to the game control instruction comprises:
executing game operation on the target role of the target game according to the game control instruction;
and the target role is determined according to the voice characteristic parameters of the voice control instruction.
3. The method according to claim 2, wherein in the case where the voice feature parameter is a sound source localization parameter, the associating the character of the target game with the voice feature parameter of the character selection voice instruction includes:
receiving the role selection voice instruction based on a microphone array, and carrying out sound source positioning on the role selection voice instruction to obtain a sound source positioning parameter of the role selection voice instruction;
associating the sound source positioning parameter of the character selection voice instruction with the character of the target game selected by the character selection voice instruction;
or
In a case that the voice feature parameter is a voiceprint feature parameter, the associating the character of the target game with the voice feature parameter of the character selection voice instruction includes:
receiving the role selection voice command based on a microphone, and carrying out voiceprint analysis on the role selection voice command to obtain a voiceprint characteristic parameter of the role selection voice command;
associating the voiceprint characteristic parameters of the character selection voice command with the character of the target game selected by the character selection voice command;
or
Under the condition that the voice characteristic parameters are a sound source positioning parameter and a voiceprint characteristic parameter, associating the role of the target game with the voice characteristic parameters of the role selection voice command comprises the following steps:
receiving the role selection voice instruction based on a microphone array, and carrying out sound source positioning on the role selection voice instruction to obtain a sound source positioning parameter of the role selection voice instruction;
performing voiceprint analysis on the role selection voice command to obtain a voiceprint characteristic parameter of the role selection voice command;
and associating the sound source positioning parameter and the voiceprint characteristic parameter of the role selection voice command with the role of the target game selected by the role selection voice command.
4. The method of claim 3, wherein after said receiving voice control instructions for a target game and before said converting the voice control instructions to game control instructions by an offline voice engine, the method further comprises:
and performing echo cancellation processing and noise reduction processing on the voice control instruction based on a microphone array.
5. The method of claim 1, wherein converting the voice control command to a game control command via an offline voice engine comprises:
determining a first type of operation control word and a second type of operation control word according to the voice control instruction;
determining the game operation type of the game control instruction according to the first type of operation control words;
and determining game operation parameters of the game control instruction according to the second type of operation control words.
6. The method according to claim 1, wherein the offline speech engine further stores operation control speech corresponding to the operation control word in advance, and the operation control speech corresponding to the operation control word includes speech information obtained by performing speech training on the operation control word;
the converting the voice control command into a game control command through an offline voice engine comprises:
searching a target operation control voice matched with the voice control instruction from the offline voice engine, and determining a target operation control word corresponding to the target operation control voice;
and determining the game control instruction according to the target operation control word.
7. A control device of an on-vehicle voice game is applied to a vehicle, and is characterized by comprising:
the first receiving module is used for receiving a voice control instruction for a target game and determining an operation control word corresponding to the voice operation instruction;
the conversion module is used for converting the voice control instruction into a game control instruction through an offline voice engine;
the execution module is used for executing game operation on the target game according to the game control instruction;
the off-line voice engine is stored with the operation control words of the target game in advance, and the operation control words of the target game are associated with the game control instructions of the target game.
8. The apparatus of claim 7, further comprising:
a second receiving module, configured to receive a character selection voice instruction for a target game before the receiving of the voice control instruction for the target game;
the association module is used for associating the role of the target game with the voice characteristic parameter of the role selection voice instruction;
the execution module is specifically configured to:
executing game operation on the target role of the target game according to the game control instruction;
and the target role is determined according to the voice characteristic parameters of the voice control instruction.
9. The apparatus according to claim 8, wherein in the case that the speech feature parameter is a sound source localization parameter, the associating module comprises:
the positioning unit is used for receiving the role selection voice instruction based on a microphone array and carrying out sound source positioning on the role selection voice instruction to obtain a sound source positioning parameter of the role selection voice instruction;
a first associating unit configured to associate a sound source localization parameter of the character selection voice instruction with the character of the target game selected by the character selection voice instruction;
or
In the case that the voice feature parameter is a voiceprint feature parameter, the associating module includes:
the voiceprint analysis unit is used for receiving the role selection voice command based on a microphone and carrying out voiceprint analysis on the role selection voice command to obtain a voiceprint characteristic parameter of the role selection voice command;
a second associating unit, configured to associate a voiceprint feature parameter of the character selection voice instruction with the character of the target game selected by the character selection voice instruction;
or
Under the condition that the voice characteristic parameters are sound source positioning parameters and voiceprint characteristic parameters, the correlation module comprises:
the positioning unit is used for receiving the role selection voice instruction based on a microphone array and carrying out sound source positioning on the role selection voice instruction to obtain a sound source positioning parameter of the role selection voice instruction;
the voice print analysis unit is used for carrying out voice print analysis on the role selection voice command to obtain voice print characteristic parameters of the role selection voice command;
and the third association unit is used for associating the sound source positioning parameter and the voiceprint characteristic parameter of the role selection voice command with the role of the target game selected by the role selection voice command.
10. The apparatus of claim 9, further comprising:
and the sound processing module is used for performing echo cancellation processing and noise reduction processing on the voice control instruction based on a microphone array after receiving the voice control instruction for the target game and before converting the voice control instruction into the game control instruction through the offline voice engine.
11. The apparatus of claim 7, wherein the conversion module comprises:
the first determining unit is used for determining a first type of operation control word and a second type of operation control word according to the voice control instruction;
the second determining unit is used for determining the game operation type of the game control instruction according to the first type of operation control words;
and the third determining unit is used for determining the game operation parameters of the game control instruction according to the second type of operation control words.
12. The apparatus according to claim 7, wherein the offline speech engine further stores operation control speech corresponding to the operation control word in advance, and the operation control speech corresponding to the operation control word includes speech information obtained by performing speech training on the operation control word;
the conversion module comprises:
a fourth determining unit, configured to search, from the offline speech engine, a target operation control speech matched with the speech control instruction, and determine a target operation control word corresponding to the target operation control speech;
and the fifth determining unit is used for determining the game control instruction according to the target operation control word.
13. A terminal device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps in the method of controlling a vehicle-mounted voice game according to any one of claims 1 to 6 when executing the computer program.
14. A computer-readable storage medium, on which a computer program is stored, the computer program, when being executed by a processor, implementing the steps in the method of controlling the in-vehicle voice game according to any one of claims 1 to 6.
CN201910405881.8A 2019-05-16 2019-05-16 Control method and device for vehicle-mounted voice game Pending CN111939559A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910405881.8A CN111939559A (en) 2019-05-16 2019-05-16 Control method and device for vehicle-mounted voice game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910405881.8A CN111939559A (en) 2019-05-16 2019-05-16 Control method and device for vehicle-mounted voice game

Publications (1)

Publication Number Publication Date
CN111939559A true CN111939559A (en) 2020-11-17

Family

ID=73335468

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910405881.8A Pending CN111939559A (en) 2019-05-16 2019-05-16 Control method and device for vehicle-mounted voice game

Country Status (1)

Country Link
CN (1) CN111939559A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113257245A (en) * 2021-06-17 2021-08-13 智道网联科技(北京)有限公司 Inspection method and device for vehicle-mounted terminal, vehicle-mounted terminal and storage medium
CN115193052A (en) * 2022-09-19 2022-10-18 中国第一汽车股份有限公司 Interactive method and system of vehicle-mounted game, vehicle and storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070038436A1 (en) * 2005-08-10 2007-02-15 Voicebox Technologies, Inc. System and method of supporting adaptive misrecognition in conversational speech
CN101292282A (en) * 2005-08-29 2008-10-22 沃伊斯博克斯科技公司 Mobile systems and methods of supporting natural language human-machine interactions
US20090203439A1 (en) * 2008-02-08 2009-08-13 Aruze Gaming America, Inc. Gaming Device Giving Player Choice Of Character And Playing Method Thereof
JP2010128281A (en) * 2008-11-28 2010-06-10 Waseda Univ Interaction activating system and interaction activating robot
CN101853667A (en) * 2010-05-25 2010-10-06 无锡中星微电子有限公司 Voice noise reduction device
CN106297784A (en) * 2016-08-05 2017-01-04 Intelligent terminal plays the method and system of quick voice responsive identification
CN108159702A (en) * 2017-12-06 2018-06-15 广东欧珀移动通信有限公司 Based on multi-person speech game processing method and device
CN207976743U (en) * 2018-03-30 2018-10-16 北京搜狗科技发展有限公司 Wearable device
CN108806670A (en) * 2018-07-11 2018-11-13 北京小蓦机器人技术有限公司 Audio recognition method, device and storage medium
CN108989552A (en) * 2018-06-28 2018-12-11 努比亚技术有限公司 Screen lighting method, dual-screen mobile terminal and computer readable storage medium
CN109065055A (en) * 2018-09-13 2018-12-21 三星电子(中国)研发中心 Method, storage medium and the device of AR content are generated based on sound
CN109147787A (en) * 2018-09-30 2019-01-04 深圳北极鸥半导体有限公司 A kind of smart television acoustic control identifying system and its recognition methods
CN109189980A (en) * 2018-09-26 2019-01-11 三星电子(中国)研发中心 The method and electronic equipment of interactive voice are carried out with user
CN109589603A (en) * 2018-11-30 2019-04-09 广州要玩娱乐网络技术股份有限公司 Game operation control method, device, medium and computer equipment

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070038436A1 (en) * 2005-08-10 2007-02-15 Voicebox Technologies, Inc. System and method of supporting adaptive misrecognition in conversational speech
CN101292282A (en) * 2005-08-29 2008-10-22 沃伊斯博克斯科技公司 Mobile systems and methods of supporting natural language human-machine interactions
US20090203439A1 (en) * 2008-02-08 2009-08-13 Aruze Gaming America, Inc. Gaming Device Giving Player Choice Of Character And Playing Method Thereof
JP2010128281A (en) * 2008-11-28 2010-06-10 Waseda Univ Interaction activating system and interaction activating robot
CN101853667A (en) * 2010-05-25 2010-10-06 无锡中星微电子有限公司 Voice noise reduction device
CN106297784A (en) * 2016-08-05 2017-01-04 Intelligent terminal plays the method and system of quick voice responsive identification
CN108159702A (en) * 2017-12-06 2018-06-15 广东欧珀移动通信有限公司 Based on multi-person speech game processing method and device
CN207976743U (en) * 2018-03-30 2018-10-16 北京搜狗科技发展有限公司 Wearable device
CN108989552A (en) * 2018-06-28 2018-12-11 努比亚技术有限公司 Screen lighting method, dual-screen mobile terminal and computer readable storage medium
CN108806670A (en) * 2018-07-11 2018-11-13 北京小蓦机器人技术有限公司 Audio recognition method, device and storage medium
CN109065055A (en) * 2018-09-13 2018-12-21 三星电子(中国)研发中心 Method, storage medium and the device of AR content are generated based on sound
CN109189980A (en) * 2018-09-26 2019-01-11 三星电子(中国)研发中心 The method and electronic equipment of interactive voice are carried out with user
CN109147787A (en) * 2018-09-30 2019-01-04 深圳北极鸥半导体有限公司 A kind of smart television acoustic control identifying system and its recognition methods
CN109589603A (en) * 2018-11-30 2019-04-09 广州要玩娱乐网络技术股份有限公司 Game operation control method, device, medium and computer equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113257245A (en) * 2021-06-17 2021-08-13 智道网联科技(北京)有限公司 Inspection method and device for vehicle-mounted terminal, vehicle-mounted terminal and storage medium
CN115193052A (en) * 2022-09-19 2022-10-18 中国第一汽车股份有限公司 Interactive method and system of vehicle-mounted game, vehicle and storage medium

Similar Documents

Publication Publication Date Title
EP3690875B1 (en) Training and testing utterance-based frameworks
CN107773982B (en) Game voice interaction method and device
KR102190684B1 (en) Interactive voice-controlled companion application for a video game
US10311863B2 (en) Classifying segments of speech based on acoustic features and context
US9159319B1 (en) Keyword spotting with competitor models
US8719019B2 (en) Speaker identification
US7233904B2 (en) Menu-driven voice control of characters in a game environment
US8352273B2 (en) Device, method, and program for performing interaction between user and machine
US9087520B1 (en) Altering audio based on non-speech commands
JP2018151631A (en) Voice response system including domain disambiguation
US11393473B1 (en) Device arbitration using audio characteristics
US20200384362A1 (en) Custom voice control of video game character
US10755704B2 (en) Information processing apparatus
CN111939559A (en) Control method and device for vehicle-mounted voice game
US20220254369A1 (en) Electronic device supporting improved voice activity detection
CN111841007A (en) Game control method, device, equipment and storage medium
US20210217406A1 (en) Voice recognition service operating method and electronic device supporting same
US11759708B2 (en) Method for game service and commander voice chat and computing device for executing the method
US20120015731A1 (en) Gaming voice reaction system
KR102073386B1 (en) Game device and method for playing game using the game device
JP2022081279A (en) Game program, recording medium, game processing method, and information processor
EP4207184A1 (en) Electronic device comprising personalized text-to-speech module, and control method thereof
JP7428775B1 (en) Programs, computer equipment and methods
US20230017974A1 (en) Voice user interface processing method and recording medium
Hariprasad et al. Voice Stimulated Inclusive Multiplayer Game Development with Speaker Recognition

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201117