CN110321096A - A kind of MCVF multichannel voice frequency intelligent control method and relevant apparatus and equipment - Google Patents

A kind of MCVF multichannel voice frequency intelligent control method and relevant apparatus and equipment Download PDF

Info

Publication number
CN110321096A
CN110321096A CN201810261860.9A CN201810261860A CN110321096A CN 110321096 A CN110321096 A CN 110321096A CN 201810261860 A CN201810261860 A CN 201810261860A CN 110321096 A CN110321096 A CN 110321096A
Authority
CN
China
Prior art keywords
audio
audio stream
focus
sound volume
stream
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
CN201810261860.9A
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.)
Shenyang Mxnavi Co Ltd
Original Assignee
Shenyang Mxnavi 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 Shenyang Mxnavi Co Ltd filed Critical Shenyang Mxnavi Co Ltd
Priority to CN201810261860.9A priority Critical patent/CN110321096A/en
Publication of CN110321096A publication Critical patent/CN110321096A/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/165Management of the audio stream, e.g. setting of volume, audio stream path

Abstract

The invention discloses a kind of MCVF multichannel voice frequency intelligent control method and relevant apparatus and equipment.The described method includes:, according to preset volume rule, adjusting the broadcast sound volume of each audio stream when listening to audio focal variation.Different broadcast sound volumes is respectively adopted to multiple audio streams while being played, can be very good to solve the problems, such as brought by " audio mixing ", broadcasting while being not only able to achieve MCVF multichannel voice frequency, but also not will cause the sense of hearing and obscure.It is greatly improved the Experience Degree and safety of user.

Description

