CN116860195A - Audio output management method and system - Google Patents

Audio output management method and system Download PDF

Info

Publication number
CN116860195A
CN116860195A CN202310662183.2A CN202310662183A CN116860195A CN 116860195 A CN116860195 A CN 116860195A CN 202310662183 A CN202310662183 A CN 202310662183A CN 116860195 A CN116860195 A CN 116860195A
Authority
CN
China
Prior art keywords
audio
output
display screen
application
focus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310662183.2A
Other languages
Chinese (zh)
Inventor
梁英豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou Desay SV Automotive Co Ltd
Original Assignee
Huizhou Desay SV Automotive Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou Desay SV Automotive Co Ltd filed Critical Huizhou Desay SV Automotive Co Ltd
Priority to CN202310662183.2A priority Critical patent/CN116860195A/en
Publication of CN116860195A publication Critical patent/CN116860195A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides an audio output management method and system, which are applied to output management of audio of an application of a vehicle-mounted display screen of an applied audio focus, wherein the audio output management method comprises the following steps: the method comprises the steps of monitoring the working state of a Bluetooth headset matched with a display screen of the car machine in real time, monitoring the playing state of audio, and carrying out migration, removal or audio arbitration management on an audio focus according to the working state and the playing state so as to control audio to be output through the Bluetooth headset or sound according to a management result. The intelligent management of audio output is realized, the display screen of the car machine is a display screen of a front passenger seat or a display screen of a rear user seat, and the intelligent management system can further realize that a user can listen to music, watch video and the like through a Bluetooth headset so as to be independent of the sound listening of a main driving user, so that the driving of the main driving user is not influenced, and the driving experience of the main driving user and other passenger users can be improved; corresponding audio can be output through the sound equipment, so that humanization of audio output management setting is realized.

Description

