Vehicle-mounted KTV control method and device
By building a communication network in the car and connecting to the mobile terminal, and using the mobile terminal to collect and process audio data, the problem of high hardware cost in the on-board KTV system is solved, and the effect of reducing hardware demand and improving user experience is achieved.
Patent Information
- Application Number
- CN202510508506.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-22
- Publication Date
- 2025-08-01
AI Technical Summary
The existing on-board KTV system requires additional hardware such as microphone, audio, and ambient light, which increases the hardware cost.
By pre-built in-vehicle communication network and connecting to the mobile terminal, the mobile terminal collects audio data and sends it to the body processor, which sends the audio data to the audio system to play, reducing the hardware demand for the on-vehicle KTV system.
It reduces hardware costs, and utilizes the audio processing capabilities of mobile terminals to reduce the data processing burden of the body processor and improves the user experience.
Smart Images

Figure CN120412508A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicle technology, and in particular to a control method and device for a vehicle-mounted KTV. Background Art
[0002] As the level of vehicle intelligence continues to improve, vehicles can gradually provide more entertainment functions in addition to driving functions. KTV is an entertainment function, and the space inside the vehicle provides a comfortable environment for realizing on-board KTV.
[0003] At present, the in-car KTV system requires additional hardware such as microphones, speakers, and ambient lights to be configured in the vehicle, which increases hardware costs. Summary of the Invention
[0004] In order to solve the above technical problems, the present disclosure provides a control method and device for a car-mounted KTV.
[0005] In a first aspect, an embodiment of the present disclosure provides a method for controlling a car KTV, including:
[0006] In response to receiving a connection request from a mobile terminal, connecting to the mobile terminal via a pre-established in-vehicle communication network;
[0007] When receiving the microphone permission opening message sent by the mobile terminal, opening the car KTV function and receiving the audio data sent by the mobile terminal;
[0008] The audio data is sent to the sound system for playing.
[0009] In a second aspect, an embodiment of the present disclosure provides a control device for a car-mounted KTV, including:
[0010] a connection module, configured to connect to the mobile terminal via a pre-established in-vehicle communication network in response to receiving a connection request from the mobile terminal;
[0011] A receiving module, configured to enable the car KTV function and receive audio data sent by the mobile terminal when receiving a microphone permission activation message sent by the mobile terminal;
[0012] The playing module is used to send the audio data to the sound system for playing.
[0013] The technical solution provided by the embodiments of the present disclosure has the following advantages compared with the prior art: In response to receiving a connection request from a mobile terminal, it connects to the mobile terminal through a pre-constructed in-vehicle communication network. When receiving a microphone permission opening message sent by the mobile terminal, it enables the in-vehicle KTV function, collects audio data through the mobile terminal and sends it to the vehicle body processor. The vehicle body processor receives the audio data sent by the mobile terminal and sends the audio data to the audio system for playback. Thus, users can access the in-vehicle local area network through the mobile terminal to realize in-vehicle KTV, collect user audio through the mobile terminal, without the need for the in-vehicle KTV to be equipped with an external microphone additionally, reducing the hardware cost, and using the audio processing ability of the mobile terminal to process the collected audio data, reducing the data processing of the vehicle body processor and reducing the occupation of vehicle-side processing resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The accompanying drawings herein are incorporated into and constitute a part of this specification, showing embodiments consistent with the present disclosure and, together with the specification, are used to explain the principles of the present disclosure.
[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the following will briefly introduce the accompanying drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0016] Figure 1 It is a schematic flowchart of a control method for an in-vehicle KTV provided by an embodiment of the present disclosure;
[0017] Figure 2 It is a schematic flowchart of another control method for an in-vehicle KTV provided by an embodiment of the present disclosure;
[0018] Figure 3 It is a schematic structural diagram of a control device for an in-vehicle KTV provided by an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0019] In order to be able to more clearly understand the above-mentioned objects, features and advantages of the present disclosure, the solution of the present disclosure will be further described below. It should be noted that, without conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other.
[0020] Many specific details are set forth in the following description in order to fully understand the present disclosure, but the present disclosure can also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only a part of the embodiments of the present disclosure, rather than all the embodiments.
[0021] Figure 1Schematic flowchart of a control method for an in-vehicle KTV provided by an embodiment of the present disclosure. The method provided by the embodiment of the present disclosure can be executed by a control device of the in-vehicle KTV. The device can be implemented by software and / or hardware and can be integrated on any electronic device with computing capabilities.
[0022] As shown in Figure 1 the figure, the control method for the in-vehicle KTV provided by the embodiment of the present disclosure may include:
[0023] Step 101, in response to receiving a connection request from a mobile terminal, connect to the mobile terminal through a pre-constructed in-vehicle communication network.
[0024] In this embodiment, the vehicle is provided with an in-vehicle KTV system. The in-vehicle KTV system includes a sound system, a display screen, a mood light, and other external entertainment devices. When the in-vehicle KTV function is turned on, the vehicle body processor receives an instruction for executing the in-vehicle KTV function and controls each device of the in-vehicle KTV system to start working.
[0025] In this embodiment, an in-vehicle communication network is pre-constructed in the vehicle. The in-vehicle communication network connects each device through a wireless connection method. For example, the wireless connection methods include Bluetooth and mobile hotspot. Multiple wireless connection methods can be used alone or in combination. Optionally, the vehicle body processor connects to the mobile terminal through at least two connection methods. For example, the in-vehicle communication network is implemented through Bluetooth and mobile hotspot at the same time to achieve dual-signal guarantee transmission. Among them, different connection methods can correspond to different data types. When at least two connection methods are used, for each connection method, determine the data type corresponding to the connection method. Then, after receiving the audio data sent by the mobile terminal, perform sound source decoding processing on the audio data according to the decoding method corresponding to the data type. The user can connect the mobile terminal to the in-vehicle communication network so that the mobile terminal is connected to the vehicle body processor through the in-vehicle communication network.
[0026] As an example, connecting to the mobile terminal through a pre-constructed in-vehicle communication network includes: the mobile terminal sends an access request to the vehicle body processor through the in-vehicle communication network. In response to receiving the access request from the mobile terminal, the vehicle body processor establishes a connection with the mobile terminal. In this example, a connection with the vehicle body processor is established through the mobile terminal, and then the mobile terminal sends an instruction for executing the in-vehicle KTV function to the vehicle body processor so that the vehicle body processor controls each device of the in-vehicle KTV system to start working.
[0027] As another example, connecting to a mobile terminal via a pre-established in-vehicle communication network involves: the mobile terminal sending an access request to the vehicle body processor via the in-vehicle communication network; the vehicle body processor, in response to receiving the access request from the mobile terminal, obtaining the mobile terminal's location information; and then, for the seat area where the location information is located, obtaining an image of the seat area and the seat occupancy status; and, if the seat occupancy status indicates the presence of an occupant, performing identity recognition on the image to determine the user's identity information. In this example, the vehicle interior is divided into multiple seating areas based on the seats. Millimeter wave positioning technology can be used to determine the mobile terminal's location information, and then, based on the mobile terminal's location information, the seat area where the mobile terminal is located can be determined. The vehicle is also equipped with an image sensor and a seat sensor. The seat sensor is used to capture the seat occupancy status, which includes the presence and absence of an occupant. The image sensor is used to capture images of the vehicle's interior environment. Identity recognition is performed on the seat area corresponding to the image through person detection and facial recognition to determine the user's identity information in the seat area. This allows accurate identification of the currently connected mobile terminal and the corresponding user identity information of the mobile terminal. This allows for the identification of subsequent audio data collected by the mobile terminal to be correlated with the corresponding user identity information, thus achieving unified access to mobile terminals and user identity information.
[0028] The following describes how to determine the location information of a mobile terminal.
[0029] The vehicle-machine communication module includes multiple antennas, and the antennas correspond to the seat positions. For example, the vehicle-machine communication module includes four antennas, and the four antennas correspond to the main driver's seat area, the co-driver's seat area, the rear left seat area, and the rear right seat area, respectively. When the mobile terminal sends a connection request to the vehicle body processor, the vehicle body processor obtains the transmission direction and signal strength corresponding to the connection request, and then determines the location information of the mobile terminal based on the transmission direction and signal strength. Among them, the transmission direction can be used to determine the orientation information of the mobile terminal relative to the vehicle-machine communication module, and the signal strength is used to determine the distance of the mobile terminal relative to the vehicle-machine communication module. According to the orientation information and distance of the mobile terminal relative to the vehicle-machine communication module, the location information of the mobile terminal can be preliminarily determined. In this way, the location information of the connected mobile terminal can be determined in the in-vehicle KTV scene, the control accuracy can be improved, and data support can be provided for subsequent intelligent control.
[0030] Optionally, the vehicle builds an in-vehicle communication network through the communication module. While maintaining normal operation, the communication module can reserve a dedicated channel for KTV mode to ensure smooth connection when users connect through mobile terminals.
[0031] Step 102: When a microphone permission activation message sent by a mobile terminal is received, the car KTV function is activated and audio data sent by the mobile terminal is received.
[0032] In this embodiment, the audio data is collected and processed by the mobile terminal. After the mobile terminal is connected to the vehicle body processor, with the audio data collection ability of the mobile terminal itself, when using the in-vehicle KTV function, the mobile terminal can collect the user's audio data and send the audio data to the vehicle body processor. Optionally, after the mobile terminal establishes a connection with the vehicle body processor, an authorization request message is generated on the mobile terminal. The authorization request message is used to request the microphone permission from the user. When the user confirms the microphone permission on the mobile terminal, the mobile terminal sends a microphone permission activation message to the vehicle body processor. When the vehicle body processor receives the microphone permission activation message sent by the mobile terminal, the in-vehicle KTV function is activated.
[0033] The audio data collected by the mobile terminal includes the user's voice, ambient noise, etc. The collected audio data is processed through the audio processing ability of the mobile terminal itself. The processing steps include: classifying the audio data by sound to distinguish the user's singing voice, the user's speaking voice, ambient noise, etc., and then performing audio noise reduction and loudness unification. The processed audio data is packaged to generate an audio packet, and the audio packet is sent to the vehicle body processor through the in-vehicle communication network. Thus, the audio data collection ability of the mobile terminal can be used to collect the user's audio data, eliminating the need to equip a microphone in the in-vehicle KTV system, reducing the hardware cost. Moreover, the audio processing ability of the mobile terminal can be used to process the collected audio data, reducing the data processing of the vehicle body processor and reducing the occupancy of processing resources on the vehicle side.
[0034] Step 103: Send the audio data to the audio system for playback.
[0035] In this embodiment, after receiving the audio data, the vehicle body processor can further process the audio data to generate target audio and send the target audio to the audio system of the in-vehicle KTV system for playback. Among them, the processing of the audio data by the vehicle body processor may include: the vehicle body processor synthesizes the audio data with the song accompaniment to generate target audio; and / or, the vehicle body processor performs computing power allocation, performs audio processing using the same steps as on the mobile terminal side, and performs power adaptation according to information such as the power layout of the speakers and the positions of the people in the vehicle, so that people in different positions can hear the same playback effect; and / or, the vehicle body processor uses an optimization processing method to optimize the audio data to generate target audio.
[0036] The optimization processing method will be described below.
[0037] As an example, multiple optimization processing methods are pre-stored in the in-vehicle KTV function. The user can select a target optimization processing method from the multiple optimization processing methods to optimize the audio data through the target optimization processing method and generate target audio. Among them, the optimization processing method is used to optimize and adjust the audio data to ensure the auditory effect of the audio.
[0038] As another example, obtain the category corresponding to the audio data, and determine the target optimization processing method of the audio data from at least one optimization processing method corresponding to the category. Furthermore, optimize the audio data according to the target optimization processing method to generate target audio. In this example, the categories corresponding to the audio data include performance categories and voice categories. The performance categories include, for example, singing, talk shows, etc., and the voice categories include, for example, baritone, tenor, etc. Each category is correspondingly set with at least one optimization processing method that matches the category. Determine the target optimization processing method from the optimization processing methods corresponding to the category to optimize the audio data through the target optimization processing method and generate target audio. Thus, it is possible to achieve an optimization process that is more in line with the user's voice and performance form, and further improve the auditory effect of the audio.
[0039] According to the technical solution of the embodiments of the present disclosure, in response to receiving a connection request from a mobile terminal, connect to the mobile terminal through a pre-constructed in-vehicle communication network. When receiving a microphone permission opening message sent by the mobile terminal, turn on the in-vehicle KTV function, and collect audio data through the mobile terminal and send it to the vehicle body processor. The vehicle body processor receives the audio data sent by the mobile terminal and sends the audio data to the audio system for playback. Thus, the user can access the in-vehicle local area network through the mobile terminal to implement in-vehicle KTV, collect the user's audio through the mobile terminal, without the need for the in-vehicle KTV to be additionally equipped with an external microphone, reducing the hardware cost, and using the audio processing ability of the mobile terminal to process the collected audio data, reducing the data processing of the vehicle body processor and reducing the occupancy of vehicle-side processing resources.
[0040] Based on the above embodiments, Figure 2 is a schematic flowchart of another control method for in-vehicle KTV provided by the embodiments of the present disclosure. As Figure 2 shown, the method includes:
[0041] Step 201, in response to the in-vehicle KTV function being turned on, receive the audio data sent by the mobile terminal.
[0042] In this embodiment, the audio data is collected and audio-processed through the mobile terminal. Optionally, after the mobile terminal establishes a connection with the vehicle body processor, an authorization request message is generated on the mobile terminal. The authorization request message is used to request microphone permission from the user and the function permissions for automatic recording and publishing of songs in the current KTV mode.
[0043] In one embodiment of the present disclosure, it is connected to a mobile terminal through a pre - constructed in - vehicle communication network, including: in response to receiving a connection request from the mobile terminal, obtaining the location information of the mobile terminal and obtaining the current vehicle state. Among them, the location information of the mobile terminal can refer to the foregoing description, and the vehicle state includes a driving state and a stationary state. The vehicle interior is pre - divided into multiple regions, and each region can correspond to two situations: having access permission and not having access permission. According to the different current vehicle states, whether each region has access permission is also different. Furthermore, according to the current vehicle state, a target region with access permission is determined from multiple regions in the vehicle, and the region where the location information of the mobile terminal is located is determined from multiple regions in the vehicle. Thus, it can be judged whether the location information of the mobile terminal is in the target region. When the location information of the mobile terminal is in the target region, it is connected to the mobile terminal through the in - vehicle communication network; otherwise, the mobile terminal is refused access to the in - vehicle communication network. Thus, it is possible to determine the region allowing the mobile terminal to connect according to the current vehicle state and achieve intelligent control.
[0044] As an example, if the location information of the mobile terminal is in the driver's area of the vehicle and the current vehicle state is the driving state, the mobile terminal is refused access to the in - vehicle local area network. Among them, the space inside the vehicle is divided into multiple regions according to the seats, for example, divided into the driver's seat area, the co - driver's seat area, the left rear seat area, and the right rear seat area. When the vehicle is in the driving state, the driver's area is not allowed to participate in the in - vehicle KTV activity to ensure driving safety and realize the combination of the in - vehicle KTV function and vehicle safety control.
[0045] In one embodiment of the present disclosure, after obtaining the location information of the mobile terminal, a target KTV function - related device corresponding to the location information is determined and controlled from all the KTV function - related devices in the vehicle. In this embodiment, the KTV function - related device refers to a device in the vehicle for implementing the KTV function, including but not limited to speakers, display screens, ambient lights, and other external entertainment devices. Optionally, the KTV function - related devices can be correspondingly set according to the seat areas. For example, each seat area is provided with corresponding speakers, display screens, and ambient lights. The speakers, display screens, and ambient lights at the corresponding positions are controlled through the location information of the mobile terminal, without turning on the devices at other positions, improving the control accuracy of the in - vehicle KTV function.
[0046] Step 202, determine the target optimization processing method for the audio data according to the category of the audio data to optimize the audio data.
[0047] In this embodiment, the category corresponding to the audio data is obtained, the target optimization processing method for the audio data is determined from at least one optimization processing method corresponding to the category, and the audio data is optimized according to the target optimization processing method to generate the target audio. Among them, the categories corresponding to the audio data include performance categories and sound categories.
[0048] The determination of the target optimization processing method from at least one optimization processing method will be described below.
[0049] As an example, to determine the target optimization processing method for the audio data from at least one optimization processing method corresponding to the category, it includes: querying at least one published audio corresponding to the audio data according to the category, and obtaining the like rate of at least one published audio. Furthermore, according to the optimization processing method corresponding to the published audio with the highest like rate, it is determined as the target optimization processing method. In this example, taking a certain song as an example, when historical users use the in-vehicle KTV function and publish the audio of this song, they will synchronously upload the category corresponding to the audio data of the historical users and the optimization processing methods adopted by the historical users. Furthermore, when the current user uses the in-vehicle KTV function, they can query the published audios whose categories are consistent with the category of their own audio data, and obtain the like rate and optimization processing methods of each published audio. According to the optimization processing method corresponding to the published audio with the highest like rate, it is determined as the target optimization processing method. Thus, the audio data can be optimized using the optimization processing method with the highest like rate, further improving the auditory effect of the audio.
[0050] As another example, to determine the target optimization processing method for the audio data from at least one optimization processing method corresponding to the category, it includes: obtaining the user identity information corresponding to the audio data, and for each optimization processing method, obtaining the historical usage times corresponding to the user identity information. Furthermore, according to the optimization processing method with the highest historical usage times, it is determined as the target optimization processing method. In this example, the user identity information can be obtained when the mobile terminal accesses the in-vehicle local area network, and the optimization processing methods used by each user identity information can be recorded to optimize according to the optimization processing method with the highest historical usage times under this user identity information. Thus, the audio data can be optimized based on the optimization processing method preferred by the user in history, satisfying the user's personal preference while further improving the auditory effect of the audio.
[0051] In this embodiment, the vehicle body processor optimizes the audio data to generate the target audio, and sends the target audio to the speaker for playback.
[0052] In one embodiment of the present disclosure, in the in-vehicle KTV playback scenario, when voice input data is detected, the instruction type corresponding to the voice input data is obtained, and then the playback volume of the speaker is controlled respectively according to the instruction type. Taking the case where the position information of the mobile terminal is in the target area as an example, in this scenario, the in-vehicle KTV function is realized through the speakers in the target area, and the playback volume of the speakers in the target area is controlled respectively according to the instruction type. Optionally, when the instruction type is the specified type, the playback volume of each speaker is controlled according to the first strategy, and when the instruction type is not the specified type, the playback volume of each speaker is controlled according to the second strategy.
[0053] As an example, the instruction type includes a voice control instruction. When voice input data is detected, it is determined whether the voice input data is a voice control instruction. In the case where the voice input data is a voice control instruction, the playback volume of the audio data is reduced. Among them, reducing the playback volume of the audio data includes reducing the playback volume by a preset value or turning off the playback volume. Thus, it is possible to prevent the sound of the in-vehicle KTV from affecting the input of the voice control instruction.
[0054] In one embodiment of the present disclosure, during the vehicle driving process, the driver is detected for fatigue, and the detection result is obtained. Then, in the in-vehicle KTV playback scenario, the playback volume of each speaker is controlled respectively according to the detection result. Taking the case where the position information of the mobile terminal is in the target area as an example, in this scenario, the in-vehicle KTV function is realized through the speakers in the target area, and the playback volume of the speakers in the target area is controlled respectively according to the detection result. In this embodiment, during the vehicle driving process, the driver is detected for fatigue, and the fatigue detection result is obtained. Then, in the in-vehicle KTV playback scenario, if the fatigue detection result meets the preset prompt condition, the playback volume of the audio data is increased to give a fatigue reminder to the user. In this embodiment, the in-vehicle KTV function is combined with the fatigue detection process. Optionally, the fatigue detection result includes multiple fatigue degrees, and different fatigue degrees correspond to different prompt methods. The prompt method includes gradually increasing the playback volume of the audio data, so as to avoid scaring the user with sudden sounds and vibrations and improve the user experience.
[0055] As an example, the fatigue detection result includes a first fatigue degree, a second fatigue degree, and a third fatigue degree, where the first fatigue degree is less than the second fatigue degree and the second fatigue degree is less than the third fatigue degree. The prompt method corresponding to the first fatigue degree is no prompt, the prompt method corresponding to the second fatigue degree is to gradually increase the playback volume of the audio data, and the prompt method corresponding to the third fatigue degree is to directly increase the playback volume of the audio data to a specified value.
[0056] Step 203, perform recording storage and publishing processing on the played audio.
[0057] In this embodiment, after the in-vehicle KTV function is executed, the played audio can be recorded, stored, optimized, and published. Optionally, according to the user identity information, the corresponding account on the specified platform is automatically logged in to publish on the specified platform through the corresponding account.
[0058] In an embodiment of the present disclosure, when publishing, associated information such as a cover, a title, and a content description are usually set. The audio data can be input into a pre-trained generation model for processing to generate style information corresponding to the audio data. Furthermore, according to the style information, the information to be published associated with the audio data is optimized. Then, according to the audio data and the optimized information to be published, a to-be-published audio is generated and uploaded.
[0059] In this embodiment, the generation model can be implemented by machine learning or deep learning. During the model training process, for the sample audio in the training set, the corresponding style information can be labeled according to the characteristics such as the timbre of the sample audio. The generation model is trained through the training set so that the input of the generation model is audio data and the output is the corresponding style information. Thus, it is possible to automatically generate the published content with the corresponding style according to the characteristics of the user's voice, without the need for the user to manually edit, simplifying the user operation, improving the intelligent level of the in-vehicle KTV function, and enhancing the user experience.
[0060] Figure 3 The following is a schematic structural diagram of a control device for an in-vehicle KTV provided by an embodiment of the present disclosure, as Figure 3 shown, the control device for the in-vehicle KTV includes: a connection module 31, a receiving module 32, and a playing module 33.
[0061] The connection module 31 is configured to connect to the mobile terminal through a pre-constructed in-vehicle communication network in response to receiving a connection request from the mobile terminal;
[0062] The receiving module 32 is configured to turn on the in-vehicle KTV function and receive the audio data sent by the mobile terminal when receiving a microphone permission opening message sent by the mobile terminal;
[0063] The playing module 33 is configured to send the audio data to the audio system for playing.
[0064] In an embodiment of the present disclosure, the playing module 33 is specifically configured to:
[0065] Obtain the category corresponding to the audio data;
[0066] Determine the target optimization processing method for the audio data from at least one optimization processing method corresponding to the category;
[0067] Optimize the audio data according to the target optimization processing method to generate target audio.
[0068] In one embodiment of the present disclosure, determining a target optimization processing method for audio data from at least one optimization processing method corresponding to a category includes:
[0069] Query at least one published audio corresponding to the audio data according to the category, and obtain the like rate of at least one published audio;
[0070] Determine the optimization processing method corresponding to the published audio with the highest like rate as the target optimization processing method.
[0071] In one embodiment of the present disclosure, determining a target optimization processing method for audio data from at least one optimization processing method corresponding to a category includes:
[0072] Obtain the user identity information corresponding to the audio data;
[0073] For each optimization processing method, obtain the historical usage times corresponding to the user identity information;
[0074] Determine the optimization processing method with the highest historical usage times as the target optimization processing method.
[0075] In one embodiment of the present disclosure, the connection module 31 is specifically configured to:
[0076] Determine a target area with access permission from multiple areas in the vehicle according to the current vehicle state;
[0077] When the location information of the mobile terminal is in the target area, connect to the mobile terminal through the in-vehicle communication network;
[0078] Otherwise, reject the mobile terminal from accessing the in-vehicle communication network.
[0079] In one embodiment of the present disclosure, the control device of the in-vehicle KTV further includes:
[0080] A position detection module, configured to obtain the emission direction and signal strength corresponding to the connection request;
[0081] Determine the location information of the mobile terminal according to the emission direction and signal strength;
[0082] Determine the area where the location information of the mobile terminal is located from multiple areas in the vehicle.
[0083] In one embodiment of the present disclosure, the connection module 31 is specifically configured to: connect to the mobile terminal through at least two connection methods;
[0084] The receiving module 32 is specifically configured to: for each connection mode, determine the data type corresponding to the connection mode; and perform sound source decoding processing on the audio data according to a decoding mode corresponding to the data type.
[0085] In one embodiment of the present disclosure, the control device of the vehicle-mounted KTV further includes:
[0086] The publishing module is used to input the audio data into the pre-trained generative model for processing and generate style information corresponding to the audio data;
[0087] Optimizing the information to be published associated with the audio data based on the style information;
[0088] Generate the audio to be published and upload it based on the audio data and the optimized information to be published.
[0089] In one embodiment of the present disclosure, the control device of the vehicle-mounted KTV further includes:
[0090] A voice input detection module, configured to, when voice input data is detected, obtain the instruction type corresponding to the voice input data;
[0091] The playback volume of the speakers in the target area is controlled respectively according to the instruction type.
[0092] In one embodiment of the present disclosure, the control device of the vehicle-mounted KTV further includes:
[0093] Fatigue detection module, used to detect driver fatigue during vehicle driving and obtain detection results;
[0094] The playback volume of the speakers in the target area is controlled respectively according to the detection results.
[0095] The control device for the car KTV provided in the embodiments of the present disclosure can execute any of the control methods for the car KTV provided in the embodiments of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method. For details not fully described in the embodiments of the device of the present disclosure, please refer to the description of any method embodiment of the present disclosure.
[0096] An electronic device provided by an embodiment of the present disclosure includes one or more processors and a memory. The processor may be a central processing unit (CPU) or other forms of processing units with data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions. The memory may include one or more computer program products, and the computer program products may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory, etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor may run the program instructions to implement the methods of the embodiments of the present disclosure above and / or other desired functions. Various contents such as input signals, signal components, noise components, etc. may also be stored in the computer-readable storage medium.
[0097] In one example, the electronic device may further include: an input device and an output device, and these components are interconnected through a bus system and / or other forms of connection mechanisms. In addition, the input device may include, for example, a keyboard, a mouse, etc. The output device may output various information to the outside, including the determined distance information, direction information, etc. The output device may include, for example, a display, a speaker, a printer, and a communication network and its connected remote output devices, etc. In addition, according to specific application scenarios, the electronic device may further include any other appropriate components such as a bus, an input / output interface, etc.
[0098] In addition to the above methods and devices, an embodiment of the present disclosure may also be a computer program product, which includes computer program instructions that cause the processor to execute any method provided by the embodiment of the present disclosure when the computer program instructions are run by the processor.
[0099] The computer program product may be written in any combination of one or more programming languages to write program code for performing the operations of the embodiments of the present disclosure. The programming languages include object-oriented programming languages such as Java, C++, etc., and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computing device, partially on the user's device, executed as an independent software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0100] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium storing computer program instructions, which, when run by a processor, cause the processor to execute any method provided by the embodiments of the present disclosure.
[0101] The computer-readable storage medium may adopt any combination of one or more readable media. The readable media may be a readable signal medium or a readable storage medium. The readable storage medium may include, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0102] It should be noted that, in this document, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising a..." does not exclude the existence of additional identical elements in the process, method, article or device comprising the element.
[0103] The above are only specific embodiments of the present disclosure, enabling those skilled in the art to understand or implement the present disclosure. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to these embodiments described herein, but rather will be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A control method for an in-vehicle KTV, characterized in that, The method includes: In response to receiving a connection request from a mobile terminal, connecting to the mobile terminal through a pre-constructed in-vehicle communication network; When receiving a microphone permission opening message sent by the mobile terminal, enabling the in-vehicle KTV function and receiving audio data sent by the mobile terminal; Sending the audio data to an audio system for playback.
2. The method according to claim 1, wherein Before sending the audio data to the audio system for playback, the method further includes: Obtaining the category corresponding to the audio data; Determining a target optimization processing method for the audio data from at least one optimization processing method corresponding to the category; Optimizing the audio data according to the target optimization processing method to generate target audio.
3. The method according to claim 2, wherein The determining the target optimization processing method for the audio data from at least one optimization processing method corresponding to the category includes: Querying at least one published audio corresponding to the audio data according to the category and obtaining the like rate of the at least one published audio; Determining, as the target optimization processing method, the optimization processing method corresponding to the published audio with the highest like rate.
4. The method according to claim 2, wherein The determining the target optimization processing method for the audio data from at least one optimization processing method corresponding to the category includes: Obtaining user identity information corresponding to the audio data; For each of the optimization processing methods, obtaining the historical usage times corresponding to the user identity information; Determining, as the target optimization processing method, the optimization processing method with the highest historical usage times.
5. The method according to claim 1, wherein The connecting to the mobile terminal through a pre-constructed in-vehicle communication network includes: Determining a target area with access permission from multiple areas inside the vehicle according to the current vehicle state; When the location information of the mobile terminal is in the target area, connecting to the mobile terminal through the in-vehicle communication network; Otherwise, rejecting the mobile terminal from accessing the in-vehicle communication network.
6. The method according to claim 5, wherein The vehicle-mounted communication module includes multiple antennas corresponding to seat positions. After receiving a connection request from a mobile terminal, the method further includes: Obtaining the emission direction and signal strength corresponding to the connection request; Determining the location information of the mobile terminal according to the emission direction and signal strength; Determining the area where the location information of the mobile terminal is located from multiple areas inside the vehicle.
7. The method according to claim 1, wherein The connecting to the mobile terminal through a pre-constructed in-vehicle communication network includes: Connecting to the mobile terminal through at least two connection methods; The receiving the audio data sent by the mobile terminal includes: For each connection method, determining the data type corresponding to the connection method; Performing sound source decoding processing on the audio data according to the decoding method corresponding to the data type.
8. The method according to claim 1, characterized in that After sending the audio data to the audio system for playback, it further includes: Inputting the audio data into a pre-trained generation model for processing to generate style information corresponding to the audio data; Optimizing the to-be-published information associated with the audio data according to the style information; Generating to-be-published audio according to the audio data and the optimized to-be-published information and uploading it.
9. The method according to claim 5, wherein After sending the audio data to the sound system for playing, it further includes: When detecting voice input data, obtaining the instruction type corresponding to the voice input data; Controlling the playing volume of the speakers in the target area respectively according to the instruction type; And / or, performing fatigue detection on the driver during vehicle driving to obtain a detection result; Controlling the playing volume of the speakers in the target area respectively according to the detection result.
10. A control device for an in-vehicle KTV, characterized in that, It includes: A connection module, configured to respond to a connection request received from a mobile terminal and connect to the mobile terminal through a pre-constructed in-vehicle communication network; A receiving module, configured to enable the in-vehicle KTV function and receive the audio data sent by the mobile terminal when receiving a microphone permission opening message sent by the mobile terminal; A playing module, configured to send the audio data to the sound system for playing.