A kind of MCVF multichannel voice frequency intelligent control method and relevant apparatus and equipment
Technical field
The present invention relates to Audiotechnica field, in particular to a kind of MCVF multichannel voice frequency intelligent control method and relevant apparatus and set It is standby.
Background technique
It is well known that in a system, synchronization may have multiple applications to need using audio Stream, this requires systems to have " audio mixing " function, so that human ear, in synchronization, what is heard is the common output of multiple sound.
For example, in the process of moving, navigate vehicle casting, music and phone etc. for vehicle electronic device, Possible sounding simultaneously, what interior people heard is the effect after " audio mixing ", it is possible to cause the sense of hearing to obscure, it is hidden to even result in safety Suffer from.
And traditional audio frequency control scheme is controlled primarily directed to audio stream broadcasting, for example, music is temporary in call Stop;End of conversation, music continue to play.The object of this scheme processing is the example of each audio stream, i.e. track (Track), It has the disadvantage in that
1, need to safeguard the state machine of each audio stream, control logic is complicated, is usually associated with money in stateful switchover process The application and release in source, are affected to system performance;
2, when control strategy changes, source code need to be modified, scalability is lower, does not adapt between different product Variation, maintenance cost are higher;
3, it is not suitable for the processing to real-time audio stream, such as local station, because such audio stream cannot be suspended, Need individual control logic.
4, the audio stream for needing to play cannot be played simultaneously.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State a kind of MCVF multichannel voice frequency intelligent control method and relevant apparatus and equipment of problem.
In a first aspect, the embodiment of the present invention provides a kind of MCVF multichannel voice frequency intelligent control method, comprising:
When listening to audio focal variation, according to preset volume rule, the broadcast sound volume of each audio stream is adjusted.
In some alternative embodiments, described according to preset volume rule, the broadcast sound volume of each audio stream is adjusted, is wrapped It includes:
Its broadcast sound volume, or the sound that audio focus will be enjoyed are adjusted according to the original sound volume for the audio stream for enjoying audio focus The broadcast sound volume of frequency stream is adjusted to predetermined volume;
Its broadcast sound volume is adjusted according to the original sound volume for the audio stream for not enjoying audio focus, or according to enjoying audio focus Audio stream broadcast sound volume or original sound volume adjustment do not enjoy audio focus audio stream broadcast sound volume, or sound will not be enjoyed The broadcast sound volume of the audio stream of frequency focus is adjusted to predetermined volume or mute.
In some alternative embodiments, the method, further includes:
The audio stream for enjoying audio focus is determined according to scheduled audio focal point control strategy;
The scheduled audio focal point control strategy includes: the type and its priority of scheduled every kind of audio stream.
In some alternative embodiments, the audio for enjoying audio focus is determined according to scheduled audio focal point control strategy Stream, comprising:
The type for determining audio stream being played on determines the priority of audio stream according to the type, according to priority Determine the audio stream for enjoying audio focus.
It is in some alternative embodiments, described that the audio stream for enjoying audio focus is determined according to priority, comprising:
Audio focus is assigned for the audio stream of highest priority.
In some alternative embodiments, the audio stream for highest priority assigns audio focus, comprising:
When listening to the audio stream that request plays, the preferential of the audio stream is determined according to the Audio Stream type that request plays Grade;
Judge whether the priority for the audio stream that request plays is greater than the priority of audio stream being played on, when being judged as When being, the audio stream audio focus that request plays is assigned.
In some alternative embodiments, the audio stream for highest priority assigns audio focus, comprising:
When the audio stream for enjoying audio focus finishes or stops playing, its audio focus is discharged, and is remaining sound The audio stream of highest priority assigns audio focus in frequency stream.
It is in some alternative embodiments, described to listen to audio focal variation, comprising:
It has listened to audio stream and has obtained or release audio focus.
In some alternative embodiments, the method, further includes:
Safeguard audio stream list, the audio stream list includes the broadcast information of each audio stream;
At least one of the broadcast information, in the following message including the audio stream: the type of the audio stream, institute State the original sound volume of audio stream, the broadcast sound volume of the audio stream, the priority of the audio stream, whether the audio stream enjoy The state of audio focus.
Second aspect, the embodiment of the present invention provide a kind of MCVF multichannel voice frequency intelligent controlling device, comprising:
Module is monitored, for monitoring whether audio focus changes;
Module is adjusted, for according to preset volume rule, adjusting when the monitoring module listens to audio focal variation The broadcast sound volume of whole each audio stream.
In some alternative embodiments, the adjustment module, is specifically used for:
Its broadcast sound volume, or the sound that audio focus will be enjoyed are adjusted according to the original sound volume for the audio stream for enjoying audio focus The broadcast sound volume of frequency stream is adjusted to predetermined volume;
Its broadcast sound volume is adjusted according to the original sound volume for the audio stream for not enjoying audio focus, or according to enjoying audio focus Audio stream broadcast sound volume or original sound volume adjustment do not enjoy audio focus audio stream broadcast sound volume, or sound will not be enjoyed The broadcast sound volume of the audio stream of frequency focus is adjusted to predetermined volume or mute.
In some alternative embodiments, described device, further includes:
Determining module, for determining the audio stream for enjoying audio focus according to scheduled audio focal point control strategy;
The scheduled audio focal point control strategy, comprising: the type and its priority of scheduled every kind of audio stream.
In some alternative embodiments, the determining module, is specifically used for:
The type for determining audio stream being played on determines the priority of audio stream according to the type, according to priority Determine the audio stream for enjoying audio focus.
In some alternative embodiments, the determining module, is specifically used for:
Audio focus is assigned for the audio stream of highest priority.
In some alternative embodiments, the determining module, is specifically used for:
When listening to the audio stream that request plays, the preferential of the audio stream is determined according to the Audio Stream type that request plays Grade;
Judge whether the priority for the audio stream that request plays is greater than the priority of audio stream being played on, when being judged as When being, the audio stream audio focus that request plays is assigned.
In some alternative embodiments, the determining module, is specifically used for:
When listen to the audio stream for enjoying audio focus finish or stop play when, discharge its audio focus, and be The audio stream of highest priority assigns audio focus in remaining audio stream.
In some alternative embodiments, the monitoring module, is specifically used for:
Whether monitor has audio stream to obtain or release audio focus.
In some alternative embodiments, described device, further includes:
Maintenance module, for safeguarding that audio stream list, the audio stream list include the broadcast information of each audio stream;Institute At least one of broadcast information is stated, in the following message including each audio stream: the type of the audio stream, the audio Whether the original sound volume of stream, the broadcast sound volume of the audio stream, the priority of the audio stream, the audio stream enjoy audio coke The state of point.
The third aspect, the embodiment of the present invention provide a kind of user equipment, comprising: memory, processor and are stored in storage On device and the computer program that can run on a processor, the processor realize multichannel as described above when executing described program Audio intelligent control method.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, in the computer storage medium Computer executable instructions are stored with, which realizes MCVF multichannel voice frequency intelligent control side as described above when being executed by processor Method.
The beneficial effect of above-mentioned technical proposal provided in an embodiment of the present invention includes at least:
When listening to audio focal variation, according to preset volume rule, the broadcast sound volume of each audio stream is adjusted.To enjoying Different broadcast sound volumes is arranged in the audio stream for having audio focus and not enjoying audio focus, distinguishes to realize multiple audio streams It is played simultaneously using different broadcast sound volumes, can be very good to solve the problems, such as brought by " audio mixing ", be both able to achieve MCVF multichannel voice frequency While play, and not will cause the sense of hearing and obscure.It is greatly improved the Experience Degree and safety of user, this method realizes letter It is single, various types of audio streams are applicable to, versatility is stronger, does not need to modify to audio stream source code, expansible Property is good, and maintenance cost is relatively low.
Moreover, above scheme can be managed collectively it based on the list of audio stream, its play rules is controlled. It is excellent compared with traditional audio frequency control scheme by audio frequency control policy definition at configurable configuration file from realization Point is:
1, when control strategy changes, configuration only need to be modified, scalability is stronger, can rapidly adapt to difference Variation between product, reduces development and maintenance cost;
2, the broadcasting logic for not changing audio stream itself, there is no the application of system resource and release, on performance influence compared with It is small;
3, identical to the control of real-time audio stream and the control of local audio stream, it is not necessarily to independent logic.
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
Detailed description of the invention
Attached drawing is used to provide further understanding of the present invention, and constitutes part of specification, with reality of the invention It applies example to be used to explain the present invention together, not be construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the flow chart of MCVF multichannel voice frequency intelligent control method described in the embodiment of the present invention one;
Fig. 2 is the flow chart of MCVF multichannel voice frequency intelligent control method described in the embodiment of the present invention two;
Fig. 3 is the flow chart of MCVF multichannel voice frequency intelligent control method described in the embodiment of the present invention three;
Fig. 4 is the structural schematic diagram of MCVF multichannel voice frequency intelligent controlling device described in the embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
In order to solve the problems, such as that brought by " audio mixing " in the prior art, the embodiment of the present invention provides a kind of MCVF multichannel voice frequency intelligence It can control method and relevant apparatus and equipment, broadcasting while being not only able to achieve MCVF multichannel voice frequency, but also not will cause the sense of hearing and obscure.
Embodiment one
The embodiment of the present invention one provides a kind of MCVF multichannel voice frequency intelligent control method, and process is as shown in Figure 1, include as follows Step:
Step S101: audio focal variation is listened to.
It monitors whether audio focus changes, when listening to audio focus and changing, continues follow-up process.
Audio focal variation is listened to, can specifically refer to that having listened to audio stream obtains or release audio focus, until May include less following two kinds of situations:
1, when there is audio stream request to play, and meet when enjoying the condition of audio focus: the audio stream played being requested to be assigned Audio focus is given, the audio stream for enjoying audio focus before loses audio focus.
2, when the audio stream for enjoying audio focus finishes or request to stop playing: stop playing the audio stream, Its audio focus is discharged, remaining a certain audio stream being played on obtains audio focus.
Above-mentioned two situations are described in detail subsequent.
It monitors whether audio focus changes, can be the real-time monitoring of active, be also possible to receiving audio focus It is passively listened after changed notice.
Step S102: according to preset volume rule, the broadcast sound volume of each audio stream is adjusted.
When listening to audio focus and changing, the broadcast sound volume of audio stream is adjusted, according to scheduled volume Rule, adjustment enjoy audio focus and do not enjoy the broadcast sound volume of each audio stream of audio focus.
It is adjusted according to its according to preset its broadcast sound volume of volume rule adjustment for audio stream being played on Broadcast sound volume continues to play each audio stream;And/or for request play audio stream, according to preset volume rule settings its Broadcast sound volume starts the audio stream of playing request broadcasting according to the broadcast sound volume after its setting.
Scheduled volume rule is described in detail subsequent in above-mentioned steps.
The present embodiment the method is respectively adopted different broadcast sound volumes to multiple audio streams while playing, can be fine Solve the problems, such as broadcasting while being not only able to achieve MCVF multichannel voice frequency brought by " audio mixing ", but also not will cause the sense of hearing and obscure.Greatly Improve the Experience Degree and safety of user.
Optionally, in the above method, can be predetermined audio focal point control strategy: make a reservation for every kind of audio stream type and its Priority determines the audio stream for enjoying audio focus according to scheduled audio focal point control strategy.It specifically can be, determine The type of the audio stream of broadcasting determines the priority of audio stream according to the type, enjoys audio focus according to priority determination Audio stream.
Optionally, in the above method, the audio stream for enjoying audio focus is determined according to priority, can be as priority most High audio stream assigns audio focus.
By taking certain intelligent light car machine as an example, the application program for needing to play audio mainly has navigation, phone (including jingle bell and logical Words), music, voice assistant, corresponding Audio Stream type can specify that are as follows: navigation (STREAM_SYSTEM), telephone rings (STREAM_RING), telephone relation (STREAM_VOICE_CALL), music (STREAM_MUSIC), voice assistant (STREAM_ NOTIFICATION).It should be noted that there is no relationships for the division of Audio Stream type and audio stream data itself, such as MUSIC and RING type can be certain MP3 song, but be belonging respectively to STREAM_MUSIC and STREAM_RING type.
Its priority can be set and be followed successively by STREAM_RING, STREAM_VOICE_CALL, STREAM_ from high to low NOTIFICATION、STREAM_SYSTEM、STREAM_MUSIC。
For example, determining that its type is respectively STREAM_ when having call, navigation and music in audio stream being played on VOICE_CALL, STREAM_SYSTEM and STREAM_MUSIC determine that its priority is followed successively by from high to low according to its type It is burnt then to assign audio for the call of highest priority by STREAM_VOICE_CALL, STREAM_SYSTEM, STREAM_MUSIC Point.
Above-mentioned Audio Stream type and its corresponding priority, i.e. audio focal point control strategy, according to the actual situation and demand Make a reservation for, can also be changed in setting with hobby according to actual needs by user.
Optionally, in the above method, it is that the audio stream of highest priority assigns audio focus, may include following two kinds of feelings Condition:
1, when listening to the audio stream that request plays: determining the excellent of the audio stream according to the Audio Stream type that request plays First grade;Judge whether the priority for the audio stream that request plays is greater than the priority of audio stream being played on, when being judged as YES When, assign the audio stream audio focus that request plays.
2, when listen to the audio stream for enjoying audio focus finish or stop play when: discharge its audio focus, and Audio focus is assigned for the audio stream of highest priority in remaining audio stream.
Optionally, the broadcast sound volume of each audio stream is adjusted according to preset volume rule in above-mentioned steps S102, comprising: Its broadcast sound volume, or broadcasting the audio stream for enjoying audio focus are adjusted according to the original sound volume for the audio stream for enjoying audio focus Playback amount is adjusted to predetermined volume;Its broadcast sound volume is adjusted according to the original sound volume for the audio stream for not enjoying audio focus, or is pressed Broadcast sound volume or original sound volume adjustment according to the audio stream for enjoying audio focus do not enjoy the broadcasting sound of the audio stream of audio focus Amount, or the broadcast sound volume for not enjoying the audio stream of audio focus is adjusted to predetermined volume or mute.
Wherein, its broadcast sound volume is adjusted according to the original sound volume for the audio stream for enjoying audio focus, may include: that will enjoy The broadcast sound volume of the audio stream of audio focus is adjusted to its original sound volume;Or, by the broadcasting sound for the audio stream for enjoying audio focus Amount is adjusted to its original sound volume and improves the volume after predetermined ratio;Or comprehensively consider the original sound for the audio stream for enjoying audio focus Amount, do not enjoy audio focus audio stream highest broadcast sound volume and highest broadcast sound volume threshold value etc. because usually adjusting enjoy audio The broadcast sound volume of the audio stream of focus, such as:
In order to make it easy to understand, the original sound volume that the audio stream of audio focus is enjoyed in definition is volume 1, its broadcast sound volume is defined For volume 2, the highest broadcast sound volume for defining other current audio streams being played on for not enjoying audio focus is volume 3.Sound The pre-defined rule of amount 2 are as follows: when the ratio that volume 1 is higher than volume 3 is greater than or equal to predetermined ratio, volume 2 is equal to volume 1;When When the ratio that volume 1 is higher than volume 3 is less than predetermined ratio, and volume 3 × (1+ predetermined ratio) value is not higher than the highest of system Broadcast sound volume threshold value, volume 2 are equal to volume 3 × (1+ predetermined ratio);When the ratio that volume 1 is higher than volume 3 is less than predetermined ratio When, and volume 3 × (1+ predetermined ratio) value is higher than the highest broadcast sound volume threshold value of system, the highest that volume 2 is equal to system is broadcast Put volume threshold.
For example: the original sound volume i.e. volume 1 for enjoying the audio stream of audio focus is 50 decibels, and current other are being broadcast The highest broadcast sound volume i.e. volume 3 of what is put the do not enjoy audio stream of audio focus is 20 decibels, and audio focus is enjoyed in setting The predetermined ratio that currently playing volume, that is, volume 2 of audio stream is higher than volume 3 is 70%, and the highest broadcast sound volume threshold value of system is 80 decibels.Calculate volume 1 be higher than volume 3 ratio be 100% × (50-20)/20, as 150%, 150% be greater than 70%, therefore Volume 2 be equal to volume 1, as 50 decibels;If volume 3 be 30 decibels, calculate volume 1 be higher than volume 3 ratio be 100% × (50-30)/30, as 66%, 66% less than 70%, thus volume 2 be equal to volume 3 × (1+70%), as 51 decibels;If volume 3 be 50 decibels, and volume 3 × (1+70%) is 85 decibels, 85 decibels of 80 decibels of highest broadcast sound volume threshold values higher than system, therefore sound Amount 2 is set as 80 decibels.
Wherein, its broadcast sound volume is adjusted according to the original sound volume for the audio stream for not enjoying audio focus, may include: will not The broadcast sound volume for enjoying the audio stream of audio focus is adjusted to the predetermined ratio of its original sound volume;Or it is burnt according to audio is currently enjoyed The type of the audio stream of point and do not enjoy audio focus audio stream original sound volume, adjust and do not enjoy the audio stream of audio focus Broadcast sound volume, such as:
It is as shown in table 1: when the Audio Stream type for currently enjoying audio focus is incoming call or communication process, not enjoy audio coke The audio stream broadcast sound volume of point is 0, i.e., mute broadcasting;The Audio Stream type for currently enjoying audio focus is voice assistant or navigation When casting, the broadcast sound volume for not enjoying the audio stream of audio focus is reduced to the 30% of its original sound volume;Currently enjoy audio focus Audio Stream type be music when, the broadcast sound volume for not enjoying the audio stream of audio focus is reduced to the 50% of its original sound volume.
Table 1 does not enjoy play rules when audio focus
Wherein, audio focus is not enjoyed according to broadcast sound volume or the original sound volume adjustment for the audio stream for enjoying audio focus The broadcast sound volume of audio stream may include: to be adjusted to the broadcast sound volume for the audio stream for not enjoying audio focus to enjoy audio coke The broadcast sound volume of the audio stream of point or the predetermined ratio of original sound volume;Or the type according to the audio stream for currently enjoying audio focus With its broadcast sound volume or original sound volume, the broadcast sound volume of the audio stream of audio focus is not enjoyed in adjustment, such as:
It is as shown in table 2: when the Audio Stream type for currently enjoying audio focus is incoming call or communication process, not enjoy audio coke The audio stream broadcast sound volume of point is 0, i.e., mute broadcasting;The Audio Stream type for currently enjoying audio focus is voice assistant or navigation When casting, the broadcast sound volume for not enjoying the audio stream of audio focus is adjusted to currently to enjoy the broadcasting sound of the audio stream of audio focus The 30% of amount;When the Audio Stream type for currently enjoying audio focus is music, the broadcasting sound of the audio stream of audio focus is not enjoyed Amount is adjusted to currently to enjoy the 50% of the broadcast sound volume of the audio stream of audio focus.
Table 2 does not enjoy play rules when audio focus
Optionally, above-mentioned preset volume rule is also possible to according to other rules set by actual demand situation.
Above-mentioned preset volume rule according to actual needs and can also be liked by system automatically generated by user It is changed in setting.
In the above method, for being playing and/or requesting the management of the audio stream played, it can be maintenance audio stream column Table, the audio stream list include the broadcast information of each audio stream;The broadcast information, in the following message including audio stream At least one of: the type of the audio stream, the original sound volume of the audio stream, the broadcast sound volume of the audio stream, the sound Whether the priority of frequency stream, the audio stream enjoy the state of audio focus.
Wherein, the priority of the original sound volume of audio stream and audio stream can be the type according to audio stream, preset The type of audio stream and the matching relationship of original sound volume and priority determine, that is, determine that its is original according to the type of audio stream Volume and priority.
Above-mentioned matching relationship can be preset by system according to user experience or in conjunction with drive safety, can also be by User changes in setting with hobby according to actual needs.
It is above-mentioned be playing and/or request play audio stream management, be also possible to by define information field or its His mode realizes, herein without limitation.
Embodiment two
Second embodiment of the present invention provides a kind of MCVF multichannel voice frequency intelligent control methods, to there is audio stream request to be when playing Example, process is as shown in Fig. 2, include the following steps:
Assuming that preset volume rule are as follows: broadcast sound volume when audio stream enjoys audio focus is its original sound volume;It does not enjoy There is broadcast sound volume when audio focus as shown in Table 1 above.
Step S201: the audio stream that request plays is got.
Step S202: judge the type of audio stream.
Step S203: the priority of audio stream is determined according to the type of audio stream.
It, can be according to the type and original sound volume of preset audio stream and priority after the type of audio stream determines Matching relationship determines its original sound volume and priority.
Step S204: judge whether the priority for the audio stream that request plays is higher than the audio stream in current audio stream list Priority.
The highest priority of audio stream in current audio stream list be enjoy audio focus audio stream it is corresponding excellent First grade, therefore judge whether the priority of audio stream is higher than the priority of the audio stream in current audio stream list, it can be and only sentence Whether the priority of disconnected audio stream is higher than the priority for currently enjoying the audio stream of audio focus.
If so, executing step S205;If it is not, executing step S210.
Step S205: the audio stream audio stream audio focus that request plays is assigned.
If judging, the priority of audio stream is higher than the priority of the audio stream in current audio stream list, assigns audio fluid sound Frequency focus discharges the audio focus of the currently playing audio stream for enjoying audio focus.
Step S206: the broadcast information for assigning the audio stream of audio focus is dosed into audio stream list.
It assigns the type of audio stream of audio focus, original sound volume, priority and whether enjoys the state of audio focus It is determined in above-mentioned steps, the broadcast sound volume of audio stream is determined according to above-mentioned scheduled volume rule, the broadcasting of audio stream is believed Breath doses audio stream list.
Step S207: start audio stream plays according to the broadcast sound volume for the audio stream for assigning audio focus.
Step S208: the broadcast information of audio stream being played on is updated.
According to the type of above-mentioned scheduled volume rule and the audio stream for enjoying audio focus, adjustment loses audio focus The broadcast sound volume of audio stream and other audio streams being played on updates its broadcast information.
Step S209: continue audio stream plays according to the broadcast sound volume of audio stream being played on.
Above-mentioned steps S206~step S207, step S208~step S209 do not have sequencing, can first carry out step S206~step S207 can also first carry out step S208~step S209, also may be performed simultaneously.
Step S210: the broadcast information for the audio stream that request plays is dosed into audio stream list.
If judging, the priority of audio stream lower than the priority of the audio stream in current audio stream list, does not assign audio stream Audio focus, the type for according to above-mentioned scheduled volume rule and currently enjoying the audio stream of audio focus determine what request played The broadcast information of audio stream is dosed audio stream list by the broadcast sound volume of audio stream.
Step S211: the broadcast sound volume of the audio stream played according to request starts to play the audio stream.
Embodiment three
The embodiment of the present invention three provides a kind of MCVF multichannel voice frequency intelligent control method, to have audio stream to finish or request For when stopping playing, process is as shown in figure 3, include the following steps:
Scheduled volume rule is as described in embodiment two.
Step S301: the audio stream for finishing or requesting to stop playing is got.
If getting audio stream request to stop playing, stop playing the audio stream.
Step S302: judge whether audio stream enjoys audio focus when finishing or requesting and stop and playing.
If so, executing step S304;If it is not, executing step S303.
Step S303: continue to play remaining audio stream according to current play status.
If judging, audio stream does not enjoy audio focus when finishing or requesting and stop and playing, according to currently playing shape State continues to play remaining audio stream, and the broadcast information for stopping the audio stream playing is deleted from audio stream list.
Step S304: the audio stream of highest priority in audio stream list is found.
If judging, audio stream enjoys audio focus when finishing or requesting and stop and playing, and deletes from audio stream list Except the broadcast information of the audio stream, while finding the audio stream of highest priority in audio stream list.
Step S305: assigning the audio stream audio focus of highest priority, updates all audio streams in audio stream list Broadcast information.
The audio stream audio focus for assigning highest priority, according to above-mentioned scheduled its broadcast sound volume of volume rule adjustment, Update its broadcast information.
For each audio stream of remaining currently playing, according to the type for the audio stream for currently enjoying audio focus and upper Scheduled its broadcast sound volume of volume rule adjustment is stated, its broadcast information is updated.
Step S306: continue to play each audio stream according to the updated broadcast sound volume of each audio stream.
Three the method for above-described embodiment two and embodiment is that the list based on audio stream is managed collectively it, right Its play rules is controlled.It is and traditional by audio frequency control policy definition at configurable configuration file from realization Audio frequency control scheme is compared, and advantage is:
1, when control strategy changes, configuration only need to be modified, scalability is stronger, can rapidly adapt to difference Variation between product, reduces development and maintenance cost;
2, the broadcasting logic for not changing audio stream itself, there is no the application of system resource and release, on performance influence compared with It is small;
3, identical to the control of real-time audio stream and the control of local audio stream, it is not necessarily to independent logic.
Based on the same inventive concept, the embodiment of the present invention also provides a kind of MCVF multichannel voice frequency intelligent controlling device, can be realized Above-mentioned MCVF multichannel voice frequency intelligent control method.The device can be set in mobile terminal communication equipment and vehicle electronic device, should The structure of device is as shown in Figure 4, comprising:
Module 410 is monitored, for monitoring whether audio focus changes;
Module 420 is adjusted, for when the monitoring module 410 listens to audio focal variation, according to preset volume Rule adjusts the broadcast sound volume of each audio stream.
In one embodiment, above-mentioned adjustment module 420, is specifically used for:
Its broadcast sound volume, or the sound that audio focus will be enjoyed are adjusted according to the original sound volume for the audio stream for enjoying audio focus The broadcast sound volume of frequency stream is adjusted to predetermined volume;
Its broadcast sound volume is adjusted according to the original sound volume for the audio stream for not enjoying audio focus, or according to enjoying audio focus Audio stream broadcast sound volume or original sound volume adjustment do not enjoy audio focus audio stream broadcast sound volume, or sound will not be enjoyed The broadcast sound volume of the audio stream of frequency focus is adjusted to predetermined volume or mute.
In one embodiment, above-mentioned MCVF multichannel voice frequency intelligent controlling device, further includes:
Determining module 430, for determining the audio stream for enjoying audio focus according to scheduled audio focal point control strategy;Institute State scheduled audio focal point control strategy, comprising: the type and its priority of scheduled every kind of audio stream.
In one embodiment, above-mentioned determining module 430, is specifically used for:
The type for determining audio stream being played on determines the priority of audio stream according to the type, according to priority Determine the audio stream for enjoying audio focus.
In one embodiment, above-mentioned determining module 430, is specifically used for:
Audio focus is assigned for the audio stream of highest priority.
In one embodiment, above-mentioned determining module 430, is specifically used for:
When listening to the audio stream that request plays, the preferential of the audio stream is determined according to the Audio Stream type that request plays Grade;
Judge whether the priority for the audio stream that request plays is greater than the priority of audio stream being played on, when being judged as When being, the audio stream audio focus that request plays is assigned.
In one embodiment, above-mentioned determining module 430, is specifically used for:
When listen to the audio stream for enjoying audio focus finish or stop play when, discharge its audio focus, and be The audio stream of highest priority assigns audio focus in remaining audio stream.
In one embodiment, above-mentioned monitoring module 410, is specifically used for:
Whether monitor has audio stream to obtain or release audio focus.
In one embodiment, above-mentioned MCVF multichannel voice frequency intelligent controlling device, further includes:
Maintenance module 440, for safeguarding that audio stream list, the audio stream list include the broadcasting letter of each audio stream Breath;At least one of the broadcast information, in the following message including each audio stream: the type of the audio stream, institute State the original sound volume of audio stream, the broadcast sound volume of the audio stream, the priority of the audio stream, whether the audio stream enjoy The state of audio focus.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Based on the same inventive concept, the embodiment of the present invention also provides a kind of user equipment, comprising: memory, processor and It is stored in the computer program that can be run on memory and on a processor, the processor is realized as above when executing described program The MCVF multichannel voice frequency intelligent control method.
Based on the same inventive concept, the embodiment of the present invention also provides a kind of computer readable storage medium, the computer Computer executable instructions are stored in storage medium, which realizes MCVF multichannel voice frequency intelligence as described above when being executed by processor It can control method.
Unless otherwise specific statement, term such as handle, calculate, operation, determination, display etc. can refer to it is one or more A processing or the movement and/or process of computing system or similar devices, the movement and/or process will be indicated as processing system It the data manipulation of the register of system or physics (such as electronics) amount in memory and is converted into and is similarly represented as processing system Memory, register or other this type of information storage, transmitting or display equipment in other data of physical quantity.Information Any one of a variety of different technology and methods can be used with signal to indicate.For example, in above description Data, instruction, order, information, signal, bit, symbol and the chip referred to can use voltage, electric current, electromagnetic wave, magnetic field or grain Son, light field or particle or any combination thereof indicate.
It should be understood that the particular order or level of the step of during disclosed are the examples of illustrative methods.Based on setting Count preference, it should be appreciated that in the process the step of particular order or level can be in the feelings for the protection scope for not departing from the disclosure It is rearranged under condition.Appended claim to a method is not illustratively sequentially to give the element of various steps, and not It is to be limited to the particular order or level.
In above-mentioned detailed description, various features are combined together in single embodiment, to simplify the disclosure.No This published method should be construed to reflect such intention, that is, the embodiment of theme claimed needs clear The more features of the feature stated in each claim to Chu.On the contrary, that reflected such as appended claims Sample, the present invention are in the state fewer than whole features of disclosed single embodiment.Therefore, appended claims is special This is expressly incorporated into detailed description, and wherein each claim is used as alone the individual preferred embodiment of the present invention.
It should also be appreciated by one skilled in the art that various illustrative logical boxs, mould in conjunction with the embodiments herein description Electronic hardware, computer software or combinations thereof may be implemented into block, circuit and algorithm steps.In order to clearly demonstrate hardware and Interchangeability between software surrounds its function to various illustrative components, frame, module, circuit and step above and carries out It is generally described.Hardware is implemented as this function and is also implemented as software, depends on specific application and to entire The design constraint that system is applied.Those skilled in the art can be directed to each specific application, be realized in a manner of flexible Described function, still, this realization decision should not be construed as a departure from the scope of protection of this disclosure.
The step of method in conjunction with described in the embodiments herein or algorithm, can be embodied directly in hardware, be held by processor Capable software module or combinations thereof.Software module can be located at RAM memory, flash memory, ROM memory, eprom memory, The storage of eeprom memory, register, hard disk, mobile disk, CD-ROM or any other form well known in the art is situated between In matter.A kind of illustrative storage medium is connected to processor, thus enable a processor to from the read information, and Information can be written to the storage medium.Certainly, storage medium is also possible to the component part of processor.Pocessor and storage media It can be located in ASIC.The ASIC can be located in user terminal.Certainly, pocessor and storage media can also be used as discrete sets Part is present in user terminal.
For software implementations, technology described in this application can be with the module of the herein described function of execution (for example, mistake Journey, function etc.) Lai Shixian.These software codes can store in memory cell and be executed by processor.Memory cell can With realize in processor, also may be implemented outside the processor, in the latter case, it via various means by correspondence It is coupled to processor, these are all well known in the art.
Description above includes the citing of one or more embodiments.Certainly, in order to describe above-described embodiment and description portion The all possible combination of part or method is impossible, but it will be appreciated by one of ordinary skill in the art that each implementation Example can do further combinations and permutations.Therefore, embodiment described herein is intended to cover fall into the appended claims Protection scope in all such changes, modifications and variations.In addition, with regard to term used in specification or claims The mode that covers of "comprising", the word is similar to term " includes ", just as " including " solved in the claims as transitional word As releasing.In addition, the use of any one of specification in claims term "or" being to indicate " non-exclusionism Or ".