Audio output management method and system
Technical Field
The present application relates to the field of audio management technologies, and in particular, to an audio output management method and system.
Background
With the development of the times, the development of the vehicle-mounted system is rapid, and the number of selectable vehicle-mounted application programs is increased; the more important is the intelligent and personalized vehicle systems, which are often equipped with various vehicle applications, such as navigation, music, car stations, etc. media applications.
In order to meet the requirements of different users, intelligent setting is generally required to be carried out on a car machine system, for example, a passenger user can listen to music, watch video, play games and the like through Bluetooth equipment, and the main driving user is not influenced to listen to navigation, radio and the like through a power amplifier; in some complex application scenarios, if the audio focus is improperly managed to affect the audio output, the audio playing of the application program related to the car system is abnormal, thereby affecting the riding experience of the user.
Disclosure of Invention
The application provides an intelligent audio output management method and system for solving the technical problems.
The application provides an audio output management method which is applied to output management of audio of an application of a vehicle display screen of a vehicle machine for which an audio focus is applied, and comprises the following steps of:
s100: pairing the car machine display screen with the Bluetooth headset, and monitoring the working state of the Bluetooth headset in real time.
S200: and monitoring the playing state of the audio, and performing migration, removal or audio arbitration management on the audio focus according to the working state and the playing state so as to control audio output through a Bluetooth headset or a sound device connected with a display screen of the car machine according to a management result.
The method provides an intelligent audio output management method, wherein the display screen of the vehicle is a display screen of a front passenger seat or a display screen of a rear user seat, and through migration, removal or audio arbitration of audio focuses applied by the corresponding display screen, users can further listen to music, watch videos, play games and the like through Bluetooth headphones so as to listen to the audio of a power amplifier of a main driving user independently, the driving of the main driving user is not affected, and the driving experience of the main driving user and other passenger users can be improved simultaneously; corresponding audio can be output through the sound equipment, so that humanization of audio output management setting is realized.
Before executing step S100, it includes:
s101: an audio policy table of a first format is preset, and the first format is converted into a second format.
S102: and reading the audio strategy table in the second format.
S103: and generating an audio arbitration rule according to the audio policy table read in the step S102.
The audio strategy table can be intelligently customized according to actual application requirements so as to meet the requirements of different users, and individuation and intellectualization of an audio output management method are enhanced; the first format is preferably an Excel format, the Excel format is usually presented in a table form, a user can edit and modify the audio strategy table conveniently, the second format is preferably a CSV format, under the CSV format, data contents are separated by commas, the audio strategy table in the CSV format is convenient to transmit, has high compatibility, can be suitable for different processing software, and is convenient for subsequent generation of audio arbitration rules.
Before executing step S100, further includes:
before the application of the display screen of the car machine plays the audio, the application of an audio focus is required, and the audio focus is stored in a main audio focus stack.
The audio playing follows a rule that before the related application plays the audio, the audio focus needs to be applied, and only if the audio focus is successfully applied, the corresponding application can normally play the audio; whereas an audio focus requires a stored container, the audio focus stack being the container for storing audio focus, which follows the first-in-last-out principle in the audio focus stack.
When the step S100 monitors that the bluetooth headset is in the connected state, the step S200 includes:
s201: and generating an earphone audio focus stack corresponding to the Bluetooth earphone, and updating an audio route output rule.
S202: and judging whether the audio of the application of the vehicle display screen is playing, and executing step S203 when the audio is playing.
S203: and according to the audio route output rule updated in the step S201, migrating an audio focus applied by the application of the display screen of the car machine from a main audio focus stack to the earphone audio focus stack.
S204: stopping the audio output through the sound equipment and controlling the audio to be output by the Bluetooth earphone.
When the Bluetooth headset is in a connection state and the audio of the application of the display screen of the car machine is being played, the audio of the application of the display screen of the car machine is output through the Bluetooth headset, and the output of the slave sound is stopped, so that the functions of making a call, listening to music, playing games and the like are realized under the condition that a main driving user or other user passengers are not influenced, and the riding experience of personnel in the car and the user is improved.
In addition, the updated audio path has output rules to determine whether the carrier of the subsequent audio output is a Bluetooth headset or a sound such that the audio output has a reference standard.
When the step S100 monitors that the bluetooth headset is in the off state, the step S200 includes:
s211: updating an audio route output rule, judging whether the audio of the application of the vehicle display screen is playing or not, and if yes, executing step S212; otherwise, step S213 is performed.
S212: and sending an audio focus lost instruction to the application of the display screen of the vehicle machine according to the audio route output rule updated in the step S211, suspending playing the audio, and executing the step S213.
S213: and removing the earphone audio focus stack.
When the Bluetooth earphone is in a disconnection state, the audio is controlled to pause playing, so that the phenomenon that the driving of a driver is influenced due to the fact that the audio is output through a power amplifier sound caused by the disconnection of the Bluetooth earphone is prevented; and the audio focus stack of the earphone is removed, so that the situation that the audio cannot be played, the audio is blocked and the like due to the fact that the audio focus stack exists in the system next time when the audio is played can be effectively avoided.
The step S200 further includes:
when the audio of the first preset application of the display screen of the vehicle machine is being played, if the second preset application applies for the audio focus, audio arbitration is performed on the audio focus of the first preset application and the audio focus of the second preset application according to the audio arbitration rule, so that the audio of the first preset application and/or the audio of the second preset application are controlled to be output by the Bluetooth headset or the sound according to the audio arbitration result.
And the audio focuses of the two preset applications are subjected to focus arbitration, so that the driving experience of the user can be further improved.
Further comprises: if the audio arbitration result is that the audio focus application of the second preset application fails, the first preset application controls audio to be output by the Bluetooth headset or the sound equipment according to the audio policy table; and if the audio arbitration result is that the audio focus application of the second preset application is successful, the first preset application and the second preset application control the corresponding audio to be output by the Bluetooth headset or the sound equipment according to the audio policy table.
The process can accurately complete audio arbitration, and plays the audio according to the pre-generated audio policy table, thereby realizing the intelligentization of the process.
Based on the same conception, the application also provides an audio focus management system, comprising:
the application module: the application for the display screen of the vehicle applies for audio focus.
Pairing module: the Bluetooth headset is used for pairing the display screen of the car machine with the Bluetooth headset.
And a monitoring module: the Bluetooth headset is used for monitoring the working state of the Bluetooth headset in real time; the operating states include at least a connected state and a disconnected state.
Monitoring module: and the player is used for monitoring the playing state of the audio.
And the control module is used for: and the audio focus management module is used for carrying out migration, removal or audio arbitration management on the audio focus applied by the application module according to the results of the monitoring module and the monitoring module so as to control audio output through a Bluetooth headset or a sound device connected with the display screen of the car machine according to the management results.
The system provides an intelligent audio focus management system, wherein the vehicle display screen is a front passenger seat display screen or a rear user seat display screen, and audio can be further output through a Bluetooth headset or sound equipment by transferring, removing or arbitrating audio focuses applied by the corresponding display screen, so that driving experience of a user is improved.
The system further comprises:
and (3) a setting module: for presetting an audio policy table.
The generation module is used for: and the audio arbitration rule is generated according to the audio policy table.
The audio strategy table is preset, and corresponding audio arbitration rules are generated, so that subsequent audio arbitration is more normalized.
The control module includes:
an output unit: and the audio focus control module is used for controlling the audio to be output by the Bluetooth headset and migrating the audio focus of the application of the vehicle display screen when the result of the monitoring module is in a connection state and the result of the monitoring module is that the audio is being played.
A pause unit: and the audio processing module is used for controlling the audio to pause playing when the result of the monitoring module is in a disconnected state and the result of the monitoring module is that the audio is being played.
An audio arbitration unit: when any two applications of the display screen of the automobile machine need to be played simultaneously, audio frequency arbitration is carried out on audio frequency focuses of the two applications according to audio frequency arbitration rules, so that corresponding audio frequency is controlled to be output by the Bluetooth earphone or the sound equipment according to audio frequency arbitration results.
Compared with the prior art, the application has the beneficial effects that:
according to the application, the audio focus applied by the application of the vehicle display screen is migrated, removed or subjected to audio arbitration management according to the working state and the playing state by monitoring the working state of the Bluetooth headset matched with the vehicle display screen in real time and monitoring the playing state of the audio, so that audio output through the Bluetooth headset or the audio connected with the vehicle display screen is controlled according to a management result. The intelligent management of audio output is realized, the display screen of the car machine is a display screen of a front passenger seat or a display screen of a rear user seat, and the intelligent management system can further realize that a user can listen to music, watch video, play games and the like through a Bluetooth headset so as to be independent of the listening of the power amplifier sound of a main driving user, so that the driving of the main driving user is not influenced, and the driving experience of the main driving user and other passenger users can be improved simultaneously; in addition, corresponding audio can be output through the sound equipment, so that humanization of audio output management setting is realized; the method and the device solve the technical problem that in the prior art, audio output is affected due to improper audio focus management, and then audio playing of related application programs of a vehicle-mounted system is abnormal.
Drawings
Fig. 1 is a flowchart of an audio output management method according to the present application.
Fig. 2 is a flowchart of a method for generating audio arbitration rules according to the present application.
Fig. 3 is a flowchart of an audio output management method shown in fig. 1.
Fig. 4 is a flowchart of another audio output management method shown in fig. 1.
Fig. 5 is a system frame diagram of the audio output management method shown in fig. 1.
Detailed Description
The application provides an audio output management method and system, which are used for solving the technical problem of abnormal audio playing of related application programs of a vehicle-mounted system caused by improper audio focus management in the prior art.
The application provides an audio output management method, which has the following overall thought:
converting the audio strategy table in the first format into a second format, reading the audio strategy table in the second format, and generating an audio arbitration rule according to the read audio strategy table; pairing a vehicle display screen with a Bluetooth headset, monitoring the working state of the Bluetooth headset in real time, and monitoring the playing state of audio; when the Bluetooth headset is monitored to be in a connection state and the audio is being played, controlling the audio to be output by the Bluetooth headset and migrating an audio focus of an application of the display screen of the car player; when the Bluetooth headset is monitored to be in a disconnected state and the audio is being played, controlling the audio to pause playing; and when any two applications of the display screen of the vehicle-mounted device need to be played simultaneously, audio frequency arbitration is carried out on audio frequency focuses of the two applications according to audio frequency arbitration rules, so that playing of corresponding audio frequencies is controlled according to audio frequency arbitration results.
The following describes an audio output management method and system according to the present application in further detail with reference to specific embodiments and accompanying drawings.
Embodiment one:
referring to fig. 1, the present application provides an audio output management method applied to output management of audio of an application of a vehicle display screen for which an audio focus has been applied, the audio output management method includes the following steps:
s100: pairing the car machine display screen with the Bluetooth headset, and monitoring the working state of the Bluetooth headset in real time.
The pairing of the vehicle display screen and the Bluetooth headset is realized through a preset Bluetooth protocol, and the type of the Bluetooth protocol is not limited.
It should be noted that, the vehicle display screen is a front passenger seat display screen or a rear user seat display screen, so as to meet the requirement that users except the main driving can listen to music, make a call and the like through being connected to the front passenger seat display screen or the rear user seat display screen by the Bluetooth earphone, improve the driving experience of the users, and prevent the driving vehicles of the main driving users due to the fact that the music is too loud and the like.
In addition, when the Bluetooth headset is not connected, the corresponding audio can be output by the sound equipment according to actual needs.
After pairing is completed, the working state of the Bluetooth headset is monitored in real time through a register receiver () method.
Referring to fig. 2, before performing step S100, the method includes:
s101: an audio policy table of a first format is preset, and the first format is converted into a second format.
The first format is preferably an Excel format, and the second format is preferably a CSV format; converting the Excel format to the CSV format may be accomplished through WPS, office, or related online websites.
In a possible implementation manner, an audio policy table is set, and columns of the audio policy table are defined as trigger audio, including a Bluetooth telephone, local navigation and local media respectively; the column is defined as the current audio, including bluetooth phone, local navigation and local media, respectively.
When the column is a local navigation and column bluetooth phone, the table content is to keep the current audio.
When the column is local media and the column is bluetooth phone, the table content is to keep the current audio.
When the column is a Bluetooth phone and the column is locally navigated, the table contents are switched to the trigger audio.
When the column is the local media and the column is locally navigated, the table content is to decrease the volume of the trigger audio.
When the column is a Bluetooth phone and the column is local media, the table contents are switched to the trigger audio.
When the column is the local navigation and the column is the local media, the table content is to decrease the volume of the current audio.
When the row and column columns are the same, the table contents are such that they do not occur.
S102: and reading the audio strategy table in the second format.
S103: and generating an audio arbitration rule according to the audio policy table read in the step S102.
The audio arbitration rule includes:
when the table content is to keep the current audio, the audio focus corresponding to the row column and the column is the application failure; when the table content is switched to the triggering audio, the volume of the triggering audio is reduced or the volume of the current audio is reduced, the audio focus corresponding to the row column and the column is the application success.
Before executing step S100, further includes:
before the application of the display screen of the car machine plays the audio, the application of an audio focus is required, and the audio focus is stored in a main audio focus stack.
It should be noted that, the audio playing follows a rule that the application needs to apply for the audio focus before playing the audio, and only if the application for the audio focus is successful, the application can obtain the audio focus and play the corresponding audio; whereas the audio focus is typically stored in a container, the container for storing the audio focus is called an audio focus stack; in the audio focus stack, the audio focus follows the first-in last-out principle.
The application audio focus is implemented by the requestAudioFocus () method.
After the working state of the bluetooth headset is monitored, step S200 may be executed.
S200: and monitoring the playing state of the audio, and performing migration, removal or audio arbitration management on the audio focus according to the working state and the playing state so as to control audio output through a Bluetooth headset or a sound device connected with a display screen of the car machine according to a management result.
Referring to fig. 3, when step S100 detects that the bluetooth headset is in the connected state, step S200 includes:
s201: and generating an earphone audio focus stack corresponding to the Bluetooth earphone, and updating an audio route output rule.
And generating an earphone audio focus stack through a createBlueToothFocusStack () method, and updating an audio routing output rule through an updateAudioPolicyMix () method.
The audio routing output rules are output, for example, through a bluetooth headset, through audio output, or no audio output.
Before the bluetooth headset is connected, the audio route output rule is output through sound, and after the bluetooth headset is connected, the audio route output rule is correspondingly updated to be output through the bluetooth headset.
S202: and judging whether the audio of the application of the vehicle display screen is playing, and executing step S203 when the audio is playing.
Whether the audio is being played or not is judged by an if (ispassenger musicactive ()) statement.
S203: and according to the audio route output rule updated in the step S201, migrating an audio focus applied by the application of the display screen of the car machine from a main audio focus stack to the earphone audio focus stack.
The audio focus is migrated from the main audio focus stack to the headphone audio focus stack by the moveAudioFocusToBluetooth () method.
S204: stopping the audio output through the sound equipment and controlling the audio to be output by the Bluetooth earphone.
The audio stops playing the audio through the routeAudioOutputToBluetooth () method, and the audio is output through the bluetooth headset.
It should be noted that, when the bluetooth headset is not connected, the audio is output through the sound equipment, and when the bluetooth headset is connected, the sound equipment stops playing the audio, and the audio is output through the bluetooth headset.
Referring to fig. 4, when step S100 detects that the bluetooth headset is in the off state, step S200 includes:
s211: updating an audio route output rule, judging whether the audio of the application of the vehicle display screen is playing or not, and if yes, executing step S212; otherwise, step S213 is performed.
Correspondingly, the audio route output rule is updated by an updateaudioPolicymix () method, and whether the audio is being played or not is judged by an if (isPassengerMusicActive ()) statement.
The audio route output rule before step S211 is output through the bluetooth headset, and when the bluetooth headset is detected to be in the off state, the audio route output rule is updated to not output audio accordingly.
S212: and sending an audio focus lost instruction to the application of the display screen of the vehicle machine according to the audio route output rule updated in the step S211, suspending playing the audio, and executing the step S213.
And informing the application audio focus of the display screen of the car machine that the audio focus is lost by a notifypassenger audiofocusloss () method, and needing to pause playing the audio.
S213: and removing the earphone audio focus stack.
In this step, the earphone audio focus stack is removed by the removebookocusstack () method to ensure that the audio can be played normally without being affected by the audio focus stack that was not deleted the previous time when the audio needs to be played next time.
The step S200 further includes:
when the audio of the first preset application of the display screen of the vehicle machine is being played, if the second preset application applies for the audio focus, audio arbitration is performed on the audio focus of the first preset application and the audio focus of the second preset application according to the audio arbitration rule, so that the audio of the first preset application and/or the audio of the second preset application are controlled to be output by the Bluetooth headset or the sound according to the audio arbitration result.
Further comprises: if the audio arbitration result is that the audio focus application of the second preset application fails, the first preset application controls audio to be output by the Bluetooth headset or the sound equipment according to the audio policy table; and if the audio arbitration result is that the audio focus application of the second preset application is successful, the first preset application and the second preset application control the corresponding audio to be output by the Bluetooth headset or the sound equipment according to the audio policy table.
For example, when the current audio is that the bluetooth phone is talking, the user triggers the local navigation to play, and because the audio policy table is to keep the current audio, the audio arbitration result is that the audio focus application of the local navigation fails according to the audio arbitration rule, so that the local navigation cannot play, and the bluetooth phone continues to make a sound.
For example, when the local navigation is playing at present, the user triggers the local media to play music, and because the audio policy table reduces the volume of the triggering audio, the audio arbitration result is that the audio focus of the local media is applied successfully according to the audio arbitration rule, so the local navigation can keep normal playing, and the music of the local media can reduce the playing volume to play.
The two examples may be that bluetooth occurs when it is in a connection state, and then corresponding audio is output through the bluetooth headset; or when bluetooth is in a disconnected state or understood as being in an unconnected state, and corresponding audio is output through sound equipment.
Embodiment two:
referring to fig. 5, the present application further provides an audio focus management system, which includes:
the application module: the application for the display screen of the vehicle applies for audio focus.
In the application module, the audio focus is applied by the requestAudioFocus () method.
Pairing module: the Bluetooth headset is used for pairing the display screen of the car machine with the Bluetooth headset.
The pairing of the car machine display screen and the Bluetooth headset is completed through a preset Bluetooth protocol, and the car machine display screen is a front passenger seat display screen or a rear user seat display screen.
And a monitoring module: the Bluetooth headset is used for monitoring the working state of the Bluetooth headset in real time; the operating states include at least a connected state and a disconnected state.
The working state of the Bluetooth headset is monitored in real time through a register receiver () method.
Monitoring module: and the audio playing device is used for monitoring the playing state of the audio according to the working state.
And the control module is used for: and the audio focus management module is used for carrying out migration, removal or audio arbitration management on the audio focus applied by the application module according to the results of the monitoring module and the monitoring module so as to control audio output through a Bluetooth headset or a sound device connected with the display screen of the car machine according to the management results.
The control module comprises at least a memory and a processor, wherein the memory stores a computer program to complete the adaptive management of the audio output by the processor.
The control module includes:
an output unit: and the audio focus control module is used for controlling the audio to be output by the Bluetooth headset and migrating the audio focus of the application of the vehicle display screen when the result of the monitoring module is in a connection state and the result of the monitoring module is that the audio is being played.
A pause unit: and the audio processing module is used for controlling the audio to pause playing when the result of the monitoring module is in a disconnected state and the result of the monitoring module is that the audio is being played.
An audio arbitration unit: when any two applications of the display screen of the automobile machine need to be played simultaneously, audio frequency arbitration is carried out on audio frequency focuses of the two applications according to audio frequency arbitration rules, so that corresponding audio frequency is controlled to be output by the Bluetooth earphone or the sound equipment according to audio frequency arbitration results.
The system further comprises:
and (3) a setting module: for presetting an audio policy table.
An audio policy table in an Excel format is usually set first, and then converted into a CSV format.
The generation module is used for: and the audio arbitration rule is generated according to the audio policy table.
In summary, the present application provides an audio output management method and system; the method comprises the steps of monitoring the working state of a Bluetooth headset matched with a vehicle display screen in real time and monitoring the playing state of audio, so that audio focus applied by the application of the vehicle display screen is transferred, removed or audio arbitration management is realized according to the working state and the playing state, and audio output through the Bluetooth headset or sound connected with the vehicle display screen is controlled according to a management result. The application realizes the intelligent management of the audio focus, the display screen of the car machine is a display screen of a front passenger seat or a display screen of a rear user seat, and can further realize that a user can listen to music, watch video, play games and the like through a Bluetooth headset so as to be independent of the listening of the power amplifier sound of a main driving user, thereby not affecting the driving of the main driving user, but also simultaneously improving the driving experience of the main driving user and other passenger users; in addition, the user can also select to output corresponding audio through the sound according to actual needs, so that humanization of audio output management setting is reflected.
Although the illustrative embodiments have been described herein with reference to the accompanying drawings, it is to be understood that the above illustrative embodiments are merely exemplary and are not intended to limit the scope of the present application thereto. Various changes and modifications may be made therein by one of ordinary skill in the art without departing from the scope and spirit of the application. All such changes and modifications are intended to be included within the scope of the present application as set forth in the appended claims.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, e.g., the division of the elements is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple elements or components may be combined or integrated into another device, or some features may be omitted or not performed.
Various component embodiments of the application may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functions of some of the modules according to embodiments of the present application may be implemented in practice using a microprocessor or Digital Signal Processor (DSP). The present application can also be implemented as an apparatus program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the present application may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
While the application has been described in conjunction with the specific embodiments above, it is evident that many alternatives, modifications and variations will be apparent to those skilled in the art in light of the foregoing description. Accordingly, all such alternatives, modifications, and variations are included within the spirit and scope of the following claims.

