Audio playing system and method, audio device and equipment, and readable storage medium
By setting independent audio modules in the car audio system and sharing audio policies, distributed audio arbitration and execution are implemented, the functional abnormalities caused by unconsolidation of audio policies in existing systems are solved, and the stability and synchronization of audio playback are improved.
Patent Information
- Application Number
- CN202411630352.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-14
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2044-11-14
AI Technical Summary
The existing in-car audio systems lack an overall integrated audio strategy, which leads to excessive audio policy links for non-central operating systems and abnormal audio policy services of central operating systems, which leads to abnormal audio functions of all non-central operating systems.
Distributed arbitration and execution are achieved by setting up independent first and second audio modules in the audio playback system, sharing an audio policy, and arbitration and execution are respectively arbitrated and executed by the received audio playback requests according to the audio policy. At the same time, the arbitration results of each audio module will be sent simultaneously to ensure that the audio playback situation is updated synchronously.
Each audio module performs distributed arbitration and execution of the respective received audio playback requests, avoiding audio playback conflicts, and ensuring the stability and synchronization of audio playback.
Smart Images

Figure CN119806458A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of audio playback, and in particular to an audio playback system and method, an audio device and equipment, and a readable storage medium. Background Art
[0002] With the rapid development of the economy, cars have become an essential means of transportation for every household. The car audio playback function is an important part of the comfort and convenience of modern cars. It can not only greatly enhance the driving experience, but also provide entertainment for passengers during long journeys.
[0003] The main implementation scheme for the current in-vehicle cockpit is the virtualization scheme of QNX+Android, and there are also a small number of schemes such as AliOS+AliOS, AliOS+Android and QNX+AliOS. Multiple operating systems run in different forms such as virtualization or hardware isolation. The in-vehicle system lacks an overall integrated audio strategy. If a certain operating system is used as the center for overall audio arbitration, it may cause the policy link of non-central operating system applications to be too long, and once the audio policy service of the central operating system is abnormal, it will cause the audio function of all non-central operating system OS to be abnormal.
[0004] Therefore, how to provide an overall integrated audio strategy to achieve audio playback is a technical problem that needs to be solved urgently. Summary of the invention
[0005] The present application provides an audio playback system and method, an audio device and equipment, and a readable storage medium, which can solve the above-mentioned technical problems by providing an overall integrated audio strategy.
[0006] In the first aspect, the present application provides an audio playback system, comprising: a first audio module, used to respond to a first audio playback request; a second audio module, used to respond to a second audio playback request; the first audio module and the second audio module are equipped with an audio strategy, when the first audio module receives the first audio playback request, the first audio module determines a first arbitration result according to the audio strategy and controls the playback, and the first arbitration result will be sent to the second audio module; when the second audio module receives the second audio playback request, it determines a second arbitration result according to the audio strategy and the first arbitration result and controls the playback, and the second arbitration result will be sent to the first audio module.
[0007] Optionally, the system also includes an information distribution center, which is electrically connected to the first audio module and the second audio module. The first audio module sends the first arbitration result to the information distribution center, and the information distribution center sends the first arbitration result to the second audio module; the second audio module sends the second arbitration result to the information distribution center, and the information distribution center sends the second arbitration result to the first audio module.
[0008] Optionally, the information distribution center sets the audio strategy. When the information distribution center receives an audio playback request from the information distribution center, if the information distribution center only receives the first arbitration result, the information distribution center will determine the arbitration result of the information distribution center according to the audio strategy and the first arbitration result and control the playback, and send the arbitration result of the information distribution center to the first audio module and the second audio module; if the information distribution center only receives the second arbitration result, the information distribution center will determine the arbitration result of the information distribution center according to the audio strategy and the second arbitration result and control the playback, and send the arbitration result of the information distribution center to the first audio module and the second audio module. the second audio module; if the information distribution center receives the first arbitration result and the second arbitration result, the information distribution center will determine the information distribution center arbitration result and control the playback according to the audio strategy, the first arbitration result and the second arbitration result, and send the information distribution center arbitration result to the first audio module and the second audio module; if the information distribution center does not receive the first arbitration result, and the information distribution center does not receive the second arbitration result, the information distribution center will determine the information distribution center arbitration result and control the playback according to the audio strategy, and send the information distribution center arbitration result to the first audio module and the second audio module.
[0009] Optionally, after sending the arbitration result of the information distribution center to the first audio module and the second audio module, the method further includes: the first audio module and the second audio module re-arbitrate and control the playback according to the arbitration result of the information distribution center.
[0010] Optionally, the system also includes an external audio device, which can be selectively communicated with the first audio module or the second audio module. When the external audio device is communicated with the first audio module, the external audio device sends an external audio playback request to the first audio module, and the first audio module arbitrates the external audio playback request and controls the playback; when the external audio device is communicated with the second audio module, the external audio device sends the external audio playback request to the second audio module, and the second audio module arbitrates the external audio playback request and controls the playback.
[0011] Optionally, the audio playback system also includes a body audio module, which is communicatively connected to the first audio module or the second audio module. When the body audio module is communicatively connected to the first audio module, the body audio module sends a body audio playback request to the first audio module, and the first audio module arbitrates the body audio playback request and controls the playback; when the body audio module is communicatively connected to the second audio module, the body audio module sends the body audio playback request to the second audio module, and the second audio module arbitrates the body audio playback request and controls the playback.
[0012] Optionally, the audio strategy includes a focus strategy, a volume reduction strategy and a mute strategy.
[0013] In a second aspect, the present application provides an audio device, comprising the audio playback system as described above.
[0014] In a third aspect, the present application provides an audio playback method, applied to a first audio module, the method comprising: loading an audio strategy; in response to a first audio playback request, determining a first arbitration result and controlling the playback according to the audio strategy; sending the first arbitration result to an information distribution center, and the information distribution center sending the first arbitration result to a second audio module.
[0015] In a fourth aspect, the present application provides an audio playback method, applied to a second audio module, the method comprising: loading an audio strategy; receiving a first arbitration result sent by an information distribution center; in response to a second audio playback request, determining a second arbitration result and controlling playback based on the audio strategy and the first arbitration result; sending the second arbitration result to the information distribution center, and the information distribution center sending the second arbitration result to the first audio module.
[0016] In a fifth aspect, the present application provides an audio device, comprising a processor and a memory coupled to each other, wherein the memory stores program instructions, and when the processor runs the program instructions, the audio device executes the steps of the audio playback method as described above.
[0017] In a sixth aspect, the present application provides a readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the audio playback method as described above are implemented.
[0018] The beneficial effect of the present application is that the present application sets up a mutually independent first audio module and a second audio module for processing different audio playback requests. The first audio module and the second audio module share an audio strategy, and arbitrate and execute the received audio playback requests according to the audio strategy, respectively, thereby enabling each audio module to perform distributed arbitration and execution on the audio playback requests received by each audio module. At the same time, the first arbitration result made by the first audio module will be synchronously sent to the second audio module, and the second audio module will take the first arbitration result into consideration when arbitrating the subsequently received audio playback requests, thereby enabling the audio playback status of each audio module to be synchronously updated to other audio modules, thereby avoiding situations such as audio playback conflicts between the audio modules. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work, among which:
[0020] Figure 1 It is a flowchart of an embodiment of an audio playback system provided by the present application;
[0021] Figure 2 is a schematic diagram of the information transmission relationship between the information distribution center and the first audio module and the second audio module in one embodiment of the present application;
[0022] Figure 3 It is a schematic diagram of an embodiment of the information distribution center of the present application processing an audio playback request of the information distribution center;
[0023] Figure 4 It is a schematic diagram of another embodiment of the information distribution center of the present application processing the audio playback request of the information distribution center;
[0024] Figure 5 It is a schematic diagram of another embodiment of the information distribution center of the present application processing the audio playback request of the information distribution center;
[0025] Figure 6 It is a schematic diagram of another embodiment of the information distribution center of the present application processing the audio playback request of the information distribution center;
[0026] Figure 7 It is a schematic diagram of another embodiment of the information distribution center of the present application processing the audio playback request of the information distribution center;
[0027] Figure 8 It is a schematic diagram of another embodiment of the information distribution center of the present application processing the audio playback request of the information distribution center;
[0028] Fig. 9 is a schematic diagram of an embodiment of the Nth audio module of the present application processing the Nth audio playback request;
[0029] Fig.10 is a schematic diagram of another embodiment of the present application in which the Nth audio module processes the Nth audio playback request;
[0030] Fig.11 This is a schematic diagram of an embodiment of the present application in which the audio modules send arbitration results to each other;
[0031] Fig.12 It is a schematic diagram of an embodiment of the present application in which the arbitration results are uniformly sent between the audio modules through the information distribution center;
[0032] Fig.13 is a schematic diagram of a framework of an embodiment of an audio device provided by the present application;
[0033] Fig.14 is a schematic diagram of a framework of another embodiment of the audio device provided by the present application;
[0034] Fig.15 is a schematic diagram of a framework of another embodiment of the audio device provided by the present application;
[0035] Fig.16 is a schematic diagram of a framework of another embodiment of the audio device provided by the present application;
[0036] Fig.17 is a schematic diagram of a framework of another embodiment of the audio device provided by the present application;
[0037] Fig.18 is a schematic diagram of a framework of another embodiment of the audio device provided by the present application;
[0038] Fig.19 is a schematic diagram of a framework of another embodiment of the audio device provided by the present application;
[0039] Fig. 20 is a schematic diagram of a framework of another embodiment of the audio device provided by the present application;
[0040] Fig.21 is a schematic diagram of a framework of another embodiment of the audio device provided by the present application;
[0041] Fig. 22 is a schematic diagram of a framework of another embodiment of the audio device provided by the present application;
[0042] Fig.23 is a schematic diagram of a framework of another embodiment of the audio device provided by the present application;
[0043] Fig.24 is a schematic diagram of a framework of another embodiment of the audio device provided by the present application;
[0044] Fig.25 It is a flowchart of an embodiment of an audio playback method provided by the present application;
[0045] Fig.26 It is a schematic diagram of the framework of an embodiment of an audio device provided by the present application;
[0046] Fig. 27 It is a schematic diagram of the framework of an embodiment of a readable storage medium provided by the present application. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0048] The terms "first", "second", "third" in the embodiments of the present application are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first", "second", "third" can expressly or implicitly include at least one of the features. In the description of the present application, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices.
[0049] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0050] See also Figure 1 , Figure 1 It is a flowchart of an embodiment of an audio playback system provided by the present application.
[0051] In a first aspect, the present application provides an audio playback system, which includes a first audio module 10 and a second audio module 20, wherein the first audio module 10 is used to respond to a first audio playback request, and the second audio module 20 is used to respond to a second audio playback request. That is, the first audio module 10 and the second audio module 20 are independent of each other, and each processes a corresponding audio playback request. Of course, the audio control system of the present application can be provided with more audio modules to meet more diverse audio playback requirements, and the audio playback control of other audio modules can be performed with reference to the aforementioned first audio module 10 or second audio module 20.
[0052] Furthermore, the first audio module 10 and the second audio module 20 are both provided with an audio strategy, that is, all audio modules share one audio strategy, which includes both the audio conflict handling strategy between the various audio modules and the audio conflict handling strategy between the various audios within each module.
[0053] For example, the audio policy can be specifically a focus policy, a volume reduction policy, and a mute policy. Of course, it can also be other policies for resolving audio playback conflicts, which are not specifically limited in this application. Among them, the focus policy is usually used to manage the situation where multiple audio streams are played simultaneously. In the Android system, audio focus management allows applications to request audio focus in order to coordinate the playback of other audios while playing audio. For example, when an application requests audio focus, other applications that are playing audio may need to pause or lower the volume. The focus policy includes several states, such as AUDIOFOCUS_GAIN (regaining audio focus), AUDIOFOCUS_LOSS (permanently losing audio focus), AUDIOFOCUS_LOSS_TRANSIENT (temporarily losing audio focus, but will soon regain it) and AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK (temporarily losing audio focus, the application should lower the volume to allow continuous audio playback), etc. The volume reduction policy means that when certain audio events (such as notifications or navigation prompts) occur, the system automatically lowers the volume of other non-critical audio. This strategy allows important audio information (such as navigation instructions) to be heard clearly while allowing background music or other audio to continue playing at a lower volume. In the Android system, when an application requests AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK (the application needs temporary audio focus to play audio, but if other applications are playing audio, then these applications can continue to play but the volume will be reduced) focus, other audio applications can choose to reduce the volume instead of stopping playback completely. Mute policy generally refers to completely stopping audio playback or reducing the volume to an inaudible level under specific conditions. This can be to not disturb the user (such as in silent mode) or in some application scenarios to ensure that the user can focus on a specific task. In a car audio system, the mute policy may involve temporarily muting entertainment audio when the driver performs certain operations (such as answering a call).
[0054] When the first audio module 10 receives the first audio playback request, the first audio module 10 determines the first arbitration result according to the audio strategy and controls the playback, and the first arbitration result will be sent to the second audio module 20. It is worth noting that the first arbitration result can be sent directly from the first audio module 10 to the second audio module 20, or can be sent indirectly from the first audio module 10 to the second audio module 20 through a third-party module, as long as the first arbitration result can be sent to the second audio module 20 in a timely manner, and this application does not make specific limitations here.
[0055] When the second audio module 20 receives the second audio playback request, it will determine the second arbitration result and control the playback according to the audio strategy and the first arbitration result, and the second arbitration result will be sent to the first audio module 10. It is worth noting that the second arbitration result can be sent directly to the first audio module 10 by the second audio module 20, or it can be sent indirectly to the first audio module 10 by the second audio module 20 through a third-party module. As long as the second arbitration result can be sent to the first audio module 10 in a timely manner, this application does not make specific limitations here.
[0056] That is to say, when the first audio module 10 and the second audio module 20 receive an audio playback request, they can directly determine the arbitration result and control the playback according to the audio strategy without setting up an arbitration center, thereby enabling each audio module to perform distributed arbitration and execution on the audio playback request received by each audio module. In addition, the first arbitration result made by the first audio module 10 will be sent synchronously to the second audio module 20, so that the second audio module 20 will take the first arbitration result into consideration when arbitrating the subsequent audio playback request received, thereby avoiding the second arbitration result made by the second audio module 20 thereafter from conflicting with the first arbitration result. As a result, the present application can achieve that the audio playback status of each audio module can be known to other audio modules in a timely manner, thereby avoiding situations such as audio playback conflicts between various audio modules.
[0057] Of course, the present application can set more audio modules, for example, N (N>2) audio modules, and these N audio modules are the same as the first audio module 10 and the second audio module 20 in processing audio requests. That is, when the Nth audio module receives an audio playback request, it will also determine the Nth arbitration result of the audio playback request based on the audio strategy and the arbitration results made by other audio modules received previously, and execute the Nth arbitration result. At the same time, the Nth arbitration result will also be sent to other audio modules directly or indirectly through a third-party module.
[0058] For example, in a specific embodiment of the present application, the first audio module 10 is a central control entertainment system, which is responsible for audio playback services such as navigation broadcast, central control media playback, and calls; the second audio module 20 is a co-pilot or rear-seat entertainment system, which is responsible for audio playback services such as co-pilot or rear-seat media playback and network calls.
[0059] Furthermore, in a specific scenario, when the vehicle is playing the central control entertainment media, it receives a navigation broadcast request, and the first audio module 10 arbitrates the navigation broadcast request. In the audio strategy, the priority of the central control entertainment media playback is lower than the navigation broadcast, and when the navigation is broadcast, the central control entertainment media playback should adopt a volume reduction strategy, that is, the central control entertainment media playback is allowed but the volume of the central control entertainment media playback needs to be reduced. Therefore, the first audio module 10 obtains the arbitration result: the navigation broadcast audio playback is allowed, and the volume reduction measures are taken for the central control entertainment media playback. Therefore, the first audio module 10 will execute the arbitration result of playing the navigation broadcast and reducing the volume of the central control entertainment media playback. The arbitration result of allowing the navigation broadcast audio playback will be sent synchronously to the second audio module 20. At this time, if the second audio module 20 is playing the rear media or receives a request for the rear media playback, the second audio module 20 will arbitrate according to the audio strategy when it is known that the navigation broadcast is in progress. In the audio strategy, the priority of the rear-row media playback is lower than that of the navigation broadcast, and when the navigation broadcast is on, the rear-row media playback should adopt the volume reduction strategy, that is, the rear-row media playback is allowed but the volume of the media playback needs to be reduced. Therefore, the second audio module 20 will make an arbitration for the rear-row media playback to adopt the volume reduction strategy according to the audio strategy, and thereby control the rear-row media playback volume to be reduced.
[0060] In another application scenario, the vehicle receives a request for real-time playback of call audio, and the first audio module 10 arbitrates the request for real-time playback of call audio and obtains an arbitration result: the real-time playback of call audio is allowed, so the first audio module 10 will play the call audio in real time. The arbitration result of allowing the real-time playback of call audio will also be sent to the second audio module 20 synchronously. At this time, if the second audio module 20 is playing the rear-row media or receives a request for rear-row media playback, the second audio module 20 will arbitrate according to the audio strategy when it is known that the call audio is being played in real time. In the audio strategy, the priority of rear-row media playback is lower than that of call audio playback, and when the call audio is being played in real time, the rear-row media playback should adopt a mute strategy, that is, the rear-row media playback should be muted. Therefore, the second audio module 20 will arbitrate the mute strategy for the rear-row media playback according to the audio strategy, and thereby control the media playback to be muted.
[0061] See also Figure 2 , Figure 2 It is a schematic diagram of the information transmission relationship between the information distribution center 30 and the first audio module 10 and the second audio module 20 in one embodiment of the present application.
[0062] In one embodiment of the present application, the audio playback system also includes an information distribution center 30, which is electrically connected to the first audio module 10 and the second audio module 20. The first audio module 10 sends the first arbitration result to the information distribution center 30, and the information distribution center 30 sends the first arbitration result to the second audio module 20; the second audio module 20 sends the second arbitration result to the information distribution center 30, and the information distribution center 30 sends the second arbitration result to the first audio module 10.
[0063] It is worth noting that when the present application sets more audio modules, for example, N (N>2) audio modules, these N audio modules are all electrically connected to the information distribution center 30, and the arbitration results made by these N audio modules will be uniformly forwarded by the information distribution center 30. That is, the arbitration result made by the Nth audio module will be synchronously sent to the information distribution center 30, and then forwarded by the information distribution center 30 to the other N-1 audio modules.
[0064] That is to say, in this embodiment, in order to avoid system confusion caused by the audio modules sending arbitration results to each other, the present application further sets up an information distribution center 30, so that the arbitration results made by each audio module will be synchronously sent to the information distribution center 30, and then sent to other audio modules by the information distribution center 30, so that the audio playback status of each module can be timely perceived by other audio modules, thereby avoiding audio playback conflicts between the audio modules.
[0065] Of course, the information distribution center 30 can also selectively send the arbitration result to certain specific audio modules, such as an audio module that will adjust its internal audio playback status according to the arbitration result. Such targeted information sending can reduce the system burden and avoid problems such as long system response time caused by information redundancy. In special cases, if the current arbitration result does not affect any other audio module, the information distribution center 30 will not send the arbitration result to other audio modules.
[0066] In one embodiment of the present application, the information distribution center 30 itself is also an audio module, and the same audio strategy as other audio modules is arranged inside it. At this time, the information distribution center 30 can also independently arbitrate the audio playback request received by itself according to the audio strategy and execute the arbitration result.
[0067] That is, when the information distribution center 30 receives an information distribution center audio playback request, it will make an information distribution center arbitration result based on the arbitration results of other audio modules received previously and the audio strategy, and send the information distribution center arbitration result to other audio modules.
[0068] Specifically, see Figure 3 , Figure 3 It is a schematic diagram of an embodiment of the information distribution center 30 of the present application processing an audio playback request of the information distribution center.
[0069] like Figure 3 As shown, if the information distribution center 30 only receives the first arbitration result, the information distribution center 30 will determine the information distribution center arbitration result and control the playback according to the audio strategy and the first arbitration result, and send the information distribution center arbitration result to the first audio module 10 and the second audio module 20.
[0070] Of course, when the present application sets N (N>2) audio modules, the information distribution center 30 will synchronously send the information distribution center arbitration result to all other audio modules.
[0071] See also Figure 4 , Figure 4 It is a schematic diagram of another embodiment of the information distribution center 30 of the present application processing the audio playback request of the information distribution center.
[0072] like Figure 4 As shown, if the information distribution center 30 only receives the second arbitration result, the information distribution center 30 will determine the information distribution center arbitration result and control the playback according to the audio strategy and the second arbitration result, and send the information distribution center arbitration result to the first audio module 10 and the second audio module 20.
[0073] Of course, when the present application sets N (N>2) audio modules, the information distribution center 30 will synchronously send the information distribution center arbitration result to all other audio modules.
[0074] See also Figure 5 , Figure 5 It is a schematic diagram of another embodiment of the information distribution center 30 of the present application processing the audio playback request of the information distribution center.
[0075] like Figure 5 As shown, if the information distribution center 30 receives the first arbitration result and the second arbitration result, the information distribution center 30 will determine the information distribution center arbitration result and control the playback based on the audio strategy, the first arbitration result and the second arbitration result, and send the information distribution center arbitration result to the first audio module 10 and the second audio module 20.
[0076] Of course, when the present application sets N (N>2) audio modules, the information distribution center 30 will synchronously send the information distribution center arbitration result to all other audio modules.
[0077] See also Figure 6 , Figure 6It is a schematic diagram of another embodiment of the information distribution center 30 of the present application processing the audio playback request of the information distribution center.
[0078] like Figure 6 As shown, if the information distribution center 30 does not receive the first arbitration result, and the information distribution center 30 does not receive the second arbitration result, the information distribution center 30 will determine the information distribution center arbitration result according to the audio strategy and control the playback, and send the information distribution center arbitration result to the first audio module 10 and the second audio module 20.
[0079] Of course, when the present application sets N (N>2) audio modules, the information distribution center 30 will synchronously send the information distribution center arbitration result to all other audio modules.
[0080] See also Figure 7 , Figure 7 It is a schematic diagram of another embodiment of the information distribution center 30 of the present application processing the audio playback request of the information distribution center.
[0081] like Figure 7 As shown, if the information distribution center only receives the Nth arbitration result, the information distribution center 30 will determine the information distribution center arbitration result and control the playback based on the audio strategy and the Nth arbitration result, and send the information distribution center arbitration result to the first audio module 10, the second audio module 20,..., the Nth audio module.
[0082] See also Figure 8 , Figure 8 It is a schematic diagram of another embodiment of the information distribution center 30 of the present application processing the audio playback request of the information distribution center.
[0083] like Figure 8 As shown, if the information distribution center receives the first arbitration result and the Nth arbitration result, the information distribution center 30 will determine the information distribution center arbitration result and control the playback based on the audio strategy, the first arbitration result and the Nth arbitration result, and send the information distribution center arbitration result to the first audio module 10, the second audio module 20,..., the Nth audio module.
[0084] It is worth noting that the above embodiments are only partial examples and are not exhaustive of all embodiments of the present application.
[0085] Generally speaking, if the information distribution center 30 receives the arbitration results of other audio modules before receiving the audio playback request of the information distribution center, the information distribution center 30 will comprehensively consider the arbitration results received previously when arbitrating the audio playback request of the information distribution center, and finally arbitrate according to a unified audio strategy to obtain the arbitration result of the information distribution center, thereby avoiding problems such as conflicts between its arbitration results and the arbitration results previously made by other audio modules.
[0086] Of course, if the information distribution center 30 does not receive the arbitration result of any other audio module before receiving the information distribution center audio playback request, the information distribution center 30 will directly arbitrate according to the audio strategy to obtain the information distribution center arbitration result. At the same time, the information distribution center 30 will control its internal audio playback according to the information distribution center arbitration result, and synchronously send the information distribution center arbitration result to other audio modules.
[0087] In one embodiment of the present application, after the arbitration result of the information distribution center is sent to the first audio module 10 and the second audio module 20, it also includes: the first audio module 10 and the second audio module 20 will re-arbitrate and control the playback according to the arbitration result of the information distribution center. That is, after the information distribution center 30 makes the arbitration result of the information distribution center, it will synchronously send the arbitration result of the information distribution center to the first audio module 10 and the second audio module 20, and the first audio module 10 and the second audio module 20 will also perform secondary arbitration on their internal audio playback according to the arbitration result of the information distribution center, so as to avoid conflicts between the audio playback of the first audio module 10 and the second audio module 20 and the arbitration result of the information distribution center, thereby avoiding confusion in the audio playback and the like.
[0088] Of course, when the present application sets up more audio modules, for example, N (N>2) audio modules, the information distribution center 30 will synchronously send the arbitration results of the information distribution center to all other audio modules, and these audio modules will perform secondary arbitration on their internal audio playback according to the arbitration results of the information distribution center after receiving the arbitration results of the information distribution center, so as to avoid conflicts between their internal audio playback and the arbitration results of the information distribution center.
[0089] See also Fig. 9 and Fig.10 , Fig. 9 is a schematic diagram of an embodiment of the Nth audio module of the present application processing the Nth audio playback request; Fig.10 It is a schematic diagram of another embodiment of the Nth audio module of the present application processing the Nth audio playback request.
[0090] like Fig. 9As shown, when the audio playback system of the present application does not have an information distribution center 30, when the Nth audio module receives the Nth audio playback request, it will take into account the arbitration results of other audio modules received previously, and then determine the Nth arbitration result according to the audio strategy and control the playback, and finally send the Nth arbitration result to other audio modules.
[0091] like Fig.10 As shown, when the audio playback system of the present application is provided with an information distribution center 30, when the Nth audio module receives the Nth audio playback request, it will take into account the arbitration results of other audio modules previously received and the arbitration results of the information distribution center, and then determine the Nth arbitration result according to the audio strategy and control the playback, and send the Nth arbitration result to the information distribution center 30, which will forward the Nth arbitration result to other audio modules.
[0092] For example, in a specific embodiment of the present application, the first audio module 10 is a central control entertainment system, responsible for audio playback services such as navigation broadcast, central control media playback and calls; the second audio module 20 is a co-pilot or rear-seat entertainment system, responsible for audio playback services such as co-pilot or rear-seat media playback and network calls; the information distribution center 30 is responsible for audio playback services such as radar alarm sounds and simulated sound waves (simulating the roar of a fuel vehicle stepping on the accelerator).
[0093] Furthermore, in a specific scenario, when the vehicle radar triggers a safety warning signal, the information distribution center 30 is playing a simulated sound. Therefore, the information distribution center 30 will arbitrate between the radar alarm sound and the simulated sound according to the audio strategy. Since according to the audio strategy, the priority of the simulated sound is lower than that of the radar alarm sound, the arbitration result obtained by the information distribution center 30 is: the radar alarm sound is allowed to be played, and the simulated sound service is prohibited. On this basis, the information distribution center 30 will execute the arbitration result. After that, the information distribution center 30 sends the arbitration result that the radar alarm sound is allowed to be played and the simulated sound service is prohibited to be played to the first audio module 10 and the second audio module 20, and the first audio module 10 and the second audio module 20 trigger a new arbitration internally, that is, according to the audio strategy, the navigation broadcast, media playback and other services are arbitrated accordingly, such as lowering the navigation broadcast volume, stopping media playback, etc.
[0094] In one embodiment of the present application, the audio playback system also includes an external audio device 40, which can be selectively communicatively connected to the first audio module 10 or the second audio module 20. When the external audio device 40 is communicatively connected to the first audio module 10, the external audio device sends an external audio playback request to the first audio module 10, and the first audio module 10 arbitrates the external audio playback request and controls the playback; when the external audio device 40 is communicatively connected to the second audio module 20, the external audio device sends the external audio playback request to the second audio module 20, and the second audio module 20 arbitrates the external audio playback request and controls the playback.
[0095] That is, when an external audio device 40 is connected to the audio control system and requests to play audio, its audio play request will be arbitrated and executed by the first audio module 10 or the second audio module 20 that is communicatively connected thereto.
[0096] In a specific application scenario, the user's mobile phone establishes a communication connection with the first audio module 10, and the user's mobile phone sends an audio playback request for media playback to the first audio module 10. The first audio module 10 makes an arbitration to allow media playback, and the first audio module 10 performs media playback on behalf of the first audio module 10. At this time, the vehicle receives a request to play the radar alarm sound, and the information distribution center 30 arbitrates the request to play the radar alarm sound according to the audio strategy. According to the audio strategy, the priority of media playback is lower than that of the radar alarm sound, and when playing the radar alarm sound, a silent strategy should be adopted for media playback, that is, media playback should be stopped. Therefore, the information distribution center 30 obtains the arbitration result: play the radar alarm sound, and execute the radar alarm sound playback according to the arbitration result. At the same time, the information distribution center 30 sends the arbitration result of playing the radar alarm sound to the first audio module 10. The first audio module 10 will make an arbitration to stop media playback according to the audio strategy and control the media playback to stop.
[0097] In one embodiment of the present application, the audio playback system also includes a body audio module 50, which is communicatively connected to the first audio module 10 or the second audio module 20. When the body audio module 50 is communicatively connected to the first audio module 10, the body audio module 50 sends a body audio playback request to the first audio module 10, and the first audio module 10 arbitrates the body audio playback request and controls the playback; when the body audio module 50 is communicatively connected to the second audio module 20, the body audio module 50 sends a body audio playback request to the second audio module 20, and the second audio module 20 arbitrates the body audio playback request and controls the playback.
[0098] That is, when the vehicle body audio module 50 receives a vehicle body audio playback request, its audio playback request will be arbitrated and executed by the first audio module 10 or the second audio module 20 that is communicatively connected to it.
[0099] In a specific application scenario, a vehicle is playing media. If the vehicle collides at this time, an emergency call playback request will be sent to the body audio module 50. The first audio module 10, which is in communication with the body audio module 50, will arbitrate the emergency call playback request. According to the audio strategy, the priority of the emergency call is higher than the media playback. Therefore, the first audio module 10 makes an arbitration result: allow the emergency call playback, stop the media playback, and execute the strategy of playing the emergency call and stopping the media playback. At the same time, the arbitration result of allowing the emergency call playback will be sent to the information distribution center 30. On the one hand, the information distribution center 30 will conduct internal arbitration based on the arbitration result, that is, if the information distribution center 30 is performing simulated sound wave playback at this time, the arbitration result of stopping the simulated sound wave playback will be made and executed because the priority of the simulated sound wave is lower than the audio strategy of the emergency call. On the other hand, the information distribution center 30 will forward the arbitration result of allowing the emergency call playback to the second audio module 20. If the second audio module 20 is playing the rear media at this time, the arbitration result of stopping the media playback will be made and executed because the priority of the rear media playback is lower than the audio strategy of the emergency call.
[0100] In summary, the audio playback system provided by the present application is used to process different audio playback requests by setting up multiple independent audio modules. These audio modules all share an audio strategy, and arbitrate and execute the received audio playback requests according to the audio strategy, thereby enabling each audio module to perform distributed arbitration and execution on the audio playback requests received by each audio module. At the same time, the arbitration results made by each audio module will be sent to other audio modules synchronously, and other audio modules will take into account the arbitration results they have previously received when arbitrating the audio playback requests received subsequently, thereby enabling the audio playback status of each audio module to be synchronously updated to other audio modules, thereby avoiding the occurrence of audio playback conflicts between various audio modules.
[0101] The arbitration results of each audio module can be as follows Fig.11 The direct transmission between each other as shown can also be sent between each other through a third-party module, for example Fig.12 As shown, the arbitration results are uniformly forwarded between the audio modules through the information distribution center 30.
[0102] like Fig.12As shown, the present application further sets up an information distribution center 30, which has the function of uniformly receiving and forwarding arbitration results, thereby avoiding information confusion caused by each audio module independently sending arbitration results, and avoiding unnecessary information sending and causing excessive system burden, thereby improving system operation efficiency. In addition, the information distribution center 30 also has the function of arbitrating and executing the audio playback request received by itself, just like other audio modules.
[0103] On the basis of the above, the present application also provides a method for processing the playback requests of the external audio device 40 and the vehicle body audio module 50. That is, the audio module connected to the external audio device 40 performs proxy arbitration and execution of the playback request of the external audio device 40, and similarly, the audio module connected to the vehicle body audio module 50 performs proxy arbitration and execution of the playback request of the vehicle body audio module 50.
[0104] See also Figure 13-24 , the present application provides an audio device 100, comprising the audio playback system as described above. Figure 13-24 are schematic diagrams of the framework of the audio device 100 corresponding to different embodiments. It is worth noting that: Figure 13-24 The schematic diagram is only a partial schematic diagram of the embodiment of the audio device 100 provided in the present application, and does not exhaust all the embodiments of the audio device 100 of the present application.
[0105] See also Fig.25 , Fig.25 It is a flowchart of an embodiment of an audio playback method provided by the present application.
[0106] The present application provides an audio playback method, which is applied to the first audio module 10. The audio playback method includes:
[0107] S10: Load audio strategy;
[0108] The first audio module 10 loads an audio policy to provide a reference for subsequent arbitration. The audio policy includes both an audio conflict handling policy between various audio modules and an audio conflict handling policy between various audios within each module.
[0109] For example, the audio policy may specifically be a focus policy, a volume reduction policy, and a mute policy. Of course, it may also be other policies for resolving audio playback conflicts, which are not specifically limited in this application.
[0110] S11: In response to a first audio playback request, determining a first arbitration result according to an audio policy and controlling playback;
[0111] When the first audio module 10 receives the first audio play request, the first audio module 10 will arbitrate the first audio play request according to the audio policy and obtain a first arbitration result, and the first audio module 10 will control the internal audio play according to the first arbitration result.
[0112] For example, in a specific application scenario, assuming that the first audio module 10 is responsible for navigation broadcast and central entertainment media playback, and the first audio module 10 is currently playing central entertainment media, if the first audio module 10 receives a navigation broadcast request, the first audio module 10 will make an arbitration according to the audio strategy and obtain a first arbitration result: allowing the navigation broadcast to be played, while reducing the volume of the central entertainment media playback. Therefore, the first audio module 10 will execute the arbitration result of playing the navigation broadcast and reducing the volume of the central entertainment media playback.
[0113] S13 : sending the first arbitration result to the information distribution center 30 , and the information distribution center 30 sends the first arbitration result to the second audio module 20 .
[0114] The information distribution center 30 is responsible for the unified forwarding of the arbitration results. Therefore, after the first audio module 10 makes the first arbitration result, it will synchronously send the first arbitration result to the information distribution center 30, and then the information distribution center 30 will forward the first arbitration result to the second audio module 20. As a result, the information distribution center 30 and the second audio module 20 both receive the first arbitration result, and both are also aware of the current audio playback situation inside the first audio module 10, which is conducive to the information distribution center 30 and the second audio module 20 to make subsequent arbitration results that do not conflict with the first arbitration result.
[0115] Of course, if the current and subsequent audio playback of the second audio module 20 will not be affected by the first arbitration result, the information distribution center 30 may not forward the first arbitration result to the second audio module 20, thereby reducing the frequency of information transmission and improving system operation efficiency.
[0116] It is worth noting that when more audio modules are configured in the present application, for example, N (N>2) audio modules, the information distribution center 30 will send the first arbitration result made by the first audio module 10 to all other audio modules that may be affected.
[0117] The present application provides an audio playback method, which is applied to the second audio module 20. The audio playback method includes:
[0118] S20: Load audio strategy;
[0119] The second audio module 20 loads an audio policy to provide a reference for subsequent arbitration. The audio policy loaded by the second audio module 20 is the same as that of the first audio module 10, that is, the first audio module 10 and the second audio module 20 share an audio policy. The audio policy includes both the audio conflict handling policy between the various audio modules and the audio conflict handling policy between the various audios within each module.
[0120] For example, the audio policy may specifically be a focus policy, a volume reduction policy, and a mute policy. Of course, it may also be other policies for resolving audio playback conflicts, which are not specifically limited in this application.
[0121] S21: receiving the first arbitration result sent by the information distribution center 30;
[0122] When the first audio module 10 makes a first arbitration result, the first audio module 10 will send the first arbitration result to the second audio module 20 through the information distribution center 30. After the second audio module 20 receives the first arbitration result sent by the information distribution center 30, the second audio module 20 can timely grasp the current audio playback situation in the first audio module 10, so as to make a subsequent arbitration result that does not conflict with the first arbitration result.
[0123] S22: In response to the second audio playback request, determine a second arbitration result according to the audio policy and the first arbitration result and control the playback;
[0124] When the second audio module 20 receives the second audio play request, the second audio module 20 will make a second arbitration result based on the audio strategy and the first arbitration result, and control the execution of the audio play inside the second audio module 20 according to the second arbitration result.
[0125] For example, in a specific scenario, assume that the first arbitration result made by the first audio module 10 is to allow the navigation announcement to be played, while reducing the volume of the central entertainment media playback. After the second audio module 20 receives the first arbitration result, it receives a request to play the rear-row media. At this time, the second audio module 20 will make a second arbitration result based on the first arbitration result and the audio strategy, that is, to allow the rear-row media playback, but to reduce the volume of the rear-row media playback. Therefore, the second audio module 20 will execute the arbitration result of playing the rear-row media and reducing the volume of the rear-row media playback.
[0126] S23 : sending the second arbitration result to the information distribution center 30 , and the information distribution center 30 sends the second arbitration result to the first audio module 10 .
[0127] After making the second arbitration result, the second audio module 20 will synchronously send the second arbitration result to the information distribution center 30, and the information distribution center 30 will forward the second arbitration result to the first audio module 10. Therefore, the information distribution center 30 and the first audio module 10 both receive the second arbitration result, and both are also informed of the current audio playback situation inside the second audio module 20, which is conducive to the information distribution center 30 and the first audio module 10 to make subsequent arbitration results that do not conflict with the second arbitration result.
[0128] Of course, if the current and subsequent audio playback of the first audio module 10 will not be affected by the second arbitration result, the information distribution center 30 may not forward the second arbitration result to the first audio module 10, thereby reducing the frequency of information transmission and improving the system operation efficiency. For example, the first audio module 10 is performing navigation broadcasting, and the second audio module 20 receives a request for rear-row media playback, and the second audio module 20 makes a second arbitration result that allows rear-row media playback, but requires reducing the volume of rear-row media playback. At this time, from the perspective of audio strategy, the second arbitration result will not affect the current and subsequent audio playback of the first audio module 10, so the information distribution center 30 may not send the second arbitration result to the first audio module 10.
[0129] It is worth noting that when more audio modules are configured in the present application, for example, N (N>2) audio modules, the information distribution center 30 will send the second arbitration result made by the second audio module 20 to all other audio modules that may be affected.
[0130] See also Fig.26 , Fig.26 It is a schematic diagram of the framework of an embodiment of an audio device 200 provided in the present application.
[0131] The present application provides an audio device 200, including a processor 201 and a memory 202 coupled to each other, wherein the memory 202 stores program instructions, and when the processor 201 runs the program instructions, the audio device 200 executes the steps of the audio playback method as described above.
[0132] See also Fig. 27 , Fig. 27 It is a schematic diagram of the framework of an embodiment of the readable storage medium 60 provided in the present application.
[0133] The present application provides a readable storage medium 60 on which a computer program 61 is stored. When the computer program 61 is executed by a processor, the steps of the audio playback method as described above are implemented.
[0134] In some embodiments, the functions or modules included in the apparatus and device provided in the embodiments of the present disclosure can be used to execute the method described in the above method embodiments. The specific implementation thereof can refer to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.
[0135] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.
[0136] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0137] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0138] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0139] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of each implementation method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.
Claims
1. An audio playback system, characterized in that: The system comprises: A first audio module, used to respond to a first audio playback request; A second audio module, used to respond to a second audio playback request; The first audio module and the second audio module are provided with an audio strategy. When the first audio module receives the first audio playback request, the first audio module determines a first arbitration result according to the audio strategy and controls the playback. The first arbitration result will be sent to the second audio module. When the second audio module receives the second audio play request, it will determine a second arbitration result according to the audio policy and the first arbitration result and control the play, and the second arbitration result will be sent to the first audio module.
2. The audio playback system according to claim 1, characterized in that: The system further includes an information distribution center, which is electrically connected to the first audio module and the second audio module. The first audio module sends the first arbitration result to the information distribution center, and the information distribution center sends the first arbitration result to the second audio module; The second audio module sends the second arbitration result to the information distribution center, and the information distribution center sends the second arbitration result to the first audio module.
3. The audio playback system according to claim 2, characterized in that: The information distribution center sets the audio strategy, and when the information distribution center receives an audio playback request from the information distribution center, If the information distribution center only receives the first arbitration result, the information distribution center will determine the information distribution center arbitration result and control the playback according to the audio strategy and the first arbitration result, and send the information distribution center arbitration result to the first audio module and the second audio module; If the information distribution center only receives the second arbitration result, the information distribution center will determine the information distribution center arbitration result and control the playback according to the audio strategy and the second arbitration result, and send the information distribution center arbitration result to the first audio module and the second audio module; If the information distribution center receives the first arbitration result and the second arbitration result, the information distribution center will determine the information distribution center arbitration result and control the playback according to the audio strategy, the first arbitration result and the second arbitration result, and send the information distribution center arbitration result to the first audio module and the second audio module; If the information distribution center does not receive the first arbitration result and the information distribution center does not receive the second arbitration result, the information distribution center will determine the information distribution center arbitration result and control the playback according to the audio strategy, and send the information distribution center arbitration result to the first audio module and the second audio module.
4. The audio playback system according to claim 3, characterized in that: After sending the arbitration result of the information distribution center to the first audio module and the second audio module, the method further includes: The first audio module and the second audio module will re-arbitrate and control the playback according to the arbitration result of the information distribution center.
5. The audio playback system according to any one of claims 1 to 4, characterized in that: The system further comprises an external audio device, The external audio device is selectively communicatively connected with the first audio module or the second audio module, When the external audio device is in communication connection with the first audio module, the external audio device sends an external audio playback request to the first audio module, and the first audio module arbitrates the external audio playback request and controls the playback; When the external audio device is in communication connection with the second audio module, the external audio device sends the external audio play request to the second audio module, and the second audio module arbitrates the external audio play request and controls the play.
6. The audio playback system according to any one of claims 1 to 4, characterized in that: The audio playback system also includes a vehicle body audio module, The vehicle body audio module is communicatively connected with the first audio module or the second audio module, When the vehicle body audio module is in communication connection with the first audio module, the vehicle body audio module sends a vehicle body audio playback request to the first audio module, and the first audio module arbitrates the vehicle body audio playback request and controls the playback; When the vehicle body audio module is in communication connection with the second audio module, the vehicle body audio module sends the vehicle body audio playback request to the second audio module, and the second audio module arbitrates the vehicle body audio playback request and controls the playback.
7. The audio playback system according to claim 1, characterized in that: The audio strategies include a focus strategy, a volume reduction strategy and a mute strategy.
8. An audio device, characterized in that: Comprising the audio playback system as described in any one of claims 1 to 7.
9. An audio playing method, characterized in that: Applied to the first audio module, the method comprises: Load audio strategy; In response to a first audio playback request, determining a first arbitration result according to the audio policy and controlling the playback; The first arbitration result is sent to an information distribution center, and the information distribution center sends the first arbitration result to the second audio module.
10. An audio playing method, characterized in that: Applied to the second audio module, the method comprises: Load audio strategy; receiving a first arbitration result sent by an information distribution center; In response to a second audio playback request, determining a second arbitration result according to the audio policy and the first arbitration result and controlling the playback; The second arbitration result is sent to the information distribution center, and the information distribution center sends the second arbitration result to the first audio module.
11. An audio device, characterized in that: The method comprises a processor and a memory coupled to each other, wherein the memory stores program instructions, and when the processor executes the program instructions, the audio device executes the steps of the method according to any one of claims 9 to 10.
12. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 9 to 10 are implemented.
Citation Information
Patent Citations
Bluetooth connection method, device and system
CN113225693A
Vehicle-mounted audio playing control method and device, vehicle-mounted equipment and storage medium
CN115469824A
Audio focus control method and device, electronic equipment and storage medium
CN118051197A
Multimedia system based on digital household network
CN1492632A
Vehicle-mounted audio transmission system
CN217741739U