CN110381215A - Audio shunt method, device, storage medium and computer equipment - Google Patents
Audio shunt method, device, storage medium and computer equipment Download PDFInfo
- Publication number
- CN110381215A CN110381215A CN201910696332.0A CN201910696332A CN110381215A CN 110381215 A CN110381215 A CN 110381215A CN 201910696332 A CN201910696332 A CN 201910696332A CN 110381215 A CN110381215 A CN 110381215A
- Authority
- CN
- China
- Prior art keywords
- earphone
- voice
- audio
- grade channel
- sim card
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000003860 storage Methods 0.000 title claims abstract description 19
- 230000005540 biological transmission Effects 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 11
- 230000005611 electricity Effects 0.000 claims description 9
- 238000000926 separation method Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 10
- 230000033001 locomotion Effects 0.000 description 8
- 238000003825 pressing Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000011017 operating method Methods 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000002156 mixing Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/03—Constructional features of telephone transmitters or receivers, e.g. telephone hand-sets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72484—User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1041—Mechanical or electronic switches, or control elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/08—Access point devices
- H04W88/10—Access point devices adapted for operation in multiple networks, e.g. multi-mode access points
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Telephone Function (AREA)
Abstract
This application discloses a kind of audio shunt method, device, storage medium and computer equipments, are applied to intelligent terminal, audio shunt method includes: to judge whether designated program and incoming call program are in operating status simultaneously;If so, corresponding first audio of the designated program is played out by the first voice-grade channel, and corresponding second audio that will send a telegram here is played out by the second voice-grade channel.The application realizes the audio separation of telephone service and network data service, and the sound between such different business will not be intermixed.
Description
Technical field
This application involves mobile communication fields, and in particular to a kind of audio shunt method, device, storage medium and computer
Equipment.
Background technique
With the development of science and technology, smart phone is also developed rapidly.In VOLTE (Voice over Long-
Term Evolution, long term evolution voice bearer) under technology is universal, for single deck tape-recorder single-pass mobile phone, it may be implemented now
Telephone service and network data service carry out simultaneously, and 4G network can support voice, do not need call when network fall back to 2G,
On 3G, such 4G network would not go offline, and in call, game video etc. can also carry out simultaneously.However, when user is using
Game or watch movie etc. network data services when, acoustic information can be generated.If also while carrying out telephone service, game at this time
Or the sound of film can mix with the sound of phone, cause user disturbed, leverage user experience.
Summary of the invention
The purpose of the application is to provide a kind of audio shunt method, device, storage medium and computer equipment, it is intended to be solved
In the prior art, when the telephone service of smart phone and network data service are run simultaneously, the sound between different business is mutual
The problem of mutually mixing.
Present applicant proposes a kind of audio shunt methods, are applied to intelligent terminal, and the intelligent terminal connects equipped with earphone
Mouth and loudspeaker, for connecting earphone, the audio shunt method includes: the earphone interface
Judge whether designated program and incoming call program are in operating status simultaneously;
If so, corresponding first audio of the designated program is played out by the first voice-grade channel, and in the future
Corresponding second audio of electricity is played out by the second voice-grade channel;Wherein, first voice-grade channel is the corresponding sound of loudspeaker
Frequency channel, second voice-grade channel are the corresponding voice-grade channel of earphone;Or first voice-grade channel is the corresponding sound of earphone
Frequency channel, second voice-grade channel are the corresponding voice-grade channel of loudspeaker.
Further, described to play out corresponding first audio of the designated program by the first voice-grade channel, with
And corresponding second audio that will send a telegram here the step of being played out by the second voice-grade channel, comprising:
The first prompt information is sent to display interface, first prompt information includes at least one option of operation, described
Option of operation includes continuing, closing or suspend the designated program;
User is received to the selection instruction of the option of operation, and judges whether the selected option of operation of user is continuation
The designated program;
If so, corresponding first audio of the designated program is played out by the first voice-grade channel, and by institute
Corresponding second audio of incoming call is stated to play out by the second voice-grade channel.
Further, the intelligent terminal is single-pass intelligent terminal, is additionally provided with microphone array on the intelligent terminal, institute
It states and transmits corresponding first audio of the designated program by the first voice-grade channel, and corresponding second sound that will send a telegram here
The step of frequency is transmitted by the second voice-grade channel, comprising:
Judge whether the earphone interface connects earphone;
If connecting the earphone, judge whether be equipped with ear microphone on the earphone;
If being equipped with the ear microphone, the ear microphone is closed, and open the microphone array;
Using the corresponding voice-grade channel of the loudspeaker as first voice-grade channel, first audio is passed through into the loudspeaker
Transmitted;And using the corresponding voice-grade channel of the earphone as second voice-grade channel, second audio is led to
The earphone is crossed to be transmitted.
Further, described using the corresponding voice-grade channel of the loudspeaker as first voice-grade channel, by described first
Audio is transmitted by the loudspeaker;It, will and using the corresponding voice-grade channel of the earphone as second voice-grade channel
After the step of second audio is transmitted by the earphone, comprising:
Judge whether to receive voice-grade channel switching command;
If so, first audio is led to using the corresponding voice-grade channel of the earphone as first voice-grade channel
The earphone is crossed to be transmitted;And using the corresponding voice-grade channel of the loudspeaker as second voice-grade channel, by described
Two audios are transmitted by the loudspeaker.
Further, it is described judge the step of whether earphone interface connects earphone after, comprising:
If being not connected with the earphone, the second prompt information is sent to the display interface, second prompt information is used for
Remind user that the earphone is inserted into the earphone interface.
Further, the intelligent terminal is more card multi-pass intelligent terminals, and the intelligent terminal includes multiple SIM card, institute
The corresponding channel of every SIM card for stating more card multi-pass intelligent terminals is equipped with corresponding earphone interface and loudspeaker, will be described specified
The corresponding SIM card of the network data service of program makees the corresponding SIM card of the telephone service of the incoming call as the first SIM card
It is described to play out corresponding first audio of the designated program by the first voice-grade channel for the second SIM card, and in the future
The step of corresponding second audio of electricity is played out by the second voice-grade channel, comprising:
Judge that the corresponding SIM card of the network data service of the designated program is corresponding with the telephone service of the incoming call
Whether SIM card is same SIM card;
If not same SIM card, then corresponding first earphone interface of first SIM card and second SIM card are judged
In corresponding second earphone interface, if at least one earphone interface has connected earphone;
If sending third prompt information to display interface, the third prompt information is for mentioning without connection earphone
Awake user inserts an earphone into first earphone interface or second earphone interface;
Judge whether first earphone interface and second earphone interface connect the earphone respectively;
If first earphone interface connects the earphone and second earphone interface is not connected with the earphone, by institute
It states the first audio to be transmitted by the earphone, second audio is carried out by the corresponding loudspeaker of second SIM card
Transmission.
Further, if not the same SIM card, then judge corresponding first earphone interface of first SIM card and
In corresponding second earphone interface of second SIM card, if before the step of at least one earphone interface has connected earphone, packet
It includes:
If same SIM card, then the telephone service of the incoming call is switched into another SIM card, or by the designated program
Network data service switch to another SIM card, wherein another SIM card be selected from the multiple SIM card.
The application also proposed a kind of audio part flow arrangement, be set to intelligent terminal, and the intelligent terminal is equipped with earphone
Interface and loudspeaker, for connecting earphone, the audio part flow arrangement includes: the earphone interface
Judging unit, for judging whether designated program and incoming call program are in operating status simultaneously;
Dividing cell, if corresponding first audio of the designated program is passed through the in operating status simultaneously
One voice-grade channel plays out, and corresponding second audio that will send a telegram here is played out by the second voice-grade channel;Wherein, described
First voice-grade channel is the corresponding voice-grade channel of loudspeaker, and second voice-grade channel is the corresponding voice-grade channel of earphone;Or it is described
First voice-grade channel is the corresponding voice-grade channel of earphone, and second voice-grade channel is the corresponding voice-grade channel of loudspeaker.
The application also proposed a kind of storage medium, is computer-readable storage medium, is stored thereon with computer
Program, the computer program, which is performed, realizes above-mentioned audio shunt method.
The application also proposed a kind of computer equipment comprising processor, memory and be stored on the memory
And the computer program that can be run on the processor, the processor realize above-mentioned sound when executing the computer program
Frequency shunt method.
The application's the utility model has the advantages that
Audio shunt method, device, storage medium and the computer equipment of the application, first determines whether designated program and incoming call
Whether in operating status simultaneously;If corresponding first audio of the designated program is passed through the in operating status simultaneously
One voice-grade channel plays out, and corresponding second audio of the incoming call is played out by the second voice-grade channel;To
It realizes and separates the audio of telephone service and network data service, such user can choose a voice-grade channel to listen to sound
Sound, when running the telephone service and network data service of smart phone at the same time, the sound between different business will not be mixed mutually
It is miscellaneous.
Detailed description of the invention
Fig. 1 is the flow diagram of the audio shunt method of one embodiment of the application;
Fig. 2 is the structural schematic block diagram of the audio part flow arrangement of one embodiment of the application;
Fig. 3 is the structural schematic block diagram of an embodiment of dividing cell in Fig. 2;
Fig. 4 is the structural schematic block diagram of the another embodiment of dividing cell in Fig. 2;
Fig. 5 is the structural schematic block diagram that the another embodiment of subelement is shunted in Fig. 2;
Fig. 6 is the structural schematic block diagram that the another embodiment of subelement is shunted in Fig. 2;
Fig. 7 is the structural schematic block diagram that the another embodiment of subelement is shunted in Fig. 2;
Fig. 8 is the structural schematic block diagram that the another embodiment of subelement is shunted in Fig. 2;
Fig. 9 is the structural schematic block diagram of an embodiment of the storage medium of the application;
Figure 10 is the structural schematic block diagram of an embodiment of the computer equipment of the application.
The embodiments will be further described with reference to the accompanying drawings for realization, functional characteristics and the advantage of the application purpose.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiment is only a part of the embodiment of the application, instead of all the embodiments.Base
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts it is all its
His embodiment, shall fall in the protection scope of this application.
In addition, the description for being such as related to " first ", " second " in this application is used for description purposes only, and should not be understood as
Its relative importance of indication or suggestion or the quantity for implicitly indicating indicated technical characteristic.Define as a result, " first ",
The feature of " second " can explicitly or implicitly include at least one of the features.In addition, the technical side between each embodiment
Case can be combined with each other, but must be based on can be realized by those of ordinary skill in the art, when the combination of technical solution
Conflicting or cannot achieve when occur will be understood that the combination of this technical solution is not present, also not this application claims guarantor
Within the scope of shield.
Referring to Fig.1, a kind of audio shunt method provided by the present application is applied to intelligent terminal, sets on the intelligent terminal
There are earphone interface and loudspeaker, for connecting earphone, the audio shunt method includes: the earphone interface
S1, judge whether designated program and incoming call program are in operating status simultaneously;
S2, if so, corresponding first audio of the designated program is played out by the first voice-grade channel, and will
Corresponding second audio of sending a telegram here is played out by the second voice-grade channel;Wherein, first voice-grade channel is that loudspeaker are corresponding
Voice-grade channel, second voice-grade channel are the corresponding voice-grade channel of earphone;Or first voice-grade channel is that earphone is corresponding
Voice-grade channel, second voice-grade channel are the corresponding voice-grade channel of loudspeaker.
In the present embodiment, above-mentioned intelligent terminal includes the intelligent terminals such as smart phone, Intelligent flat, specifically, this implementation
It is illustrated by taking smart phone as an example in example.In above-mentioned steps S1, above-mentioned designated program includes that such as game, video display can generate sound
The application program of sound.Above-mentioned steps S1 can use following methods: when detecting the starting of above-mentioned designated program, then begin listening for be
It is no to have incoming call incoming call;In designated program operational process, persistently monitored;After designated program is out of service, stop incoming call
It monitors;User also can according to need setting incoming call monitor function and persistently open.Above-mentioned steps S1 can also use following methods:
When detecting incoming call incoming call, judge whether above-mentioned specified application is in operating status.
In above-mentioned steps S2, above-mentioned first audio is the audio that above-mentioned designated program generates, and above-mentioned second audio is above-mentioned
Send a telegram here it is corresponding incoming call user sound, watch movie for example, smart phone is used in user A, user B calls at this time,
The sound that then film generates is the first audio, and the voice of user B is the second audio.Above-mentioned first voice-grade channel and above-mentioned second sound
Frequency channel is mutually indepedent, and user can choose a voice-grade channel to listen to sound, such as user can put on earphone and listen to ear
The sound that the corresponding voice-grade channel of machine plays, user will not hear the sound that the corresponding voice-grade channel of loudspeaker plays at this time;Or
User does not put on earphone, then what user heard at this time is sound that the corresponding voice-grade channel of loudspeaker plays, without hearing earphone
The sound that corresponding voice-grade channel plays.In this way when network data service is used in user, when there is telephone service to come in,
User can run the telephone service and network data service of smart phone without closing or pause network data service simultaneously,
And the sound between different business will not be intermixed.
Whether the audio shunt method of the present embodiment first determines whether designated program and incoming call in operating status simultaneously;If
In operating status simultaneously, then corresponding first audio of the designated program is played out by the first voice-grade channel, and
Corresponding second audio of the incoming call is played out by the second voice-grade channel;To realize telephone service and network number
It is separated according to the audio of business, such user can choose a voice-grade channel to listen to sound, run smart phone at the same time
When telephone service and network data service, the sound between different business will not be intermixed.
In one embodiment, above-mentioned to broadcast corresponding first audio of the designated program by the first voice-grade channel
It puts, and the step S2 that corresponding second audio of sending a telegram here is played out by the second voice-grade channel, comprising:
S201, the first prompt information is sent to display interface, first prompt information includes at least one option of operation,
The option of operation includes continuing, closing or suspend the designated program;
S202, user is received to the selection instruction of the option of operation, and whether judge the selected option of operation of user
To continue the designated program;
S203, if so, corresponding first audio of the designated program is played out by the first voice-grade channel, and
Corresponding second audio of the incoming call is played out by the second voice-grade channel.
In the present embodiment, in above-mentioned steps S201~S203, above-mentioned first prompt information can be the offer user of pop-up
The page of multiple option of operation, setting continues, closes and suspend these three options on the page.If user has selected to continue to select
, then it executes and plays out corresponding first audio of the designated program by the first voice-grade channel, and by the incoming call
The step of corresponding second audio is played out by the second voice-grade channel.If user has selected to close or suspend option,
Designated program is closed or is suspended at this time, then designated program will not generate the first audio, after user connects phone, at this time only
The second audio for thering is incoming call to generate, it is therefore not necessary to which the audio to different business distinguishes, according to the default of current smart phone
Audio setting.
In one embodiment, above-mentioned intelligent terminal is single-pass intelligent terminal, is additionally provided with microphone on above-mentioned intelligent terminal
Array, it is above-mentioned to transmit corresponding first audio of the designated program by the first voice-grade channel, and incoming call is corresponded to
The step S2 that is transmitted by the second voice-grade channel of the second audio, comprising:
S211, judge whether the earphone interface connects earphone;
If S212, connecting the earphone, judge whether be equipped with ear microphone on the earphone;
If S213, being equipped with the ear microphone, the ear microphone is closed, and open the microphone array;
S214, using the corresponding voice-grade channel of the loudspeaker as first voice-grade channel, first audio is passed through
The loudspeaker are transmitted;And using the corresponding voice-grade channel of the earphone as second voice-grade channel, by described second
Audio is transmitted by the earphone.
In the present embodiment, above-mentioned intelligent terminal is single-pass intelligent terminal, including single deck tape-recorder single-pass intelligent terminal and Duo Ka single-pass
Intelligent terminal.
When intelligent terminal is single deck tape-recorder single-pass intelligent terminal, it is directly entered execution and judges whether earphone interface connects earphone
Step S211.
In above-mentioned steps S213, if earphone interface has been connected to earphone, the included microphone default of smart phone
It can be closed, in existing smart phone, sound can be acquired by ear microphone.Connect in the present embodiment in earphone interface
After having connect earphone, ear microphone is closed, at this point, earphone can only be spread out of sound out of mobile terminal by earphone.User
Sound cannot be passed to mobile terminal by ear microphone.It include multiple microphones, above-mentioned Mike in above-mentioned microphone array
Wind array can be built in smart phone, be also possible to the external device with smart phone by wireless connection.Utilize fixation
The method of beam forming, microphone array can only acquire the sound of distal end, and the sound of proximal end is shielded.When user A
It while being watched movie using smart phone, also converses with user B, the sound of film is playing, and user A is also to user B
It speaks;It include film in the audio-frequency information acquired at this time if directlying adopt the audio at ear microphone acquisition user A
Audio-frequency information and the audio-frequency information spoken of user A, user B can hear the sound of film and the sound of speaking of user A simultaneously;And
Ear microphone is closed in the present embodiment, using microphone array, user's A one's voice in speech is the sound of distal end, film
Sound is the sound of proximal end, then can only acquire the audio-frequency information that user A speaks, and the audio-frequency information of film is shielded,
So user B can only hear user's A one's voice in speech.By audio transmission to caller user when, pass through microphone array
Audio-frequency information is acquired, may be implemented temporarily to shield the audio-frequency information that designated program generates, the audio-frequency information that only user speaks
Pass to the user of caller.
In above-mentioned steps S214, using the corresponding voice-grade channel of the loudspeaker of smart phone as the first voice-grade channel, refer in this way
The sound for determining program generation can be played out by loudspeaker;Using the corresponding voice-grade channel of the earphone for being inserted into earphone interface as second
The sound of voice-grade channel, the user of such caller can be played out by earphone.User can both listen the sound in loudspeaker,
The sound in earphone can be listened.For example, user B calls, and intelligent terminal can pass through when user A is during watching movie
Earphone plays the sound of speaking of user B, continues the sound for playing film by loudspeaker.So as to by designated program and incoming call
Audio-frequency information is shunted, and the audio between different business will not mix.In another embodiment, in above-mentioned steps S214,
May be set to be using the corresponding voice-grade channel of earphone as the first voice-grade channel, by first audio by the earphone into
Row transmission;And using the corresponding voice-grade channel of loudspeaker as the second voice-grade channel, by second audio by the loudspeaker into
Row transmission;To realize the shunting of the audio-frequency information of designated program and incoming call.
When intelligent terminal is more card single-pass intelligent terminals, judging whether earphone interface connects the step S211 of earphone
Before, it executes following steps: judging the telephone service of the network data service of the designated program corresponding SIM card and the incoming call
Whether corresponding SIM card is same SIM card;If same SIM card, then the step for judging whether earphone interface connects earphone is executed
Suddenly;If not same SIM card, then the telephone service of the incoming call is switched to and the network data service of designated program institute
In corresponding SIM card, or by the network data service of the designated program switch to corresponding to the telephone service of the incoming call
SIM card on, then execute and the step of whether earphone interface connects earphone judged.For existing more card single-pass intelligent terminals, when
Network data service and telephone service on different SIM card when occurring, since intelligent terminal is single channel, only a Xiang Ye
Business can be carried out, such as when executing network data service on a SIM card, having incoming call on another SIM card, then single-pass intelligence
Can terminal will connecting incoming call, and suspend the network data service of another SIM card.The present embodiment is by the above method, for more
Card single-pass intelligent terminal makes multiple business same when multiple business occurs on different SIM card by service switching
It is run simultaneously in SIM card.The network data service of the designated program of more card single-pass intelligent terminals and the telephone service of incoming call are same
It is identical as the operating procedure of aforementioned single deck tape-recorder single-pass intelligent terminal and realization principle when being carried out on one SIM card, it is no longer superfluous herein
It states.
In one embodiment, above-mentioned using the corresponding voice-grade channel of the loudspeaker as first voice-grade channel, by institute
The first audio is stated to be transmitted by the loudspeaker;And lead to the corresponding voice-grade channel of the earphone as second audio
Road, after the step S214 that second audio is transmitted by the earphone, comprising:
S215, judge whether to receive voice-grade channel switching command;
S216, if so, using the corresponding voice-grade channel of the earphone as first voice-grade channel, by first sound
Frequency is transmitted by the earphone;And using the corresponding voice-grade channel of the loudspeaker as second voice-grade channel, by institute
The second audio is stated to be transmitted by the loudspeaker.
In the present embodiment, in above-mentioned steps S215, above-mentioned voice-grade channel switching command is used for user for the first voice-grade channel
It is swapped with the second voice-grade channel.Above-mentioned voice-grade channel switching command can be touch, click on, long-pressing front end display window
Predeterminated position or any position, either slide on the screen perhaps preset combinative movement or pressing specific keys
Or the operation of key combination, perhaps specified gesture motion high up in the air perhaps shake terminal device operation or preset voice
The combination, etc. of at least two operational motions in order or aforementioned operation movement.
In above-mentioned steps S216, when receiving voice-grade channel switching command, then using the corresponding voice-grade channel of earphone as
One voice-grade channel, the sound that such designated program generates can be played out by earphone;Using the corresponding voice-grade channel of loudspeaker as
The sound of second voice-grade channel, the user of such caller can be played out by loudspeaker.In another embodiment, above-mentioned step
In rapid S214, using the corresponding voice-grade channel of earphone as the first voice-grade channel, and using the corresponding voice-grade channel of loudspeaker as the
Two voice-grade channels, then after this step S216 switching, using the corresponding voice-grade channel of loudspeaker as the first voice-grade channel, by described first
Audio is transmitted by the loudspeaker;And using the corresponding voice-grade channel of earphone as the second voice-grade channel, by described second
Audio is transmitted by the earphone.
In one embodiment, it is above-mentioned judge the step the S211 whether earphone interface connects earphone after, comprising:
If S211a, being not connected with the earphone, the second prompt information is sent to the display interface, the second prompt letter
Breath is for reminding user that the earphone is inserted into the earphone interface.
In the present embodiment, above-mentioned second prompt information can be the prompting frame of pop-up, and user is prompted to insert an earphone into earphone
Interface.After detecting that earphone is inserted into earphone interface, executes and close ear microphone, and the step of opening microphone array
S213。
In one embodiment, above-mentioned intelligent terminal is more card multi-pass intelligent terminals, and the intelligent terminal includes multiple SIM
Card, the corresponding channel of every SIM card of above-mentioned multi-pass intelligent terminal are equipped with corresponding earphone interface and loudspeaker, will be described specified
The corresponding SIM card of the network data service of program makees the corresponding SIM card of the telephone service of the incoming call as the first SIM card
It is above-mentioned to play out corresponding first audio of the designated program by the first voice-grade channel for the second SIM card, and in the future
The step S2 that corresponding second audio of electricity is played out by the second voice-grade channel, comprising:
S221, the telephone service pair for judging the network data service of the designated program corresponding SIM card and the incoming call
Whether the SIM card answered is same SIM card;
If not S222, same SIM card, then corresponding first earphone interface of first SIM card and described second are judged
In corresponding second earphone interface of SIM card, if at least one earphone interface has connected earphone;
If S223, no connection earphone, send third prompt information to display interface, the third prompt information is used
First earphone interface or second earphone interface are inserted an earphone into prompting user;
S224, judge whether first earphone interface and second earphone interface connect the earphone respectively;
If S225, first earphone interface connect the earphone and second earphone interface is not connected with the earphone,
First audio is transmitted by the earphone then, second audio is passed through into the corresponding loudspeaker of second SIM card
Transmitted.
In the present embodiment, above-mentioned intelligent terminal is more card multi-pass intelligent terminals, and every SIM card corresponds to different channels, often
There are independent earphone interface and loudspeaker in a channel.When running designated program, when there is incoming call, designated program is first determined whether
The corresponding SIM card of network data service SIM card corresponding with the telephone service of incoming call whether be same SIM card, if not
It is same SIM card, then designated program and incoming call carry out the transmission of audio-frequency information by respective channel respectively.At this time, it is only necessary to
It is inserted into earphone on one of earphone interface, the audio-frequency information of designated program is played by corresponding earphone interface, in the future
The sound of electricity is played by corresponding loudspeaker;Or play the sound of incoming call by corresponding earphone interface, by designated program
Audio-frequency information is played by corresponding loudspeaker.User can put on earphone and listen to the sound that the corresponding voice-grade channel of earphone plays,
User will not hear the sound that the corresponding voice-grade channel of loudspeaker plays at this time;Or user does not put on earphone, then user listens at this time
To be sound that the corresponding voice-grade channel of loudspeaker plays, the sound played without hearing the corresponding voice-grade channel of earphone.This
Sample, the telephone service and network data service of more card multi-pass intelligent terminals are run simultaneously, and the sound between different business will not
Mix, user can voluntarily select a channel to listen to sound.
In one embodiment, if not above-mentioned same SIM card, then judge corresponding first earphone of first SIM card
In interface and corresponding second earphone interface of second SIM card, if at least one earphone interface has connected the step of earphone
Before rapid S222, comprising:
S222a, if same SIM card, then the telephone service of the incoming call is switched into another SIM card, or by the finger
The network data service for determining program switches to another SIM card, wherein another SIM card is selected from the multiple SIM card.
In the present embodiment, if in more card multi-pass smart phones, the corresponding SIM card of the network data service of designated program
SIM card corresponding with the telephone service of incoming call is same SIM card, then by one of service switching to another SIM card, for example,
On future electrotransfer to another SIM card;Or carrys out the network connection of designated program and switch to the corresponding net of another SIM card
Network, so that the telephone service of the network data service of designated program and incoming call occurs in different SIM card.Due to more card multi-pass intelligence
The different SIM card of energy terminal corresponds to different channels, and there are independent earphone interface and loudspeaker in each channel, work as designated program
Network data service and incoming call telephone service occur in different SIM card, the audio of designated program and incoming call can pass through
Different channels carry out the transmission of audio-frequency information respectively.Also, due to the telephone industry of the network data service of designated program and incoming call
Business can be executed respectively by network corresponding to different SIM card, thus avoided the parallel transmission of multi-service data and gone out
The problem of existing SIM card network congestion and network interruption, which thereby enhance the multi-service operation stability of intelligent terminal.It executes again
Judge in corresponding first earphone interface of first SIM card and corresponding second earphone interface of second SIM card, if extremely
A rare earphone interface has connected the step S222 of earphone.
Referring to Fig. 2, present invention also provides a kind of audio part flow arrangement, it is set to intelligent terminal, on the intelligent terminal
Equipped with earphone interface and loudspeaker, for connecting earphone, the audio part flow arrangement includes: the earphone interface
Judging unit 10, for judging whether designated program and incoming call program are in operating status simultaneously;
Dividing cell 20, if passing through corresponding first audio of the designated program in operating status simultaneously
First voice-grade channel plays out, and corresponding second audio that will send a telegram here is played out by the second voice-grade channel;Wherein, institute
Stating the first voice-grade channel is the corresponding voice-grade channel of loudspeaker, and second voice-grade channel is the corresponding voice-grade channel of earphone;Or institute
Stating the first voice-grade channel is the corresponding voice-grade channel of earphone, and second voice-grade channel is the corresponding voice-grade channel of loudspeaker.
In the present embodiment, above-mentioned intelligent terminal includes the intelligent terminals such as smart phone, Intelligent flat, specifically, this implementation
It is illustrated by taking smart phone as an example in example.In above-mentioned judging unit 10, above-mentioned designated program includes that such as game, video display can produce
The application program of raw sound.Above-mentioned judging unit 10 includes for when detect the starting of above-mentioned designated program, then beginning listening for
It is no to have incoming call incoming call;In designated program operational process, persistently monitored;After designated program is out of service, stop incoming call
It monitors;User also can according to need setting incoming call monitor function and persistently open.Above-mentioned judging unit 10 further includes being used for: working as inspection
When measuring incoming call incoming call, judge whether above-mentioned specified application is in operating status.
In above-mentioned dividing cell 20, above-mentioned first audio is the audio that above-mentioned designated program generates, and above-mentioned second audio is
The sound of the corresponding user that sends a telegram here of above-mentioned incoming call, watches movie, user B makes electricity at this time for example, smart phone is used in user A
Words, the then sound that film generates are the first audio, and the voice of user B is the second audio.Above-mentioned first voice-grade channel and above-mentioned
Two voice-grade channels are mutually indepedent, and user can choose a voice-grade channel to listen to sound, such as user can put on earphone and listen
The sound for taking the corresponding voice-grade channel of earphone to play, user will not hear the sound that the corresponding voice-grade channel of loudspeaker plays at this time;
Or user does not put on earphone, then what user heard at this time is sound that the corresponding voice-grade channel of loudspeaker plays, without hearing
The sound that the corresponding voice-grade channel of earphone plays.In this way when network data service is used in user, when have telephone service into
When coming, user can run the telephone service and network data of smart phone without closing or suspending network data service simultaneously
Business, and the sound between different business will not be intermixed.
Whether the audio part flow arrangement of the present embodiment first determines whether designated program and incoming call in operating status simultaneously;If
In operating status simultaneously, then corresponding first audio of the designated program is played out by the first voice-grade channel, and
Corresponding second audio of the incoming call is played out by the second voice-grade channel;To realize telephone service and network number
It is separated according to the audio of business, such user can choose a voice-grade channel to listen to sound, run smart phone at the same time
When telephone service and network data service, the sound between different business will not be intermixed.
Referring to Fig. 3, in one embodiment, above-mentioned dividing cell 20, comprising:
First prompt subelement 201, for sending the first prompt information to display interface, first prompt information includes
At least one option of operation, the option of operation include continuing, closing or suspend the designated program;
First judgment sub-unit 202 for receiving user to the selection instruction of the option of operation, and judges selected by user
Whether the option of operation selected is to continue the designated program;
First shunts subelement 203, is used for if so, corresponding first audio of the designated program is passed through the first audio
Channel plays out, and corresponding second audio of the incoming call is played out by the second voice-grade channel.
In the present embodiment, above-mentioned first prompt subelement 201, the first judgment sub-unit 202 and first shunt subelement 203
In, above-mentioned first prompt information can be the page of the offer multiple option of operation of user of pop-up, and setting continues, closes on the page
With these three options of pause.If user has selected continuation option, corresponding first audio of the designated program is led in execution
The first voice-grade channel is crossed to play out, and corresponding second audio of the incoming call is played out by the second voice-grade channel
Step.If user has selected to close perhaps pause option, designated program is closed or is suspended at this time, and designated program is not
The first audio can be generated, after user connects phone, the second audio generated of only sending a telegram here at this time, it is therefore not necessary to different business
Audio distinguish, according to current smart phone default audio be arranged.
Referring to Fig. 4, in one embodiment, above-mentioned intelligent terminal is single-pass intelligent terminal, is also set on above-mentioned intelligent terminal
There are microphone array, above-mentioned dividing cell 20, comprising:
Second judgment sub-unit 211, for judging whether the earphone interface connects earphone;
Third judgment sub-unit 212, if judging whether be equipped with earphone Mike on the earphone for connecting the earphone
Wind;
Subelement 213 is operated, if closing the ear microphone, and open institute for being equipped with the ear microphone
State microphone array;
Second shunts subelement 214, is used for using the corresponding voice-grade channel of the loudspeaker as first voice-grade channel, will
First audio is transmitted by the loudspeaker;And using the corresponding voice-grade channel of the earphone as second audio
Channel transmits second audio by the earphone.
In the present embodiment, above-mentioned intelligent terminal is single-pass intelligent terminal, including single deck tape-recorder single-pass intelligent terminal and Duo Ka single-pass
Intelligent terminal.
When intelligent terminal is single deck tape-recorder single-pass intelligent terminal, earphone is directly judged by the execution of the second judgment sub-unit 211
Whether interface connects earphone.
In aforesaid operations subelement 213, if earphone interface has been connected to earphone, the included microphone of smart phone
Default can be closed, and in existing smart phone, can acquire sound by ear microphone.It is connect in the present embodiment in earphone
After mouth is connected to earphone, ear microphone is closed, is spread out of at this point, sound can only be passed through earphone by earphone out of mobile terminal.
The sound of user cannot be passed to mobile terminal by ear microphone.It include multiple microphones in above-mentioned microphone array, it is above-mentioned
Microphone array can be built in smart phone, be also possible to the external device with smart phone by wireless connection.It utilizes
The method of fixed beam forming, microphone array can only acquire the sound of distal end, and the sound of proximal end is shielded.As user A
While smart phone is used watching movie, also converse with user B, the sound of film is playing, user A also to
Family B speaks;At this time if directlying adopt the audio at ear microphone acquisition user A, include in the audio-frequency information acquired
The audio-frequency information that the audio-frequency information and user A of film are spoken, user B can hear the sound of film and the voice of user A simultaneously
Sound;And close ear microphone in the present embodiment, using microphone array, user's A one's voice in speech is the sound of distal end, electricity
The sound of shadow is the sound of proximal end, then can only acquire the audio-frequency information that user A speaks, and the audio-frequency information of film is shielded
It covers, then user B can only hear user's A one's voice in speech.By audio transmission to caller user when, pass through microphone array
Column acquisition audio-frequency information may be implemented temporarily to shield the audio-frequency information that designated program generates, and the audio that only user speaks is believed
Breath passes to the user of caller.
Above-mentioned second shunts in subelement 214, leads to using the corresponding voice-grade channel of the loudspeaker of smart phone as the first audio
Road, the sound that such designated program generates can be played out by loudspeaker;The corresponding audio of the earphone for being inserted into earphone interface is led to
Road can be played out as the second voice-grade channel, the sound of the user of such caller by earphone.User can both listen loudspeaker
In sound, the sound in earphone can also be listened.For example, user B calls when user A is during watching movie, intelligence is eventually
End can play the sound of speaking of user B by earphone, continue the sound for playing film by loudspeaker.So as to by specified journey
The audio-frequency information of sequence and incoming call is shunted, and the audio between different business will not mix.In another embodiment, above-mentioned
Two shunt in subelement 214, may be set to be using the corresponding voice-grade channel of earphone as the first voice-grade channel, by described first
Audio is transmitted by the earphone;And using the corresponding voice-grade channel of loudspeaker as the second voice-grade channel, by described second
Audio is transmitted by the loudspeaker;To realize the shunting of the audio-frequency information of designated program and incoming call.
When intelligent terminal is more card single-pass intelligent terminals, judging that earphone interface is by the second judgment sub-unit 211
Before no connection earphone, judged by judgment module the corresponding SIM card of the network data service of the designated program and it is described come
Whether the corresponding SIM card of telephone service of electricity is same SIM card;If same SIM card, then pass through the second judgment sub-unit 211
It executes and the step of whether earphone interface connects earphone is judged;If not same SIM card, then by cutting card module for the incoming call
Telephone service switch to in SIM card corresponding to the network data service of the designated program, or by the designated program
Network data service is switched to in SIM card corresponding to the telephone service of the incoming call, then is executed and whether is judged earphone interface
The step of connecting earphone.For existing more card single-pass intelligent terminals, when network data service and telephone service are in different SIM card
When upper generation, since intelligent terminal is single channel, only a business be can be carried out, such as execute when on a SIM card
Network data service, when having incoming call on another SIM card, then single-pass intelligent terminal will connecting incoming call, and suspend another SIM
The network data service of card.The present embodiment is by the above method, for more card single-pass intelligent terminals, when multiple business occurs not
When in SIM card, multiple business is made in same SIM card by service switching while being run.More card single-pass intelligent terminals
The network data service of designated program and the telephone service of incoming call on same SIM card when carrying out, with aforementioned single deck tape-recorder single-pass intelligence
The operating procedure of energy terminal is identical with realization principle, and details are not described herein again.
Referring to Fig. 5, in one embodiment, above-mentioned dividing cell 20, further includes:
4th judgment sub-unit 215 receives voice-grade channel switching command for judging whether;
Third shunts subelement 216, if for receiving voice-grade channel switching command, by the corresponding audio of the earphone
It is transmitted as first voice-grade channel, by first audio by the earphone in channel;And by the loudspeaker pair
The voice-grade channel answered is transmitted as second voice-grade channel, by second audio by the loudspeaker.
In the present embodiment, in above-mentioned 4th judgment sub-unit 215, above-mentioned voice-grade channel switching command is used for user for first
Voice-grade channel and the second voice-grade channel swap.Above-mentioned voice-grade channel switching command can be touch, click on, long-pressing front end it is aobvious
Show predeterminated position or any position of window, either perhaps preset combinative movement or the pressing of slide on the screen
The operation of specific keys or key combination, perhaps specified gesture motion high up in the air perhaps shakes the operation or pre- of terminal device
If voice command or aforementioned operation movement at least two operational motions combination, etc..
Above-mentioned third shunts in subelement 216, when receiving voice-grade channel switching command, then leads to the corresponding audio of earphone
As the first voice-grade channel, the sound that such designated program generates can be played out by earphone in road;By the corresponding audio of loudspeaker
Channel can be played out as the second voice-grade channel, the sound of the user of such caller by loudspeaker.In another embodiment
In, above-mentioned second shunts in subelement 214, using the corresponding voice-grade channel of earphone as the first voice-grade channel, and by loudspeaker pair
The voice-grade channel answered as the second voice-grade channel, then by third shunt subelement 216, using the corresponding voice-grade channel of loudspeaker as
First voice-grade channel transmits first audio by the loudspeaker;And using the corresponding voice-grade channel of earphone as
Second voice-grade channel transmits second audio by the earphone.
Referring to Fig. 6, in one embodiment, above-mentioned dividing cell 20, further includes:
Second prompt subelement 211a, if sending the second prompt information to display circle for being not connected with the earphone
Face, second prompt information is for reminding user that the earphone is inserted into the earphone interface.
In the present embodiment, above-mentioned second prompt information can be the prompting frame of pop-up, and user is prompted to insert an earphone into earphone
Interface.After detecting that earphone is inserted into earphone interface, is executed by operation subelement 213 and close ear microphone, and opened
The step of microphone array.
Referring to Fig. 7, in one embodiment, above-mentioned intelligent terminal is more card multi-pass intelligent terminals, the intelligent terminal packet
Multiple SIM card is included, the corresponding channel of every SIM card of above-mentioned multi-pass intelligent terminal is equipped with corresponding earphone interface and loudspeaker,
It is using the corresponding SIM card of the network data service of the designated program as the first SIM card, the telephone service of the incoming call is corresponding
SIM card as the second SIM card, above-mentioned dividing cell 20, comprising:
5th judgment sub-unit 221, the corresponding SIM card of network data service for judging the designated program with it is described
Whether the corresponding SIM card of the telephone service of incoming call is same SIM card;
6th judgment sub-unit 222 then judges corresponding first ear of first SIM card if not being used for same SIM card
In machine interface and corresponding second earphone interface of second SIM card, if at least one earphone interface has connected earphone;
Third prompts subelement 223, if for without connection earphone, sending third prompt information to display interface,
The third prompt information is for reminding user to insert an earphone into first earphone interface or second earphone interface;
7th judgment sub-unit 224, for judging first earphone interface respectively and second earphone interface is
The no connection earphone;
4th shunts subelement 225, connects if connecting the earphone and second earphone for first earphone interface
Mouth is not connected with the earphone, then transmits first audio by the earphone, second audio is passed through described
The corresponding loudspeaker of second SIM card are transmitted.
In the present embodiment, above-mentioned intelligent terminal is more card multi-pass intelligent terminals, and every SIM card corresponds to different channels, often
There are independent earphone interface and loudspeaker in a channel.When running designated program, when there is incoming call, designated program is first determined whether
The corresponding SIM card of network data service SIM card corresponding with the telephone service of incoming call whether be same SIM card, if not
It is same SIM card, then designated program and incoming call carry out the transmission of audio-frequency information by respective channel respectively.At this time, it is only necessary to
It is inserted into earphone on one of earphone interface, the audio-frequency information of designated program is played by corresponding earphone interface, in the future
The sound of electricity is played by corresponding loudspeaker;Or play the sound of incoming call by corresponding earphone interface, by designated program
Audio-frequency information is played by corresponding loudspeaker.User can put on earphone and listen to the sound that the corresponding voice-grade channel of earphone plays,
User will not hear the sound that the corresponding voice-grade channel of loudspeaker plays at this time;Or user does not put on earphone, then user listens at this time
To be sound that the corresponding voice-grade channel of loudspeaker plays, the sound played without hearing the corresponding voice-grade channel of earphone.This
Sample, the telephone service and network data service of more card multi-pass intelligent terminals are run simultaneously, and the sound between different business will not
Mix, user can voluntarily select a channel to listen to sound.
Referring to Fig. 8, in one embodiment, above-mentioned dividing cell 20, further includes:
Switching subelement 222a, for if same SIM card, then the telephone service of the incoming call being switched to another SIM
Card, or the network data service of the designated program is switched into another SIM card, wherein another SIM card is selected from described more
SIM card.
In the present embodiment, if in more card multi-pass smart phones, the corresponding SIM card of the network data service of designated program
SIM card corresponding with the telephone service of incoming call is same SIM card, then by one of service switching to another SIM card, for example,
On future electrotransfer to another SIM card;Or carrys out the network connection of designated program and switch to the corresponding net of another SIM card
Network, so that the telephone service of the network data service of designated program and incoming call occurs in different SIM card.Due to more card multi-pass intelligence
The different SIM card of energy terminal corresponds to different channels, and there are independent earphone interface and loudspeaker in each channel, work as designated program
Network data service and incoming call telephone service occur in different SIM card, the audio of designated program and incoming call can pass through
Different channels carry out the transmission of audio-frequency information respectively.Also, due to the telephone industry of the network data service of designated program and incoming call
Business can be executed respectively by network corresponding to different SIM card, thus avoided the parallel transmission of multi-service data and gone out
The problem of existing SIM card network congestion and network interruption, which thereby enhance the multi-service operation stability of intelligent terminal.Pass through again
6th judgment sub-unit 222 judges corresponding first earphone interface of first SIM card and second SIM card corresponding second
In earphone interface, if at least one earphone interface has connected earphone.
With reference to Fig. 9, present invention also provides a kind of storage medium 1, it is stored with computer program 2 in storage medium 1, when it
When running on computers, so that computer executes audio shunt method described in above embodiments.
With reference to Figure 10, the computer equipment 3 comprising instruction that present invention also provides a kind of, when it is in computer equipment 3
When operation, so that computer equipment 3 executes audio shunting side described in above embodiments by its internal processor 4 being arranged
Method.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.
The computer program product includes one or more computer instructions.Load and execute on computers the meter
When calculation machine program instruction, entirely or partly generate according to process or function described in the embodiment of the present application.The computer can
To be general purpose computer, special purpose computer, computer network or other programmable devices.The computer instruction can be deposited
Storage in a computer-readable storage medium, or from a computer readable storage medium to another computer readable storage medium
Transmission, for example, the computer instruction can pass through wired (example from a web-site, computer, server or data center
Such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave) mode to another website
Website, computer, server or data center are transmitted.The computer readable storage medium can be computer and can deposit
Any usable medium of storage either includes that the data storages such as one or more usable mediums integrated server, data center are set
It is standby.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or partly lead
Body medium (such as solid state hard disk Solid State Disk (SSD)) etc..
The foregoing is merely preferred embodiment of the present application, are not intended to limit the scope of the patents of the application, all utilizations
Equivalent structure or equivalent flow shift made by present specification and accompanying drawing content is applied directly or indirectly in other correlations
Technical field, similarly include in the scope of patent protection of the application.
Claims (10)
1. a kind of audio shunt method, which is characterized in that be applied to intelligent terminal, the intelligent terminal be equipped with earphone interface and
Loudspeaker, for connecting earphone, the audio shunt method includes: the earphone interface
Judge whether designated program and incoming call program are in operating status simultaneously;
If so, corresponding first audio of the designated program is played out by the first voice-grade channel, and will incoming call pair
The second audio answered is played out by the second voice-grade channel;Wherein, first voice-grade channel is logical for the corresponding audio of loudspeaker
Road, second voice-grade channel are the corresponding voice-grade channel of earphone;Or first voice-grade channel is logical for the corresponding audio of earphone
Road, second voice-grade channel are the corresponding voice-grade channel of loudspeaker.
2. audio shunt method as described in claim 1, which is characterized in that described by corresponding first sound of the designated program
Frequency is played out by the first voice-grade channel, and will send a telegram here what corresponding second audio was played out by the second voice-grade channel
Step, comprising:
The first prompt information is sent to display interface, first prompt information includes at least one option of operation, the operation
Option includes continuing, closing or suspend the designated program;
User is received to the selection instruction of the option of operation, and judges whether the selected option of operation of user is described in continuation
Designated program;
If so, corresponding first audio of the designated program is played out by the first voice-grade channel, and will be described next
Corresponding second audio of electricity is played out by the second voice-grade channel.
3. audio shunt method as claimed in claim 1 or 2, which is characterized in that the intelligent terminal is single-pass intelligent terminal,
Microphone array is additionally provided on the intelligent terminal, it is described to lead to corresponding first audio of the designated program by the first audio
The step of road is transmitted, and corresponding second audio that will send a telegram here is transmitted by the second voice-grade channel, comprising:
Judge whether the earphone interface connects earphone;
If connecting the earphone, judge whether be equipped with ear microphone on the earphone;
If being equipped with the ear microphone, the ear microphone is closed, and open the microphone array;
Using the corresponding voice-grade channel of the loudspeaker as first voice-grade channel, by first audio by the loudspeaker into
Row transmission;And using the corresponding voice-grade channel of the earphone as second voice-grade channel, second audio is passed through into institute
Earphone is stated to be transmitted.
4. audio shunt method as claimed in claim 3, which is characterized in that described to make the corresponding voice-grade channel of the loudspeaker
For first voice-grade channel, first audio is transmitted by the loudspeaker;And by the corresponding sound of the earphone
Frequency channel is as second voice-grade channel, after the step of second audio is transmitted by the earphone, comprising:
Judge whether to receive voice-grade channel switching command;
If so, first audio is passed through institute using the corresponding voice-grade channel of the earphone as first voice-grade channel
Earphone is stated to be transmitted;And using the corresponding voice-grade channel of the loudspeaker as second voice-grade channel, by second sound
Frequency is transmitted by the loudspeaker.
5. audio shunt method as claimed in claim 3, which is characterized in that it is described judge the earphone interface whether engaging lug
After the step of machine, comprising:
If being not connected with the earphone, the second prompt information is sent to the display interface, second prompt information is for reminding
The earphone is inserted into the earphone interface by user.
6. audio shunt method as claimed in claim 1 or 2, which is characterized in that the intelligent terminal is more card multi-pass intelligence
Terminal, the intelligent terminal include multiple SIM card, and the corresponding channel of every SIM card of more card multi-pass intelligent terminals is all provided with
There are corresponding earphone interface and loudspeaker, using the corresponding SIM card of the network data service of the designated program as the first SIM card,
It is described by corresponding first audio of the designated program using the corresponding SIM card of the telephone service of the incoming call as the second SIM card
It is played out by the first voice-grade channel, and the step that corresponding second audio of sending a telegram here is played out by the second voice-grade channel
Suddenly, comprising:
Judge the corresponding SIM card of the network data service of designated program SIM card corresponding with the telephone service of the incoming call
It whether is same SIM card;
If not same SIM card, then judge that corresponding first earphone interface of first SIM card and second SIM card are corresponding
The second earphone interface in, if at least one earphone interface has connected earphone;
If sending third prompt information to display interface, the third prompt information is used for reminding without connection earphone
Family inserts an earphone into first earphone interface or second earphone interface;
Judge whether first earphone interface and second earphone interface connect the earphone respectively;
If first earphone interface connects the earphone and second earphone interface is not connected with the earphone, by described the
One audio is transmitted by the earphone, and second audio is transmitted by the corresponding loudspeaker of second SIM card.
7. audio shunt method as claimed in claim 6, which is characterized in that if not the same SIM card, then described in judgement
In corresponding first earphone interface of first SIM card and corresponding second earphone interface of second SIM card, if at least one
Before earphone interface has connected the step of earphone, comprising:
If same SIM card, then the telephone service of the incoming call is switched into another SIM card, or by the net of the designated program
Network data service switches to another SIM card, wherein another SIM card is selected from the multiple SIM card.
8. a kind of audio part flow arrangement, which is characterized in that be set to intelligent terminal, the intelligent terminal be equipped with earphone interface and
Loudspeaker, for connecting earphone, the audio part flow arrangement includes: the earphone interface
Judging unit, for judging whether designated program and incoming call program are in operating status simultaneously;
Dividing cell, if corresponding first audio of the designated program is passed through the first sound in operating status simultaneously
Frequency channel plays out, and corresponding second audio that will send a telegram here is played out by the second voice-grade channel;Wherein, described first
Voice-grade channel is the corresponding voice-grade channel of loudspeaker, and second voice-grade channel is the corresponding voice-grade channel of earphone;Or described first
Voice-grade channel is the corresponding voice-grade channel of earphone, and second voice-grade channel is the corresponding voice-grade channel of loudspeaker.
9. a kind of storage medium, which is characterized in that it is computer-readable storage medium, is stored thereon with computer program,
The computer program, which is performed, realizes audio shunt method as described in any one of claims 1 to 7.
10. a kind of computer equipment, which is characterized in that it includes processor, memory and is stored on the memory and can
The computer program run on the processor, the processor realize such as claim 1 when executing the computer program
~7 described in any item audio shunt methods.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910696332.0A CN110381215B (en) | 2019-07-30 | 2019-07-30 | Audio distribution method and device, storage medium and computer equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910696332.0A CN110381215B (en) | 2019-07-30 | 2019-07-30 | Audio distribution method and device, storage medium and computer equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110381215A true CN110381215A (en) | 2019-10-25 |
| CN110381215B CN110381215B (en) | 2020-12-22 |
Family
ID=68257056
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910696332.0A Active CN110381215B (en) | 2019-07-30 | 2019-07-30 | Audio distribution method and device, storage medium and computer equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110381215B (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112882622A (en) * | 2021-02-09 | 2021-06-01 | 北京小米移动软件有限公司 | Data processing method and device, terminal and storage medium |
| WO2022247455A1 (en) * | 2021-05-28 | 2022-12-01 | 华为技术有限公司 | Audio distribution method, and electronic device |
| CN115430156A (en) * | 2022-08-16 | 2022-12-06 | 中国联合网络通信集团有限公司 | Calling method, calling device and calling user terminal during game |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102594975A (en) * | 2011-01-08 | 2012-07-18 | 深圳富泰宏精密工业有限公司 | Call control system and method |
| US8364204B2 (en) * | 2010-03-15 | 2013-01-29 | Samsung Electronics Co., Ltd. | Dual-standby portable terminal and method for connecting audio path thereof |
| CN103987099A (en) * | 2014-05-15 | 2014-08-13 | 宇龙计算机通信科技(深圳)有限公司 | Voice communication method and system for multi-card and multi-standby terminal |
| CN107087072A (en) * | 2017-04-25 | 2017-08-22 | 维沃移动通信有限公司 | A kind of audio playing method and mobile terminal |
| CN109257500A (en) * | 2018-09-30 | 2019-01-22 | Oppo广东移动通信有限公司 | Audio playing method and device, electronic equipment and storage medium |
-
2019
- 2019-07-30 CN CN201910696332.0A patent/CN110381215B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8364204B2 (en) * | 2010-03-15 | 2013-01-29 | Samsung Electronics Co., Ltd. | Dual-standby portable terminal and method for connecting audio path thereof |
| CN102594975A (en) * | 2011-01-08 | 2012-07-18 | 深圳富泰宏精密工业有限公司 | Call control system and method |
| CN103987099A (en) * | 2014-05-15 | 2014-08-13 | 宇龙计算机通信科技(深圳)有限公司 | Voice communication method and system for multi-card and multi-standby terminal |
| CN107087072A (en) * | 2017-04-25 | 2017-08-22 | 维沃移动通信有限公司 | A kind of audio playing method and mobile terminal |
| CN109257500A (en) * | 2018-09-30 | 2019-01-22 | Oppo广东移动通信有限公司 | Audio playing method and device, electronic equipment and storage medium |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112882622A (en) * | 2021-02-09 | 2021-06-01 | 北京小米移动软件有限公司 | Data processing method and device, terminal and storage medium |
| WO2022247455A1 (en) * | 2021-05-28 | 2022-12-01 | 华为技术有限公司 | Audio distribution method, and electronic device |
| CN115430156A (en) * | 2022-08-16 | 2022-12-06 | 中国联合网络通信集团有限公司 | Calling method, calling device and calling user terminal during game |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110381215B (en) | 2020-12-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9299348B2 (en) | Method and apparatus for obtaining information from the web | |
| CN110381215A (en) | Audio shunt method, device, storage medium and computer equipment | |
| CN108076226A (en) | Method for adjusting call quality, mobile terminal and storage medium | |
| CN103260124B (en) | The audio testing method of mobile terminal and test macro thereof | |
| CN102857598A (en) | Control method for eliminating noise of double microphones of cellphone automatically and cellphone utilizing control method | |
| EP2663059A1 (en) | Electronic terminal and ring prompt method of the electronic terminal | |
| CN112367581B (en) | Earphone device, conversation system, equipment and device | |
| CN108124114A (en) | A kind of audio/video conference sound collection method and device | |
| CN112286481A (en) | Audio output method and electronic equipment | |
| CN103581853A (en) | Method and device for voice broadcast of text message on mobile phone | |
| CN108900951A (en) | Volume adjusting method, earphone and computer readable storage medium | |
| CN104079542B (en) | A kind of information processing method and device management server | |
| CN110473550A (en) | Voice communication method, device and storage medium | |
| CN113572898B (en) | Method and corresponding device for detecting silent abnormality in voice call | |
| CN104092809A (en) | Call recording method, call recording playback method and corresponding device | |
| CN105677290A (en) | Voice application program control method and client side | |
| CN104010154B (en) | Information processing method and electronic equipment | |
| KR100678212B1 (en) | Emotional Information Control Method of Mobile Terminal | |
| US11516346B2 (en) | Three-way calling terminal for mobile human-machine coordination calling robot | |
| CN107210784A (en) | Wearable device | |
| WO2013131367A1 (en) | Multi-decoder audio system, system signal procedure, and formed mobile device | |
| CN105872209A (en) | Information processing method and electronic device | |
| EP2207311A1 (en) | Voice communication device | |
| CN104734752A (en) | Bluetooth conference facility | |
| CN106792141B (en) | The control method for playing back and device of tv audio |
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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20210923 Address after: 518000 201, No.26, yifenghua Innovation Industrial Park, Xinshi community, Dalang street, Longhua District, Shenzhen City, Guangdong Province Patentee after: Shenzhen waterward Information Co.,Ltd. Address before: 518000, block B, huayuancheng digital building, 1079 Nanhai Avenue, Shekou, Nanshan District, Shenzhen City, Guangdong Province Patentee before: SHENZHEN WATER WORLD Co.,Ltd. |