Vehicle control method and device, vehicle and storage medium
By determining the sound area of different display screens in the vehicle and mapping external sound source equipment, the problem of mutual interference between multiple display screens when playing different audio through one speaker is solved, improving the user experience.
Patent Information
- Application Number
- CN202411602887.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-11
- Publication Date
- 2025-03-25
AI Technical Summary
In a vehicle, when multiple display screens play different audio through one speaker, the audio will interfere with each other, bringing a bad experience to the user.
By mapping the sound area determination of different display screens and external sound source devices in the vehicle, it is ensured that the external sound source devices corresponding to each display screen play audio independently, thereby avoiding audio interference.
It effectively avoids the mutual interference of different audios when playing in the same speaker, improves the user experience and ensures that the audio playback of each display is clear and stable.
Smart Images

Figure CN119690374A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicles, and more specifically, to a vehicle control method, device, vehicle and storage medium in the field of vehicles. Background Art
[0002] At present, with the continuous improvement and improvement of vehicle functions and vehicle equipment, the display screens in the vehicle include not only the central control screen installed in the driver's seat, but also the co-pilot screen, rear screen and ceiling screen.
[0003] In the related art, multiple display screens correspond to at least one speaker, and based on the at least one speaker, multiple display screens can play audio. However, in the case where multiple display screens correspond to one speaker, if multiple display screens need to play different audio at the same time, the different audio will be played from the same speaker, causing the different audio to interfere with each other, thereby bringing a bad experience to the user. Summary of the invention
[0004] The present application provides a vehicle control method, device, vehicle and storage medium. The method can determine different sound zones in the vehicle according to different display screens, thereby determining each external sound source device corresponding to each display screen by calling the sound zones, thereby preventing different audios from interfering with each other when different display screens play different audios at the same time.
[0005] In a first aspect, a vehicle control method is provided, characterized in that the method comprises:
[0006] In a case where the number of display screens of the vehicle does not match the number of external audio source devices that have established connections with the display screens, in response to an audio playback operation on the target display screen, obtaining a screen identifier of the target display screen, the target display screen being any display screen among the multiple display screens of the vehicle that has established connections with the external audio source device;
[0007] Based on the screen identifier of the target display screen, determining a target sound zone corresponding to the target display screen, wherein the target sound zone is used to indicate an audio output channel corresponding to a target external sound source device connected to the target display screen;
[0008] Based on the target sound zone, the target external sound source device is controlled to play the audio corresponding to the audio playing operation.
[0009] Through the above technical solution, the method can obtain the screen identification of the target display screen in response to the audio playback operation on the target display screen when the number of display screens of the vehicle does not match the number of external audio source devices that have been connected to the display screens, and the target display screen is any display screen that is connected to the external audio source device among the multiple display screens of the vehicle. Based on the screen identification of the target display screen, the target sound zone corresponding to the target display screen is determined, and the target sound zone is used to indicate the audio output channel corresponding to the target external audio source device. Since the target display screen corresponds to the target sound zone, and the target sound zone indicates the audio output channel corresponding to the target external audio source device, the target external audio source device can be matched with the target display screen based on the target sound zone. In this case, the external audio source device is controlled to play the audio corresponding to the audio playback operation, so that the audio is played from the external audio source device corresponding to the target display screen to avoid interference between different audios.
[0010] In combination with the first aspect, in some possible implementations, determining the target sound zone corresponding to the target display screen based on the screen identifier of the target display screen includes:
[0011] Get the zone identifier of each zone;
[0012] Establishing a mapping relationship between each of the screen identifiers and each of the audio zone identifiers;
[0013] Based on the mapping relationship between each of the screen identifiers and each of the sound zone identifiers, a target sound zone corresponding to the target display screen is determined.
[0014] In combination with the first aspect, in some possible implementations, the
[0015] Based on the target sound zone, controlling the target external sound source device to play the audio corresponding to the audio playback operation includes:
[0016] Obtaining each device identification of each of the external audio source devices;
[0017] Establishing a correspondence between each of the audio zone identifiers and each of the device identifiers;
[0018] Determining a target external sound source device corresponding to the target sound zone based on the correspondence between the respective sound zone identifiers and the respective device identifiers;
[0019] The target external audio source device is controlled to play the audio corresponding to the audio playing operation.
[0020] In combination with the first aspect, in some possible implementations, after controlling the target external audio source device to play the audio corresponding to the audio playback operation, the method further includes:
[0021] In the case where the connection between the target display screen and the target external sound source device is disconnected, determining whether the target display screen is connected to an external sound source device other than the target external sound source device;
[0022] In a case where the target display screen is connected to an external sound source device other than the target external sound source device, based on the screen identifier of the target display screen, determining again the target sound zone corresponding to the target display screen;
[0023] Based on the correspondence between the sound zone identifier of the target sound zone and the device identifier of the external sound source device, the target external sound source device corresponding to the target sound zone is determined again.
[0024] In combination with the first aspect, in some possible implementations, controlling the target external audio source device to play the audio corresponding to the audio playback operation based on the target audio zone includes:
[0025] In the case where there are multiple target sound zones, displaying device information of the target external sound source devices corresponding to the multiple target sound zones on the display screen;
[0026] In response to a selection operation on device information of the target external audio source device, the target external audio source device is controlled to play audio corresponding to the audio playback operation, wherein the device information is used to identify the external audio source device.
[0027] In combination with the first aspect, in some possible implementations, controlling the target external audio source device to play the audio corresponding to the audio playback operation based on the target audio zone includes:
[0028] Determine the audio type of the audio content and the audio source type of each of the external audio source devices corresponding to each of the target audio zones;
[0029] Determining playback parameters of the audio content based on the audio type and the audio source type;
[0030] Based on the playback parameters, each of the external audio source devices is controlled to play the audio corresponding to the audio playback operation.
[0031] In a second aspect, a vehicle control system is provided, the system comprising:
[0032] The client is used for sending the screen identifier of the target display screen and a play instruction to the audio server in response to an audio play operation on the target display screen when the number of display screens of the vehicle does not match the number of external audio source devices that have established connections with the display screens, wherein the target display screen is any display screen among the multiple display screens of the vehicle that has established connections with the external audio source device, and the play instruction is an instruction generated based on the play operation;
[0033] The audio server is used to receive the screen identifier of the target display screen and the play instruction sent by the client; determine the target sound zone corresponding to the target display screen based on the screen identifier of the target display screen; and play the audio corresponding to the audio play operation based on the target sound zone and the play instruction.
[0034] In a third aspect, a vehicle control device is provided, the device comprising:
[0035] an acquisition module, configured to acquire a screen identifier of a target display screen in response to an audio playback operation on the target display screen when the number of display screens of the vehicle does not match the number of external audio source devices that have established connections with the display screens, wherein the target display screen is any display screen that has established connections with an external audio source device among the multiple display screens of the vehicle;
[0036] A determination module, configured to determine a target sound zone corresponding to the target display screen based on a screen identifier of the target display screen, wherein the target sound zone is used to indicate an audio output channel corresponding to a target external sound source device connected to the target display screen;
[0037] The control module is used to control the target external audio source device to play the audio corresponding to the audio playback operation based on the target audio zone.
[0038] In a fourth aspect, a vehicle is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the method executed by the vehicle back door control method.
[0039] In a fifth aspect, a computer program product is provided, which includes: a computer program code, which, when executed on a computer, enables the computer to execute the method executed by the above-mentioned vehicle tailgate control method.
[0040] In a sixth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method executed by the above-mentioned vehicle tailgate control method. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 It is a schematic diagram of an implementation environment of a vehicle control method provided in an embodiment of the present application;
[0042] Figure 2 is a schematic diagram of an implementation environment of another vehicle control method provided in an embodiment of the present application;
[0043] Figure 3 It is a schematic diagram of the composition structure of a vehicle control system provided by an embodiment of the present application;
[0044] Figure 4 is a schematic flow chart of a vehicle control method provided in an embodiment of the present application;
[0045] Figure 5 is a schematic flow chart of another vehicle control method provided in an embodiment of the present application;
[0046] Figure 6 It is a schematic diagram of an implementation environment of a vehicle control method provided in an embodiment of the present application;
[0047] Figure 7 is a schematic flow chart of another vehicle control method provided in an embodiment of the present application;
[0048] Figure 8 is a structural schematic diagram of a vehicle control device provided in an embodiment of the present application;
[0049] Fig. 9 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION
[0050] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0051] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0052] At present, in the vehicle industry, in order to meet the entertainment needs of users in different positions in the car, in addition to the central control display screen installed in the main driver's seat, the vehicle can also install a passenger display screen in the passenger seat, a rear display screen in the rear seat, and a ceiling screen on the top of the vehicle.
[0053] However, in the related art, Figure 1 As shown, multiple display screens are connected to one speaker. When the display screens are connected to the speaker, a sound zone corresponding to the one speaker is generated. If multiple display screens play different audio at the same time, different audio will be played from the same speaker, so multiple different audios will interfere with each other, giving users a bad experience.
[0054] Based on the above problems, an embodiment of the present application provides a vehicle control method, which can obtain the screen identification of the target display screen in response to an audio playback operation on the target display screen when the target display screen of the vehicle is connected, and determine the target sound zone corresponding to the target display screen based on the screen identification of the target display screen, and the target sound zone is used to indicate the audio output channel corresponding to the external sound source device. Since the target display screen corresponds to the target sound zone, and the target sound zone indicates the audio output channel corresponding to the external sound source device, the external sound source device can be matched with the target display screen based on the target sound zone. In this case, the external sound source device is controlled to play the audio corresponding to the audio playback operation, so that the audio is played from the external sound source device corresponding to the target display screen, avoiding interference between different audios.
[0055] Figure 2 It is a schematic diagram of an implementation environment of another vehicle control method provided in an embodiment of the present application.
[0056] For example, Figure 2 As shown, the implementation environment includes a microcontroller unit (MCU) 210, a display screen 220 ( Figure 2 Only three display screens 220 are shown), external audio devices 230 ( Figure 2 Only two external sound source devices 230) and an internal audio device 240 are shown.
[0057] The micro control unit 210 is an important control unit of the vehicle, which can obtain relevant data of the vehicle and control the vehicle to perform corresponding operations based on the relevant data. For example, the micro control unit 210 can obtain the play operation of the display screen 220 and control at least one external audio device 230 of the vehicle to play audio based on the operation.
[0058] The display screen 220 is used to display basic information, multimedia information or user interface of the vehicle. For example, the display screen 220 displays a music playlist, plays a video or displays incoming call information. In some embodiments, the display screen 220 has a touch function to provide an interactive interface for the user. In some embodiments, the display screen 220 can be a dashboard display screen, a central control display screen, a co-pilot display screen, a rear display screen or a ceiling screen. Among them, the rear display screen is usually installed on the back of the front seat to provide entertainment services for the rear passengers. The ceiling screen is usually installed on the ceiling and hung above the seat to provide entertainment services for the rear passengers or the co-pilot passengers.
[0059] The external audio source device 230 is a device that is separately connected to the vehicle audio system. In some embodiments, the external audio source device 230 may be a Bluetooth speaker, a Bluetooth headset, or a wired headset. In some embodiments, each external audio source device 230 may be connected to each display screen 220. For example, a Bluetooth headset is connected to the central control display screen, a Bluetooth speaker is connected to the co-pilot display screen, and a wired headset is connected to the rear display screen.
[0060] The internal sound source device 240 is a device integrated into the vehicle audio system. For example, the internal sound source device 240 may be a speaker or a radio. In some embodiments, the internal sound source device 240 may be connected to multiple display screens 220 at the same time. For example, the speaker is connected to the central control display screen, the co-pilot display screen, and the rear display screen.
[0061] Figure 3 It is a schematic diagram of the composition structure of a vehicle control system provided in an embodiment of the present application.
[0062] For example, Figure 3 As shown, the control system of the vehicle includes a client (Client) 301 and an audio server (Server) 302.
[0063] The client 301 is used to process the input of the user interface (UI) and display the user interface.
[0064] The audio server 302 is used to execute the play instruction of multimedia play. The client 301 interacts with the audio server 302 through MediaSession.
[0065] Among them, MediaSession is a class provided by the Android system for managing multimedia playback sessions.
[0066] With respect to the composition structure of the control system of the above-mentioned vehicle, when the vehicle implements the method of the embodiment of the present application, the specific process is roughly summarized as follows:
[0067] The client 301 displays a user interface for interaction with the user. The client 301 responds to the user's play operation on the user interface, generates a play instruction based on the play operation, and sends the play instruction to the audio server 302.
[0068] After receiving the play instruction sent by the client 301, the audio server 302 plays the audio corresponding to the audio play operation based on the play instruction.
[0069] Figure 4 It is a schematic flow chart of a vehicle control method provided in an embodiment of the present application.
[0070] For example, Figure 4 As shown, taking the execution subject as a micro control unit as an example, the method 400 includes steps 401 to 403.
[0071] Step 401, when the number of display screens of the vehicle does not match the number of external audio source devices that have established connections with the display screens, in response to an audio playback operation on a target display screen, a screen identifier of a target display screen is obtained, where the target display screen is any display screen among multiple display screens of the vehicle that has established connections with an external audio source device.
[0072] It should be understood that, in the case where the number of display screens of the vehicle does not match the number of external audio source devices that have established connections with the display screens, in response to an audio playback operation on the target display screen, the microcontroller cannot determine which external audio source device the target display screen corresponds to, and thus cannot determine from which external audio source device the audio is played, so the microcontroller needs to obtain the screen identifier of the target display screen. For example, in the case where the number of display screens of the vehicle is three, and the number of external audio source devices that have established connections with the display screens is two, in response to an audio playback operation on display screen 1, the microcontroller cannot determine which external audio source device display screen 1 corresponds to.
[0073] The target display screen is a display screen where the audio is expected to be played, for example, the target display screen may be a central control display screen, a co-pilot display screen, a rear display screen, or a ceiling screen.
[0074] The external audio source device is a device that plays audio, for example, a Bluetooth speaker, a Bluetooth headset, or a wired headset.
[0075] The audio playback operation is used to play the target audio. In some embodiments, the audio playback operation is a click operation on a control on the target display screen, a voice command sent to the target display screen, or a gesture operation on the target display screen. For example, a user sends a voice command to the target display screen "play light music on the ceiling screen", and the microcontroller unit responds to the voice command to obtain the screen identification of the ceiling screen.
[0076] The screen identifier is a unique mark for identifying the target display screen. In some embodiments, the screen identifier can be the name, unique identification code or serial number of the target display screen, etc., which is not limited in the embodiments of the present application.
[0077] Step 402: determining a target audio zone corresponding to the target display screen based on the screen identifier of the target display screen, where the target audio zone is used to indicate an audio output channel corresponding to a target external audio source device connected to the target display screen.
[0078] It should be understood that when the target display screen of the vehicle is connected to an external sound source device, a set sound zone (Zone) corresponding to the external sound source device is generated.
[0079] Audio zones are used to indicate areas in the vehicle that have independently controlled audio output.
[0080] For example, when the ceiling screen is connected to the Bluetooth headset 1, it is determined that the sound zone 1 corresponds to the ceiling screen, and the sound zone 1 corresponding to the ceiling screen is an area for independently controlling audio output.
[0081] The target audio zone is used to indicate the audio output channel corresponding to the target external audio source device connected to the target display screen. The audio output channel is the output channel that controls the target display screen to transmit audio to the target external audio source device. The target external audio source device is the audio source device corresponding to the target audio zone.
[0082] For example, when audio zone 1 is connected to Bluetooth headset 2, it is determined that the target external audio source device corresponding to audio zone 1 is Bluetooth headset 2.
[0083] It should be understood that since the sound zone can indicate the audio output channel corresponding to the target external sound source device, the external sound source device playing the audio can be determined based on the sound zone. In this case, the target display screen corresponds to the target sound zone, and the target sound zone corresponding to the target display screen can be determined based on the screen identification of the target display screen.
[0084] Step 403: Based on the target audio zone, control the target external audio source device to play the audio corresponding to the audio playback operation.
[0085] The audio playback operation is an audio playback operation on a target display screen.
[0086] Since the target sound zone is used to indicate the audio output channel corresponding to the target external sound source device connected to the target display screen, when the target display screen corresponds to the target sound zone, the target external sound source device corresponding to the target display screen can be determined based on the target sound zone. In this case, based on the target sound zone, the target external sound source device can be controlled to play the audio corresponding to the audio playback operation on the target display screen.
[0087] An embodiment of the present application provides a method for controlling a vehicle, which can, in the case where the number of display screens of the vehicle does not match the number of external audio source devices that have established connections with the display screens, in response to an audio playback operation on a target display screen, obtain the screen identification of a target display screen, the target display screen being any display screen among multiple display screens of the vehicle that has established connections with an external audio source device, and based on the screen identification of the target display screen, determine a target audio zone corresponding to the target display screen, the target audio zone being used to indicate an audio output channel corresponding to the target external audio source device. Since the target display screen corresponds to the target audio zone, and the target audio zone indicates an audio output channel corresponding to the target external audio source device, based on the target audio zone, the target external audio source device can be matched to the target display screen, in which case the external audio source device is controlled to play the audio corresponding to the audio playback operation, so that the audio is played from the external audio source device corresponding to the target display screen, to avoid interference between different audios.
[0088] Figure 5 It is a schematic flow chart of another vehicle control method provided in an embodiment of the present application.
[0089] It should be noted that the above steps 401-403 are a simple description of a vehicle control method provided in an embodiment of the present application. The following will provide a more detailed description of a vehicle control method provided in an embodiment of the present application with reference to some examples.
[0090] See also Figure 5 Taking the execution subject as a micro control unit as an example, the method includes the following steps 501 to 504.
[0091] Step 501, when the number of display screens of the vehicle does not match the number of external audio source devices that have established connections with the display screens, in response to an audio playback operation on a target display screen, a screen identifier of a target display screen is obtained, where the target display screen is any display screen among multiple display screens of the vehicle that has established connections with an external audio source device.
[0092] It is understandable that the specific implementation of obtaining the screen identifier of the target display screen can refer to the related description of the aforementioned step 401, which will not be described in detail here.
[0093] Step 502: determining a target audio zone corresponding to the target display screen based on the screen identifier of the target display screen, where the target audio zone is used to indicate an audio output channel corresponding to a target external audio source device connected to the target display screen.
[0094] It should be understood that when the target display screen of the vehicle is connected to the target external sound source device, a sound zone is generated. Different sound zones correspond to different spatial ranges in the vehicle compartment. In addition, different sound zones correspond to different display screens in the vehicle.
[0095] Among them, the audio output channel is a transmission path that controls the target display screen to transmit audio to the target external audio source device.
[0096] For example, when the display screen 1 is connected to the external sound source device 1 , the target sound zone corresponding to the display screen 1 is determined to be the sound zone 1 , that is, the audio is transmitted from the display screen 1 to the external sound source device 1 through the sound zone 1 .
[0097] In some embodiments, the audio zones are divided according to the correspondence between the display screen on the vehicle and the external audio source device. For example, if Bluetooth headset 1 is connected to the central control display screen, it is determined that the central control display screen corresponds to audio zone 1. If Bluetooth headset 2 is connected to the central control display screen, it is determined that the central control display screen corresponds to audio zone 2.
[0098] In a possible implementation, a sound zone identifier of each sound zone is obtained; a mapping relationship between each screen identifier and each sound zone identifier is established; and based on the mapping relationship between each screen identifier and each sound zone identifier, a target sound zone corresponding to a target display screen is determined.
[0099] The zone identifier is a unique mark used to identify the target zone. In some embodiments, the zone identifier can be a number, a string, or other types of identifiers.
[0100] It should be understood that when the target display screen of the vehicle is connected to an external sound source device, a sound zone connected to the external sound source device is generated. In this case, the sound zone identifier of the sound zone can be obtained.
[0101] In some embodiments, when a target display screen of a vehicle is connected to an external sound source device, a screen identifier of the target display screen and a sound zone to which the external sound source device is connected are mapped into a dictionary.
[0102] In some embodiments, the interface function (get ZoneId By DisplayId) is called to obtain the screen identifier of the target display screen, and the mapping relationship between the screen identifier and the audio zone identifier is searched in the dictionary to obtain the audio zone identifier corresponding to the screen identifier. Wherein, ZoneId represents the audio zone identifier.
[0103] Among them, get ZoneId By DisplayId is used to obtain the audio zone identifier in different audio zones.
[0104] It should be understood that in actual applications, one or more parameters can be passed through the getZoneId By DisplayId function. For example, getZoneId By DisplayId can pass the screen ID of the target display screen, so the mapping relationship between the screen ID and the audio zone ID can be found based on getZoneId By DisplayId.
[0105] In some embodiments, a target sound zone corresponding to the target display screen is determined based on a sound zone identifier corresponding to the screen identifier.
[0106] In this implementation, the sound zone identifier of each sound zone is obtained, and a mapping relationship between the screen identifier and each sound zone identifier is established. Based on the mapping relationship between the screen identifier and each sound zone identifier, the target sound zone corresponding to the target display screen can be quickly determined.
[0107] Step 503: Based on the target audio zone, control the target external audio source device to play the audio corresponding to the audio playback operation.
[0108] It should be understood that after determining the target sound zone corresponding to the target display screen, since the target sound zone corresponds to the target external sound source device, based on the target sound zone, the micro control unit determines to control the target external sound source device corresponding to the target display screen to play the audio corresponding to the audio playback operation.
[0109] The following describes the content of the audio corresponding to the audio playback operation of controlling the target external audio source device to play the audio based on the target audio zone.
[0110] In a possible implementation, each device identifier of each external sound source device is obtained; a correspondence between each sound zone identifier and each device identifier is established; based on the correspondence between each sound zone identifier and each device identifier, a target external sound source device corresponding to a target sound zone is determined; and the target external sound source device is controlled to play audio corresponding to the audio playback operation.
[0111] The device identifier is a unique mark for identifying the external sound source device. In some embodiments, the device identifier can be a unique identification code or serial number of the external sound source device, etc., which is not limited in the embodiments of the present application.
[0112] In some embodiments, when the target display screen is connected to the target external sound source device, a sound zone and a sound zone identifier are generated. After obtaining the sound zone identifier of each sound zone and the device identifier of each external sound source device, each sound zone identifier and each device identifier are mapped correspondingly in a mapping table, thereby generating a correspondence between each sound zone identifier and each device identifier.
[0113] For example, each audio zone identifier and each device identifier are mapped in a dictionary, and the corresponding relationship between each audio zone identifier and each device identifier is stored based on the dictionary.
[0114] It should be understood that since the screen identifiers of each display screen correspond to each sound zone identifier, and each sound zone identifier corresponds to each device identifier, when the target display screen responds to an audio playback operation, the target sound zone corresponding to the target display screen can be determined based on the sound zone identifier corresponding to the screen identifier of the target display screen, and the target external sound source device corresponding to the target sound zone can be determined based on the correspondence between the sound zone identifier and the device identifier of the target sound zone.
[0115] Under this implementation, since each sound zone identifier corresponds to the device identifier of each external sound source device, the device identifier of the target external sound source device can be determined based on the sound zone identifier of the target sound zone, thereby determining the target external sound source device corresponding to the target sound zone, and then controlling the target external sound source device to play audio, so that the micro control unit can determine from which external sound source device to play audio.
[0116] In order to explain the above implementation more clearly, the above implementation is explained in several parts below.
[0117] The first part describes the contents of obtaining the device identification of the external audio source device.
[0118] In some embodiments, when the external audio source device is a Bluetooth device, the device identifier of the external audio source device is obtained based on the get_device_identifier function.
[0119] For example, if the external audio source device is a Bluetooth headset, the name of the Bluetooth headset is obtained through the get_device_identifier function.
[0120] It should be understood that for different types of audio source devices, the manner of obtaining the device identification of the external audio source device is different.
[0121] The second part describes the content of determining the target external sound source device corresponding to the target sound zone based on the correspondence between each sound zone identifier and each device identifier.
[0122] In some embodiments, in the mapping table, an external sound source device corresponding to the sound zone identifier of the target sound zone is searched, and the external sound source device is determined as the target external sound source device.
[0123] For example, the sound zone identifier of the target sound zone is sound zone identifier 1, and the device identifier corresponding to the sound zone identifier 1 is found in the dictionary as device identifier a. In this case, the target external sound source device 1 can be determined based on device identifier a.
[0124] It should be understood that each zone identifier corresponds to each device identifier. Therefore, after determining the zone identifier of the target zone, the external sound source device corresponding to the target zone can be determined based on the zone identifier of the target zone.
[0125] The third part describes the content of the audio corresponding to the audio playback operation of controlling the target external audio source device to play the audio.
[0126] It should be understood that after determining the target external audio source device, the micro control unit can determine which external audio source device to play the audio from, and control the target external audio source device to play the audio, thereby preventing the audio on the target display screen from being played from other external audio source devices.
[0127] In some embodiments, the micro control unit sends the audio corresponding to the audio playback operation to the target external audio source device, and controls the target external audio source device to play the audio.
[0128] For example, the microcontroller unit sends the audio on the ceiling screen to the Bluetooth headset and controls the Bluetooth headset to play the audio.
[0129] In this embodiment, based on the sound zone identifier of the target sound zone, the target external sound source device corresponding to the target sound zone is determined, so that each target screen corresponds to each target sound zone, and each target sound zone corresponds to each target external sound source device, so that each target screen plays audio from the corresponding target external sound source device.
[0130] It should be understood that in actual applications, the target display screen may be connected to multiple external audio source devices at the same time. In this case, the target display screen will correspond to multiple target sound zones, so the microcontroller unit needs to determine which external audio source device to control to play the audio corresponding to the audio playback operation.
[0131] The following describes how to control the target external audio source device to play the audio content corresponding to the audio playback operation when the number of the target audio zones is multiple.
[0132] In a possible implementation, when there are multiple target sound zones, device information of target external sound source devices corresponding to the multiple target sound zones is displayed on a display screen; in response to a selection operation on the device information of the target external sound source device, the target external sound source device is controlled to play audio corresponding to the audio playback operation, and the device information is used to identify the external sound source device.
[0133] The device information includes device identification, device name, device model, device serial number, etc. The selection operation is an operation of selecting a target external audio source device corresponding to a target audio zone.
[0134] In this implementation, when the target display screen corresponds to multiple target external audio source devices, a choice is provided to the user on the target display screen, allowing the user to determine from which external audio source device to play audio, thereby providing the user with a personalized experience.
[0135] In order to explain the above implementation more clearly, the above implementation is explained in several parts below.
[0136] The first part describes the content of displaying device information of target external sound source devices corresponding to multiple target sound zones on a display screen when there are multiple target sound zones.
[0137] In some embodiments, when the target display screen is connected to multiple target external sound source devices, multiple target sound zones are generated.
[0138] For example, the central control display screen is connected to Bluetooth headset 1 and Bluetooth headset 2. In this case, the target sound zones corresponding to the central control display screen are sound zone 1 and sound zone 2.
[0139] It should be understood that when the target display screen is connected to multiple target external audio source devices, the micro control unit cannot determine which external audio source device to play the audio source from. In this case, the device information of the target external audio source device is displayed on the target display screen to provide the user with personalized selection.
[0140] For example, the central control display screen displays device name 1 of Bluetooth headset 1 corresponding to audio zone 1, and displays device name 2 of Bluetooth headset 2 corresponding to audio zone 2. The user can select which Bluetooth headset to play audio from based on device name 1 and device name 2.
[0141] In some embodiments, when there are multiple target sound zones, selection information of the target external sound source device is generated.
[0142] The selection information includes the selection text of the target external audio source device and the selection audio of the target external audio source device.
[0143] In some embodiments, the target external audio source device selection information is displayed on the target display screen based on the Toast component. Wherein, the Toast component is a simple message prompt box on the user interface. Based on the target external audio source device selection information, the target external audio source device can be selected. That is, when multiple external audio source devices are connected to the target display screen, the target external audio source device selection information can prompt the user to select which external audio source device to play audio, thereby bringing a personalized experience to the user.
[0144] The second part describes controlling the target external audio source device to play the audio content corresponding to the audio playback operation in response to the selection operation on the device information of the target external audio source device.
[0145] In some embodiments, the selection operation for the device information of the target external audio source device is a click operation on a button in the vehicle, a click operation on a control in a display screen, a voice command sent to the display screen, or a gesture operation on the display screen.
[0146] For example, the user issues a voice command to the display screen "play music from Bluetooth headset 1", and the microcontroller unit responds to the voice command and controls Bluetooth headset 1 to play the audio corresponding to the audio playback operation. This enables the audio to be played from a separate external audio source device, bringing a better experience to the user.
[0147] It should be understood that in actual application, the user is in the back row and both pairs of headphones are connected to the back row ceiling screen. In this case, it means that the user wants to share the same audio at the same time, so the micro control unit can control the two pairs of headphones to play the same audio corresponding to the audio playback operation at the same time.
[0148] In some embodiments, in response to a selection operation on device information of a target external audio source device, multiple target external audio source devices are controlled to play the same audio corresponding to the audio playback operation.
[0149] For example, the user issues a voice command to the display screen "play music from Bluetooth headset 1 and Bluetooth headset 2", and the microcontroller responds to the voice command and controls Bluetooth headset 1 and Bluetooth headset 2 to play the same audio corresponding to the audio playback operation. This enables Bluetooth headset 1 and Bluetooth headset 2 to play the same audio at the same playback progress. In this case, audio sharing between Bluetooth headset 1 and Bluetooth headset 2 is achieved, bringing a better experience to users.
[0150] It should be understood that in actual applications, when controlling each target external audio source device to play audio, the target external audio source device needs to determine audio parameters for playing the audio to provide the user with a better playback experience.
[0151] In one possible implementation, the audio type of the audio content and the sound source type of each external sound source device corresponding to each target sound zone are determined; playback parameters of the audio content are determined based on the audio type and the sound source type; and based on the playback parameters, each target external sound source device is controlled to play the audio corresponding to the audio playback operation.
[0152] The audio types include light music, pop music, rock music, etc. The audio source types include Bluetooth headsets, Bluetooth speakers, wired headsets, etc. The playback parameters include equalizer parameters, sound effect parameters, and volume parameters.
[0153] It should be understood that since different audio contents correspond to different audio types, different playback parameters are required to play different audio contents. In order to provide users with a personalized playback experience, the playback parameters of the audio contents are determined.
[0154] In order to explain the above implementation more clearly, the above implementation is explained in several parts below.
[0155] The first part describes the contents of determining the audio type of the audio content and the audio source type of each external audio source device corresponding to each target audio zone.
[0156] In some embodiments, metadata, file extension, or content of the audio content is identified to determine the audio type of the audio content.
[0157] For example, audio content includes information such as song titles and singer names, and the type of the audio content can be determined based on the metadata.
[0158] In some embodiments, audio features of audio content are acquired, and feature extraction is performed on the audio features to determine the audio type of the audio content.
[0159] It should be understood that after the audio type of the audio content is determined, in order to play the audio content with better playback parameters, it is necessary to determine the audio source type of the target external audio source device.
[0160] In some embodiments, information such as a device identification, attribute information, and connection protocol of the target external audio source device is obtained to determine the device type.
[0161] For example, if the target external audio source device uses the Bluetooth protocol, the external audio source device is determined to be a Bluetooth device, and based on the device identifier of the Bluetooth device, the Bluetooth device is determined to be a Bluetooth speaker.
[0162] In this implementation, the audio type of the audio content and the sound source type of each external sound source device corresponding to each target sound zone are determined, so that the playback parameters can be adjusted according to different audio types and sound source types.
[0163] The second part explains the content of determining the playback parameters of audio content based on the audio type and sound source type.
[0164] In some embodiments, different equalizer parameters, sound effect parameters, and volume parameters are set based on the audio type and the sound source type.
[0165] For example, if the audio type of the audio is light music, and the audio source type of the target external audio source device is a Bluetooth headset, the low-frequency gain of the audio is reduced and the high-frequency gain is increased based on the equalizer parameters. Since the audio of light music is soft, the audio of light music can be dynamically compressed within a preset range, so that the volume change of light music is smoother. In this case, the playback parameters of light music can bring users a better playback experience and make users more relaxed.
[0166] For another example, if the audio type of the audio is rock music, and the audio source type of the external audio source device is a Bluetooth speaker, the low-frequency gain of the audio is increased and the high-frequency gain is increased based on the equalizer parameters. Since the rhythm and impact of rock music are relatively large, in order to bring a better experience to the user, the surround sound of the Bluetooth speaker can be turned off, and the audio of the rock music is dynamically compressed within a preset range, so that the volume of the rock music changes dynamically. In this case, the playback parameters of rock music can enable the user to better feel the rhythm of rock music.
[0167] The third part describes the audio content corresponding to the audio playback operation of controlling each target external audio source device to play the audio based on the playback parameters.
[0168] In some embodiments, based on the equalizer parameters, sound effect parameters, and volume parameters in the playback parameters, each target external audio source device is controlled to play the audio corresponding to the audio playback operation to bring a personalized experience to the user.
[0169] In this case, different playback parameters can be determined according to different audio types and audio source types, and each target external audio source device is controlled to play audio according to the playback parameters, which can bring different playback experiences to the user.
[0170] In a possible implementation, based on the audio focus strategy, the target external audio source device is controlled to play the audio corresponding to the audio playback operation.
[0171] The audio focus policy is used to manage the priority of multiple applications when they request to play audio at the same time. The audio focus policy ensures that the output audio does not interfere with each other and allows technicians to set the priority of audio playback according to actual conditions.
[0172] In some embodiments, when the target display screen is connected to multiple audio source devices, the number of target audio zones is multiple. If multiple audio source applications on the target display screen play audio at the same time, the multiple audio source applications correspond to multiple audio focuses.
[0173] For example, the target display is connected to a Bluetooth headset and a speaker at the same time. If the audio source application a on the target display occupies audio focus a, and the target audio zone of the target display is audio zone 1, which corresponds to Bluetooth headset 1, then the audio source application a on the target display can play audio through the Bluetooth headset. If the audio source application b on the target display occupies audio focus b, and the target audio zone of the target display is audio zone 2, which corresponds to the speaker, then the audio source application b on the target display can play audio through the speaker.
[0174] Step 504: when the connection between the target display screen and the target external audio source device is disconnected, the target external audio source device corresponding to the target display screen is determined again.
[0175] It should be understood that in actual applications, when the connection between the target display screen and the target external audio source device is disconnected, the microcontroller unit cannot determine the target external audio source device corresponding to the target display screen, and therefore cannot play audio. To avoid the above situation, the target external audio source device corresponding to the target display screen is re-determined.
[0176] In a possible implementation, when the connection between the target display screen and the target external audio source device is disconnected, it is determined whether the target display screen is connected to an external audio source device other than the target external audio source device.
[0177] It should be understood that when the connection between the target display screen and the target external audio source device is disconnected, the target display screen may be connected to an internal audio source device or may be connected to an external audio source device other than the target external audio source device. In this case, different audio source devices correspond to different sound zones, and therefore the audio playing method is different.
[0178] For example, when the connection between the ceiling screen and the Bluetooth headset 1 is disconnected, the ceiling screen determines whether an external audio source device other than the Bluetooth headset 1 is connected to the ceiling screen.
[0179] In some embodiments, the target display screen is controlled to send connection confirmation information to external audio source devices other than the target external audio source device. When other external audio source devices feed back connection confirmation information to the target display screen, it is determined that the target display screen is connected to the external audio source device other than the target external audio source device.
[0180] In some embodiments, when other external audio source devices do not feed back connection confirmation information to the target display screen, it is determined that the target display screen is not connected to the external audio source device, and then the target display screen is connected to the internal audio source device.
[0181] In this implementation, even if the connection between the target display screen and the target external audio source device is disconnected, the target display screen can still switch to different external audio source devices to play audio according to different external audio source devices.
[0182] In order to explain the above implementation more clearly, the above implementation is explained in several parts below.
[0183] The first part describes the contents of determining whether the target display screen is connected to an external audio source device other than the target external audio source device when the other external audio source devices feed back connection confirmation information to the target display screen.
[0184] In a possible implementation, when the target display screen is connected to an external sound source device other than the target external sound source device, the target sound zone corresponding to the target display screen is determined again based on the screen identification of the target display screen; and the target external sound source device corresponding to the target sound zone is determined again based on the correspondence between the sound zone identification of the target sound zone and the device identification of the external sound source device.
[0185] In some embodiments, when the target display screen is connected to an external sound source device other than the target external sound source device, a mapping relationship between the screen identifier and each sound zone identifier is established, and based on the mapping relationship between the screen identifier and each sound zone identifier, the target sound zone corresponding to the target display screen is determined.
[0186] For example, Figure 6 As shown, when the display screen 1 is connected to the external sound source device 1, a mapping relationship between the screen identifier 1 of the display screen 1 and the sound zone identifier 1 is established, and the target sound zone 1 is determined based on the sound zone identifier 1, thereby establishing a corresponding relationship between the display screen 1 and the target sound zone 1.
[0187] It can be understood that, based on the correspondence between the sound zone identifier of the target sound zone and the device identifier of the external sound source device, the specific implementation method of re-determining the target external sound source device corresponding to the target sound zone can be referred to the relevant description of the aforementioned step 503, which will not be repeated here.
[0188] In this implementation, even if the connection between the target display screen and the target external sound source is disconnected, the target display screen can still redefine the target sound zone based on the screen identifier of the target display screen, and redefine the target external sound source device based on the target sound zone, thereby realizing the process of switching the target sound zone and switching the target external sound source device. That is, the efficiency of determining the target external sound source device is improved.
[0189] The second part explains the content of determining that the target display screen is not connected to the external audio source device when other external audio source devices have not provided information on connection to the target display screen.
[0190] It should be understood that when the target display screen is not connected to an external audio source device, it is determined that the target display screen is not connected to an external audio source device, and the target display screen is connected to an internal audio source device in the vehicle. In this case, if different audios are played at the same time, they will interfere with each other, so it is necessary to determine the priority between different audios based on the audio focus strategy to play the audios in order.
[0191] In a possible implementation, when the target display screen is not connected to an external audio source device other than the target external audio source device, the internal audio source device is controlled to play the audio corresponding to the audio playback operation based on the audio focus strategy.
[0192] In some embodiments, Figure 1 As shown, when the target display screen is not connected to an external sound source device other than the target external sound source device, it is determined that the target display screen is only connected to the internal sound source device. The target sound zone corresponding to the target display screen is the sound zone corresponding to the internal sound source device.
[0193] In some embodiments, the microcontroller controls the audio source application to request the audio focus, and after the audio source application obtains the audio focus, controls the audio source application to start playing the audio source.
[0194] For example, if application a requests the audio focus and after application a obtains the audio focus, application a is controlled to play the audio.
[0195] In some embodiments, the internal audio source device is controlled to play audio based on the priority of playing the audio.
[0196] In some embodiments, when the original audio source application occupies the audio focus, if the new audio source application seizes the audio focus, the micro control unit controls the new audio source application to play audio and controls the original audio source application to pause playing audio. That is, the priority of the new audio source application to play audio is higher than the priority of the original audio source application to play audio.
[0197] For example, in a vehicle, the audio being played is light music. If the audio on the target display is navigation voice and the navigation system starts navigating, the light music will be paused. In other words, the priority of playing navigation voice is higher than the priority of playing music.
[0198] In some embodiments, when the target display screen is connected to multiple audio source devices, each audio source application on the target display screen may correspond to each audio focus, and the playback priority of each audio focus is the same.
[0199] For example, the audio source application a on the target display screen occupies the audio focus a, the audio source application b on the target display screen occupies the audio focus b, and the audio source application a and the audio source application b can play audio at the same time. That is, the audio focus a and the audio focus b have the same priority.
[0200] In some embodiments, when the original audio source application occupies the audio focus, if the new audio source application cannot seize the audio focus, the micro control unit controls the original audio source application to play the audio. That is, the priority of the new audio source application to play the audio is lower than the priority of the original audio source application to play the audio.
[0201] For example, in a car, the audio being played is a call audio. At this time, the application playing music cannot seize the audio focus of the call audio, and needs to wait until the call audio is finished before the light music audio on the target display can be played. In other words, the priority of playing music is lower than the priority of playing call audio.
[0202] In this implementation, when the target display screen is not connected to an external audio source device other than the target external audio source device, the internal audio source device is controlled to play the audio corresponding to the audio playback operation based on the audio focus strategy. That is, the same audio source device is prevented from playing different audios at the same time, and different audios are prevented from interfering with each other.
[0203] An embodiment of the present application provides a method for controlling a vehicle, which can obtain the screen identification of the target display screen in response to an audio playback operation on the target display screen when the target display screen of the vehicle does not match the number of external audio source devices that have established a connection with the display screen, and the target display screen is any display screen among multiple display screens of the vehicle that has established a connection with an external audio source device. The target sound zone is determined based on the screen identification, and the target external audio source device is controlled to play the audio corresponding to the audio playback operation based on the target sound zone. When the connection between the target display screen and the target external audio source device is disconnected, the target external audio source device corresponding to the target display screen is determined again. That is, even if the connection between the target display screen and the target external audio source is disconnected, the target display screen can still redetermine the target sound zone based on the screen identification, thereby redetermining the target external audio source device, and then realizing the process of switching the target sound zone, thereby avoiding the situation where different audios interfere with each other when the target display screen plays different audios at the same time.
[0204] Figure 7 It is a schematic flow chart of another vehicle control method provided in an embodiment of the present application.
[0205] For example, Figure 7 As shown, the method includes the following steps 701 to 705.
[0206] Step 701, when the number of display screens of the vehicle does not match the number of external audio source devices that have established connections with the display screens, in response to an audio playback operation on a target display screen, the client sends a screen identifier of the target display screen and a playback instruction to the audio server.
[0207] The play instruction is an instruction generated based on the play operation. The play instruction is used to enable the audio server to control the external audio source device to play the audio corresponding to the audio play operation. The target display screen is any display screen among the multiple display screens of the vehicle that is connected to the external audio source device.
[0208] In some embodiments, in response to an audio playback operation on the user interface, the client sends a screen identifier of the target display screen and a playback instruction to the audio server based on the Media Session.
[0209] For example, in response to an audio playback operation on a ceiling screen, the client sends the screen identifier 1 of the ceiling screen and a playback instruction to the audio server.
[0210] Step 702: the audio server parses the screen identifier and the play instruction to obtain the audio zone identifier of the target audio zone based on the screen identifier.
[0211] In some embodiments, the audio server receives the screen identifier and the play instruction based on the Media Session.
[0212] In some embodiments, the audio server parses the play instruction and obtains the audio zone identifier of the target audio zone based on the screen identifier.
[0213] It can be understood that the specific implementation of the audio server obtaining the audio zone identifier of the target audio zone based on the screen identifier can refer to the related description of the aforementioned step 502, which will not be repeated here.
[0214] Step 703: The audio server plays the audio based on the audio focus strategy.
[0215] It is understandable that the specific implementation of the audio server playing audio based on the audio focus strategy can refer to the relevant description of the aforementioned steps 503 to 504, which will not be repeated here.
[0216] Step 704: The audio server sends the audio playing status to the client.
[0217] It should be understood that after the audio server plays the audio, the audio playing status can be sent to the client in order to allow the user to check whether the audio is playing.
[0218] In some embodiments, after the audio is played on the audio server, the audio playback state changes; the audio server determines the current playback progress of the audio; and the audio playback state is determined based on the current playback progress of the audio.
[0219] In some embodiments, after the audio is played on the audio server, the playback status of the audio is determined based on the playback time of the audio.
[0220] It should be understood that in this case, sending the audio playback status to the client can provide feedback to the user on whether the current audio is playing, so that the user can view and control the audio playback status.
[0221] Step 705: The client displays the audio playback status on the target display screen.
[0222] In some embodiments, the client displays the audio playback status on the target display screen via an audio card.
[0223] Among them, an audio card is a widget or card that displays audio-related information on a user interface. An audio card is usually used to display various information related to the currently playing audio so that users can easily view and control the audio playback status.
[0224] In some embodiments, a control is configured on the target display screen to display the audio playback status.
[0225] For example, the control may include a previous song control, a next song control, a play / pause control, a dragging "play progress bar" control, etc. The user may determine whether to switch the current audio to the next audio, or drag the play progress bar of the current audio based on the control.
[0226] Through the above method, the audio playing status is updated in real time on the user interface, so that the user can view the real-time audio playing status, control and select the audio to be played.
[0227] An embodiment of the present application provides a method for controlling a vehicle, wherein the number of display screens in the vehicle does not match the number of external audio source devices that have established connections with the display screens. In response to an audio playback operation on a target display screen, the client sends a screen identifier and a playback instruction of the target display screen to an audio server, and the audio server parses the screen identifier and the playback instruction to obtain a sound zone identifier of the target sound zone based on the screen identifier. In this case, the audio server can determine the target sound zone corresponding to the target display screen. Based on the target sound zone, the audio server plays audio based on an audio focus strategy. That is, through information interaction between the client and the audio server, the playback audio is better managed and controlled.
[0228] Figure 8 It is a structural schematic diagram of a vehicle control device provided in an embodiment of the present application.
[0229] For example, Figure 8 As shown, the device 800 includes:
[0230] The acquisition module 801 is used for acquiring the screen identifier of the target display screen in response to the audio playback operation on the target display screen when the number of display screens of the vehicle does not match the number of external audio source devices that have been connected to the display screens, wherein the target display screen is any display screen that is connected to the external audio source device among the multiple display screens of the vehicle;
[0231] A determination module 802 is used to determine a target sound zone corresponding to the target display screen based on the screen identifier of the target display screen, wherein the target sound zone is used to indicate an audio output channel corresponding to a target external sound source device connected to the target display screen;
[0232] The control module 803 is used to control the target external audio source device to play the audio corresponding to the audio playback operation based on the target audio zone.
[0233] In a possible implementation manner, the device 800 further includes:
[0234] An acquisition module 801 is used to acquire a music zone identifier of each music zone;
[0235] An establishment module is used to establish a mapping relationship between each screen identifier and each audio zone identifier;
[0236] The determination module 802 is used to determine the target sound zone corresponding to the target display screen based on the mapping relationship between each screen identifier and each sound zone identifier.
[0237] In a possible implementation manner, the device 800 further includes:
[0238] An acquisition module 801 is used to acquire each device identifier of each external audio source device;
[0239] An establishment module is used to establish a corresponding relationship between each audio zone identifier and each device identifier;
[0240] An external sound source device determination module is used to determine a target external sound source device corresponding to a target sound zone based on a correspondence between each sound zone identifier and each device identifier;
[0241] The control module 803 is used to control the target external audio source device to play the audio corresponding to the audio playing operation.
[0242] In a possible implementation manner, the device 800 further includes:
[0243] The determination module 802 is used to determine whether the target display screen is connected to an external sound source device other than the target external sound source device when the connection between the target display screen and the target external sound source device is disconnected;
[0244] A determination module 802 is used to determine the target sound zone corresponding to the target display screen again based on the screen identifier of the target display screen when the target display screen is connected to an external sound source device other than the target external sound source device;
[0245] The external sound source device determination module is used to determine the target external sound source device corresponding to the target sound zone again based on the correspondence between the sound zone identifier of the target sound zone and the device identifier of the external sound source device.
[0246] In a possible implementation manner, the device 800 further includes:
[0247] A display module, used for displaying device information of target external sound source devices corresponding to multiple target sound zones on a display screen when there are multiple target sound zones;
[0248] The control module 803 is used to control the target external audio source device to play the audio corresponding to the audio play operation in response to the selection operation of the device information of the target external audio source device, and the device information is used to identify the external audio source device.
[0249] In a possible implementation manner, the device 800 further includes:
[0250] An audio type determination module, used to determine the audio type of the audio content and the audio source type of each external audio source device corresponding to each target audio zone;
[0251] A playback parameter determination module, used to determine the playback parameters of the audio content based on the audio type and the audio source type;
[0252] The control module 803 is used to control each external audio source device to play the audio corresponding to the audio playback operation based on the playback parameters.
[0253] Fig. 9 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.
[0254] For example, Fig. 9 As shown, the vehicle 900 includes: a memory 901 and a processor 902, wherein the memory 901 stores an executable program code 903, and the processor 902 is used to call and execute the executable program code 903 to perform a vehicle control method.
[0255] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to execute a vehicle control method provided by an embodiment of the present application.
[0256] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0257] In the case of dividing each functional module according to each function, the device may also include an establishment module, an audio type determination module, and a playback parameter determination module. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.
[0258] It should be understood that the device provided in this embodiment is used to execute the above-mentioned vehicle control method, and thus can achieve the same effect as the above-mentioned implementation method.
[0259] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing related program codes, etc.
[0260] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits shown in conjunction with the disclosure of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.
[0261] In addition, the device provided in the embodiments of the present application may specifically be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a vehicle control method provided in the above embodiments.
[0262] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is run on a computer, the computer executes the above-mentioned related method steps to implement a vehicle control method provided by the above embodiment.
[0263] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a vehicle control method provided by the above-mentioned embodiment.
[0264] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0265] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0266] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0267] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A vehicle control method, characterized in that: The method comprises: In a case where the number of display screens of the vehicle does not match the number of external audio source devices that have established connections with the display screens, in response to an audio playback operation on a target display screen, obtaining a screen identifier of the target display screen, the target display screen being any display screen among the multiple display screens of the vehicle that has established connections with the external audio source device; Based on the screen identifier of the target display screen, determining a target sound zone corresponding to the target display screen, wherein the target sound zone is used to indicate an audio output channel corresponding to a target external sound source device connected to the target display screen; Based on the target sound zone, the target external sound source device is controlled to play the audio corresponding to the audio playing operation.
2. The method according to claim 1, characterized in that The step of determining a target sound zone corresponding to the target display screen based on the screen identifier of the target display screen includes: Get the zone identifier of each zone; Establishing a mapping relationship between each of the screen identifiers and each of the audio zone identifiers; Based on the mapping relationship between each of the screen identifiers and each of the sound zone identifiers, a target sound zone corresponding to the target display screen is determined.
3. The method according to claim 2, characterized in that The controlling the target external audio source device to play the audio corresponding to the audio playback operation based on the target audio zone includes: Obtaining each device identification of each of the external audio source devices; Establishing a correspondence between each of the audio zone identifiers and each of the device identifiers; Determining a target external sound source device corresponding to the target sound zone based on the correspondence between the respective sound zone identifiers and the respective device identifiers; The target external audio source device is controlled to play the audio corresponding to the audio playing operation.
4. The method according to claim 3, characterized in that After controlling the target external audio source device to play the audio corresponding to the audio playing operation, the method includes: In the case where the connection between the target display screen and the target external sound source device is disconnected, determining whether the target display screen is connected to an external sound source device other than the target external sound source device; In a case where the target display screen is connected to an external sound source device other than the target external sound source device, based on the screen identifier of the target display screen, determining again the target sound zone corresponding to the target display screen; Based on the correspondence between the sound zone identifier of the target sound zone and the device identifier of the external sound source device, the target external sound source device corresponding to the target sound zone is determined again.
5. The method according to claim 1, characterized in that The controlling the target external audio source device to play the audio corresponding to the audio playback operation based on the target audio zone includes: In the case where there are multiple target sound zones, displaying device information of the target external sound source devices corresponding to the multiple target sound zones on the display screen; In response to a selection operation on device information of the target external audio source device, the target external audio source device is controlled to play audio corresponding to the audio playback operation, wherein the device information is used to identify the external audio source device.
6. The method according to claim 1, characterized in that The controlling the target external audio source device to play the audio corresponding to the audio playback operation based on the target audio zone includes: Determine the audio type of the audio content and the audio source type of each of the external audio source devices corresponding to each of the target audio zones; Determining playback parameters of the audio content based on the audio type and the audio source type; Based on the playback parameters, each of the external audio source devices is controlled to play the audio corresponding to the audio playback operation.
7. A vehicle control system, characterized in that: include: The client is used to send a screen identifier of the target display screen and a play instruction to the audio server in response to an audio play operation on the target display screen when the number of display screens of the vehicle does not match the number of external audio source devices that have established connections with the display screens, wherein the target display screen is any display screen among the multiple display screens of the vehicle that has established connections with the external audio source device, and the play instruction is an instruction generated based on the play operation; An audio server, used for receiving the screen identification of the target display screen and the play instruction sent by the client; Determining a target sound zone corresponding to the target display screen based on a screen identifier of the target display screen; Based on the target sound zone and the play instruction, the audio corresponding to the audio play operation is played.
8. A vehicle control device, characterized in that: The device comprises: an acquisition module, configured to acquire a screen identifier of a target display screen in response to an audio playback operation on the target display screen when the number of display screens of the vehicle does not match the number of external audio source devices that have established connections with the display screens, wherein the target display screen is any display screen that has established connections with the external audio source device among the multiple display screens of the vehicle; A determination module, configured to determine a target sound zone corresponding to the target display screen based on a screen identifier of the target display screen, wherein the target sound zone is used to indicate an audio output channel corresponding to a target external sound source device connected to the target display screen; The control module is used to control the target external audio source device to play the audio corresponding to the audio playback operation based on the target audio zone.
9. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the vehicle executes the method according to any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Automobile audio playing method, computer readable storage medium and system
CN111696590A
Vehicle-mounted audio partition output device and method
CN118151883A
Audio playback method and electronic device
WO2024140496A1