Audio playing method and system and vehicle
By responding to audio playback instructions in the vehicle, determining the binding relationship between the display screen and the audio playback device, and ensuring that the audio playback application has permissions, the problem of audio playback on different display screens is solved, and efficient audio playback and improved user experience is achieved.
Patent Information
- Application Number
- CN202510224437.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-27
- Publication Date
- 2025-06-13
AI Technical Summary
In vehicles, how to better realize audio playback of audio playback applications on different display screens and improve user experience.
By responding to audio playback instructions, determine the binding relationship between the target display screen and the audio playback device, ensure that the target audio playback application has audio playback permissions, and play the corresponding audio through the target audio playback device.
It realizes audio playback of audio playback applications used on different display screens, avoids audio interference and improves user experience.
Smart Images

Figure CN120144084A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of audio playback, and particularly to an audio playback method, system and vehicle. Background Art
[0002] Currently, for the audio playback applications used on the main driver's display screen in a vehicle, the corresponding audio is usually played through the in-vehicle audio system. For the audio playback applications used on the co-driver's display screen in a vehicle, the corresponding audio is usually played through a Bluetooth headset. As there are more and more in-vehicle display screens, such as the ceiling-mounted display screen in the rear row and the seat-back display screen in the rear row, the audio playback applications used on these display screens also have audio playback requirements. Therefore, how to better implement the audio playback of the audio playback applications used on different display screens is an urgent problem to be solved currently. Summary of the Invention
[0003] The purpose of the present invention is to solve the problem of how to better implement the audio playback of the audio playback applications used on different display screens, so as to improve the user experience.
[0004] To solve the above technical problems, in a first aspect, an embodiment of the present invention discloses an audio playback method, which is applied to a vehicle. The vehicle includes a plurality of display screens and a plurality of audio playback devices. The plurality of audio playback devices include an in-vehicle audio system, an out-vehicle audio system and headphones. The method includes: in response to receiving an audio playback instruction for a target audio playback application, determining a target display screen corresponding to the target audio playback application; according to the binding relationship between the display screen and the audio playback device, determining a target audio playback device bound to the target display screen; and in the case that it is determined according to the target audio playback device that the target audio playback application has the audio playback permission, enabling the target audio playback application to play the corresponding audio through the target audio playback device.
[0005] When the above audio playback method is adopted, when an audio playback instruction is received, the target audio playback device bound to the target display screen can be determined based on the target display screen corresponding to the target audio playback application. In the case that it is determined according to the target audio playback device that the target audio playback application has the audio playback permission, enabling the target audio playback application to play the corresponding audio through the target audio playback device. Through this method, the target display screen, the target audio playback device and the audio playback permission corresponding to the target audio playback application can be determined, so as to better implement the audio playback of the audio playback applications used on different display screens and improve the user experience.
[0006] According to the above claims and related content, an audio playback method disclosed by an embodiment of the present invention further includes: determining whether the target audio playback application has the audio playback permission according to whether the target audio playback device can obtain the audio focus.
[0007] When the above audio playback method is adopted, it is possible to determine whether the target audio playback application has the audio playback permission based on whether the target audio playback device can obtain the audio focus, thereby effectively preventing the problem of audio interference caused by multiple audio playback applications playing audio simultaneously.
[0008] According to the above claims and related content, an audio playback method disclosed in an embodiment of the present invention further includes: determining a corresponding audio playback mode according to the audio playback state of the target audio playback device and / or the priority information of the target audio playback application, so as to enable the target audio playback application to play the corresponding audio through the target audio playback device according to the audio playback mode.
[0009] When the above audio playback method is adopted, determining a corresponding audio playback mode to play the corresponding audio according to the audio playback state of the target audio playback device and / or the priority information of the target audio playback application can effectively prevent the problem of audio interference caused by multiple audio playback applications playing audio simultaneously.
[0010] According to the above claims and related content, in an audio playback method disclosed in an embodiment of the present invention, determining a corresponding audio playback mode to play the corresponding audio according to the audio playback state of the target audio playback device includes: if the target audio playback device is in a state of not playing audio, the audio playback mode is to enable the target audio playback device to play the corresponding audio of the target audio playback application; if the target audio playback device is in a state of playing audio, the audio playback mode is to enable the target audio playback device to pause playing the currently playing audio and play the corresponding audio of the target audio playback application.
[0011] According to the above claims and related content, in an audio playback method disclosed in an embodiment of the present invention, the binding relationship between the display screen and the audio playback device is obtained according to the user's binding operation of the display screen and the audio playback device, and the method further includes: in the case where there is an audio playback device that is not bound to the display screen, displaying corresponding prompt information to prompt the user to bind the audio playback device to the display screen. When the above audio playback method is adopted, when the display screen and the audio playback device are not bound, the user can be prompted to bind based on the prompt information, so that the audio can be played based on the bound audio playback device.
[0012] According to the above claims and related content, an audio playback method disclosed in an embodiment of the present invention further includes: according to the binding relationship between the display screen and the audio playback device, in the case where it is determined that there is no target audio playback device bound to the target display screen, playing the corresponding audio of the target audio playback application through the default audio playback device.
[0013] In an audio playback method disclosed in an embodiment of the present invention according to the above claims and related content, the target audio playback application is a service application with an audio focus application function and an audio data stream application function, or the target audio playback application includes an audio focus application sub - application and an audio data stream application sub - application.
[0014] An embodiment of the present invention also discloses an audio playback system. The audio playback system includes a plurality of display screens, a plurality of audio playback devices, and an audio playback management module. Among them, the audio playback management module is configured to, in response to an audio playback instruction received for a target audio playback application, determine a target display screen corresponding to the target audio playback application; determine a target audio playback device bound to the target display screen according to the binding relationship between the display screen and the audio playback device; and, when it is determined that the target audio playback application has audio playback permission according to the target audio playback device, cause the target audio playback application to play corresponding audio through the target audio playback device.
[0015] When the above - mentioned audio playback system is adopted, the display screen is bound to the audio playback device, and the audio playback application on the display screen plays audio through the audio playback device bound to the display screen, so that audio playback of the audio playback applications on different display screens can be realized.
[0016] In an audio playback system disclosed in an embodiment of the present invention according to the above claims and related content, the audio playback management module includes a screen interface monitoring module, a pairing management module, and an audio playback device management module.
[0017] The screen interface monitoring module is configured to monitor the display screen, and when it monitors that a user performs a trigger operation on the target audio playback application on the target display screen, generate an audio playback instruction for the target audio playback application and send it to the pairing management module.
[0018] The pairing management module is configured to determine the target display screen and the target audio playback device corresponding to the target audio playback application according to the playback instruction.
[0019] The audio playback device management module is configured to, when it is determined that the target audio playback application has audio playback permission according to the target audio playback device, cause the target audio playback application to play corresponding audio through the target audio playback device.
[0020] An embodiment of the present invention also discloses a vehicle, and the vehicle includes the audio playback system according to any one of the above. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 It is a schematic flowchart of an audio playback method disclosed in an embodiment of the present invention;
[0022] Figure 2Schematic diagram of binding between a display screen in a vehicle and an audio playback device in an audio playback method disclosed in an embodiment of the present invention;
[0023] Figure 3 Schematic structural diagram of an audio playback system disclosed in an embodiment of the present invention;
[0024] Figure 4 Schematic flowchart of an audio playback method disclosed in an embodiment of the present invention applied to an audio playback system;
[0025] Figure 5 Schematic flowchart of switching an audio playback device bound to a target display screen to a target audio playback device when an audio playback method disclosed in an embodiment of the present invention is applied to an audio playback system;
[0026] Figure 6 Schematic flowchart of disconnecting a target display screen from a bound audio playback device when an audio playback method disclosed in an embodiment of the present invention is applied to an audio playback system;
[0027] Figure 7 Schematic flowchart of binding between a display screen and an audio playback device when an audio playback method disclosed in an embodiment of the present invention is applied to an audio playback system;
[0028] Figure 8 Schematic flowchart of initializing and determining an audio playback device when an audio playback method disclosed in an embodiment of the present invention is applied to an audio playback system;
[0029] Figure 9 Schematic structural diagram of a vehicle disclosed in an embodiment of the present invention. Specific embodiments
[0030] In a vehicle, an audio playback application used on a display screen usually plays audio through an audio playback device provided in the vehicle. For example, an audio playback application used on the main driver's display screen plays audio through a speaker provided in the vehicle, and an audio playback application used on the co-driver's display screen plays audio through a Bluetooth headset provided in the vehicle. With the increase in in-vehicle display screens, such as the overhead display screen in the back row and the seat-back display screen in the back row, since multiple display screens all have audio playback requirements, there has emerged a problem of adapting multiple audio playback devices to multiple display screens. Therefore, how to better implement the audio playback of audio playback applications used on different display screens is an urgent problem to be solved currently.
[0031] To solve the above technical problems, the present application proposes an audio playback method, which is applied to a vehicle. The vehicle includes multiple display screens and multiple audio playback devices, and the multiple audio playback devices include an in-vehicle audio system, an out-of-vehicle audio system, and headphones. In this audio playback method, the display screen is bound to the audio playback device. When an audio playback instruction is received, the target display screen is determined based on the target audio playback application, and the target audio playback device is determined based on the target display screen. When the target audio playback application has the audio playback permission, the target audio playback application plays the corresponding audio through the target audio playback device, so as to realize the audio playback of the audio playback applications on different display screens. Through this method, the target display screen, the target audio playback device corresponding to the target audio playback application, and the audio playback permission of the target audio playback application can be determined, so that the audio playback of the audio playback applications used on different display screens can be better realized, thereby improving the user experience.
[0032] Reference Figure 1 , Figure 1 FIG. is a schematic flowchart of an audio playback method disclosed in an embodiment of the present invention. In an embodiment of the present invention, the method includes the following steps.
[0033] Step S1, in response to receiving an audio playback instruction for a target audio playback application, determine the target display screen corresponding to the target audio playback application.
[0034] Step S2, according to the binding relationship between the display screen and the audio playback device, determine the target audio playback device bound to the target display screen.
[0035] Step S3, when it is determined that the target audio playback application has the audio playback permission according to the target audio playback device, enable the target audio playback application to play the corresponding audio through the target audio playback device.
[0036] When the above audio playback method is adopted, when an audio playback instruction is received, the target audio playback device bound to the target display screen can be determined based on the target display screen corresponding to the target audio playback application. When it is determined that the target audio playback application has the audio playback permission according to the target audio playback device, enable the target audio playback application to play the corresponding audio through the target audio playback device. Through this method, the target display screen, the target audio playback device corresponding to the target audio playback application, and the audio playback permission of the target audio playback application can be determined, so that the audio playback of the audio playback applications used on different display screens can be better realized, thereby improving the user experience.
[0037] The audio playback method disclosed in the embodiments of the present invention is applied to a vehicle. Specifically, the audio playback method is applied to the audio playback system in the vehicle. The audio playback system in the vehicle includes multiple display screens and multiple audio playback devices. Among them, the multiple display screens may include a vehicle head unit central control display screen, a co-pilot display screen, a rear row display screen, etc., and the multiple audio playback devices may include in-vehicle speakers, out-of-vehicle speakers, and headphones, etc. Further, the in-vehicle speakers may include in-vehicle speakers and in-vehicle headrests equipped with speakers, and the headphones include Bluetooth headphones and wired headphones. In addition, the number of in-vehicle speakers, out-of-vehicle speakers, and headphones in the vehicle can be set to multiple respectively.
[0038] In the audio playback method disclosed in the embodiments of the present invention, it is necessary to pre-bind the display screen and the audio playback device.
[0039] Reference Figure 2 , Figure 2 is a schematic diagram of the binding relationship between a display screen and an audio playback device in a vehicle in an audio playback method disclosed in an embodiment of the present invention. In the audio playback method disclosed in the embodiments of the present invention, the in-vehicle speakers can be divided into a first zone of speakers and a second zone of speakers based on the area, and the first zone of speakers can be used as the default audio playback device. The default audio playback device is not bound to the display screen, and the audio playback applications on all the display screens in the vehicle can select to play audio through the default audio playback device. Further, the first zone of speakers can be a group of speakers marked as in-vehicle 1, and the second zone of speakers can be a group of speakers marked as in-vehicle 2. The multiple headphones may include: a first headphone and a second headphone. Further, the first headphone can be Bluetooth headphone 1, and the second headphone can be Bluetooth headphone 2. Further, the binding of the display screen and the audio playback device may include: the central control display screen is bound to the second zone of speakers, the co-pilot display screen is bound to the first headphone, and the rear row screen is bound to the second headphone, where the central control display screen can be the central control screen, the co-pilot display screen can be the co-pilot screen, and the rear row display screen can be the rear row screen.
[0040] Further, the display screen and the audio playback device can be bound one-to-one, or one display screen can be bound to multiple audio playback devices, which is not limited herein, and the user can perform the binding based on specific requirements.
[0041] Further, the specific steps of step S1 include: when the user performs a triggering operation on the display screen or inputs a voice command for audio playback of the target audio playback application, the audio playback system generates an audio playback instruction for the target audio playback application based on the triggering operation or the voice command for audio playback of the target audio playback application. In response to the received audio playback instruction for the target audio playback application, the audio playback system determines the target display screen corresponding to the target audio playback application based on the correspondence between the audio playback application and the display screen. This audio playback instruction is used to instruct the target audio playback application to play the target audio. The specific steps of step S2 include: based on the pre-set binding relationship between the display screen and the audio playback device and the determined target display screen, determining the target audio playback device bound to the target display screen.
[0042] Further, the specific steps of the audio playback method disclosed in the embodiment of the present invention further include: before playing the audio corresponding to the target audio playback application through the target audio playback device, determining whether the target audio playback application has the audio playback permission according to the target audio playback device. If the target audio playback application has the audio playback permission, step S3 is executed; if the target audio playback application does not have the audio playback permission, the audio corresponding to the target audio playback application is played through the default audio playback device pre-set in the vehicle.
[0043] The audio playback method disclosed in the embodiment of the present invention further includes: determining whether the target audio playback application has the audio playback permission according to whether the target audio playback device can obtain the audio focus.
[0044] In the audio playback method disclosed in another specific embodiment of the present invention, the specific method for determining whether the target audio playback application has the audio playback permission according to the target audio playback device includes: determining whether the target audio playback application has the audio playback permission based on whether the target audio playback device can obtain the audio focus.
[0045] Further, the specific method for determining whether the target audio playback application has the audio playback permission may include: after determining the target audio playback device, determining whether the target audio playback device can obtain the audio focus corresponding to the target audio playback application. If the target audio playback device can obtain the audio focus corresponding to the target audio playback application, the audio corresponding to the target audio playback application can be played, that is, the target audio playback application has the playback permission. If the target audio playback device cannot obtain the audio focus corresponding to the target audio playback application, the audio corresponding to the target audio playback application cannot be played on the target audio playback device, that is, the target audio playback application does not have the permission to play audio on the target audio playback device.
[0046] When the above audio playback method is adopted, it is possible to determine whether the target audio playback application has the audio playback permission based on whether the target audio playback device can obtain the audio focus, thereby effectively preventing the problem of audio interference caused by multiple audio playback applications playing audio simultaneously.
[0047] An audio playback method disclosed in an embodiment of the present invention further includes: determining a corresponding audio playback mode according to the audio playback state of the target audio playback device and / or the priority information of the target audio playback application, so as to make the target audio playback application play the corresponding audio through the target audio playback device according to the audio playback mode.
[0048] In the audio playback method disclosed in another specific embodiment of the present invention, there are multiple audio playback applications on the target display screen. In the case where multiple audio playback applications are simultaneously used as the target audio playback application, it is necessary to determine the audio playback mode of the target audio playback application based on the audio playback state of the target audio playback device and / or the priority information of the target audio playback application.
[0049] Further, in the audio playback method disclosed in another specific embodiment of the present invention, determining the audio playback mode of the target audio playback application based on the audio playback state of the target audio playback device and / or the priority information of the target audio playback application includes: when there are multiple target audio playback applications that need to play audio simultaneously, the audio to be played can be determined based on the priority information of the target application. Based on the audio to be played and the playback state of the target audio playback device, determine the audio playback mode of the target audio playback application. Among them, the audio corresponding to the target audio playback application with the highest priority is used as the audio to be played. After determining the audio to be played, determine the audio playback mode of the target audio playback device based on the playback state of the target audio playback device to play the audio to be played.
[0050] When playing audio using the above audio playback method, determining the audio playback mode of the target audio playback application based on the audio playback state of the target audio playback device and / or the priority information of the target audio playback application can play the audio with a higher priority through the target audio playback device, thereby effectively avoiding the situation where the user cannot receive important information in a timely manner.
[0051] In an audio playback method disclosed in an embodiment of the present invention, determining a corresponding audio playback mode to play the corresponding audio according to the audio playback state of the target audio playback device includes: if the target audio playback device is in a state of not playing audio, the audio playback mode is to make the target audio playback device play the audio corresponding to the target audio playback application. If the target audio playback device is in a state of playing audio, the audio playback mode is to make the target audio playback device pause playing the currently playing audio and play the audio corresponding to the target audio playback application.
[0052] In the audio playback method disclosed in another specific embodiment of the present invention, the specific method for determining the corresponding audio playback method according to the audio playback state of the target audio playback device to play the corresponding audio may be that when the target audio playback device is in the state of not playing audio, the audio playback method of the target audio playback device is to directly play the audio corresponding to the target audio playback application; when the target audio playback device is in the state of playing audio, the target audio playback device is made to pause playing the currently played audio and play the audio corresponding to the target audio playback application.
[0053] Further, when the target audio playback device is in the state of playing audio, the method further includes: determining the priority information of the target audio playback application corresponding to the audio being played by the target audio playback device and the target audio playback application corresponding to the audio to be played. If the priority of the target audio playback application corresponding to the audio being played by the target audio playback device is higher than that of the target audio playback application corresponding to the audio to be played, the target audio playback device continues to play the audio being played. If the priority of the target audio playback application corresponding to the audio being played by the target audio playback device is lower than that of the target audio playback application corresponding to the audio to be played, the audio playback method of the target audio playback device is to pause playing the audio being played, and the target audio playback device plays the audio to be played.
[0054] Further, in the audio playback method disclosed in the embodiment of the present invention, the audio playback device bound to the target display screen can be switched based on user needs. Therefore, the audio playback method disclosed in the embodiment of the present invention further includes: in response to the user's switching operation, switching the audio playback device bound to the target display screen to the target audio playback device, or switching the currently audio playback device bound to the target display screen to the target audio playback device.
[0055] Reference Figure 2 Furthermore, in the audio playback method disclosed in another specific embodiment of the present invention, when the user switches the audio playback device playing the audio corresponding to the target display screen to the target audio playback device, if the target audio playback device is playing audio, stop playing the audio and play the audio corresponding to the target audio playback application; if the target audio playback device is not playing audio, play the audio corresponding to the target audio playback application, that is, the original media priority strategy.
[0056] Reference Figure 2, Further, in the audio playback method disclosed in another specific embodiment of the present invention, when the user switches the audio playback device for playing the audio corresponding to the target display screen to the target audio playback device, if the target audio playback device is playing audio, the currently playing audio is paused and the audio corresponding to the target audio playback application is played; if the audio corresponding to the target audio playback application is not playing, the target audio playback device continues to play the currently playing audio, that is, the original media preemption strategy.
[0057] Reference Figure 2 , Further, in the audio playback method disclosed in another specific embodiment of the present invention, in the audio playback system, when the user switches the audio playback device for playing the audio corresponding to the target display screen to the target audio playback device, if the priority of the audio playback application corresponding to the audio being played by the target audio playback device is higher than that of the target audio playback application, the audio corresponding to the target audio playback application is paused, that is, the original media pause strategy.
[0058] In an audio playback method disclosed in an embodiment of the present invention, the binding relationship between the display screen and the audio playback device is obtained according to the user's binding operation on the display screen and the audio playback device. The method further includes: when there is an audio playback device not bound to the display screen, displaying corresponding prompt information to prompt the user to bind the audio playback device to the display screen.
[0059] In the audio playback method disclosed in another specific embodiment of the present invention, in the audio playback system, when there is an audio playback device not bound to the display screen, the audio playback system will display corresponding prompt information on the display screen to prompt the user to bind the unbound display screen and audio playback device, so as to better implement the playback of the audio of the audio playback application on different display screens.
[0060] An audio playback method disclosed in an embodiment of the present invention further includes: according to the binding relationship between the display screen and the audio playback device, when it is determined that there is no target audio playback device bound to the target display screen, playing the audio corresponding to the target audio playback application through the default audio playback device.
[0061] In the audio playback method disclosed in another specific embodiment of the present invention, after determining the target display screen, if it is determined that the target display screen is not bound to an audio playback device, the audio corresponding to the target audio playback application can be played based on the default audio playback device in the audio playback system, so as to avoid the problem that the audio corresponding to the target audio playback application cannot be played, resulting in the user missing important information.
[0062] In an audio playback method disclosed by an embodiment of the present invention, the target audio playback application is a service application with an audio focus application function and an audio data stream application function, or the target audio playback application includes an audio focus application sub - application and an audio data stream application sub - application.
[0063] In an audio playback method disclosed by another specific embodiment of the present invention, the target audio playback application can be a service application and / or the target audio playback application can include an audio focus application sub - application and an audio data stream application sub - application. When the target audio playback application is a service application, the application for audio focus and the application for audio data stream are the same application. When the target audio playback application includes an audio focus application sub - application and an audio data stream application sub - application, the target audio playback application applies for audio focus based on the audio focus application sub - application and applies for audio data stream based on the audio data stream application sub - application. Further, if the target audio playback application includes an audio focus application sub - application and an audio data stream application sub - application, pairing information of the corresponding audio focus application sub - application and audio data stream application sub - application needs to be set in the audio playback system so as to be called when the target application plays audio.
[0064] For example, when the target audio playback application is an Original Equipment Manufacturer (OEM) application, there may be a situation where the audio focus application and the audio data stream application are not the same application in the OEM application, and it is necessary to determine the corresponding audio focus application sub - application and audio data stream application sub - application based on the pairing information of the audio focus application sub - application and the audio data stream application sub - application. When the target audio playback application is a third - party application, it is considered that the application for audio focus and the application for audio data stream are the same application.
[0065] An embodiment of the present invention also discloses an audio playback system. The audio playback system includes multiple display screens, multiple audio playback devices, and an audio playback management module. Among them, the audio playback management module is used to, in response to an audio playback instruction for a target audio playback application received, determine a target display screen corresponding to the target audio playback application; determine a target audio playback device bound to the target display screen according to the binding relationship between the display screen and the audio playback device; and, when it is determined that the target audio playback application has audio playback permission according to the target audio playback device, enable the target audio playback application to play corresponding audio through the target audio playback device.
[0066] When the above - mentioned audio playback system is adopted, the display screen is bound to the audio playback device, and the audio playback application on the target display screen plays audio through the audio playback device bound to the target display screen, so that audio playback of audio playback applications on different display screens can be realized.
[0067] Reference Figure 3 , Figure 3 is a schematic structural diagram of an audio playback system disclosed in an embodiment of the present invention. In an audio playback system disclosed in an embodiment of the present invention, the audio playback management module includes a screen interface monitoring module, a pairing management module, and an audio playback device management module. Among them, the screen interface monitoring module is used to monitor the display screen, and when it monitors that the user performs a triggering operation on the target audio playback application on the target display screen, it generates an audio playback instruction for the target audio playback application and sends it to the pairing management module; the pairing management module is used to determine the target display screen and the target audio playback device corresponding to the target audio playback application according to the playback instruction; the audio playback device management module is used to enable the target audio playback application to play the corresponding audio through the target audio playback device when it is determined that the target audio playback application has audio playback permission according to the target audio playback device.
[0068] Reference Figure 3 In an audio playback system disclosed in an embodiment of the present invention, in addition to the above-mentioned screen interface monitoring module, pairing management module, and audio playback device management module, the audio playback management module further includes a screen monitoring component, an application monitoring module, and a control module. And, the audio playback device management module includes an audio component management module and an audio focus management module.
[0069] Among them, the screen monitoring component is used to monitor the screen interface monitoring module and the application monitoring module. The screen interface monitoring module is used to monitor multiple display screens, determine the display screens corresponding to the audio playback application and the audio focus application for which the user performs a playback operation, and when the user performs a triggering operation on the target audio playback application on the target display screen, generate an audio playback instruction for the target audio playback application and send it to the audio focus management module. The application monitoring module is used to, when the target audio playback application is a music application and an accident such as the application crashing occurs due to an abnormality or error in the target audio playback application, still be able to remember the last state of the target audio playback application after being restarted, so that the target audio playback application returns to the last state. The audio component management module is used to store audio playback device information and control the audio playback device to play. The audio focus management module is used to store audio focus information corresponding to the audio playback device and determine the audio focus based on the audio playback device. The control module is used to store audio playback device information, audio playback application information, display screen information, and the association relationships among the audio playback device, audio playback application, display screen, and audio focus.
[0070] Further, in an audio playback system disclosed in an embodiment of the present invention, the screen interface monitoring module may be a user interface monitoring module (User Interface, UI), the screen monitoring component may be a UI listening module, the audio component management module may be an audio group stream management module, the audio focus management module may be an audio group focus arbitration module, and the control module may be a system setting. The pairing management module may be an application / audio group pairing management.
[0071] Further, when the audio playback method provided based on the above embodiment is applied to the audio playback system provided in the above embodiment, the specific process of the audio playback system is as follows.
[0072] Refer to Figure 4 , Figure 4 which is a schematic flowchart of a process in which an audio playback method disclosed in an embodiment of the present invention is applied to an audio playback system.
[0073] The specific steps of the audio playback method disclosed in another specific embodiment of the present invention include:
[0074] S401, the user performs a playback operation on the target display screen.
[0075] Exemplarily, when playing audio, the user can perform a playback operation on the target display screen by clicking a play button on the target audio playback application interface of the target display screen. The target display screen generates corresponding playback operation information based on the playback operation and sends it to the target audio playback application.
[0076] S402, in response to the received playback operation information, the target audio playback application generates a playback instruction for the target audio playback application and sends it to the audio focus management module to apply for audio focus and play the corresponding audio. The playback instruction for the target audio playback application includes the application information of the target audio playback application and the association relationship between the audio playback application and the display screen.
[0077] S403, in response to the playback instruction, the audio focus management module determines the target display screen based on the association relationship between the audio playback application and the display screen, generates corresponding audio playback device determination information, and sends it to the pairing management module to query the target audio playback device information corresponding to the target display screen, that is, to query the information of the corresponding audio group. The audio playback device determination information includes the target display screen information.
[0078] Further, the audio focus management module queries the target audio playback device information corresponding to the target display screen to determine the audio focus based on the target audio playback device information.
[0079] S404. The pairing management module responds to the audio playback device determination information, determines the target audio playback device based on the binding relationship between the display screen and the audio playback device, generates the corresponding audio playback device information, and sends it to the audio focus management module. The audio playback device information includes the target audio playback device information.
[0080] S405. The audio focus management module responds to the audio playback device information, obtains the preset audio focus information corresponding to the target audio playback device according to the target audio playback device, generates the corresponding audio playback information based on the audio focus information and the target audio playback device information, and sends it to the target audio playback application to return the corresponding audio playback information to the target audio playback application, so as to facilitate playing the audio corresponding to the target audio playback application. The audio playback information includes the audio focus information and the target audio playback device information.
[0081] S406. The target audio playback application responds to the audio playback information, generates the corresponding playback notification, and sends it to the audio playback device management module, so that the audio playback device management module controls the target audio playback device to play the audio corresponding to the target audio playback application based on the audio focus. The playback notification includes the audio focus and the target audio playback device.
[0082] S407. The audio playback device management module responds to the playback notification, generates the audio playback device determination information, and sends it to the pairing management module to query the corresponding target audio playback device, that is, to query the corresponding audio group, and determine the binding relationship between the target display screen and the target audio playback device.
[0083] Further, in the case of determining the target audio playback device, the audio playback device management module controls the target audio playback device to play the audio based on the audio focus.
[0084] Among them, if the preset audio focus information corresponding to the target audio playback device is not obtained according to the target audio playback device, the target audio playback device does not play the audio corresponding to the target audio playback application.
[0085] Based on the above, in the audio playback method disclosed in the embodiment of the present invention, the audio playback device bound to the target display screen can be switched. Therefore, in the above audio playback system, the audio playback device bound to the target display screen can be switched to the target audio playback device.
[0086] Reference Figure 5 , Figure 5The flowchart shows the process of switching the audio playback device bound to the target display screen to the target audio playback device when the audio playback method disclosed in the embodiments of the present invention is applied to an audio playback system. Further, in the above audio playback system, the specific steps of switching the audio playback device bound to the target display screen to the target audio playback device include:
[0087] S501, the user performs a switching operation on the target display screen to switch the audio group.
[0088] S502, the control module generates an audio playback device switching notification in response to the user's switching operation and sends it to the audio focus management module. The audio playback device switching notification includes: target audio playback device information.
[0089] Further, the audio playback device switching notification can be a binding relationship switching notification. The binding relationship switching notification is a notification that the audio playback device currently bound to the target display screen is switched to the target audio playback device.
[0090] S503, the audio focus management module sends an audio playback device binding determination information to the pairing management module in response to the audio playback device switching notification to query and determine the binding information between the target display screen and the target audio playback device.
[0091] S504, the pairing management module sends a determination information to the audio focus management module in response to the audio playback device binding determination information.
[0092] S505, the audio focus management module determines whether the target audio playback device can obtain the audio focus corresponding to the target audio playback application based on the target audio playback device in response to the determination information. In the case where the target audio playback device can obtain the audio focus corresponding to the target audio playback application, the current audio focus corresponding to the target audio playback application obtained by the current audio playback device is switched to the target audio focus corresponding to the target audio playback application obtained based on the target audio playback device to perform audio focus switching, facilitating the subsequent playback of the audio corresponding to the audio playback application.
[0093] S506, the audio focus management module generates an audio focus notification and sends it to the target audio playback application. The audio focus notification includes the target audio focus. The target audio playback application plays the audio based on the target audio focus in response to the audio focus notification.
[0094] Further, the audio focus notification can be a focus loss notification. The focus loss notification includes: the focus loss information corresponding to the current audio playback device and the target audio focus.
[0095] S507: The audio focus management module generates a binding relationship switching notification and sends it to the audio playback device management module. The binding relationship switching notification includes: information that the current audio playback device bound to the target display screen is switched to the target audio playback device.
[0096] S508: The audio playback device management module generates corresponding query information in response to the binding relationship switching notification, and sends the query information to the pairing management module to query the binding information of the target display screen and the target audio playback device.
[0097] S509, when it is determined that the current audio playback device bound to the target display screen is switched to the target audio playback device, the audio playback device management module switches the data stream of the audio corresponding to the target audio playback application to the target audio playback device output, that is, switches the stream output to output the audio corresponding to the target audio playback application.
[0098] refer to Figure 6 , Figure 6 The present invention is a flowchart of disconnecting a target display screen from a bound audio playback device when the audio playback method disclosed in the embodiment of the present invention is applied to an audio playback system. Further, when the audio playback device bound to the target display screen is switched to the target audio playback device, the target display screen needs to be disconnected from the bound audio playback device before the target display screen is bound to the target audio playback device.
[0099] refer to Figure 6 Furthermore, the specific steps of disconnecting the target display screen from the bound audio playback device include:
[0100] S601: The user performs a disconnect operation on the target display screen.
[0101] Furthermore, the user can disconnect the binding relationship between the target display screen and the target audio playback device by clicking a switch button on the target display screen, etc., and perform a disconnection operation on the target display screen; based on the disconnection operation, the target display screen generates a corresponding disconnection notification and sends it to the audio playback device management module.
[0102] S602: The audio playback device management module generates and sends a disconnection notification to the pairing management module in response to the received disconnection notification. The disconnection notification includes: information on the release of the binding relationship between the audio playback device and the corresponding display screen.
[0103] S603: The pairing management module sends the received disconnection notification to the audio focus management module.
[0104] S604, the audio focus management module sends a connection disconnection notification to the control module. The control module deletes the stored audio playback device information in response to the received connection disconnection notification. Deleting the notification includes: deleting the audio focus information corresponding to the audio playback device in the audio focus management module.
[0105] S605: In response to the disconnection notification, the audio focus module generates a play pause notification to the audio playback application corresponding to the audio currently being played by the audio playback device.
[0106] S606: The audio playback application stops playing the audio in response to the play pause notification, and generates corresponding play stop information to the audio focus module. The play stop information is information that the audio playback application stops playing the audio.
[0107] S607: The audio focus management module deletes the audio focus information corresponding to the audio playback device in response to the playback stop information.
[0108] Furthermore, when receiving the playback stop information, the audio focus management module can determine the binding release information between the audio playback device and the corresponding display screen based on the received connection interruption notification, determine the corresponding audio focus information based on the audio playback device, and delete the audio focus information corresponding to the audio playback device, that is, delete the audio group instance.
[0109] S608: The audio focus management module generates a deletion notification and sends it to the pairing management module. The deletion notification includes deleting the audio focus information corresponding to the audio playback device.
[0110] S609: The pairing management module deletes the audio playback device information in response to the deletion notification to update the audio group application list in the pairing management module.
[0111] Furthermore, the audio playback device information may be an audio group application list.
[0112] S610: The pairing management module generates audio playback device deletion information and sends the information to the audio playback device management module.
[0113] S611: The audio playback device management module deletes the audio playback device, that is, deletes the output device, in response to the audio playback device deletion information.
[0114] refer to Figure 7 , Figure 7 The present invention is a flowchart of binding a display screen and an audio playback device when the audio playback method disclosed in the embodiment of the present invention is applied to an audio playback system. In another specific embodiment of the present invention, the specific steps of the user binding the display screen and the audio playback device through the display screen include:
[0115] S701. The user performs a binding operation on the display screen.
[0116] Further, when the current display screen is not bound to the audio playback device, the user needs to bind the current display screen to a new audio playback device. At this time, the user performs a binding operation on the display screen. For example, the specific steps for the user to perform a binding operation on the display screen may include adding a new audio playback device on the display screen, that is, adding an output device on the display screen. The display screen generates corresponding binding operation information based on the information of the newly added audio playback device. The binding operation information includes: the information of the current display screen and the information of the newly added audio playback device.
[0117] S702. In response to the received binding operation information, the audio playback device management module adds the audio playback device information in the audio playback device management module, that is, adds an output device in the audio playback device management module.
[0118] S703. The audio playback device management module generates a connection notification and sends it to the pairing management module. The connection notification includes the audio playback device information.
[0119] S704. In response to the received connection notification, the pairing management module binds the audio playback device to the display screen.
[0120] Further, the specific steps of step S704 may include: when the pairing management module receives the connection notification, the pairing management module binds the new audio playback device to the current display screen based on the information of the new audio playback device in the connection notification; inputs the binding relationship between the new audio playback device and the current display screen into the corresponding audio playback device and display screen correspondence list, that is, the audio group application list, to obtain the new audio playback device and display screen correspondence list, that is, initializes the new audio group application list.
[0121] S705. The pairing management module generates binding information and sends the binding information to the audio focus management module. The binding information includes; the binding relationship between the audio playback device and the display screen.
[0122] Further, the binding information may be a connection notification of the new audio playback device and the display screen, and this connection notification is a notification that the new audio playback device and the display screen have established a connection.
[0123] S706. In response to the binding information, the audio focus management module adds the audio focus information corresponding to when the audio playback device plays the audio playback application in the audio focus management module to add a focus instance in the audio focus management module.
[0124] S707, the audio focus management module generates corresponding relationship information and sends it to the control module. The corresponding relationship information includes: information between the audio playback device, the audio playback application, and the corresponding audio focus. The control module stores the corresponding relationship information for subsequent invocation when playing audio.
[0125] Further, the corresponding relationship information can be a connection notification between the audio playback device, the audio playback application, and the corresponding audio focus.
[0126] Reference Figure 8 , Figure 8 is a schematic flowchart for the initialization determination of the audio playback device when the audio playback method disclosed in the embodiment of the present invention is applied to an audio playback system. Further, in an audio playback method disclosed in the embodiment of the present invention, before the user performs a binding operation on the display screen, the audio playback method further includes: initially determining all audio playback devices in the vehicle.
[0127] Reference Figure 8 , the specific steps for initially determining all audio playback devices in the vehicle may include:
[0128] S801, the user performs a power-on operation to power on the audio playback system.
[0129] S802, the audio playback device management module responds to the user's power-on operation, reads the information of multiple audio playback devices in the audio playback system to determine the initial configuration information in the vehicle, so as to facilitate subsequent invocation.
[0130] S803, the pairing management module responds to the user's power-on operation, generates the first audio playback device query information, and sends the first audio playback device query information to the audio playback device management module to determine the information of multiple audio playback devices in the audio playback system for audio group device query, so as to determine the audio playback device information in the audio playback system and facilitate subsequent invocation.
[0131] S804, the audio playback device management module responds to the first audio playback device query information, generates initialization audio playback device information and sends it to the pairing management module.
[0132] S805, the pairing management module performs initialization settings based on the initialization audio playback device information.
[0133] S806, the audio focus management module responds to the user's power-on operation, generates the second audio playback device query information, and sends it to the pairing management module to determine the information of multiple audio playback devices in the audio playback system for audio group device query.
[0134] S807. The pairing management module generates initialization audio playback device information in response to the query information of the second audio playback device and sends it to the audio focus management module.
[0135] S808. The audio focus management module performs initialization audio focus configuration based on the initialization audio playback device information.
[0136] Furthermore, the functions and information interaction processes of the audio playback device management module, the audio focus management module, and the control module have been described in the specific process of the audio playback system when the audio playback method provided in the above embodiments is applied to the audio playback system provided in the above embodiments, and will not be elaborated here.
[0137] Reference Figure 9 , Figure 9 is a schematic structural diagram of a vehicle disclosed in an embodiment of the present invention. An embodiment of the present invention also discloses a vehicle, which includes the audio playback system as described in any one of the above.
[0138] It should be noted that, except for the embodiments of the present invention described in the above specific embodiments, those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. Although the description of the present invention is introduced in combination with preferred embodiments, this does not mean that the features of this invention are limited to this embodiment. On the contrary, the purpose of introducing the invention in combination with the embodiment is to cover other alternatives or modifications that may be extended based on the claims of the present invention. In order to provide a deep understanding of the present invention, many specific details are included in the above description. The present invention can also be implemented without using these details. In addition, in order to avoid confusion or obscuring the focus of the present invention, some specific details will be omitted in the description. It should be noted that, without conflict, the embodiments and features in the embodiments of the present invention can be combined with each other.
[0139] In the description of this embodiment, it should be noted that the orientation or positional relationship indicated by the terms "upper", "lower", "inner", "bottom", etc. is based on the orientation or positional relationship shown in the drawings, or the orientation or positional relationship in which the invention product is usually placed during use. It is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation to the present invention.
[0140] The terms "first", "second", etc. are only used for distinguishing descriptions and cannot be understood as indicating or implying relative importance.
[0141] In the description of this embodiment, it should also be noted that unless otherwise clearly specified and defined, the terms "set", "connected", and "coupled" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the communication inside two components. For those of ordinary skill in the art, the specific meanings of the above terms in this embodiment can be understood according to specific situations.
[0142] Although the present invention has been illustrated and described by referring to some preferred embodiments of the present invention, those of ordinary skill in the art should understand that the above content is a further detailed description of the present invention in combination with specific embodiments, and it cannot be determined that the specific implementation of the present invention is only limited to these descriptions. Those skilled in the art can make various changes in form and detail, including making several simple deductions or substitutions, without departing from the spirit and scope of the present invention.
Claims
1. An audio playback method, characterized in that: Applied to a vehicle, the vehicle includes multiple display screens and multiple audio playback devices, the multiple audio playback devices include in-vehicle audio, out-vehicle audio, and headphones, the method includes: In response to receiving an audio playback instruction for a target audio playback application, determining a target display screen corresponding to the target audio playback application; Determining a target audio playback device bound to the target display screen according to a binding relationship between the display screen and the audio playback device; When it is determined according to the target audio playback device that the target audio playback application has the audio playback authority, the target audio playback application is enabled to play the corresponding audio through the target audio playback device.
2. The audio playback method according to claim 1, characterized in that: The method further comprises: Whether the target audio playback application has the audio playback permission is determined according to whether the target audio playback device can obtain the audio focus.
3. The audio playback method according to claim 1 or 2, characterized in that: The method further comprises: A corresponding audio playback mode is determined according to the audio playback state of the target audio playback device and / or the priority information of the target audio playback application, so that the target audio playback application plays the corresponding audio through the target audio playback device according to the audio playback mode.
4. The audio playback method according to claim 3, characterized in that: Determining a corresponding audio playback mode according to the audio playback state of the target audio playback device includes: If the target audio playback device is in a non-playing audio state, the audio playback mode is to enable the target audio playback device to play the audio corresponding to the target audio playback application; If the target audio playback device is in an audio playback state, the audio playback mode is to make the target audio playback device pause the currently playing audio and play the audio corresponding to the target audio playback application.
5. The audio playback method according to any one of claims 1 to 4, characterized in that: The binding relationship between the display screen and the audio playback device is obtained according to the user's binding operation on the display screen and the audio playback device, and the method further includes: In the case that the audio playback device is not bound to the display screen, corresponding prompt information is displayed to prompt the user to bind the audio playback device to the display screen.
6. The audio playback method according to any one of claims 1 to 5, characterized in that: The method further comprises: According to the binding relationship between the display screen and the audio playback device, when it is determined that there is no target audio playback device bound to the target display screen, the audio corresponding to the target audio playback application is played through a default audio playback device.
7. The audio playback method according to any one of claims 1 to 6, characterized in that: The target audio playback application is a service application having an audio focus application function and an audio data stream application function, or the target audio playback application includes an audio focus application sub-application and an audio data stream application sub-application.
8. An audio playback system, characterized in that: The audio playback system includes multiple display screens, multiple audio playback devices and an audio playback management module, wherein: The audio playback management module is used to determine the target display screen corresponding to the target audio playback application in response to the received audio playback instruction for the target audio playback application; determine the target audio playback device bound to the target display screen according to the binding relationship between the display screen and the audio playback device; and when it is determined according to the target audio playback device that the target audio playback application has audio playback authority, enable the target audio playback application to play the corresponding audio through the target audio playback device.
9. The audio playback system according to claim 8, characterized in that: The audio playback management module includes a screen interface monitoring module, a pairing management module and an audio playback device management module, wherein: The screen interface monitoring module is used to monitor the display screen, and when monitoring that the user performs a trigger operation on the target audio playback application on the target display screen, generate the audio playback instruction for the target audio playback application and send it to the pairing management module; The pairing management module is used to determine the target display screen and the target audio playback device corresponding to the target audio playback application according to the playback instruction; The audio playback device management module is used to enable the target audio playback application to play the corresponding audio through the target audio playback device when it is determined according to the target audio playback device that the target audio playback application has the audio playback authority.
10. A vehicle, characterized in that: The vehicle comprises an audio playback system as claimed in claim 8 or 9.
Citation Information
Cited By
Method for playing audio inside and outside vehicle and electronic equipment
CN121013026A