CN106375576A - Audio access control method and mobile terminal - Google Patents

Audio access control method and mobile terminal Download PDF

Info

Publication number
CN106375576A
CN106375576A CN201610798766.8A CN201610798766A CN106375576A CN 106375576 A CN106375576 A CN 106375576A CN 201610798766 A CN201610798766 A CN 201610798766A CN 106375576 A CN106375576 A CN 106375576A
Authority
CN
China
Prior art keywords
voice
frequency channel
probability
work
use state
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
Application number
CN201610798766.8A
Other languages
Chinese (zh)
Other versions
CN106375576B (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610798766.8A priority Critical patent/CN106375576B/en
Publication of CN106375576A publication Critical patent/CN106375576A/en
Application granted granted Critical
Publication of CN106375576B publication Critical patent/CN106375576B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Abstract

The embodiment of the invention provides an audio access control method and a mobile terminal. The method comprises the following steps: obtaining a use state of at least one terminal component, separately determining the probability of each audio access of the mobile terminal in the use state, then determining a target audio access according to the probability of each audio access in the use state, and carrying out audio transmission by using the target audio access. As a sensor can accurately indicate the use environment of the mobile terminal, the target audio access needing to be actually used by a user can be accurately predicted in combination with the analysis on sensing data, and the audio access is controlled so as to solve the problems of tedious operations of controlling the audio access and failure to handle the control demands of users to the audio access, resulting in poor user experience in the prior art.

Description

A kind of voice-frequency channel control method and mobile terminal
Technical field
The present embodiments relate to the communications field, more particularly, to a kind of voice-frequency channel control method and mobile terminal.
Background technology
At present, in order to realize more rich audio service, a lot of playing audio/videos and mobile communication terminal are all supported Multi-audio-frequency path input/output.When the equipment supporting Multi-audio-frequency path carries out voice-frequency channel selection, set generally according to conventional Select default audio path.For example, when being made a phone call using mobile phone, the voice-frequency channel of acquiescence is handle path, when access earphone After voice-frequency channel can be automatically switched into earphone path, voice-frequency channel can be automatically switched into bluetooth ear after accessing bluetooth earphone Machine path.
However, in some special screnes, according to the conventional method selecting default audio path that sets it is impossible to meet user Actual demand.For example, when user forgets that mobile phone has connected bluetooth earphone, and think directly to be led to using the handle path of mobile phone During words, then normally cannot be conversed using the voice-frequency channel of interior of mobile phone, now must manually the voice-frequency channel of acquiescence be cut Shift to the voice-frequency channel being actually needed, just can be conversed.Bring great inconvenience to user, have a strong impact on user and use body Test.
Therefore, there is complex operation for when being controlled to voice-frequency channel in prior art, lead to poor user experience Problem, not yet proposes effective solution at present.
Content of the invention
The embodiment of the present invention provides a kind of voice-frequency channel control method and mobile terminal, to solve in prior art to audio frequency There is complex operation when path is controlled it is impossible to correspond to effective audio path use demand in time, lead to poor user experience Problem.
A kind of first aspect, there is provided voice-frequency channel control method, method includes:
Obtain the use state of at least one end fitting;
According to the use state of at least one end fitting, determine the first work of each voice-frequency channel of mobile terminal respectively Make probability;
According to the first work probability of each voice-frequency channel, determine target audio path;
Audio transmission is carried out using target audio path;
Wherein, the first work probability is in the probability of use state for voice-frequency channel.
On the other hand, the embodiment of the present invention additionally provides a kind of mobile terminal, comprising:
Use state determining module, for obtaining the use state of at least one end fitting;
Probability determination module, for the use state according at least one end fitting, determines each of mobile terminal respectively First work probability of individual voice-frequency channel;
Voice-frequency channel selecting module, for the first work probability according to each voice-frequency channel, determines target audio path;
Voice-frequency channel control module, for carrying out audio transmission using target audio path;
Wherein, the first work probability is in the probability of use state for voice-frequency channel.
To sum up, after the embodiment of the present invention passes through the use state of at least one end fitting of acquisition, according at least one The use state of end fitting, determines the first work probability of each voice-frequency channel of mobile terminal, respectively further according to each sound First work probability of frequency path, determines target audio path, and carries out audio transmission using this target audio path, to complete Control to voice-frequency channel.Because the use state of end fitting is to be obtained in real time by sensor, thus this use state energy Enough accurately embody the environment residing for mobile terminal and each voice-frequency channel is in the probability of use state, and then can be accurately pre- Survey the target audio path that user is actually needed use, and accordingly voice-frequency channel is controlled, right in prior art to solve There is complex operation when voice-frequency channel is controlled it is impossible to correspond to audio user path demand for control in time, lead to Consumer's Experience The problem of difference.
Brief description
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below by institute in the description to the embodiment of the present invention Need use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only the present invention some enforcement Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of voice-frequency channel control method of the embodiment of the present invention;
Fig. 2 is the flow chart of another kind of voice-frequency channel control method of the embodiment of the present invention;
Fig. 3 is a kind of block diagram of mobile terminal of the embodiment of the present invention;
Fig. 4 is the block diagram of another kind of mobile terminal of the embodiment of the present invention;
Fig. 5 is the block diagram of another mobile terminal of the embodiment of the present invention;
Fig. 6 is the block diagram of another mobile terminal of the embodiment of the present invention;
Fig. 7 is the block diagram of one of the embodiment of the present invention four mobile terminal;
Fig. 8 is the block diagram of one of the embodiment of the present invention five mobile terminal.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment a part of embodiment that is the present invention, rather than whole embodiments.Based on this Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under the premise of not making creative work Example, broadly falls into the scope of protection of the invention.
Embodiment one
With reference to Fig. 1, show a kind of flow chart of voice-frequency channel control method in the embodiment of the present invention, the present embodiment is carried For method can be executed by mobile terminal, specifically can by mobile terminal audio frequency play control chip execution, voice-frequency channel Control method includes:
Step 101, obtains the use state of at least one end fitting.
Wherein, the sensor obtaining each end fitting use state includes infrared sensor, touch sensor, pressure sensing Device, sonic sensor and load cell etc..End fitting includes the receiver of mobile terminal, touch screen, wired earphone, bluetooth ear Machine etc..
Specifically, different sensors and end fitting can be directed to, using corresponding determination strategy, determine each terminal part The use state of part.
It is possible to further the detection adjusted the distance according to infrared sensor, judge the voice-frequency channel near infrared sensor Whether there is object close;
Detection that can be according to touch sensor to touch action, judges whether the touch screen of mobile terminal is grasped Make, and then judge with the presence or absence of the action related to operation touch-screen;
Whether detection that can be according to pressure transducer to pressure, judged mobile terminal component or pressed with each external components Lower button, and then judge that the part whether this button being controlled has assigned operational order;
Detection that can be according to sonic sensor to acoustical signal, judges the intensity of acoustic wave near each sonic sensor, enters And the position relationship judging sound wave source with each part with sonic sensor.
Step 102, according to the use state of at least one end fitting, determines each voice-frequency channel of mobile terminal respectively First work probability.
Wherein, the first work probability is in the probability of use state for voice-frequency channel.Here mentioned voice-frequency channel bag Include: receiver voice-frequency channel, loudspeaker audio path, wired earphone voice-frequency channel and bluetooth earphone voice-frequency channel etc..
For each voice-frequency channel, the second work under this voice-frequency channel for the use state according to each end fitting is general Rate, determines the first work probability of this voice-frequency channel.
Wherein, the second working probit is used for indicating the dependency of voice-frequency channel and each end fitting use state.For example, When infrared sensor near by receiver detects object near receiver, can respectively obtain under this use state, Receiver voice-frequency channel, loudspeaker audio path, wired earphone voice-frequency channel and bluetooth earphone voice-frequency channel are in use state Probability, that is, these voice-frequency channels be in use state second work probability.
Step 103, according to the first work probability of each voice-frequency channel, determines target audio path.
Specifically, because the first work probability of each voice-frequency channel is used at instruction each voice-frequency channel under comprehensive state In use state probability it is possible to select probability highest voice-frequency channel as target audio path, that is, from each sound Using the voice-frequency channel with maximum first work probability as target audio path in frequency path.
Step 104, carries out audio transmission using target audio path.
Specifically, if the voice-frequency channel not target audio path that is currently in use of mobile terminal, will be currently employed Voice-frequency channel switches to target audio path, thus carrying out audio transmission using this target audio path.
In sum, in the embodiment of the present invention, by after the use state that obtains at least one end fitting, according to extremely The use state of a few end fitting, determines the first work probability of each voice-frequency channel of mobile terminal respectively, further according to First work probability of each voice-frequency channel, determines target audio path, and carries out audio transmission using this target audio path, To complete the control to voice-frequency channel.Because the use state of end fitting is to be obtained in real time by sensor, thus this use State can accurately embody environment residing for mobile terminal and each voice-frequency channel is in the probability of use state, and then can Accurate Prediction user is actually needed the target audio path of use, and accordingly voice-frequency channel is controlled, to solve existing skill There is complex operation when voice-frequency channel being controlled in art it is impossible to correspond to audio user path demand for control in time, lead to use The problem of family experience difference.
Embodiment two
With reference to Fig. 2, the flow chart showing another kind of voice-frequency channel control method of the embodiment of the present invention.The present embodiment institute The method providing can be executed by mobile terminal, specifically can play control chip execution by the audio frequency of mobile terminal, audio frequency leads to Road control method includes:
Step 201, by identifying Peripheral Interface, determines audio available path list.
Wherein, Peripheral Interface at least includes earphone jack, bluetooth.Audio available path list is used for recording each and can carry out The voice-frequency channel of audio transmission, wherein can carry out the voice-frequency channel of audio transmission, that is, include each sound within positioned at mobile terminal Frequency path, also includes the voice-frequency channel of each audio frequency apparatus of peripheral hardware access for example, the receiver audio frequency within positioned at mobile terminal leads to Road, loudspeaker audio path, wired earphone voice-frequency channel outside positioned at mobile terminal, bluetooth earphone voice-frequency channel etc..
Taking telephone operation as a example, when mobile terminal being pressed close to ear by the way of handle and being conversed, will be using moving The receiver voice-frequency channel of dynamic terminal inner;When being conversed by the way of putting outward, by using raising one's voice within mobile terminal Device voice-frequency channel;When mobile terminal inserts wired earphone, and when being conversed using this wired earphone, will be using wired earphone sound Frequency path;When wireless headset accesses mobile terminal and is conversed, will be using wireless headset voice-frequency channel.
The voice-frequency channel carrying for audio frequency apparatus inside, due to having a non-dismountable property, inherently one complete Voice-frequency channel, so the voice-frequency channel that inside carries can be without detection, but this voice-frequency channel is written to this and can use by acquiescence In voice-frequency channel list.
For external audio frequency path, connecing of external audio frequency path can be identified by way of software or hardware detection Enter and disconnect.For example, foot is detected by the interruption of earphone socket, can detect wired earphone into and out by indigo plant Tooth connects the identification of equipment, can detect access and the disconnection of Bluetooth audio equipment.
Availability detection is carried out to each voice-frequency channel by timing, upgrade in time this audio available path list, Ke Yibao Demonstrate,prove the voice-frequency channel for switching and be all audio available path.
Step 202, obtains the use state of at least one end fitting.
Specifically, the sensing data according to measured by all kinds of default sensors, judges the use of at least one end fitting State.For example:
When infrared sensor detect have near voice-frequency channel object near when it may be determined that the receiver of mobile terminal is in Use state;
When touch sensor detects the touch control operation to touch screen it may be determined that the receiver of mobile terminal is in non-making Use state;
Controlled it may be determined that having this button when the pressure transducer being arranged on button detects the operation to button The wired earphone of system or bluetooth earphone are in use state.
When sonic sensor detects the acoustical signal of surrounding, can determine corresponding by judging the intensity of sound wave The audio frequency apparatus with this sonic sensor is in use state, and described sonic sensor can be that the audio frequency such as mike receive dress Put.
Step 203, according to the use state of at least one end fitting, inquires about probability tables, to obtain default second work Make probability.
Wherein, the second work probability is used for indicating the dependency of voice-frequency channel and each end fitting use state.
Specifically, in probability tables, record has under each voice-frequency channel, the use state of each end fitting corresponding the Two work probability are such that it is able to by inquiring about this probability tables, the use state determining each end fitting is under this voice-frequency channel Default second work probability.In addition, also including the priority relationship between each voice-frequency channel in probability tables, when by probability When cannot complete to judge, can be judged further by priority.
For example, probability tables can be as follows:
For example, according to probability tables, receiver voice-frequency channel is under insertion use state in terminal unit bluetooth earphone Second work probability be 0.9;Loudspeaker audio path is in second under insertion use state in terminal unit bluetooth earphone Work probability is 0.9;Wired earphone voice-frequency channel is in the second work under insertion use state in terminal unit bluetooth earphone Probability is 0.9;Bluetooth earphone voice-frequency channel is in the second work probability under insertion use state in terminal unit bluetooth earphone For 1.1.
It is possible to further the priority according to the custom each voice-frequency channel of setting to mobile terminal.For example, if user practises Used use receiver, then receiver can be set to limit priority, speaker is set to the second priority, and by wired earphone and Bluetooth earphone is set to lower priority.If the commonly used bluetooth earphone of user, bluetooth earphone can be set to highest excellent First level.
Step 204, calculates to the second work probability of at least one end fitting, determines at least one voice-frequency channel First work probability.
The mode calculating includes but is not limited to multiplication calculation and weighted calculation mode.
Wherein, multiplication calculation can be by the second work probability phase of corresponding for each voice-frequency channel each use state Take advantage of, obtain the first work probability.
Weighted calculation mode can be by the second of corresponding for each voice-frequency channel each use state the work probability respectively with Default weighted value is multiplied, then multiplied result is added and/or is multiplied, thus obtaining the first work probability.
For example, if two end fitting receivers of corresponding receiver voice-frequency channel and the corresponding state of bluetooth earphone are respectively leaned on Nearly receiver and connected bluetooth earphone, then can learn corresponding second according to probability tables taking the probability tables in step 203 as a example Work probability is respectively 1.1 and 0.9.If using the computational methods being multiplied, the first work probability is multiplied by 0.9 for 1.1, that is, 0.99.If using the computational methods of weighting, being multiplied by corresponding weight respectively using the second work probability 1.1 and 0.9, then enter Row summation or quadrature, last gained is the first work probability, detects near receiver in sensor and has connected bluetooth ear In the state of machine, the probability that receiver voice-frequency channel is actually used is 0.99.Can be calculated other respectively with this method can use Voice-frequency channel the first work probability in this state, that is, each voice-frequency channel is in the possibility of use state in this case Property.
Step 205, the first work probability of each voice-frequency channel in audio available path list is sequentially arranged by size Sequence, and the first maximum work corresponding voice-frequency channel of probability is set to target audio path.
Specifically, it can be determined that going out the after being ranked up according to the size order of the first work probability to each voice-frequency channel The one work corresponding voice-frequency channel of maximum probability value, the wherein first work corresponding voice-frequency channel of maximum probability value can be one Or it is multiple.
When the first work corresponding voice-frequency channel of maximum probability value is one, that is, this voice-frequency channel is selected to be target audio Path.
For example, when wired earphone insertion is detected, and when bluetooth earphone is not connected with, the probability tables from step 203 understands Receiver voice-frequency channel, loudspeaker audio path, wired earphone voice-frequency channel and bluetooth earphone voice-frequency channel insert in wired earphone The second work probability under state is respectively 0.5,0.5,1.5 and 0.5, and this four voice-frequency channels are in bluetooth earphone not-connected status Under second work probability be respectively 1,1,1 and 0, if using the mode of product calculate each voice-frequency channel first work probability, Receiver voice-frequency channel, loudspeaker audio path, wired earphone voice-frequency channel and bluetooth earphone voice-frequency channel then can be calculated First work probability is respectively 0.5,0.5,1.5 and 0.The first work corresponding voice-frequency channel of maximum probability value only, that is, Wired earphone voice-frequency channel, therefore selects wired earphone voice-frequency channel to be target audio path.
When the first work corresponding voice-frequency channel of maximum probability value is more than one, preferential according to default voice-frequency channel Level, selects the high voice-frequency channel of priority to be target audio path.
For example, when button wired earphone and bluetooth earphone is detected is pressed simultaneously, the probability tables from step 203 The of receiver voice-frequency channel, loudspeaker audio path, wired earphone voice-frequency channel and bluetooth earphone voice-frequency channel can be calculated One work probability is respectively 0.25,0.25,0.75 and 0.75.I.e. the first work corresponding voice-frequency channel of maximum probability value has two Individual, respectively wired earphone voice-frequency channel and wireless headset voice-frequency channel, because the priority of wired earphone is higher than bluetooth earphone Priority, therefore select wired earphone voice-frequency channel be target audio path.
Step 206, carries out audio transmission using target audio path.
Specifically, if the voice-frequency channel that mobile terminal is currently in use is target audio path, it is continuing with making With voice-frequency channel carry out audio transmission.
If the voice-frequency channel that mobile terminal is currently in use not target audio path, by currently employed voice-frequency channel Switch to target audio path, thus audio transmission is carried out using this target audio path.
To sum up, in the embodiment of the present invention, by after the use state that obtains at least one end fitting, according at least one The use state of individual end fitting, determines the first work probability of each voice-frequency channel of mobile terminal, respectively further according to each First work probability of voice-frequency channel, determines target audio path, and carries out audio transmission using this target audio path, with complete The control of voice-frequency channel in pairs.Because the use state of end fitting is to be obtained in real time by sensor, thus this use state The environment residing for mobile terminal can accurately be embodied and each voice-frequency channel is in the probability of use state, and then can be accurate Prediction user is actually needed the target audio path of use, and accordingly voice-frequency channel is controlled, to solve in prior art There is complex operation when voice-frequency channel is controlled it is impossible to correspond to audio user path demand for control in time, lead to user's body Test poor problem.
Embodiment three
With reference to Fig. 3, show a kind of block diagram of mobile terminal in the embodiment of the present invention.Mobile terminal includes: use state Determining module 31, probability determination module 32, voice-frequency channel selecting module 33, voice-frequency channel control module 34.
Use state determining module 31, for obtaining the use state of at least one end fitting.
Probability determination module 32, for the use state according at least one end fitting described, determines described shifting respectively First work probability of each voice-frequency channel of dynamic terminal.Wherein, the first work probability is in use state for voice-frequency channel Probability.
Specifically, probability determination module 32, lead in each audio frequency for the use state according at least one end fitting Default second work probability under road, determines the first work probability of voice-frequency channel.Wherein, the second work probability leads to for audio frequency Road and the correlation probabilities of each end fitting use state.
Voice-frequency channel selecting module 33, for the first work probability according to each voice-frequency channel, determines that target audio is led to Road.
Voice-frequency channel control module 34, for carrying out audio transmission using target audio path.
With reference to Fig. 4, in a preferred embodiment of the invention, on the basis of Fig. 3, probability determination module 32 enters one Step includes: probabilistic query submodule 321 and probability calculation submodule 322.
Probabilistic query submodule 321, the use state for inquiring about at least one end fitting described is led in described audio frequency Default second work probability under road.
Probability calculation submodule 322, is calculated for the second work probability based at least one end fitting, is determined First work probability of at least one voice-frequency channel.
With reference to Fig. 5, in a preferred embodiment of the invention, on the basis of Fig. 4, voice-frequency channel selecting module 33 Including: voice-frequency channel sorting sub-module 331 and voice-frequency channel select submodule 332.
Voice-frequency channel sorting sub-module 331, for sequentially being arranged at least one first work probability described by size Sequence.
Voice-frequency channel selects submodule 332, for first of maximum at least one first work probability described works The corresponding voice-frequency channel of probability is set to target audio path.
When the first work corresponding voice-frequency channel of maximum probability value is more than one, voice-frequency channel selects submodule specifically to use It is target audio path according to default voice-frequency channel priority, selecting the high voice-frequency channel of priority.
With reference to Fig. 6, in a preferred embodiment of the invention, on the basis of Fig. 4, mobile terminal also includes: can With voice-frequency channel list determining module 30.
Audio available path list determining module 30, for by identifying Peripheral Interface, determining audio available path list. Wherein, Peripheral Interface at least includes earphone jack, bluetooth.Audio available path list is used for recording each and can carry out audio transmission Voice-frequency channel.
To sum up, the use of at least one end fitting in the embodiment of the present invention, is obtained by using state determining module 31 After state, by probability determination module 32 according to the use state of at least one end fitting, determine each of mobile terminal respectively First work probability of individual voice-frequency channel, more general according to the first work of each voice-frequency channel by voice-frequency channel selecting module 33 Rate, determines target audio path, and carries out audio transmission by voice-frequency channel control module 34 using this target audio path, with complete The control of voice-frequency channel in pairs.Because the use state of end fitting is to be obtained in real time by sensor, thus this use state The environment residing for mobile terminal can accurately be embodied and each voice-frequency channel is in the probability of use state, and then can be accurate Prediction user is actually needed the target audio path of use, and accordingly voice-frequency channel is controlled, to solve in prior art There is complex operation when voice-frequency channel is controlled it is impossible to correspond to audio user path demand for control in time, lead to user's body Test poor problem.
Example IV
Fig. 7 is the block diagram of one of the embodiment of the present invention four mobile terminal.Mobile terminal 700 shown in Fig. 7 includes: extremely A few processor 701, memorizer 702, at least one network interface 704 and other users interface 703.In mobile terminal 700 Each assembly be coupled by bus system 705.It is understood that bus system 705 is used for realizing between these assemblies Connection communication.Bus system 705, in addition to including data/address bus, also includes power bus, controlling bus and status signal bus in addition. But for the sake of clear explanation, in the figure 7 various buses are all designated as bus system 705.
Wherein, user interface 703 can include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memorizer 702 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or may include volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read only memory (read- Onlymemory, rom), programmable read only memory (programmablerom, prom), Erasable Programmable Read Only Memory EPROM (erasableprom, eprom), Electrically Erasable Read Only Memory (electricallyeprom, eeprom) or sudden strain of a muscle Deposit.Volatile memory can be random access memory (randomaccessmemory, ram), and it is used as outside slow at a high speed Deposit.By exemplary but be not restricted explanation, the ram of many forms can use, such as static RAM (staticram, sram), dynamic random access memory (dynamicram, dram), Synchronous Dynamic Random Access Memory (synchronousdram, sdram), double data speed synchronous dynamic RAM (doubledatarate Sdram, ddrsdram), enhancement mode Synchronous Dynamic Random Access Memory (enhanced sdram, esdram), synchronized links Dynamic random access memory (synchlinkdram, sldram) and direct rambus random access memory (directrambusram, drram).The memorizer 702 of the system and method for embodiment of the present invention description is intended to including but does not limit In these memorizeies with any other suitable type.
In some embodiments, memorizer 702 stores following element, executable module or data structure, or Their subset of person, or their superset: operating system 7021 and application program 7022.
Wherein, operating system 7021, comprise various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and process hardware based task.Application program 7022, comprises various application programs, such as media Player (mediaplayer), browser (browser) etc., are used for realizing various applied business.Realize embodiment of the present invention side The program of method may be embodied in application program 7022.
In embodiments of the present invention, can be by calling program or the instruction of memorizer 702 storage, specifically, application The program of storage or instruction in program 7022, processor 701 is used for obtaining the use state of at least one end fitting;According to extremely The use state of a few end fitting, determines the first work probability of each voice-frequency channel of mobile terminal respectively;According to each First work probability of individual voice-frequency channel, determines target audio path;Audio transmission is carried out using target audio path.
The method that the embodiments of the present invention disclose can apply in processor 701, or is realized by processor 701. Processor 701 is probably a kind of IC chip, has the disposal ability of signal.Realize during, said method each Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 701 or software form.Above-mentioned process Device 701 can be general processor, digital signal processor (digitalsignalprocessor, dsp), special IC (applicationspecificintegratedcircuit, asic), ready-made programmable gate array (fieldprogrammablegatearray, fpga) or other PLDs, discrete gate or transistor logic Device, discrete hardware components.Can realize or execute disclosed each method in the embodiment of the present invention, step and box Figure.General processor can be microprocessor or this processor can also be any conventional processor etc..In conjunction with the present invention The step of the method disclosed in embodiment can be embodied directly in hardware decoding processor execution and complete, or uses decoding processor In hardware and software module combination execution complete.Software module may be located at random access memory, and flash memory, read only memory can In the ripe storage medium in this area such as program read-only memory or electrically erasable programmable memory, depositor.This storage Medium is located at memorizer 702, and processor 701 reads the information in memorizer 702, completes the step of said method in conjunction with its hardware Suddenly.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware, Microcode or a combination thereof are realizing.Hardware is realized, processing unit can be implemented in one or more special ICs (applicationspecificintegratedcircuits, asic), digital signal processor (digitalsignalprocessing, dsp), digital signal processing appts (dspdevice, dspd), programmable logic device (programmablelogicdevice, pld), field programmable gate array (field-programmablegatearray, Fpga), general processor, controller, microcontroller, microprocessor, for execute the application function other electronic units or In a combination thereof.
Software is realized, can be realized by executing the module (such as process, function etc.) of embodiment of the present invention function The technology of the embodiment of the present invention.Software code is storable in memorizer and passes through computing device.Memorizer can processed Realize in device or outside processor.
Alternatively, processor 701 specifically for: the use state according at least one end fitting is in each voice-frequency channel Under default second work probability, determine voice-frequency channel first work probability.Specifically, according at least one terminal part Default second work probability under each voice-frequency channel for the use state of part, determines the first work probability of voice-frequency channel; Wherein, the second work probability is the correlation probabilities of voice-frequency channel and each end fitting use state.Inquiry described at least one Default second work probability under described voice-frequency channel for the use state of end fitting, and based at least one end fitting Second work probability is calculated, and determines the first work probability of at least one voice-frequency channel.
Alternatively, processor 701 is additionally operable to: by identifying Peripheral Interface, determines audio available path list.Wherein, outward If interface at least includes earphone jack, bluetooth, audio available path list is for recording the audio frequency that each can carry out audio transmission Path.
Mobile terminal 700 is capable of each process that in previous embodiment, mobile terminal is realized, for avoiding repeating, here Repeat no more.
To sum up, the mobile terminal in the embodiment of the present invention, obtains the use of at least one end fitting by processor 701 After state, according to the use state of at least one end fitting, the first of each voice-frequency channel of determination mobile terminal respectively Work probability, further according to the first work probability of each voice-frequency channel, is determined target audio path, and is led to using this target audio Road carries out audio transmission, to complete the control to voice-frequency channel.Because the use state of end fitting is to be obtained in real time by sensor Take, thus this use state can accurately embody environment residing for mobile terminal and each voice-frequency channel is in use state Probability, and then Accurate Prediction user can be actually needed the target audio path of use, and accordingly voice-frequency channel be controlled , there is complex operation when solving in prior art, voice-frequency channel to be controlled it is impossible to correspond to audio user path in time in system Demand for control, leads to the problem of poor user experience.
Embodiment five
Fig. 8 is the block diagram of one of the embodiment of the present invention five mobile terminal.Specifically, the mobile terminal 800 in Fig. 8 can Think mobile phone, panel computer, personal digital assistant (personaldigital assistant, pda) or vehicle-mounted computer etc..
Mobile terminal 800 in Fig. 8 includes radio frequency (radiofrequency, rf) circuit 810, memorizer 820, input list Unit 830, display unit 840, processor 860, voicefrequency circuit 870, wifi (wirelessfidelity) module 880 and power supply 890.
Wherein, input block 830 can be used for numeral or the character information of receiving user's input, and produces and mobile terminal 800 user setup and the relevant signal input of function control.Specifically, in the embodiment of the present invention, this input block 830 can To include contact panel 831.Contact panel 831, also referred to as touch screen, can collect user thereon or neighbouring touch operation (such as user uses the operation on contact panel 831 of any suitable object such as finger, stylus or adnexa), and according in advance The formula setting drives corresponding attachment means.Optionally, contact panel 831 may include touch detecting apparatus and touch controller Two parts.Wherein, touch detecting apparatus detect the touch orientation of user, and detect the signal that touch operation brings, by signal Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, Give this processor 860 again, and can the order sent of receiving processor 860 being executed.Furthermore, it is possible to using resistance-type, The polytypes such as condenser type, infrared ray and surface acoustic wave realize contact panel 831.Except contact panel 831, input block 830 can also include other input equipments 832, and other input equipments 832 can include but is not limited to physical keyboard, function key One or more of (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 840 can be used for showing by the information of user input or the information and the movement that are supplied to user The various menu interfaces of terminal 800.Display unit 840 may include display floater 841, optionally, can adopt lcd or organic The forms such as optical diode (organiclight-emittingdiode, oled) are configuring display floater 841.
It should be noted that contact panel 831 can cover display floater 841, form touch display screen, when the inspection of this touch display screen Measure thereon or after neighbouring touch operation, send processor 860 to determine the type of touch event, with preprocessor 860 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.This Application Program Interface viewing area And the arrangement mode of this conventional control viewing area does not limit, can for being arranged above and below, left-right situs etc. can distinguish two and show Show the arrangement mode in area.This Application Program Interface viewing area is displayed for the interface of application program.Each interface is permissible Comprise the interface elements such as icon and/or the widget desktop control of at least one application program.This Application Program Interface viewing area It can also be the empty interface not comprising any content.This conventional control viewing area is used for showing the higher control of utilization rate, for example, Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 860 is the control centre of mobile terminal 800, using various interfaces and connection whole mobile phone Various pieces, by running or executing software program and/or the module being stored in first memory 821, and call storage Data in second memory 822, the various functions of execution mobile terminal 800 and processing data, thus to mobile terminal 800 Carry out integral monitoring.Optionally, processor 860 may include one or more processing units.
In embodiments of the present invention, by call store this first memory 821 in software program and/or module and/ Or the data in this second memory 822, processor 860 is for obtaining the use state of at least one end fitting;According to extremely The use state of a few end fitting, determines the first work probability of each voice-frequency channel of mobile terminal respectively;According to each First work probability of individual voice-frequency channel, determines target audio path;Audio transmission is carried out using target audio path.
Alternatively, processor 860 specifically for: the use state according at least one end fitting is in each voice-frequency channel Under default second work probability, determine voice-frequency channel first work probability.Specifically, according at least one terminal part Default second work probability under each voice-frequency channel for the use state of part, determines the first work probability of voice-frequency channel; Wherein, the second work probability is the correlation probabilities of voice-frequency channel and each end fitting use state.Inquiry described at least one Default second work probability under described voice-frequency channel for the use state of end fitting, and based at least one end fitting Second work probability is calculated, and determines the first work probability of at least one voice-frequency channel.
Alternatively, processor 860 also particularly useful for: by identify Peripheral Interface, determine audio available path list.Its In, Peripheral Interface at least includes earphone jack, bluetooth, and audio available path list can carry out audio transmission for recording each Voice-frequency channel.
Mobile terminal 800 is capable of each process that in previous embodiment, mobile terminal is realized, for avoiding repeating, here Repeat no more.
It can be seen that, the mobile terminal in the embodiment of the present invention, the use of at least one end fitting is obtained by processor 860 After state, according to the use state of at least one end fitting, the first of each voice-frequency channel of determination mobile terminal respectively Work probability, further according to the first work probability of each voice-frequency channel, is determined target audio path, and is led to using this target audio Road carries out audio transmission, to complete the control to voice-frequency channel.Because the use state of end fitting is to be obtained in real time by sensor Take, thus this use state can accurately embody environment residing for mobile terminal and each voice-frequency channel is in use state Probability, and then Accurate Prediction user can be actually needed the target audio path of use, and accordingly voice-frequency channel be controlled , there is complex operation when solving in prior art, voice-frequency channel to be controlled it is impossible to correspond to audio user path in time in system Demand for control, leads to the problem of poor user experience.
Those of ordinary skill in the art are it is to be appreciated that combine each of the embodiment description disclosed in the embodiment of the present invention The unit of example and algorithm steps, being capable of being implemented in combination in electronic hardware or computer software and electronic hardware.These Function to be executed with hardware or software mode actually, the application-specific depending on technical scheme and design constraint.Specialty Technical staff can use different methods to each specific application realize described function, but this realization should Think beyond the scope of this invention.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description, Device and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
It should be understood that disclosed apparatus and method in embodiment provided herein, can pass through other Mode is realized.For example, device embodiment described above is only schematically, for example, the division of unit, it is only one kind Division of logic function, actual can have other dividing mode when realizing, for example multiple units or assembly can in conjunction with or can To be integrated into another system, or some features can be ignored, or does not execute.Another, shown or discussed each other Coupling or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or unit or communication connection, Can be electrical, mechanical or other forms.
The unit illustrating as separating component can be or may not be physically separate, show as unit Part can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple networks On unit.The purpose to realize this embodiment scheme for some or all of unit therein can be selected according to the actual needs.
In addition, can be integrated in a processing unit in each functional unit in each embodiment of the present invention it is also possible to It is that unit is individually physically present it is also possible to two or more units are integrated in a unit.
If function realized using in the form of SFU software functional unit and as independent production marketing or use when, can store In a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words to existing There are partly can embodying in the form of software product of the part that technology contributes or this technical scheme, this computer Software product is stored in a storage medium, including some instructions with so that a computer equipment (can be personal meter Calculation machine, server, or network equipment etc.) execution each embodiment method of the present invention all or part of step.And it is aforesaid Storage medium includes: u disk, portable hard drive, rom, ram, magnetic disc or CD etc. are various can be with the medium of store program codes.
More than, the specific embodiment of the only present invention, but protection scope of the present invention is not limited thereto, any it is familiar with Those skilled in the art the invention discloses technical scope in, change or replacement can be readily occurred in, all should cover Within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (12)

1. a kind of voice-frequency channel control method, methods described is applied to mobile terminal, and described mobile terminal includes at least one use In output audio frequency end fitting it is characterised in that methods described includes:
Obtain the use state of at least one end fitting described;
According to the use state of at least one end fitting described, determine respectively described mobile terminal each voice-frequency channel One work probability;
According to the first work probability of each voice-frequency channel described, determine target audio path;
Audio transmission is carried out using described target audio path;
Wherein, described first work probability is in the probability of use state for voice-frequency channel.
2. method according to claim 1 is it is characterised in that the use shape of at least one end fitting described in described basis State, the step determining the first work probability of each voice-frequency channel of described mobile terminal respectively, comprising:
Default second work under each voice-frequency channel described for the use state according at least one end fitting described is general Rate, determines the first work probability of described voice-frequency channel;
Wherein, described second work probability is the correlation probabilities of described voice-frequency channel and each end fitting use state.
3. method according to claim 2 is it is characterised in that the use shape of at least one end fitting described in described basis Second work probability under described voice-frequency channel for the state, the step determining the first work probability of described voice-frequency channel, comprising:
Default second work probability under described voice-frequency channel for the use state of inquiry at least one end fitting described;
The second work probability based at least one end fitting described is calculated, and determines at least one voice-frequency channel described First work probability.
4. method according to claim 1 is it is characterised in that the first work of each voice-frequency channel described in described basis is general Rate, the step determining target audio path, comprising:
At least one first work probability described is sequentially ranked up by size;
The first maximum work corresponding voice-frequency channel of probability at least one first work probability described is set to target sound Frequency path.
5. method according to claim 4 is it is characterised in that described will be maximum at least one first work probability described It is worth the step that corresponding voice-frequency channel is set to target audio path, comprising:
When the described first work corresponding voice-frequency channel of maximum probability value is more than one, preferential according to default voice-frequency channel Level, selects the high voice-frequency channel of priority to be target audio path.
6. method according to claim 1 is it is characterised in that determine at least one end fitting described by sensor Use state before, also include:
By identifying Peripheral Interface, determine audio available path list;
Wherein, described Peripheral Interface at least includes earphone jack, bluetooth, and described audio available path list is used for recording each can Carry out the voice-frequency channel of audio transmission.
7. a kind of mobile terminal is it is characterised in that include:
Use state determining module, for obtaining the use state of at least one end fitting described;
Probability determination module, for the use state according at least one end fitting described, determines described mobile terminal respectively Each voice-frequency channel first work probability;
Voice-frequency channel selecting module, for the first work probability according to each voice-frequency channel described, determines target audio path;
Voice-frequency channel control module, for carrying out audio transmission using described target audio path;
Wherein, described first work probability is in the probability of use state for voice-frequency channel.
8. mobile terminal according to claim 7 it is characterised in that
Described probability determination module is specifically for the use state according at least one end fitting described in each audio frequency described Default second work probability under path, determines the first work probability of described voice-frequency channel;
Wherein, described second work probability is the correlation probabilities of described voice-frequency channel and each end fitting use state.
9. mobile terminal according to claim 8 is it is characterised in that described probability determination module includes:
Probabilistic query submodule, the use state for inquiring about at least one end fitting described is pre- under described voice-frequency channel If the second work probability;
Probability calculation submodule, is calculated for the second work probability based at least one end fitting described, is determined institute State the first work probability of at least one voice-frequency channel.
10. mobile terminal according to claim 7 is it is characterised in that described voice-frequency channel selecting module includes:
Voice-frequency channel sorting sub-module, for being sequentially ranked up at least one first work probability described by size;
Voice-frequency channel selects submodule, for corresponding to the first maximum work probability at least one first work probability described Voice-frequency channel be set to target audio path.
11. mobile terminals according to claim 10 it is characterised in that
When in described voice-frequency channel selection submodule, the first work corresponding voice-frequency channel of maximum probability value is more than one, according to Default voice-frequency channel priority, selects the high voice-frequency channel of priority to be target audio path.
12. mobile terminals according to claim 7 are it is characterised in that described mobile terminal also includes:
Audio available path list determining module, for by identifying Peripheral Interface, determining audio available path list;
Wherein, described Peripheral Interface at least includes earphone jack, bluetooth, and described audio available path list is used for recording each can Carry out the voice-frequency channel of audio transmission.
CN201610798766.8A 2016-08-31 2016-08-31 A kind of voice-frequency channel control method and mobile terminal Active CN106375576B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610798766.8A CN106375576B (en) 2016-08-31 2016-08-31 A kind of voice-frequency channel control method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610798766.8A CN106375576B (en) 2016-08-31 2016-08-31 A kind of voice-frequency channel control method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106375576A true CN106375576A (en) 2017-02-01
CN106375576B CN106375576B (en) 2019-08-20

Family

ID=57900354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610798766.8A Active CN106375576B (en) 2016-08-31 2016-08-31 A kind of voice-frequency channel control method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106375576B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107145325A (en) * 2017-03-28 2017-09-08 深圳市金立通信设备有限公司 A kind of method for controlling volume and terminal
CN109284080A (en) * 2018-09-04 2019-01-29 Oppo广东移动通信有限公司 Audio method of adjustment, device, electronic equipment and storage medium
CN110602312A (en) * 2019-08-21 2019-12-20 华为技术有限公司 Call method and device
WO2020048217A1 (en) * 2018-09-04 2020-03-12 Oppo广东移动通信有限公司 Sound effect adjustment method, apparatus, electronic device, and storage medium
CN110895939A (en) * 2019-11-19 2020-03-20 广东天波信息技术股份有限公司 Voice interaction method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1921665A (en) * 2005-08-26 2007-02-28 乐金电子(中国)研究开发中心有限公司 Mobile communication terminal with voice output switching function and operation method thereof
CN103699501A (en) * 2013-12-17 2014-04-02 上海斐讯数据通信技术有限公司 Audio equipment managing method and system of mobile terminal
US20140364172A1 (en) * 2013-06-11 2014-12-11 Samsung Electronics Co., Ltd. Method and apparatus for controlling call in portable terminal
CN104717363A (en) * 2015-03-23 2015-06-17 努比亚技术有限公司 Mobile terminal and audio channel fast switching method and device thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1921665A (en) * 2005-08-26 2007-02-28 乐金电子(中国)研究开发中心有限公司 Mobile communication terminal with voice output switching function and operation method thereof
US20140364172A1 (en) * 2013-06-11 2014-12-11 Samsung Electronics Co., Ltd. Method and apparatus for controlling call in portable terminal
CN103699501A (en) * 2013-12-17 2014-04-02 上海斐讯数据通信技术有限公司 Audio equipment managing method and system of mobile terminal
CN104717363A (en) * 2015-03-23 2015-06-17 努比亚技术有限公司 Mobile terminal and audio channel fast switching method and device thereof

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107145325A (en) * 2017-03-28 2017-09-08 深圳市金立通信设备有限公司 A kind of method for controlling volume and terminal
CN109284080A (en) * 2018-09-04 2019-01-29 Oppo广东移动通信有限公司 Audio method of adjustment, device, electronic equipment and storage medium
WO2020048216A1 (en) * 2018-09-04 2020-03-12 Oppo广东移动通信有限公司 Audio effect adjustment method and apparatus, electronic device, and storage medium
WO2020048217A1 (en) * 2018-09-04 2020-03-12 Oppo广东移动通信有限公司 Sound effect adjustment method, apparatus, electronic device, and storage medium
CN110602312A (en) * 2019-08-21 2019-12-20 华为技术有限公司 Call method and device
EP4020952A4 (en) * 2019-08-21 2022-10-26 Huawei Technologies Co., Ltd. Call method and apparatus
US11665274B2 (en) 2019-08-21 2023-05-30 Huawei Technologies Co., Ltd. Call method and apparatus
CN110895939A (en) * 2019-11-19 2020-03-20 广东天波信息技术股份有限公司 Voice interaction method, device and system

Also Published As

Publication number Publication date
CN106375576B (en) 2019-08-20

Similar Documents

Publication Publication Date Title
US10917515B2 (en) Method for switching applications in split screen mode, computer device and computer-readable storage medium
CN106375576A (en) Audio access control method and mobile terminal
US9417723B2 (en) Method for controlling operation of touch panel and portable terminal supporting the same
CN106383645A (en) Music playing control method and mobile terminal
CN107466077A (en) A kind of method for switching network and mobile terminal
CN106161811A (en) A kind of reminding method and mobile terminal
CN102262465A (en) Electronic device having touch input unit and touch input method of electronic device
CN106504777A (en) A kind of processing method of recording data and mobile terminal
CN106161804A (en) A kind of audio play control method and mobile terminal
CN106126035A (en) A kind of method that application program shows and mobile terminal
CN107391078A (en) A kind of sound adjusting method and mobile terminal
CN106095296A (en) The changing method of a kind of application program and mobile terminal
CN106068009A (en) Method and the electronic installation of calibration is put outside speaker
CN106408289A (en) Payment page switching method and mobile terminal
CN106101409A (en) A kind of mobile terminal and control method
CN106210231A (en) A kind of method of information processing and mobile terminal
CN106208206B (en) A kind of wireless charging method and mobile terminal
CN107066090A (en) The method and mobile terminal of a kind of control fingerprint recognition module
CN106527937A (en) Mobile terminal widget adding method and mobile terminal
CN106375591A (en) Method for detecting audio input device, and mobile terminal
CN107003758A (en) ghost point processing method and user equipment
CN107819931A (en) A kind of audio frequency playing method and mobile terminal based on wireless headset
CN107708093A (en) A kind of method and mobile terminal that relaying data network is established using wireless headset
CN106961518A (en) The changing method and mobile terminal of a kind of audio-frequency play mode
CN106528326A (en) Base-band chip software switching method and mobile terminal

Legal Events

Date Code Title Description
C06 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