Claims (10)

1. An audio output management method, which is applied to output management of audio of an application of a vehicle display screen for which an audio focus has been applied, comprising the steps of:
s100: pairing a vehicle display screen with a Bluetooth headset, and monitoring the working state of the Bluetooth headset in real time;
s200: and monitoring the playing state of the audio, and performing migration, removal or audio arbitration management on the audio focus according to the working state and the playing state so as to control audio output through a Bluetooth headset or a sound device connected with a display screen of the car machine according to a management result.
2. The audio output management method according to claim 1, characterized by comprising, before performing step S100:
s101: presetting an audio strategy table of a first format, and converting the first format into a second format;
s102: reading an audio strategy table in a second format;
s103: and generating an audio arbitration rule according to the audio policy table read in the step S102.
3. The audio output management method according to claim 2, further comprising, before performing step S100:
before the application of the display screen of the car machine plays the audio, the application of an audio focus is required, and the audio focus is stored in a main audio focus stack.
4. The audio output management method according to claim 3, wherein when step S100 monitors that the bluetooth headset is in a connected state, the step S200 includes:
s201: generating an earphone audio focus stack corresponding to the Bluetooth earphone, and updating an audio route output rule;
s202: judging whether the audio of the application of the vehicle display screen is playing or not, and executing step S203 when the audio is playing;
s203: according to the audio route output rule updated in the step S201, migrating an audio focus applied by the application of the display screen of the car machine from a main audio focus stack to the earphone audio focus stack;
s204: stopping the audio output through the sound equipment and controlling the audio to be output by the Bluetooth earphone.
5. The audio output management method according to claim 3, wherein when step S100 monitors that the bluetooth headset is in an off state, the step S200 includes:
s211: updating an audio route output rule, judging whether the audio of the application of the vehicle display screen is playing or not, and if yes, executing step S212; otherwise, executing step S213;
s212: according to the audio route output rule updated in the step S211, sending an audio focus loss instruction to the application of the display screen of the car machine, suspending playing the audio, and executing the step S213;
s213: and removing the earphone audio focus stack.
6. The audio output management method according to claim 5, wherein said step S200 further comprises:
when the audio of the first preset application of the display screen of the vehicle machine is being played, if the second preset application applies for the audio focus, audio arbitration is performed on the audio focus of the first preset application and the audio focus of the second preset application according to the audio arbitration rule, so that the audio of the first preset application and/or the audio of the second preset application are controlled to be output by the Bluetooth headset or the sound according to the audio arbitration result.
7. The audio output management method according to claim 6, further comprising: if the audio arbitration result is that the audio focus application of the second preset application fails, the first preset application controls audio to be output by the Bluetooth headset or the sound equipment according to the audio policy table;
and if the audio arbitration result is that the audio focus application of the second preset application is successful, the first preset application and the second preset application control the corresponding audio to be output by the Bluetooth headset or the sound equipment according to the audio policy table.
8. A system employing the audio output management method of any one of claims 1-7, the system comprising:
the application module: the application audio focus is used for the display screen of the vehicle;
pairing module: the Bluetooth headset is used for pairing the display screen of the car machine with the Bluetooth headset;
and a monitoring module: the Bluetooth headset is used for monitoring the working state of the Bluetooth headset in real time; the working state at least comprises a connection state and a disconnection state;
monitoring module: the method comprises the steps of monitoring the playing state of the audio;
and the control module is used for: and the audio focus management module is used for carrying out migration, removal or audio arbitration management on the audio focus applied by the application module according to the results of the monitoring module and the monitoring module so as to control audio output through a Bluetooth headset or a sound device connected with the display screen of the car machine according to the management results.
9. The system of claim 8, wherein the system further comprises:
and (3) a setting module: for presetting an audio policy table;
the generation module is used for: and the audio arbitration rule is generated according to the audio policy table.
10. The system of claim 9, wherein the control module comprises:
an output unit: when the result of the monitoring module is a connection state and the result of the monitoring module is that the audio is being played, controlling the audio to be output by a Bluetooth headset and migrating an audio focus of an application of the vehicle display screen;
a pause unit: the monitoring module is used for controlling the audio to pause playing when the result of the monitoring module is in a disconnected state and the result of the monitoring module is that the audio is being played;
an audio arbitration unit: when any two applications of the display screen of the automobile machine need to be played simultaneously, audio frequency arbitration is carried out on audio frequency focuses of the two applications according to audio frequency arbitration rules, so that corresponding audio frequency is controlled to be output by the Bluetooth earphone or the sound equipment according to audio frequency arbitration results.
CN202310662183.2A 2023-06-06 2023-06-06 Audio output management method and system Pending CN116860195A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310662183.2A CN116860195A (en) 2023-06-06 2023-06-06 Audio output management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310662183.2A CN116860195A (en) 2023-06-06 2023-06-06 Audio output management method and system

