EP-4742632-A1 - COCKPIT MULTI-SOUND-ZONE MANAGEMENT METHOD, RELATED APPARATUS AND COMMUNICATION SYSTEM
Abstract
A cockpit multi-audio-zone management method, a related apparatus, and a communication system are provided. A cockpit system may divide a plurality of screens into a plurality of occupant zones based on a configuration file. Each occupant zone may be associated with one audio zone. The cockpit system may dynamically create and delete an audio zone based on a connection and removal of a sound generation device. The cockpit system may perform unified management on an audio focus, volume, an audio route, and a media session in one audio zone. An application corresponding to an occupant zone may apply for an audio focus in an audio zone associated with the occupant zone, and play an audio by using a sound generation device in the audio zone. Audios in different audio zones can be independently played without affecting each other. This can help different users in a vehicle listen to audios by using different audio zones, thereby improving audio listening experience of the users in the vehicle.
Inventors
- LIANG, Libin
- HUANG, Congdao
- CAI, Xuejiang
- QI, QUAN
Assignees
- Huawei Technologies Co., Ltd.
Dates
- Publication Date
- 20260513
- Application Date
- 20241203
Claims (20)
- A cockpit multi-audio-zone management method, wherein the method is applied to a vehicle, the vehicle comprises an in-vehicle speaker and a plurality of screens, the plurality of screens comprise a first screen and a second screen, both the first screen and the second screen are associated with a first audio zone corresponding to the in-vehicle speaker, and the method comprises: detecting that a first application on the second screen requests to play a first audio, and playing the first audio via the in-vehicle speaker; detecting that a second application on the first screen requests to play a second audio, playing the second audio via the in-vehicle speaker, and pausing playing of the first audio or reducing playing volume of the first audio; detecting an input operation that is performed on the second screen and that is for connecting a first sound generation device, connecting the vehicle to the first sound generation device, and creating a second audio zone corresponding to the first sound generation device, wherein an audio zone associated with the second screen changes from the first audio zone to the second audio zone; and detecting again that the first application requests to play the first audio, and playing the first audio via the first sound generation device.
- The method according to claim 1, wherein the vehicle stores a first configuration file, the first configuration file indicates a correspondence between the plurality of screens and an occupant zone, any one of the plurality of screens corresponds to one occupant zone, audio zones associated with screens corresponding to a same occupant zone are consistent, and audio zones associated with screens corresponding to different occupant zones are the same or different.
- The method according to claim 1 or 2, wherein the vehicle comprises a first audio focus stack corresponding to the first audio zone, and the first audio focus stack comprises audio focus information of an application that is running in a foreground or a background on a screen associated with the first audio zone; and after detecting the input operation that is performed on the second screen and that is for connecting the first sound generation device, the method further comprises: creating a second audio focus stack corresponding to the second audio zone, and migrating audio focus information of an application that is running in a foreground or a background on the second screen from the first audio focus stack to the second audio focus stack.
- The method according to any one of claims 1 to 3, wherein the vehicle comprises a first audio routing table corresponding to the first audio zone, the first audio routing table comprises application information of the application that is running in the foreground or the background on the screen associated with the first audio zone, and a first audio channel of the in-vehicle speaker is configured in the first audio routing table, and indicates that an audio of the application corresponding to the application information in the first audio routing table is routed to the first audio channel; and after detecting the input operation that is performed on the second screen and that is for connecting the first sound generation device, the method further comprises: creating a second audio routing table corresponding to the second audio zone, and migrating application information of the application that is running in the foreground or the background on the second screen from the first audio routing table to the second audio routing table; and creating a second audio channel of the first sound generation device, and configuring the second audio channel in the second audio routing table, wherein the second audio channel configured in the second audio routing table indicates that an audio of the application corresponding to the application information in the second audio routing table is routed to the second audio channel.
- The method according to any one of claims 1 to 4, wherein the vehicle comprises a first media session stack corresponding to the first audio zone, and the first media session stack comprises a media session of the application that is running in the foreground or the background on the screen associated with the first audio zone; and after detecting the input operation that is performed on the second screen and that is for connecting the first sound generation device, the method further comprises: creating a second media session stack corresponding to the second audio zone, and migrating a media session of the application that is running in the foreground or the background on the second screen from the first media session stack to the second media session stack.
- The method according to claim 5, wherein before detecting the input operation that is performed on the second screen and that is for connecting the first sound generation device, the method further comprises: detecting an input operation that is performed on the first screen and that is used to view audio playing information, and displaying a first list on the first screen based on the first media session stack, wherein the first list comprises audio playing information indicated by the first media session stack; and detecting an input operation that is performed on the second screen and that is used to view audio playing information, and displaying the first list on the second screen based on the first media session stack.
- The method according to claim 6, wherein the first list comprises audio playing information of the first audio, and the method further comprises: when the in-vehicle speaker plays the second audio, and playing of the first audio is paused, detecting an input operation that is performed on the first screen and that is for the audio playing information of the first audio in the first list, wherein the input operation for the audio playing information of the first audio in the first list is used to play the first audio; and playing the first audio via the in-vehicle speaker, and pausing playing of the second audio.
- The method according to any one of claims 5 to 7, wherein after detecting the input operation that is performed on the second screen and that is for connecting the first sound generation device, the method further comprises: detecting an input operation that is performed on the first screen and that is used to view audio playing information, and displaying a second list on the first screen based on the first media session stack, wherein the second list comprises the audio playing information indicated by the first media session stack, and the second list does not comprise the audio playing information of the first audio; and detecting an input operation that is performed on the second screen and that is used to view audio playing information, and displaying a third list on the second screen based on the second media session stack, wherein the third list comprises audio playing information indicated by the second media session stack, and the second list comprises the audio playing information of the first audio.
- The method according to any one of claims 1 to 8, wherein after connecting the vehicle to the first sound generation device, the method further comprises: detecting an input operation that is performed on the second screen and that is used to adjust volume to first volume, and adjusting, to the first volume, volume at which the first sound generation device plays an audio.
- The method according to any one of claims 1 to 9, wherein after connecting the vehicle to the first sound generation device, the method further comprises: detecting an input operation that is performed on the first screen and that is used to adjust volume to second volume, and adjusting, to the second volume, volume at which the in-vehicle speaker plays an audio.
- The method according to any one of claims 1 to 10, wherein the first screen displays a first interface of the second application, and the first interface is a playing interface of the second audio; and after connecting the vehicle to the first sound generation device, the method further comprises: detecting an input operation of migrating the first interface from the first screen to the second screen, displaying the first interface on the second screen, canceling displaying of the first interface on the first screen, and switching the second audio from the in-vehicle speaker to the first sound generation device to continue playing.
- The method according to claim 11, wherein after switching the second audio from the in-vehicle speaker to the first sound generation device to continue playing, the method further comprises: detecting that a third application on the first screen requests to play a third audio, and playing the third audio via the in-vehicle speaker.
- The method according to claim 11 or 12, wherein after switching the second audio from the in-vehicle speaker to the first sound generation device to continue playing, the method further comprises: detecting that the first application on the second screen requests to play the first audio, playing the first audio via the first sound generation device, and pausing playing of the second audio or reducing playing volume of the second audio.
- The method according to any one of claims 11 to 13, wherein the vehicle comprises the first audio focus stack, the first audio routing table, and the first media session stack that correspond to the first audio zone, and the second audio focus stack, the second audio routing table, and the second media session stack that correspond to the second audio zone, the first audio focus stack comprises audio focus information of the second application, the first audio routing table comprises application information of the second application, and the first media session stack comprises a media session stack of the first application; and after detecting the input operation of migrating the first interface from the first screen to the second screen, the method further comprises: migrating the audio focus information of the second application from the first audio focus stack to the second audio focus stack, migrating the application information of the second application from the first audio routing table to the second audio routing table, and migrating a media session of the second application from the first media session stack to the second media session stack.
- The method according to any one of claims 1 to 14, wherein the second screen displays a second interface of the first application, and the second interface is a playing interface of the first audio; and after detecting again that the first application requests to play the first audio, and playing the first audio via the first sound generation device, the method further comprises: detecting an input operation of sharing the second interface from the second screen to the first screen, displaying the second interface on the first screen, and switching the first audio from the first sound generation device to the in-vehicle speaker to continue playing.
- The method according to claim 15, wherein the vehicle further comprises a third screen, the third screen is associated with a third audio zone of a second sound generation device, the second sound generation device is connected to the vehicle, and the method further comprises: detecting an input operation of sharing the second interface from the second screen to the third screen, and displaying the second interface on the third screen.
- The method according to claim 15 or 16, wherein after switching the first audio from the first sound generation device to the in-vehicle speaker to continue playing, the method further comprises: detecting that a fourth application on the second screen requests to play a fourth audio, and playing the fourth audio via the first sound generation device.
- The method according to claim 16, wherein the method further comprises: detecting that a fifth application on the third screen requests to play a fifth audio, and playing the fifth audio via the second sound generation device.
- The method according to any one of claims 15 to 18, wherein after switching the first audio from the first sound generation device to the in-vehicle speaker to continue playing, the method further comprises: detecting that a sixth application on the first screen requests to play a sixth audio, playing the sixth audio via the in-vehicle speaker, and pausing playing of the first audio.
- The method according to any one of claims 15 to 19, wherein the vehicle comprises the first audio focus stack and the first audio routing table that correspond to the first audio zone, and the second audio focus stack and the second audio routing table that correspond to the second audio zone, the second audio focus stack comprises audio focus information of the first application, and the second audio routing table comprises application information of the first application; and after detecting the input operation of sharing the second interface from the second screen to the first screen, the method further comprises: migrating the audio focus information of the first application from the second audio focus stack to the first audio focus stack, and migrating the application information of the first application from the second audio routing table to the first audio routing table.
Description
This application claims priority to Chinese Patent Application No. 202311669639.4, filed with the China National Intellectual Property Administration on December 5, 2023 and entitled "COCKPIT MULTI-AUDIO-ZONE MANAGEMENT METHOD, RELATED APPARATUS, AND COMMUNICATION SYSTEM", which is incorporated herein by reference in its entirety. TECHNICAL FIELD This application relates to the field of intelligent vehicle technologies, and in particular, to a cockpit multi-audio-zone management method, a related apparatus, and a communication system. BACKGROUND With development of electronic products, vehicles are configured with more electronic products. The vehicles are also increasingly intelligent. A cockpit system of an intelligent vehicle may be equipped with intelligent and networked vehicle-mounted products, to perform intelligent interaction with persons, roads, and the vehicle. A current cockpit system can support more screens and sound generation devices. Based on these screens and sound generation devices, the cockpit system may obtain one or more audio zones through division. The cockpit system needs to manage the audio zones, to provide better driving experience for users seated at different locations in the vehicle. SUMMARY This application provides a cockpit multi-audio-zone management method, a related apparatus, and a communication system, to dynamically create or delete an audio zone based on a change of an externally connected sound generation device in a cockpit system. The cockpit system can perform unified management on an audio focus, volume, an audio route, and a media session in one audio zone. In addition, audios in audio zones can be independently played without affecting each other. This can help different users in a vehicle listen to audios by using different audio zones, thereby improving audio listening experience of the users in the vehicle. According to a first aspect, this application provides a cockpit multi-audio-zone management method. The method is applied to a vehicle. The vehicle includes an in-vehicle speaker and a plurality of screens. The plurality of screens include a first screen and a second screen. Both the first screen and the second screen are associated with a first audio zone corresponding to the in-vehicle speaker. The vehicle may detect that a first application on the second screen requests to play a first audio, and play the first audio via the in-vehicle speaker. The vehicle detects that a second application on the first screen requests to play a second audio, plays the second audio via the in-vehicle speaker, and pauses playing of the first audio or reduces playing volume of the first audio. The vehicle detects an input operation that is performed on the second screen and that is for connecting a first sound generation device. The vehicle is connected to the first sound generation device, and creates a second audio zone corresponding to the first sound generation device. An audio zone associated with the second screen changes from the first audio zone to the second audio zone. The vehicle detects again that the first application requests to play the first audio, and plays the first audio via the first sound generation device. It can be learned that, when the vehicle is externally connected to no sound generation device, the vehicle can include the first audio zone associated with the in-vehicle speaker. All the screens in the vehicle can be associated with the first audio zone. When the vehicle is externally connected to a sound generation device, the vehicle can create a new audio zone, and a corresponding screen is associated with the newly created audio zone. In this way, an audio zone associated with a screen can be dynamically adjusted, so that audios of applications on different screens are separated and played via different sound generation devices. In this way, different users can externally connect different sound generation devices to different screens, and then listen to audios that the users want to listen to by using the different sound generation devices without affecting each other. This can improve audio listening experience of users seated at different locations in the vehicle. With reference to the first aspect, in some embodiments, the vehicle stores a first configuration file. The first configuration file indicates a correspondence between the plurality of screens and an occupant zone. Any one of the plurality of screens corresponds to one occupant zone. Audio zones associated with screens corresponding to a same occupant zone are consistent. Audio zones associated with screens corresponding to different occupant zones are the same or different. Cockpit systems of different vehicle models may include different screens. In the foregoing embodiment, only configuration files need to be modified for different vehicle models, so that occupant zones of the different vehicle models can be configured. Cockpit systems of different vehicle models can create