Claims (10)

1. a kind of MCVF multichannel voice frequency intelligent control method characterized by comprising
When listening to audio focal variation, according to preset volume rule, the broadcast sound volume of each audio stream is adjusted.
2. the method as described in claim 1, which is characterized in that it is described according to preset volume rule, adjust each audio stream Broadcast sound volume, comprising:
Its broadcast sound volume, or the audio stream that audio focus will be enjoyed are adjusted according to the original sound volume for the audio stream for enjoying audio focus Broadcast sound volume be adjusted to predetermined volume;
Its broadcast sound volume is adjusted according to the original sound volume for the audio stream for not enjoying audio focus, or according to the sound for enjoying audio focus The broadcast sound volume of the audio stream of audio focus is not enjoyed in the broadcast sound volume of frequency stream or original sound volume adjustment, or will not enjoy audio coke The broadcast sound volume of the audio stream of point is adjusted to predetermined volume or mute.
3. the method as described in claim 1, which is characterized in that further include:
The audio stream for enjoying audio focus is determined according to scheduled audio focal point control strategy;
The scheduled audio focal point control strategy includes: the type and its priority of scheduled every kind of audio stream.
4. method as claimed in claim 3, which is characterized in that enjoy audio according to the determination of scheduled audio focal point control strategy The audio stream of focus, comprising:
The type for determining audio stream being played on determines the priority of audio stream according to the type, is determined according to priority Enjoy the audio stream of audio focus.
5. method according to any of claims 1-4, which is characterized in that further include:
Safeguard audio stream list, the audio stream list includes the broadcast information of each audio stream;
At least one of the broadcast information, in the following message including the audio stream: the type of the audio stream, the sound Whether the original sound volume of frequency stream, the broadcast sound volume of the audio stream, the priority of the audio stream, the audio stream enjoy audio The state of focus.
6. a kind of MCVF multichannel voice frequency intelligent controlling device characterized by comprising
Module is monitored, for monitoring whether audio focus changes;
Module is adjusted, for when the monitoring module listens to audio focal variation, according to preset volume rule, adjustment to be each The broadcast sound volume of audio stream.
7. device as claimed in claim 6, which is characterized in that further include:
Determining module, for determining the audio stream for enjoying audio focus according to scheduled audio focal point control strategy;
The scheduled audio focal point control strategy, comprising: the type and its priority of scheduled every kind of audio stream.
8. device as claimed in claims 6 or 7, which is characterized in that further include:
Maintenance module, for safeguarding that audio stream list, the audio stream list include the broadcast information of each audio stream;It is described to broadcast At least one of information is put, in the following message including each audio stream: the type of the audio stream, the audio stream Whether original sound volume, the broadcast sound volume of the audio stream, the priority of the audio stream, the audio stream enjoy audio focus State.
9. a kind of user equipment, comprising: memory, processor and be stored in the calculating that can be run on memory and on a processor Machine program, which is characterized in that the processor realizes the described in any item MCVF multichannel voice frequencies of claim 1-5 when executing described program Intelligent control method.
10. a kind of computer readable storage medium, which is characterized in that being stored with computer in the computer storage medium can hold Row instruction, the computer executable instructions require the described in any item MCVF multichannel voice frequency intelligent control sides 1-5 for perform claim Method.
CN201810261860.9A 2018-03-28 2018-03-28 A kind of MCVF multichannel voice frequency intelligent control method and relevant apparatus and equipment Pending CN110321096A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810261860.9A CN110321096A (en) 2018-03-28 2018-03-28 A kind of MCVF multichannel voice frequency intelligent control method and relevant apparatus and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810261860.9A CN110321096A (en) 2018-03-28 2018-03-28 A kind of MCVF multichannel voice frequency intelligent control method and relevant apparatus and equipment

Publications (1)

Publication Number Publication Date
CN110321096A true CN110321096A (en) 2019-10-11

Family

ID=68109672

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810261860.9A Pending CN110321096A (en) 2018-03-28 2018-03-28 A kind of MCVF multichannel voice frequency intelligent control method and relevant apparatus and equipment

Country Status (1)

Country Link
CN (1) CN110321096A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111328061A (en) * 2020-02-28 2020-06-23 诚迈科技(南京)股份有限公司 Audio resource control method, vehicle-mounted terminal and system
CN112130802A (en) * 2020-09-24 2020-12-25 中国第一汽车股份有限公司 Vehicle-mounted audio playing method and device, vehicle and storage medium
CN112579208A (en) * 2020-12-25 2021-03-30 雄狮汽车科技(南京)有限公司 Audio playing method and device for vehicle, electronic equipment and storage medium
CN113094541A (en) * 2021-04-16 2021-07-09 网易(杭州)网络有限公司 Audio playing method, electronic equipment and storage medium
CN113963722A (en) * 2021-09-16 2022-01-21 珠海格力电器股份有限公司 Method and device for controlling multiple devices to play different audios simultaneously and terminal device
CN114153314A (en) * 2021-11-29 2022-03-08 重庆长安汽车股份有限公司 In-vehicle noise dynamic display interaction method and system for enhancing user experience
US11288033B2 (en) * 2019-04-09 2022-03-29 Hisense Visual Technology Co., Ltd. Method for outputting audio data of applications and display device
CN114416017A (en) * 2022-01-30 2022-04-29 重庆长安汽车股份有限公司 Android-based audio focus implementation method
CN115469824A (en) * 2022-11-02 2022-12-13 蔚来汽车科技(安徽)有限公司 Method and device for controlling playing of vehicle-mounted audio, vehicle-mounted equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110289506A1 (en) * 2010-05-18 2011-11-24 Google Inc. Management of computing resources for applications
US20130067050A1 (en) * 2011-09-11 2013-03-14 Microsoft Corporation Playback manager
CN105530171A (en) * 2015-12-23 2016-04-27 腾讯科技(深圳)有限公司 Method and apparatus for playing instant message sound on vehicle-mounted terminal
CN106598539A (en) * 2016-12-15 2017-04-26 广州酷狗计算机科技有限公司 Method and apparatus for processing audio in application

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110289506A1 (en) * 2010-05-18 2011-11-24 Google Inc. Management of computing resources for applications
US20130067050A1 (en) * 2011-09-11 2013-03-14 Microsoft Corporation Playback manager
CN105530171A (en) * 2015-12-23 2016-04-27 腾讯科技(深圳)有限公司 Method and apparatus for playing instant message sound on vehicle-mounted terminal
CN106598539A (en) * 2016-12-15 2017-04-26 广州酷狗计算机科技有限公司 Method and apparatus for processing audio in application

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11288033B2 (en) * 2019-04-09 2022-03-29 Hisense Visual Technology Co., Ltd. Method for outputting audio data of applications and display device
CN111328061A (en) * 2020-02-28 2020-06-23 诚迈科技(南京)股份有限公司 Audio resource control method, vehicle-mounted terminal and system
CN112130802A (en) * 2020-09-24 2020-12-25 中国第一汽车股份有限公司 Vehicle-mounted audio playing method and device, vehicle and storage medium
CN112579208A (en) * 2020-12-25 2021-03-30 雄狮汽车科技(南京)有限公司 Audio playing method and device for vehicle, electronic equipment and storage medium
CN113094541A (en) * 2021-04-16 2021-07-09 网易(杭州)网络有限公司 Audio playing method, electronic equipment and storage medium
CN113963722A (en) * 2021-09-16 2022-01-21 珠海格力电器股份有限公司 Method and device for controlling multiple devices to play different audios simultaneously and terminal device
CN114153314A (en) * 2021-11-29 2022-03-08 重庆长安汽车股份有限公司 In-vehicle noise dynamic display interaction method and system for enhancing user experience
CN114153314B (en) * 2021-11-29 2023-04-25 重庆长安汽车股份有限公司 In-vehicle noise dynamic display interaction method and system for enhancing user experience
CN114416017A (en) * 2022-01-30 2022-04-29 重庆长安汽车股份有限公司 Android-based audio focus implementation method
CN115469824A (en) * 2022-11-02 2022-12-13 蔚来汽车科技(安徽)有限公司 Method and device for controlling playing of vehicle-mounted audio, vehicle-mounted equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110321096A (en) A kind of MCVF multichannel voice frequency intelligent control method and relevant apparatus and equipment
AU2019201701C1 (en) Metadata for ducking control
US9584945B2 (en) Surround sound effects provided by cell phones
US20170293465A1 (en) Playback manager
US7272232B1 (en) System and method for prioritizing and balancing simultaneous audio outputs in a handheld device
CN106302997B (en) Output control method, electronic equipment and system
US9686396B2 (en) Method and apparatus for media property of characteristic control in a media system
CN103345929B (en) A kind of method and apparatus regulating volume
CN105846865B (en) Method, device and system for Bluetooth audio transmission
CN110730406A (en) Method for outputting two paths of independent sound sources based on Android system
CN108668203A (en) Audio frequency playing method, system and device
US20220351737A1 (en) Using Non-Audio Data Embedded in an Audio Signal
CN108132769A (en) A kind of audio data play method and dual-screen mobile terminal
JP2019165443A (en) Voice signal processor and speaker
CN103067825B (en) Voice frequency changing-over management system in vehicle-mounted entertainment system and control method thereof
US11210058B2 (en) Systems and methods for providing independently variable audio outputs
CN112542183B (en) Audio data processing method, device, equipment and storage medium
WO2017101327A1 (en) Method and device for collective playback of high-fidelity sound by several players
CN112883222B (en) Song recommendation playing method, electronic equipment and computer readable storage medium
CN113760219A (en) Information processing method and device
CN103945305A (en) Information processing method and electronic equipment
CN106210762A (en) Method, source device, purpose equipment, TV and the terminal that audio frequency is play
CN117201665B (en) Data processing method, device and system
CN114040317B (en) Sound channel compensation method and device for sound, electronic equipment and storage medium
US11627429B2 (en) Providing spatial audio signals

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 110000 No. 861-6, shangshengou village, Hunnan District, Shenyang City, Liaoning Province

Applicant after: Shenyang Meihang Technology Co.,Ltd.

Address before: 110167 International Software Park E06, Hunnan New District, Shenyang City, Liaoning Province

Applicant before: SHENYANG MXNAVI Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191011