Publications (1)

Publication Number Publication Date
CN116860195A true CN116860195A (en) 2023-10-10

Family

ID=88222406

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310662183.2A Pending CN116860195A (en) 2023-06-06 2023-06-06 Audio output management method and system

Country Status (1)

Country Link
CN (1) CN116860195A (en)

Similar Documents

Publication Publication Date Title
CN111181816B (en) Audio data routing between multiple wirelessly connected devices
CN110673964A (en) Audio playing control method and device of vehicle-mounted system
CN1765154B (en) Acoustic processing device
WO2008082350A1 (en) Device and method for prioritizing audio in a vehicle
JP2021168145A (en) Ear set control method and system
CN105100879A (en) Vehicle-mounted device and device authentication method
CN111629304A (en) Loudspeaker control method and device and electronic equipment
US20180358031A1 (en) Audio Signal Processing in a Vehicle
CN109254751A (en) Audio for vehicle divides broadcasting method and device
CN108848410A (en) Bluetooth audio frequency transmission method, device and computer readable storage medium
CN116860195A (en) Audio output management method and system
US11425517B2 (en) Conversation support system, method and program for the same
CN112533188A (en) Output processing method and device of playing source
CN113752966B (en) Interaction method and device of vehicle machine system and computer readable medium
CN110400582A (en) A kind of audio frequency controller method, audio management system and onboard system
US20210237660A1 (en) Rear seat display device
CN112883222B (en) Song recommendation playing method, electronic equipment and computer readable storage medium
CN110809219B (en) Method, device and equipment for playing audio and storage medium
US10552117B1 (en) Vehicle audio settings management
CN112866878A (en) Method for interactive arbitration scheduling of left ear and right ear keys of TWS earphone
CN115223582B (en) Audio noise processing method, system, electronic device and medium
CN112752181A (en) Acoustic device
US20060059294A1 (en) Expandable bus topology for peripheral devices of straddle vehicles
WO2020239542A1 (en) A helmet and a method for playing desired sound in the same
CN110246517A (en) A kind of music of radio station recognition methods, onboard system and vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination