Audio playing method and device of vehicle, equipment and medium
By using the domain controller and directional sound playback module in the vehicle multi -screen environment, the problem of interference of different screen audio interference has been solved, and a better user experience and multi -screen collaborative playback function are realized.
Patent Information
- Application Number
- CN202310922636.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-25
- Publication Date
- 2025-01-28
AI Technical Summary
In a car-mounted multi-screen environment, when different screens view different content, the audio interferes with each other, affecting the user experience.
Provide audio sources through the domain controller, and obtain the playback method of each audio source according to the preset configuration information. For the audio source of the directional sound mode, the audio data is transmitted to the targeted sound playback module of the screen in the vehicle through a video link to achieve directional sound playback.
Avoid the interference of different screen audio, improve the user experience, and meet the needs of many people to watch different contents with different screens.
Smart Images

Figure CN119370038A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicle technology, and in particular to a vehicle audio playback method, device, equipment and medium. Background Art
[0002] With the development of smart cars, watching various videos and audios in vehicles has become an increasingly common leisure activity. With the complexity and diversification of in-vehicle entertainment systems, multiple screens are becoming increasingly popular in smart electric vehicles. In order to create a better audio-visual experience, in-vehicle audio usually uses stereo or surround sound, and the needs of multiple people in the front and rear rows of the vehicle to watch videos have been met.
[0003] In the current in-vehicle audio solution, audio is sent to the vehicle speakers through an audio link. However, when people in the vehicle need to use different screens to watch different content, the audio of different content will interfere with each other, affecting the user experience. Summary of the invention
[0004] In order to solve the above technical problems, the present disclosure provides a vehicle audio playback method, device, equipment and storage medium.
[0005] In a first aspect, an embodiment of the present disclosure provides an audio playback method for a vehicle, comprising:
[0006] In response to the domain controller providing at least one audio source, obtaining a playing mode of each of the audio sources according to preset configuration information;
[0007] For the first audio source whose playing mode is directional sound mode, the audio data of the first audio source is transmitted to the directional sound playing module of the screen in the vehicle through the video link;
[0008] The audio data of the first audio source is played through the directional sound playing module.
[0009] In a second aspect, an embodiment of the present disclosure provides an audio playback device for a vehicle, comprising:
[0010] An acquisition module, configured to acquire, in response to at least one audio source provided by the domain controller, a playback mode of each of the audio sources according to preset configuration information;
[0011] A transmission module, for transmitting the audio data of the first audio source whose playing mode is the directional sound mode to the directional sound playing module of the screen in the vehicle through a video link;
[0012] A playing module is used to play the audio data of the first audio source through the directional sound playing module.
[0013] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising: a processor; a memory for storing executable instructions of the processor; the processor is used to read the executable instructions from the memory and execute the instructions to implement the vehicle audio playback method described in the first aspect above.
[0014] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the audio playback method for a vehicle described in the first aspect is implemented.
[0015] In a fifth aspect, an embodiment of the present disclosure provides a vehicle, comprising the audio playback device of the vehicle as described in the second aspect above, or the electronic device as described in the third aspect above.
[0016] Compared with the prior art, the technical solution provided by the disclosed embodiment has the following advantages: in response to at least one audio source provided by the domain controller, the playback mode of each audio source is obtained according to the preset configuration information, and for the first audio source whose playback mode is the directional sound mode, the audio data of the first audio source is transmitted to the directional sound playback module of the screen in the vehicle through a video link, and the audio data of the first audio source is played through the directional sound playback module. Therefore, compared with the current playback mode of multiple screens in the vehicle, for the audio source in the directional sound mode, the mode of playing the audio through the audio link by the whole vehicle speaker is changed to being sent to the directional sound playback module corresponding to the screen through a video link, so that when people in the vehicle watch different content through different screens, the audio will not interfere with each other, thereby meeting the needs of multiple people using different screens to watch different content and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0019] Figure 1 A schematic diagram of a flow chart of a vehicle audio playback method provided by an embodiment of the present disclosure;
[0020] Figure 2 A schematic diagram of a flow chart of another audio playback method for a vehicle provided by an embodiment of the present disclosure;
[0021] Figure 3A schematic diagram of data transmission provided by an embodiment of the present disclosure;
[0022] Figure 4 A schematic diagram of the structure of an audio playback device for a vehicle provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0023] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0024] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0025] First, the English abbreviations involved in the embodiments of the present disclosure are explained: SOC (system-on-chip), which encapsulates a chip including a central processing unit, a graphics processor, a network processor and various interfaces into one chip, and can achieve high-performance computing in a dedicated field; SER (Serializer), which is used to receive a video source data stream from a camera or SOC and send the data stream through a coaxial cable; DES (Deserializer), which receives the data stream of SER through a coaxial cable and sends it to the SOC or a display screen; LVDS (low-voltage differential signaling); TCON (Timing Controller, a driver board of a display screen), which is used to convert an input LVDS video signal into an LVDS signal that can drive a display screen; DSP (digital signal processing, digital signal processor), which is a processor for processing high-speed digital signals; PA (power amplifier); TDM (time-division multiplexing, time division multiplexing technology), which refers to an audio protocol / interface in this embodiment; I2S (inter-ic sound, an audio bus built into an integrated circuit), which is an audio protocol / interface; A2B (automotive audiobus, a private audio protocol / interface; SL (serial link); DP (displayport), a video interface standard; eDP (embedded display port), a video interface standard, a derivative standard of DP; MIPI (mobile industry processor interface), a video interface standard; DSI (display serial interface), a high-speed serial interface between a processor and a display module; CSI (camera serial interface), a high-speed serial interface between a processor and a camera module; DS (directional sound), refers to sound propagated at a certain distance in a certain direction; DSM (directional sound module), a module for realizing the propagation of sound at a certain distance in a certain direction; NDS (nondirectional sound), in this embodiment, includes stereo or surround sound, etc.;SEV (smart electric vehicle). ;
[0026] Figure 1 This is a flow chart of a vehicle audio playback method provided in an embodiment of the present disclosure. The method provided in an embodiment of the present disclosure can be executed by a vehicle audio playback device, which can be implemented using software and / or hardware and can be integrated on any electronic device with computing capabilities, such as a vehicle-mounted terminal.
[0027] like Figure 1 As shown, the audio playback method of a vehicle provided by the embodiment of the present disclosure may include:
[0028] Step 101: in response to a domain controller providing at least one audio source, obtaining a playing mode of each audio source according to preset configuration information.
[0029] In this embodiment, the domain controller is used to provide a video source and an audio source, and optionally, the video source corresponds to the audio source one by one. The configuration information is used to determine the playback mode of the audio source, and the playback mode includes a directional sound mode (DS mode) and a non-directional sound mode (NDS mode).
[0030] As an example, based on the number of audio sources, the playback mode of each audio source is determined according to a preset first correspondence. In this example, the first correspondence is the correspondence between the number of audio sources and the playback mode. For example, when the number of audio sources is 1, the playback mode of the audio source is determined to be NDS mode, otherwise, the playback mode of the audio source is determined to be DS mode.
[0031] As another example, based on the identification information of each audio source, the playback mode of each audio source is determined according to a preset second correspondence. In this example, the identification information of the audio source is used to distinguish different audio sources. For example, the audio source of the navigation voice, the audio source of the movie, and the audio source of the music correspond to different identification information. The second correspondence is the correspondence between the identification information of the audio source and the playback mode. For example, the playback mode corresponding to the identification information of the navigation voice audio source is the NDS mode, and the playback mode corresponding to the identification information of the movie audio source is the DS mode.
[0032] As another example, a preset default playback mode is used as the playback mode for all audio sources. In this example, when the default playback mode is NDS mode, in response to the domain controller providing the audio source, the playback mode for all audio sources is determined to be NDS mode, and when the default playback mode is DS mode, in response to the domain controller providing the audio source, the playback mode for all audio sources is determined to be DS mode.
[0033] Step 102, for a first audio source whose playback mode is a directional sound mode, the audio data of the first audio source is transmitted to a directional sound playback module of a screen in the vehicle through a video link.
[0034] In this embodiment, a screen is provided in the vehicle for displaying video content, and a directional sound playback module is also provided corresponding to the screen in the vehicle.
[0035] In actual application scenarios, the video link is used to transmit the video data of the video source, and the video content is displayed by transmitting the video data to the screen inside the vehicle. In this embodiment, for the first audio source with a directional sound mode of playback, the audio data of the first audio source is transmitted to the directional sound playback module of the screen inside the vehicle through the video link to achieve directional sound playback.
[0036] Optionally, the vehicle includes multiple screens, each screen is provided with a corresponding directional sound playback module, and for multiple first audio sources of the directional sound mode, the multiple first audio sources are respectively assigned to different directional sound playback modules. For example, the audio source of the navigation voice is assigned to the directional sound playback module of the central control screen, and the audio source of the movie is assigned to the directional sound playback modules of other screens.
[0037] The transmission process of the audio data of the first audio source in the video link is as follows.
[0038] As an example, the domain controller sends the first audio source to the serializer through the preset video interface, converts the data stream that meets the preset video protocol in the first audio source into a serial signal through the serializer, and transmits it to the deserializer through the serial link, and then parses the serial signal into a data stream that meets the preset video protocol through the deserializer, and parses the data stream that meets the preset video protocol into a data stream of the preset audio protocol through the driver board of the screen, and sends the data stream of the preset audio protocol to the directional sound playback module corresponding to the screen. Among them, the preset video interface includes the eDP interface and the DP interface, the preset video protocol includes the eDP protocol and the DP protocol, and the preset audio protocol includes the TDM protocol and the I2S protocol.
[0039] Step 103: Play the audio data of the first audio source through the directional sound playing module.
[0040] In this embodiment, for multiple first audio sources, audio data of different first audio sources are played respectively through different directional sound playback modules, so that when people in the vehicle watch different content through different screens, the audios will not interfere with each other, thereby meeting the needs of multiple people using different screens to watch different content.
[0041] In one embodiment of the present disclosure, for a second audio source in a non-directional sound mode, audio data of the second audio source is transmitted to a speaker via an audio link, and the audio data of the second audio source is played via the speaker, wherein the speaker is used for playing stereo, surround sound, and the like.
[0042] In actual application scenarios, the audio link is used to transmit the video data of the video source, and the audio data is transmitted to the speaker to achieve sound playback. In this embodiment, for the second audio source in the non-directional sound mode, the audio data of the second audio source is transmitted to the speaker through the audio link, wherein the TDM data streams required by different channels are parsed to drive different speakers to generate stereo or surround sound.
[0043] According to the technical solution of the embodiment of the present disclosure, in response to the domain controller providing at least one audio source, the playback mode of each audio source is obtained according to the preset configuration information. For the first audio source whose playback mode is the directional sound mode, the audio data of the first audio source is transmitted to the directional sound playback module of the screen in the vehicle through the video link, and the audio data of the first audio source is played through the directional sound playback module. Therefore, compared with the current playback mode of multiple screens in the vehicle, for the audio source in the directional sound mode, the audio is played by the whole vehicle speaker through the audio link, and then switched to the directional sound playback module corresponding to each screen, so that when people in the vehicle watch different content through different screens, the audio will not interfere with each other, thereby meeting the needs of multiple people using different screens to watch different content and improving the user experience.
[0044] Based on the above embodiments, Figure 2 A flowchart of another audio playback method for a vehicle provided by an embodiment of the present disclosure is shown as follows: Figure 2 As shown, the method includes:
[0045] Step 201: In response to a domain controller providing at least one audio source, based on the number of audio sources, a playback mode of each audio source is determined according to a preset first corresponding relationship.
[0046] In this embodiment, the playback mode is a directional sound mode or a non-directional sound mode. Optionally, the screen includes a central control screen, a co-pilot screen, and at least one rear screen. If the number of audio sources provided by the domain controller is one, the playback mode of the audio source is determined to be a non-directional sound mode. If the number of audio sources provided by the domain controller is two, the playback modes of the two audio sources are determined to be a directional sound mode and / or a non-directional sound mode. If the number of audio sources provided by the domain controller is greater than or equal to three, the playback modes of all audio sources are determined to be a directional sound mode.
[0047] As an example, the central control screen serves the driver's space, the co-pilot screen serves the co-pilot space, and the rear screen serves the rear space. The three screens can use the same video source at the same time or use different video sources independently. When the three screens use the same video source, that is, the number of audio sources provided by the domain controller is one, and the audio source adopts the NDS mode. When the three screens use two video sources, you can choose to use the NDS mode or the DS mode. For example, the central control screen displays map navigation information, and the co-pilot screen and the rear screen play the same movie. If only the NDS mode is used, the navigation prompt sound and the movie audio are played synchronously through the speaker. If the NDS mode and the DS mode are used, the movie audio adopts the NDS mode and the navigation prompt sound adopts the DS mode, that is, the movie audio is played through the speaker, and the navigation prompt sound is played through the directional sound playback module corresponding to the central control screen; if only the DS mode is used, the navigation prompt sound is played through the directional sound playback module corresponding to the central control screen, the movie audio is played through the directional sound playback module corresponding to the co-pilot screen, and the movie audio is played through the directional sound playback module corresponding to the rear screen. When the three screens use three different video sources, the DS mode is adopted. For example, the central control screen displays map navigation information, and the co-pilot screen and the rear screen play movie one and movie two respectively. Then the navigation prompt sound is played through the directional sound playback module corresponding to the central control screen, the audio of movie one is played through the directional sound playback module corresponding to the co-pilot screen, and the audio of movie two is played through the directional sound playback module corresponding to the rear screen. Due to the use of the directional sound playback module, the audio of the driver space, co-pilot space and rear space do not interfere with each other.
[0048] Step 202: When a request for switching the playing mode of any audio source among at least one audio source is detected, a prompt message is generated.
[0049] In this embodiment, a switching option can be set in the menu of the display interface displayed on the screen. When it is detected that the switching option is triggered, it is determined that a request to switch the playback mode of the audio source currently playing on the screen is detected. At this time, a prompt message is generated, which is used to prompt the user to confirm whether to switch the playback mode.
[0050] It should be noted that the selection and switching of the playback mode can be carried out in different ways, including but not limited to buttons, touch screens, voice commands, gesture commands, etc.
[0051] Step 203, if a confirmation instruction for the prompt information is obtained within a preset time, the playback mode of any audio source is switched from the directional sound mode to the non-directional sound mode, or the playback mode of any audio source is switched from the non-directional sound mode to the directional sound mode.
[0052] In this embodiment, for an audio source in a directional sound mode, if a confirmation instruction is obtained within a preset time, the playback mode of the audio source is switched to a non-directional sound mode. For an audio source in a non-directional sound mode, if a confirmation instruction is obtained within a preset time, the playback mode of the audio source is switched to a directional sound mode.
[0053] Among them, the preset time can be set as needed, and the confirmation instruction includes but is not limited to buttons, touch screens, voice commands, gesture commands, etc.
[0054] As an example, when the vehicle system is powered on, the SOC reads the default settings in the register and sets the audio source corresponding to each screen to NDS mode or DS mode. When multiple audio sources are detected, the SOC first executes the default settings in the register, and prompts through the screen and speaker to confirm whether to switch the playback mode. If a confirmation instruction is obtained within the preset time, the playback mode of the audio source is changed. If multiple audio sources are not detected or the corresponding settings are not made, the menu input is detected. If a playback mode switching request is detected in the menu, a prompt is given through the screen and speaker to confirm whether to switch the playback mode. If a confirmation instruction is obtained within the preset time, the playback mode of the audio source is changed.
[0055] Step 204, for the first audio source whose playback mode is the directional sound mode, the audio data of the first audio source is transmitted to the directional sound playback module of the screen in the vehicle through the video link, so that the audio data of the first audio source is played through the directional sound playback module.
[0056] In this embodiment, the domain controller sends the first audio source to the serializer through the preset video interface, converts the data stream in the first audio source that meets the preset video protocol into a serial signal through the serializer, and transmits it to the deserializer through the serial link. Then, the serial signal is parsed into a data stream that meets the preset video protocol through the deserializer, and the data stream that meets the preset video protocol is parsed into a data stream of the preset audio protocol through the driver board of the screen, and the data stream of the preset audio protocol is sent to the directional sound playback module corresponding to the screen.
[0057] Step 205: For a second audio source whose playing mode is a non-directional sound mode, the audio data of the second audio source is transmitted to a speaker through an audio link, so that the audio data of the second audio source is played through the speaker.
[0058] Reference Figure 3 , Figure 3This is a schematic diagram of data transmission, which involves a domain controller (DomainController), a video link (Video Link), and an audio link (Audio Link). For the NDS mode, the video processing process is as follows: In the domain controller, the SOC sends the video source to the SER through the DP / eDP interface. The SER converts the data stream that meets the eDP / DP protocol into a serial signal that supports long-distance transmission and sends it to the DES. In turn, the DES parses the serial signal and converts it into a data stream that meets the eDP / DP protocol. The TCON converts the eDP / DP data stream into an LVDS signal that can drive the display (screen). The audio processing process is as follows: In the domain controller, the SOC sends the audio source to the A2B Master through the TDM interface. The A2B Master converts the data stream that meets the TDM protocol into an A2B signal that supports long-distance transmission and sends it to the A2BSlave. The A2B Slave then parses the A2B signal and converts it into a data stream that meets the TDM protocol. The Audio DSP (audio digital signal processor) receives the TDM data stream received from the A2B Slave and parses the TDM data stream required for different channels. The TDM data streams of different channels are sent to different Audio PAs (audio power amplifiers) to drive different Speakers to achieve stereo or surround sound. For DS mode, in the domain controller, SOC sends the video source and audio source to SER through the eDP or DP interface. SER converts the data stream that meets the eDP / DP protocol into a serial signal that supports long-distance transmission and sends it to DES. Then, DES parses the serial signal and converts it into a data stream that meets the eDP / DP protocol. TCON parses the eDP / DP data stream into LVDS data stream and TDM / I2S data stream. The LVDS data stream is used to drive the screen, and the TDM / I2S data stream is sent to DSM to achieve directional sound playback.
[0059] According to the technical solution of the embodiment of the present disclosure, when there is a need for multi-source playback or privacy playback, the audio is switched from the vehicle speakers to the directional sound playback modules corresponding to each screen through an audio link, so that when people in the vehicle watch different content through different screens, the audio will not interfere with each other, thereby meeting the needs of multiple people using different screens to watch different content and improving the user experience.
[0060] The disclosed embodiment also provides an audio playback device for a vehicle.
[0061] Figure 4 A schematic diagram of the structure of an audio playback device for a vehicle provided by an embodiment of the present disclosure is shown in FIG. Figure 4As shown, the audio playback device of the vehicle includes: an acquisition module 41 , a transmission module 42 , and a playback module 43 .
[0062] The acquisition module 41 is used to acquire the playing mode of each audio source according to preset configuration information in response to at least one audio source provided by the domain controller.
[0063] The transmission module 42 is used to transmit the audio data of the first audio source in the directional sound mode to the directional sound playback module of the screen in the vehicle through the video link.
[0064] The playing module 43 is used to play the audio data of the first audio source through the directional sound playing module.
[0065] In one embodiment of the present disclosure, the acquisition module 41 is specifically used to: determine the playback mode of each of the audio sources according to a preset first correspondence relationship based on the number of the audio sources; and / or, determine the playback mode of each of the audio sources according to a preset second correspondence relationship based on the identification information of each audio source; and / or, use a pre-set default playback mode as the playback mode of the audio source.
[0066] In one embodiment of the present disclosure, the screen includes a central control screen, a co-pilot screen and at least one rear screen, and the acquisition module 41 is specifically used to: if the number of audio sources provided by the domain controller is one, determine that the playback mode of the audio source is a non-directional sound mode; if the number of audio sources provided by the domain controller is two, determine that the playback modes of the two audio sources are a directional sound mode and / or a non-directional sound mode; if the number of audio sources provided by the domain controller is greater than or equal to three, determine that the playback modes of all audio sources are a directional sound mode.
[0067] In one embodiment of the present disclosure, the transmission module 42 is specifically used to: send the first audio source to the serializer through a preset video interface; convert the data stream in the first audio source that meets the preset video protocol into a serial signal through the serializer, and transmit it to the deserializer through a serial link; parse the serial signal into the data stream that meets the preset video protocol through the deserializer; parse the data stream that meets the preset video protocol into a data stream of a preset audio protocol through the driver board of the screen; and send the data stream of the preset audio protocol to the directional sound playback module corresponding to the screen.
[0068] In one embodiment of the present disclosure, the playback mode is a directional sound mode or a non-directional sound mode, and the device further includes: a switching module, which is used to generate a prompt message when a request for switching the playback mode of any audio source among the at least one audio source is detected; if a confirmation instruction for the prompt message is obtained within a preset time, the playback mode of any audio source is switched from the directional sound mode to the non-directional sound mode, or the playback mode of any audio source is switched from the non-directional sound mode to the directional sound mode.
[0069] In one embodiment of the present disclosure, the device further includes: a control module, configured to transmit the audio data of the second audio source whose playing mode is a non-directional sound mode to a speaker via an audio link; and to play the audio data of the second audio source via the speaker.
[0070] The audio playback device for a vehicle provided in the embodiment of the present disclosure can execute any audio playback method for a vehicle provided in the embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method. The contents not described in detail in the embodiment of the device of the present disclosure can refer to the description in any method embodiment of the present disclosure.
[0071] An embodiment of the present disclosure also provides an electronic device, which includes one or more processors and a memory.
[0072] The processor may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.
[0073] The memory may include one or more computer program products, and the computer program product 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 (cache), 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 a computer-readable storage medium, and a processor may run the program instructions to implement the method 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.
[0074] 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 also include, for example, a keyboard, a mouse, etc. The output device may output various information to the outside, including determined distance information, direction information, etc. The output device may include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, etc.
[0075] Of course, for simplicity, only some of the components in the electronic device related to the present disclosure are shown, omitting components such as a bus, an input / output interface, etc. In addition, the electronic device may further include any other appropriate components according to specific application scenarios.
[0076] In addition to the above methods and devices, the embodiments of the present disclosure may also be a computer program product, which includes computer program instructions. When the computer program instructions are executed by a processor, the processor executes any method provided by the embodiments of the present disclosure.
[0077] 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 disclosed embodiments, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0078] In addition, the embodiments of the present disclosure may also be a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes any method provided by the embodiments of the present disclosure.
[0079] Computer readable storage media can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media 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.
[0080] It should be noted that, in this article, 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 such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0081] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may 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 the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A vehicle audio playback method, characterized in that: include: In response to the domain controller providing at least one audio source, obtaining a playing mode of each of the audio sources according to preset configuration information; For the first audio source whose playing mode is directional sound mode, the audio data of the first audio source is transmitted to the directional sound playing module of the screen in the vehicle through the video link; The audio data of the first audio source is played through the directional sound playing module.
2. The method according to claim 1, characterized in that The obtaining, according to the preset configuration information, the playing mode of each of the audio sources includes: Based on the number of the audio sources, determining the playback mode of each of the audio sources according to a preset first correspondence relationship; wherein the first correspondence relationship is a correspondence relationship between the number of audio sources and the playback mode; and / or, Based on the identification information of each audio source, determining the playback mode of each audio source according to a preset second correspondence relationship; wherein the second correspondence relationship is a correspondence relationship between the identification information of the audio source and the playback mode; and / or, The preset default playing mode is used as the playing mode of the audio source.
3. The method according to claim 2, characterized in that The screen includes a central control screen, a co-pilot screen and at least one rear screen, and the determining of the playing mode of each audio source based on the number of the audio sources and according to a preset first corresponding relationship includes: If the number of audio sources provided by the domain controller is one, determining that the playing mode of the audio source is a non-directional sound mode; If the number of audio sources provided by the domain controller is two, determining that the playing modes of the two audio sources are directional sound mode and / or non-directional sound mode; If the number of audio sources provided by the domain controller is greater than or equal to three, it is determined that the playback mode of all audio sources is a directional sound mode.
4. The method according to claim 1, characterized in that The directional sound playing module for transmitting the audio data of the first audio source to the screen in the vehicle through the video link comprises: sending the first audio source to the serializer via a preset video interface; Converting the data stream in the first audio source that meets the preset video protocol into a serial signal through a serializer, and transmitting the data stream to a deserializer through a serial link; Parsing the serial signal into the data stream satisfying the preset video protocol through a deserializer; Parsing the data stream satisfying the preset video protocol into a data stream of the preset audio protocol by a driving board of the screen; The data stream of the preset audio protocol is sent to the directional sound playback module corresponding to the screen.
5. The method according to claim 1, characterized in that The playing mode is a directional sound mode or a non-directional sound mode, and the method further comprises: When a request for switching the playing mode of any audio source among the at least one audio source is detected, generating prompt information; If a confirmation instruction for the prompt information is obtained within a preset time, the playback mode of any audio source is switched from a directional sound mode to a non-directional sound mode, or the playback mode of any audio source is switched from a non-directional sound mode to a directional sound mode.
6. The method according to claim 1, characterized in that After obtaining the playing mode of each of the audio sources, the method further includes: For the second audio source whose playing mode is a non-directional sound mode, transmitting the audio data of the second audio source to the speaker through an audio link; The audio data of the second audio source is played through the speaker.
7. An audio playback device for a vehicle, characterized in that: include: An acquisition module, configured to acquire, in response to at least one audio source provided by the domain controller, a playback mode of each of the audio sources according to preset configuration information; A transmission module, for transmitting the audio data of the first audio source whose playing mode is the directional sound mode to the directional sound playing module of the screen in the vehicle through a video link; A playing module is used to play the audio data of the first audio source through the directional sound playing module.
8. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the audio playback method for a vehicle as described in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the audio playback method for the vehicle described in any one of claims 1 to 6 is implemented.
10. A vehicle, characterized in that: include: The device as claimed in claim 7, or the electronic device as claimed in claim 8.