A vehicle-mounted game control method and device, storage medium and vehicle
By receiving audio signals in the car to generate game control information, it solves the problems of inconvenient operation and insufficient interaction of traditional in-car games, and realizes multi-person voice interaction and convenient game control.
Patent Information
- Application Number
- CN202210994131.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-18
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2042-08-18
AI Technical Summary
Compared with computer games and mobile phone games, traditional in-car games are inconvenient to operate, take up space in the car, and cannot achieve good interaction among people in the car.
By receiving audio signals from multiple people in the car, the game control information is generated using the amplitude and sound source direction information of the audio signals to control the target object in the game screen.
It enables multi-person voice interactive games in the car without the need for external equipment, improving the convenience of game operation and the in-car gaming experience.
Smart Images

Figure CN115364475B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of game control, and particularly relates to a control method and device for vehicle-mounted game, a storage medium and a vehicle. BACKGROUND
[0002] With the development of economy and the improvement of people's living conditions, the automobile is no longer a simple means of transportation. In order to meet the spiritual needs of people, the vehicle-mounted game emerges as the times require. The traditional vehicle-mounted game is basically the same as computer games and mobile phone games, and only the games are simply transplanted to the vehicle. The vehicle-mounted game has low compatibility with the touch screen in the vehicle and is inconvenient to operate.
[0003] In order to enhance the game operation experience, some manufacturers begin to try to connect external game handles or decouple the steering wheel, accelerator and brake, which increases a large amount of research and development or part costs. Due to the limitation of the space in the vehicle, the external device needs to occupy a large amount of space, so that the in-vehicle game experience is not good, and the in-vehicle personnel cannot achieve good interaction. SUMMARY
[0004] Therefore, the embodiments of the present application provide a control method and device for vehicle-mounted game, a storage medium and a vehicle, which aims to improve the game operation experience, improve the interaction between in-vehicle personnel and enhance the in-vehicle game experience.
[0005] In a first aspect, the embodiments of the present application provide a control method for vehicle-mounted game, and the method comprises the following steps.
[0006] Receiving audio signals of multiple in-vehicle personnel;
[0007] Obtaining game control information based on information carried by the audio signals;
[0008] Controlling a target object in a game picture according to the game control information;
[0009] The information carried by the audio signals comprises:
[0010] The amplitude of the audio signal and the azimuth information of the sound source.
[0011] Optionally, obtaining game control information based on the information carried by the audio signals comprises:
[0012] Obtaining game control information according to the amplitude of the audio signal and the azimuth information of the sound source.
[0013] Optionally, the multiple seats comprise a first seat and a second seat;
[0014] Obtaining game control information according to the amplitude of the audio signal and the azimuth information of the sound source, specifically comprising:
[0015] if the amplitude of the audio signal corresponding to the orientation information of the first seat is greater than the amplitude of the audio signal corresponding to the orientation information of the second seat, generating first control information according to the difference between the amplitudes of the two audio signals;
[0016] if the amplitude of the audio signal corresponding to the orientation information of the first seat is less than the amplitude of the audio signal corresponding to the orientation information of the second seat, generating second control information according to the difference between the amplitudes of the two audio signals;
[0017] if the amplitude of the audio signal corresponding to the orientation information of the first seat is equal to the amplitude of the audio signal corresponding to the orientation information of the second seat, generating third control information.
[0018] Optionally, the first control information is used to control the target object to move in a first direction.
[0019] The second control information is used to control the target object to move in a second direction; the first direction and the second direction are two opposite directions.
[0020] The third control information is used to control the target object to maintain the original direction unchanged.
[0021] Optionally, the information carried by the audio signal further includes semantic information, and the game control information is obtained based on the information carried by the audio signal, including:
[0022] obtaining game control information based on the semantic information;
[0023] correcting the game control information formed based on the amplitudes of the audio signals and the orientation information of the sound source by obtaining game control information based on the semantic information. Optionally, the game control information is obtained based on the information carried by the audio signal, including:
[0024] obtaining corresponding game control information based on the information carried by the audio signal through an embedded voice engine.
[0025] In a second aspect, an embodiment of the present application provides a control device for a vehicle-mounted game, the device comprising:
[0026] an audio receiving module configured to receive audio signals of multiple persons in a vehicle;
[0027] an information processing module configured to obtain game control information based on information carried by the audio signals;
[0028] a control module configured to control a target object in a game picture according to the game control information;
[0029] the information carried by the audio signals includes:
[0030] amplitude of the audio signal and the direction information of the sound source.
[0031] Optionally, the information processing module is specifically configured to:
[0032] generate game control information according to the amplitude of the audio signal and the direction information of the sound source.
[0033] Optionally, the plurality of seats comprises a first seat and a second seat.
[0034] The information processing module is specifically configured to:
[0035] if the amplitude of the audio signal corresponding to the first seat is greater than the amplitude of the audio signal corresponding to the second seat, generate first control information according to the difference between the amplitudes of the two audio signals;
[0036] if the amplitude of the audio signal corresponding to the first seat is less than the amplitude of the audio signal corresponding to the second seat, generate second control information according to the difference between the amplitudes of the two audio signals;
[0037] if the amplitude of the audio signal corresponding to the first seat is equal to the amplitude of the audio signal corresponding to the second seat, generate third control information.
[0038] The first control information is used to control the target object to move in a first direction.
[0039] The second control information is used to control the target object to move in a second direction; the first direction and the second direction are two opposite directions.
[0040] The third control information is used to control the target object to maintain the original direction unchanged.
[0041] Optionally, the information processing module is specifically configured to: obtain corresponding game control information based on the information carried by the audio signal through the embedded voice engine.
[0042] In a third aspect, the present application provides a computer readable storage medium, which stores a computer program, and the program is executed by a processor to implement the steps of the vehicle-mounted game control method of the first aspect.
[0043] In a fourth aspect, the present application provides a vehicle, which comprises:
[0044] a memory, which stores a computer program;
[0045] A processor is configured to execute the computer program in the memory to implement the steps of the vehicle game control method of the first aspect.
[0046] The embodiments of the present application provide a vehicle game control method and device. In the method, audio signals of multiple persons in a vehicle are received, and game control information is obtained according to information carried in the audio signals, so as to achieve the purpose of voice control of a multi-person interactive game. Since the audio signals carry amplitude and direction information of the audio signals, the game control information is specifically obtained based on the amplitude and direction information of the audio signals. The control based on the amplitude and direction information of the audio signals is more flexible and targeted. Therefore, the scheme improves the game control experience, realizes good interaction of the persons in the vehicle, and enhances the in-vehicle game experience. BRIEF DESCRIPTION OF DRAWINGS
[0047] To make the technical solutions in the embodiments or the prior art clearer, the accompanying drawings needed in the embodiments or the prior art description will be briefly introduced. Obviously, the accompanying drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained without creative effort based on these drawings.
[0048] Figure 1 A method flowchart of the vehicle game control method provided by the embodiments of the present application is provided.
[0049] Figure 2 A method schematic diagram of converting and processing multi-user sound information into corresponding game control information is provided.
[0050] Figure 3 A control effect schematic diagram of the vehicle game provided by the embodiments of the present application is provided.
[0051] Figure 4 A structure schematic diagram of the vehicle game control device provided by the embodiments of the present application is provided. DETAILED DESCRIPTION
[0052] The current vehicle game basically cooperates with game manufacturers, transplants games of other platforms, adapts and is mounted on a vehicle system, or even only a game console is installed in the vehicle, and the compatibility with the touch screen in the vehicle is low and the operation is very inconvenient. In order to enhance the game operation experience, some manufacturers have to start to try to connect an external game handle or decouple a steering wheel, a throttle and a brake, which additionally increases a large amount of research and development or part costs, and due to the limitation of the space in the vehicle, the external device needs to occupy a large amount of space, so that the in-vehicle game experience is not good.
[0053] To solve the above problems, the application provides a vehicle-mounted game control method and device, the method comprising: receiving audio signals of multiple persons in the vehicle; obtaining game control information according to the amplitude and sound source direction information carried in the audio signals; and controlling a target object in a game picture according to the game control information. The above scheme is free from the limitation of external devices in the implementation process, so that the user can realize multi-person voice game interaction in the vehicle without touch operation, thereby increasing the operation convenience of the vehicle-mounted game and the fun of the vehicle-mounted game.
[0054] The technical solutions in the embodiments of the application will be described clearly and completely below with reference to the drawings in the embodiments of the application. Obviously, the described embodiments are only some of the embodiments of the application, rather than all the embodiments. Based on the embodiments in the application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the application.
[0055] Referring to Figure 1 , Figure 1 A method flowchart of the vehicle-mounted game control method provided by the embodiments of the application comprises:
[0056] S101, receiving audio signals of multiple persons in the vehicle.
[0057] The application provides a multi-person interactive vehicle-mounted game control method, which can be participated by multiple persons in the vehicle simultaneously, including users of the main driver, the co-driver and the rear seat. In an example scenario, audio signals emitted by the users of the main driver, the co-driver and the rear seat are received by a vehicle-mounted microphone array respectively, and the audio signals carry the amplitude of the audio signals and the direction information of the sound source. The amplitude of the audio signals is determined by the size of the user's voice, and the direction information of the sound source is the direction of the user in the vehicle.
[0058] S102, obtaining game control information based on the information carried by the audio signals.
[0059] The audio signal is processed into game control information according to the amplitude of the audio signal and the orientation information of the sound source. Here, an embedded voice engine can be used to obtain corresponding game control information based on the information carried by the audio signal. The orientation information of the sound source is the orientation of the plurality of seats. The plurality of seats include a first seat, a second seat, a third seat, a fourth seat, and the like. The number of seats in the vehicle is not limited in the embodiments of the present application. Two seats (a first seat and a second seat) are taken as examples for description. Here, the first seat can be the driver's seat, and the second seat can be the passenger's seat. Of course, other corresponding relationships are also possible. If the amplitude of the audio signal corresponding to the orientation information of the first seat is greater than the amplitude of the audio signal corresponding to the orientation information of the second seat, first control information is generated according to the difference between the amplitudes of the two audio signals; if the amplitude of the audio signal corresponding to the orientation information of the first seat is less than the amplitude of the audio signal corresponding to the orientation information of the second seat, second control information is generated according to the difference between the amplitudes of the two audio signals; and if the amplitude of the audio signal corresponding to the orientation information of the first seat is equal to the amplitude of the audio signal corresponding to the orientation information of the second seat, third control information is generated. The first control information is used to control the target object to move in a first direction; the second control information is used to control the target object to move in a second direction; the first direction and the second direction are two opposite directions; and the third control information is used to control the target object to maintain the original direction unchanged.
[0060] Specifically, for example, in a racing game, when the sound of the user sitting in the driver's seat is greater than the sound of the user sitting in the passenger's seat, control information for controlling the racing car to move to the left is generated; when the sound of the user sitting in the driver's seat is less than the sound of the user sitting in the passenger's seat, control information for controlling the racing car to move to the right is generated; when the sound of the user sitting in the driver's seat is equal to the sound of the user sitting in the passenger's seat, control information for controlling the racing car to move straight is generated; and when the user in the driver's seat and the user in the passenger's seat do not speak at the same time, control information for controlling the racing car to brake is generated. The generation rule of the game control information can be set according to actual needs, which is not limited here.
[0061] S103, controlling the target object in the game picture according to the game control information.
[0062] The generated game control signal is uploaded to the game system, so as to control the target object in the game system. For example, the control signal for controlling the racing car to move to the left is transmitted into the racing game system, so as to realize the control of the racing car to move to the left. In actual application, the target object can be determined according to different types of vehicle-mounted games or vehicle-mounted game content. For example, in some vehicle-mounted games, the target object (i.e. the controlled object) can be a racing car; and in some other vehicle-mounted games, the target object can be a human-shaped character. The target object can be controlled to move in the game picture.
[0063] The embodiment of the application provides a control method of a vehicle-mounted game, when the method is executed, audio signals of multiple persons in a vehicle are received, the audio signals carry amplitude and azimuth information of a sound source, game control information is obtained based on the information carried by the audio signals, and a target object in a game picture is controlled according to the game control information. In this way, the user can realize multi-person voice game interaction in the vehicle without needing touch operation, the operation convenience of the vehicle-mounted game is improved, and the fun of the vehicle-mounted game is improved.
[0064] The audio signals can further include semantic information. For example, "turn left", "brake", "do it again", "exit the game" and the like. The game control information can be generated according to the semantic information of the audio signals, for example, when the user says "turn left", the control information for controlling the racing car to turn left can be generated, and when the user says "accelerate", the control information for controlling the racing car to accelerate can be generated. The semantic information of the audio signals is not only reflected in the control of the target object, but also reflected in the control of the game interface, for example, when the user says "do it again", the control signal for starting a game again can be generated, and when the user says "end the game", the control signal for ending the current game can be generated.
[0065] In the embodiment of the application, the game control information depends on the amplitude and azimuth information of the audio signals, and can also depend on the semantic information of the audio signals, so as to obtain more accurate and flexible game control effects. For example, the semantic information cooperates with the amplitude of the audio signals, can assist in identifying the emotion of the user to whom the sound source belongs, and process and generate game control signals more in line with the emotional needs of the user. In addition, the semantic information can also be used to correct the game control information, so that the game control information is more accurate. Based on the amplitude, azimuth information and semantic information of the audio signals, the control effect of the game control information obtained by processing can be more accurate, and the vehicle-mounted game control needs of the user can be met.
[0066] In the example implementation, the game control information is obtained based on the semantic information, the game control information is formed based on the amplitude of the audio signals and the azimuth information of the sound source, and finally the former is used to correct the latter. For example, the amplitudes of the audio signals of the two azimuths detected are consistent or close to consistent (this can be caused by insufficient tacit understanding and insufficient cooperation of the two users), at this time, the semantic information such as "turn left" can more accurately indicate the direction in which the target object is expected to move. Thus, the correction effect is exerted. In addition, the game control information obtained by the two ways can be weighted and allocated, so that the control information is corrected through weight allocation, and more accurate results are obtained. According to experience, a higher weight is allocated to a way with higher credibility.
[0067] Reference is made to Figure 2 , Figure 2The method for converting and processing multi-user sound information into corresponding game control information provided by the embodiment of the application is shown in the figure:
[0068] The amplitude of the audio signal received by the vehicle microphone array from the primary driver is denoted as Xa, and the amplitude of the audio signal received by the vehicle microphone array from the secondary driver is denoted as Xb. The difference between Xa and Xb is calculated and compared with 0. When Xa-Xb>0, that is, the sound of the primary driver is greater than that of the secondary driver, control information for controlling the vehicle to change lanes to the left is generated. When Xa-Xb<0, that is, the sound of the primary driver is less than that of the secondary driver, control information for controlling the vehicle to change lanes to the right is generated. When Xa-Xb=0, that is, the sound of the primary driver is equal to that of the secondary driver, control information for controlling the vehicle to be centered is generated.
[0069] Referring to Figure 3 , Figure 3 The control effect diagram of the vehicle game provided by the embodiment of the application is shown in the figure:
[0070] There are many obstacles on the track, and the primary driver and the secondary driver control the movement trajectory of the racing car through sound together, so as to make the racing car avoid the obstacles on the track. As shown in the figure, the sound of the secondary driver needs to be greater than that of the primary driver at the current situation, and the racing car changes lanes to the right. Then, the sound of the primary driver and the secondary driver remains consistent, and the racing car can pass through this place smoothly.
[0071] Referring to Figure 4 , Figure 4 The structure diagram of the control device of the vehicle game provided by the embodiment of the application is shown in the figure.
[0072] The control device of the vehicle game provided by the embodiment of the application comprises an audio receiving module, an information processing module and a control module.
[0073] The audio receiving module is configured to receive audio signals of multiple people in the vehicle respectively, and send the audio signals to the information processing module.
[0074] The information processing module is configured to obtain game control information based on information carried by the audio signals.
[0075] The control module is configured to control a target object in a game picture according to the game control information.
[0076] The information carried by the audio signals comprises:
[0077] The amplitude of the audio signal and the direction information of the sound source.
[0078] Since the audio signal carries the amplitude of the audio signal and the azimuth information of the sound source, the game control information is specifically obtained based on the amplitude of the audio signal and the azimuth information. The control combined with the amplitude and the azimuth information of the audio signal is more flexible and targeted. Therefore, the scheme improves the game control experience, realizes good interaction of the people in the vehicle, and enhances the in-vehicle game experience.
[0079] Optionally, the information processing module is specifically configured to:
[0080] obtain game control information according to the amplitude of the audio signal and the azimuth information of the sound source.
[0081] Optionally, the plurality of seats includes a first seat and a second seat.
[0082] The information processing module is specifically configured to:
[0083] If the amplitude of the audio signal corresponding to the azimuth information of the first seat is greater than the amplitude of the audio signal corresponding to the azimuth information of the second seat, first control information is generated according to the difference between the amplitudes of the two audio signals.
[0084] If the amplitude of the audio signal corresponding to the azimuth information of the first seat is less than the amplitude of the audio signal corresponding to the azimuth information of the second seat, second control information is generated according to the difference between the amplitudes of the two audio signals.
[0085] If the amplitude of the audio signal corresponding to the azimuth information of the first seat is equal to the amplitude of the audio signal corresponding to the azimuth information of the second seat, third control information is generated.
[0086] The first control information is used to control the target object to move in a first direction.
[0087] The second control information is used to control the target object to move in a second direction; the first direction and the second direction are two opposite directions.
[0088] The third control information is used to control the target object to maintain the original direction unchanged.
[0089] Optionally, the information carried by the audio signal further includes semantic information, and the information processing module specifically includes:
[0090] a first obtaining unit configured to obtain game control information based on the semantic information;
[0091] a correction unit configured to correct the game control information formed based on the amplitude of the audio signal and the azimuth information of the sound source by obtaining game control information based on the semantic information.
[0092] Optionally, the information processing module is specifically configured to obtain corresponding game control information based on information carried by the audio signal through the embedded voice engine.
[0093] Based on the vehicle-mounted game control method and device provided in the foregoing embodiments, the embodiment of the present application further provides a computer readable storage medium. The storage medium stores a program, and the program is executed by a processor to implement part or all steps of the vehicle-mounted game control method protected by the foregoing method embodiments of the present application.
[0094] The storage medium can be a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.
[0095] Based on the storage medium and the processor provided in the foregoing embodiments, the present application further provides a vehicle for executing the vehicle-mounted game control method.
[0096] The memory stores a program that can run on the processor, and the program implements part or all steps of the vehicle-mounted game control method provided by the foregoing method embodiments when executed. The memory can include a high-speed random access memory and can also include a non-volatile memory, for example, at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory device.
[0097] In the vehicle, the processor and the memory transmit signaling, logical instructions, and the like through a communication bus. The device can communicate and interact with other devices through a communication interface. The processor is configured to execute the computer program in the memory to implement the steps of the vehicle-mounted game control method.
[0098] Each of the embodiments in the specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the difference from other embodiments. Especially, the device embodiment is described relatively simply because it is basically similar to the method embodiment, and the relevant parts can be referred to the part of the method embodiment. According to the actual needs, some or all modules can be selected to achieve the purpose of the embodiment scheme. Those skilled in the art can understand and implement without creative labor.
[0099] The above merely describes exemplary embodiments of the present application, and is not intended to limit the protection scope of the present application. It should be noted that the vehicle-mounted game control method, device, storage medium and vehicle provided by the present application can be applied to the game field. The above is merely an example, and does not limit the application field of the vehicle-mounted game control method, device, storage medium and vehicle provided by the present application.
Claims
1. A method for controlling an in-car game, characterized in that: The method comprises: Receive audio signals from multiple people in the car; obtaining game control information based on information carried by the audio signal; Controlling a target object in the game screen according to the game control information; The information carried by the audio signal includes: amplitude information of the audio signal and direction information of the sound source; The obtaining of the game control information based on the information carried by the audio signal includes: obtaining the game control information according to the amplitude of the audio signal and the orientation information of the sound source; Specifically: if the amplitude of the audio signal corresponding to the first seat by the orientation information is greater than the amplitude of the audio signal corresponding to the second seat by the orientation information, first control information is generated according to the difference in the amplitudes of the two audio signals; if the amplitude of the audio signal corresponding to the first seat by the orientation information is less than the amplitude of the audio signal corresponding to the second seat by the orientation information, second control information is generated according to the difference in the amplitudes of the two audio signals; if the amplitude of the audio signal corresponding to the first seat by the orientation information is equal to the amplitude of the audio signal corresponding to the second seat by the orientation information, third control information is generated.
2. The control method of the in-car game according to claim 1, characterized in that: The first control information is used to control the target object to move in a first direction; The second control information is used to control the target object to move in a second direction; the first direction and the second direction are two opposite directions; The third control information is used to control the target object to maintain its original direction unchanged.
3. The control method of the in-car game according to claim 1, characterized in that: The information carried by the audio signal also includes semantic information. The obtaining of game control information based on the information carried by the audio signal includes: obtaining game control information based on the semantic information; By obtaining game control information based on the semantic information, the game control information formed based on the amplitude of the audio signal and the direction information of the sound source is corrected.
4. The control method of the in-car game according to claim 1, characterized in that: The obtaining of game control information based on the information carried by the audio signal includes: The embedded voice engine obtains corresponding game control information based on the information carried by the audio signal.
5. A control device for an in-car game, characterized in that: include: An audio receiving module, used to receive audio signals from multiple people in the car; an information processing module, configured to obtain game control information based on information carried by the audio signal; A control module, configured to control a target object in the game screen according to the game control information; The information carried by the audio signal includes: The amplitude of the audio signal and the direction of the sound source; The information processing module is specifically used for: Game control information is obtained based on the amplitude of the audio signal and the orientation information of the sound source; specifically: if the amplitude of the audio signal corresponding to the first seat with the orientation information is greater than the amplitude of the audio signal corresponding to the second seat with the orientation information, first control information is generated based on the difference in the amplitudes of the two audio signals; if the amplitude of the audio signal corresponding to the first seat with the orientation information is less than the amplitude of the audio signal corresponding to the second seat with the orientation information, second control information is generated based on the difference in the amplitudes of the two audio signals; if the amplitude of the audio signal corresponding to the first seat with the orientation information is equal to the amplitude of the audio signal corresponding to the second seat with the orientation information, third control information is generated.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method for controlling the in-vehicle game according to any one of claims 1 to 4 are implemented.
7. A vehicle, characterized in that: include: a memory having a computer program stored thereon; A processor is used to execute the computer program in the memory to implement the steps of the control method of the in-vehicle game according to any one of claims 1 to 4.
Citation Information
Patent Citations
Game achieving device and method based on voice control
CN103127718A
Vehicle, vehicle-mounted game device and method, and storage medium
CN114307126A