CN107277693A - Audio frequency apparatus call method and device - Google Patents

Audio frequency apparatus call method and device Download PDF

Info

Publication number
CN107277693A
CN107277693A CN201710582735.3A CN201710582735A CN107277693A CN 107277693 A CN107277693 A CN 107277693A CN 201710582735 A CN201710582735 A CN 201710582735A CN 107277693 A CN107277693 A CN 107277693A
Authority
CN
China
Prior art keywords
app
audio frequency
frequency apparatus
audio
scene
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
CN201710582735.3A
Other languages
Chinese (zh)
Other versions
CN107277693B (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201710582735.3A priority Critical patent/CN107277693B/en
Publication of CN107277693A publication Critical patent/CN107277693A/en
Application granted granted Critical
Publication of CN107277693B publication Critical patent/CN107277693B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/04Circuits for transducers, loudspeakers or microphones for correcting frequency response
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Abstract

The present invention provides a kind of audio frequency apparatus call method and device.This method includes:When APP is run, whether detection APP needs to call audio frequency apparatus, when detecting APP and needing to call audio frequency apparatus, according to the APP and the mapping relations of audio frequency apparatus pre-set, it is determined that target audio equipment corresponding with APP, invocation target audio frequency apparatus, wherein, the audio frequency apparatus that mapping relations include is the audio frequency apparatus by debugging processing, realize when it is determined that APP needs to call audio frequency apparatus, can be according to the APP and the mapping relations of audio frequency apparatus pre-set, determine an audio frequency apparatus by debugging processing as target audio equipment for the APP, realize that the audio frequency apparatus that the APP is finally called is the audio frequency apparatus handled by debugging, it ensure that the APP can realize preferable audio frequency effect when calling audio frequency apparatus, so as to, improve Consumer's Experience.

Description

Audio frequency apparatus call method and device
Technical field
The present invention relates to computer technology, more particularly to a kind of audio frequency apparatus call method and device.
Background technology
With continuing to develop for the communication technology and computer technology, the use of terminal device is more and more frequent.Terminal device Bottom have many audio frequency apparatuses with the demand for the different software for meeting upper strata.The application program installed on terminal device , it is necessary to call the APP of the audio frequency apparatus of terminal device bottom also more and more in (Application, APP).In such case Under, how to realize that APP correctly calls audio frequency apparatus to be to ensure the key that APP is normally run.
At present, each audio frequency apparatus in terminal device has a mark (Identification, ID), and APP can be with Realized by the ID of the interface interchange audio frequency apparatus of audio-frequency function and call audio frequency apparatus.The developer of terminal device is to conventional sound Frequency equipment is debugged and optimized, and most of APP developer can set APP to call and pass through debugging when designing APP With the ID of the audio frequency apparatus of optimization.So, APP is in the process of running, it is necessary to when calling audio frequency apparatus, can call and pass through tune Examination and the audio frequency apparatus of optimization, it is ensured that preferable audio frequency effect.
But, the APP of minority developer is when designing APP, for some reason, for example, to conventional audio frequency apparatus Do not know about, APP may be set to call not by debugging and the ID of the audio frequency apparatus of optimization.This causes APP in running In, it is necessary to when calling audio frequency apparatus, the audio frequency apparatus not by debugging and optimization can be called, it is possible that tone-off, noise, Echo or the problems such as utter long and high-pitched sounds, influences Consumer's Experience very much.
The content of the invention
To solve problems of the prior art, the present invention provides a kind of audio frequency apparatus call method and device, to carry High Consumer's Experience.
In a first aspect, the embodiment of the present invention provides a kind of audio frequency apparatus call method, including:
When APP is run, detect whether the APP needs to call audio frequency apparatus;
When detecting the APP and needing to call audio frequency apparatus, closed according to the APP and audio frequency apparatus pre-set mapping System, it is determined that target audio equipment corresponding with the APP, wherein, the audio frequency apparatus that the mapping relations include is through toning Try the audio frequency apparatus of processing;
Call the target audio equipment.
It is described before detecting whether the APP needs to call audio frequency apparatus when APP is run in method as implied above Method also includes:
When the APP is installed, detect whether the APP needs to call audio frequency apparatus;
When detecting the APP and needing to call audio frequency apparatus, the audio scene of the APP is determined;Wherein, the audio At least one audio frequency apparatus in the multiple audio frequency apparatuses of scene correspondence, the multiple audio frequency apparatus passes through debugging processing;
The corresponding relation of the corresponding audio frequency apparatus and the APP by debugging processing of the audio scene is increased into institute State mapping relations.
In method as implied above, the audio scene includes following at least one:Recording scene, broadcasting scene and call Scene;
Wherein, at least two in the following audio frequency apparatus of the recording scene correspondence:Main Mike's sound pick-up outfit, secondary Mike record Sound equipment, earphone headset sound pick-up outfit, diamylose gram sound pick-up outfit, noise reduction bluetooth earphone verbal system, non-noise reduction bluetooth earphone lead to Talk about equipment, network hand-hold verbal system, network earphone verbal system and network hands-free talking device;
At least two in the following audio frequency apparatus of the broadcasting scene correspondence:Loudspeaker playback equipment, receiver are played and set Standby, earphone playback equipment and bluetooth playback equipment;
At least two in the following audio frequency apparatus of the call scene correspondence:Hand-held verbal system, four-section type headset call Equipment, three-section earphone verbal system, hands-free talking device, noise reduction bluetooth earphone verbal system and non-noise reduction bluetooth earphone are logical Talk about equipment.
It is described when detecting the APP and needing to call audio frequency apparatus in method as implied above, determine the APP's Audio scene, including:
When detecting the APP and there is COBBAIF, the mark of the corresponding audio frequency apparatus of the COBBAIF is determined;
According to the mark of audio frequency apparatus and the mapping relations of audio scene, it is determined that corresponding with the mark of the audio frequency apparatus Audio scene, wherein, the audio scene that the corresponding audio scene of mark of the audio frequency apparatus is the APP.
In method as implied above, the mapping relations are specially the mapping relations of APP, audio scene and audio frequency apparatus;
APP and the mapping relations of audio frequency apparatus that the basis is pre-set, it is determined that target audio corresponding with the APP Equipment, including:
According to the field of the COBBAIF sound intermediate frequency scene of the APP, the present video scene of the APP is determined;
According to the present video scene of the APP and the mapping relations, it is determined that the present video scene pair with the APP The target audio equipment answered.
Second aspect, the embodiment of the present invention also provides a kind of audio frequency apparatus calling device, including:
First detection module, for when APP is run, detecting whether the APP needs to call audio frequency apparatus;
First determining module, for when detecting the APP and needing to call audio frequency apparatus, according to the APP pre-set With the mapping relations of audio frequency apparatus, it is determined that target audio equipment corresponding with the APP, wherein, the mapping relations include Audio frequency apparatus be by debugging processing audio frequency apparatus;
Calling module, for calling the target audio equipment.
Device as implied above, described device also includes:
Second detection module, for when the APP is installed, detecting whether the APP needs to call audio frequency apparatus;
Second determining module, for when detecting the APP and needing to call audio frequency apparatus, determining the audio of the APP Scene;Wherein, at least one audio frequency apparatus in the multiple audio frequency apparatuses of the audio scene correspondence, the multiple audio frequency apparatus is Through by debugging processing;
Increase module, for by corresponding pair by debugging audio frequency apparatus and the APP of processing of the audio scene It should be related to and increase to the mapping relations.
Device as implied above, the audio scene includes following at least one:Scene, the broadcasting scene of recording and field of conversing Scape;
Wherein, at least two in the following audio frequency apparatus of the recording scene correspondence:Main Mike's sound pick-up outfit, secondary Mike record Sound equipment, earphone headset sound pick-up outfit, diamylose gram sound pick-up outfit, noise reduction bluetooth earphone verbal system, non-noise reduction bluetooth earphone lead to Talk about equipment, network hand-hold verbal system, network earphone verbal system and network hands-free talking device;
At least two in the following audio frequency apparatus of the broadcasting scene correspondence:Loudspeaker playback equipment, receiver are played and set Standby, earphone playback equipment and bluetooth playback equipment;
At least two in the following audio frequency apparatus of the call scene correspondence:Hand-held verbal system, four-section type headset call Equipment, three-section earphone verbal system, hands-free talking device, noise reduction bluetooth earphone verbal system and non-noise reduction bluetooth earphone are logical Talk about equipment.
Device as implied above, second determining module specifically for:
When detecting the APP and there is COBBAIF, the mark of the corresponding audio frequency apparatus of the COBBAIF is determined;
According to the mark of audio frequency apparatus and the mapping relations of audio scene, it is determined that corresponding with the mark of the audio frequency apparatus Audio scene, wherein, the audio scene that the corresponding audio scene of mark of the audio frequency apparatus is the APP.
Device as implied above, the mapping relations are specially the mapping relations of APP, audio scene and audio frequency apparatus;
First determining module specifically for:
According to the field of the COBBAIF sound intermediate frequency scene of the APP, the present video scene of the APP is determined;
According to the present video scene of the APP and the mapping relations, it is determined that the present video scene pair with the APP The target audio equipment answered.
Audio frequency apparatus call method and device provided in an embodiment of the present invention, by the way that when APP is run, whether detection APP Need to call audio frequency apparatus, when detecting APP and needing to call audio frequency apparatus, according to the APP's and audio frequency apparatus pre-set Mapping relations, it is determined that target audio equipment corresponding with APP, so that APP invocation target audio frequency apparatuses, wherein, in mapping relations The audio frequency apparatus of instruction is the audio frequency apparatus by debugging processing, is realized when it is determined that APP needs to call audio frequency apparatus, can be with According to the APP and the mapping relations of audio frequency apparatus pre-set, determine that an audio frequency apparatus by debugging processing is made for the APP For target audio equipment, it is the audio frequency apparatus by debugging processing to realize audio frequency apparatus that the APP is finally called, it is to avoid should APP calls audio failure caused by the audio frequency apparatus of not adapted processing, it is ensured that the APP can be with when calling audio frequency apparatus Preferable audio frequency effect is realized, so that, improve Consumer's Experience.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also To obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of audio frequency apparatus call method embodiment one provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of audio frequency apparatus call method embodiment two provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of embodiment illustrated in fig. 2 sound intermediate frequency scene and the mapping relations of audio frequency apparatus;
Fig. 4 is the structural representation of audio frequency apparatus calling device embodiment one provided in an embodiment of the present invention;
Fig. 5 is the structural representation of audio frequency apparatus calling device embodiment two provided in an embodiment of the present invention.
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 is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
In the development process of terminal device, in order to meet audio demand of the user of different regions in different scenes, There is provided the audio frequency apparatus of many bottoms.Each one mark of audio frequency apparatus correspondence.The audio frequency apparatus of bottom is needed by debugging Processing could reach preferable audio frequency effect when being called by upper layer software (applications).Because the audio frequency apparatus of bottom is more, developer Generally can only debugging processing be carried out to conventional underlying audio equipment, can so cause to call not through toning in some APP When trying the audio frequency apparatus of processing, it may appear that tone-off, noise, echo or the problems such as utter long and high-pitched sounds.The embodiment of the present invention provides a kind of sound Frequency equipment calls method aims to solve the problem that the problem.
Audio frequency apparatus call method provided in an embodiment of the present invention, by the way that when APP is run, whether detection APP needs to adjust With audio frequency apparatus, when detecting APP and needing to call audio frequency apparatus, closed according to the APP and audio frequency apparatus pre-set mapping System, it is determined that target audio equipment corresponding with APP, calls the target audio equipment, wherein, the audio that mapping relations include is set Standby is the audio frequency apparatus by debugging processing, is realized when it is determined that APP needs to call audio frequency apparatus, can be according to pre-setting APP and audio frequency apparatus mapping relations, for the APP determine one by debugging processing audio frequency apparatus set as target audio Standby, it is the audio frequency apparatus by debugging processing to realize audio frequency apparatus that the APP finally calls, it is to avoid the APP is called without adjusting Try audio failure caused by the audio frequency apparatus of processing, it is ensured that the APP can realize preferable sound when calling audio frequency apparatus Yupin effect, so that, improve Consumer's Experience.
Technical scheme is described in detail with specific embodiment below.These specific implementations below Example can be combined with each other, and may be repeated no more for same or analogous concept or process in some embodiments.
Fig. 1 is the schematic flow sheet of audio frequency apparatus call method embodiment one provided in an embodiment of the present invention.Such as Fig. 1 institutes Show, audio frequency apparatus call method provided in an embodiment of the present invention comprises the following steps:
S101:When APP is run, whether detection APP needs to call audio frequency apparatus.
Specifically, audio frequency apparatus call method provided in an embodiment of the present invention can be by the terminal device based on Android platform Perform.Terminal device in the embodiment of the present invention can be handheld device, mobile unit, wearable device, computing device, intelligence TV etc., terminal device is also referred to as user equipment (User Equipment;Referred to as:UE), mobile station (Mobile Station; Referred to as:) or terminal (terminal) etc. MS.Exemplarily, handheld device can be smart mobile phone, tablet personal computer etc..
Optionally, the present embodiments relate to APP can be third party in addition to the system program of terminal device APP, for example, instant messaging APP, shopping online APP or game class APP.The present embodiments relate to audio frequency apparatus refer to The audio frequency apparatus of the bottom of terminal device, for example, main Mike's sound pick-up outfit, secondary Mike sound pick-up outfit, loudspeaker playback equipment, Bluetooth playback equipment or earphone playback equipment etc..
APP in the process of running, may call audio frequency apparatus.For example:, may in instant messaging APP runnings Mike's sound pick-up outfit can be called, Mike's sound pick-up outfit realizes that the voice inputted to user is recorded, afterwards, and terminal device again will Recording is sent to server, realizes instant voice communication;Loudspeaker may be called to play in game class APP runnings Device plays audio file.
In a kind of implementation, in APP running, when detecting audio policy service (Audio Policy When Service) starting, it may be determined that the APP needs to call audio frequency apparatus.
S102:When detecting APP and needing to call audio frequency apparatus, according to the APP and audio frequency apparatus pre-set mapping Relation, it is determined that target audio equipment corresponding with APP.
Wherein, the audio frequency apparatus that mapping relations include is the audio frequency apparatus by debugging processing.
Specifically, the mapping relations of APP and audio frequency apparatus are pre-set.The mapping relations can table in a tabular form Show, the corresponding relation for indicating APP and audio frequency apparatus.The mapping relations can be install APP when determine or Developer is preset in terminal device.Audio frequency apparatus by debugging processing refers to that passing through developer passes through increasing Benefit optimization and voice echo Processing Algorithm have carried out the audio frequency apparatus debugged and optimized.
In the first implementation, what the mapping relations were indicated is that different APP are closed from the correspondence of different audio frequency apparatuses System a, APP can correspond at least one audio frequency apparatus.The mapping relations can be APP mark and the mark of audio frequency apparatus Corresponding relation., it is necessary to determine the APP mark being currently running first in the implementation, further according to the mark determine with The mark of the corresponding audio frequency apparatus of the mark, is defined as target audio by the corresponding audio frequency apparatus of the mark of the audio frequency apparatus and sets It is standby.
In second of implementation, what the mapping relations were indicated is pair for the APP and different audio frequency apparatus being currently running It should be related to, the APP being currently running can correspond at least one audio frequency apparatus.In the implementation, each APP corresponds to one Individual APP and audio frequency apparatus mapping relations.The APP that terminal device is currently running according to this, calls its corresponding mapping relations, from And obtain the target audio equipment of the APP.
Terminal device is when detecting the APP and needing to call audio frequency apparatus, when indicating the multiple sounds of APP correspondences in mapping relations During frequency equipment, an audio frequency apparatus can be randomly choosed from the plurality of audio frequency apparatus and be set as the corresponding target audios of the APP It is standby.
S103:Invocation target audio frequency apparatus.
Specifically, after target audio equipment is determined, terminal device can call the target audio equipment, be specially The ID for the audio frequency apparatus that terminal device need to be called originally in the COBBAIF by shielding APP, by the ID of target audio equipment with The COBBAIF correspondence of the APP, makes the APP call the target audio equipment.Then, when APP calls audio frequency apparatus, it will pass through COBBAIF calls the target audio equipment.Because the audio frequency apparatus that mapping relations include is that the audio handled by debugging is set Standby, then target audio equipment is necessarily the audio frequency apparatus by debugging processing, it is thus possible to ensure the APP invocation target audios Audio frequency effect after equipment.
Audio frequency apparatus call method provided in an embodiment of the present invention, by the way that when APP is run, whether detection APP needs to adjust With audio frequency apparatus, when detecting APP and needing to call audio frequency apparatus, closed according to the APP and audio frequency apparatus pre-set mapping System, it is determined that target audio equipment corresponding with APP, calls the target audio equipment, wherein, the audio that mapping relations include is set Standby is the audio frequency apparatus by debugging processing, is realized when it is determined that APP needs to call audio frequency apparatus, can be according to pre-setting APP and audio frequency apparatus mapping relations, for the APP determine one by debugging processing audio frequency apparatus set as target audio Standby, it is the audio frequency apparatus by debugging processing to realize audio frequency apparatus that the APP finally calls, it is to avoid the APP is called without adjusting Try audio failure caused by the audio frequency apparatus of processing, it is ensured that the APP can realize preferable sound when calling audio frequency apparatus Yupin effect, so that, improve Consumer's Experience.
Fig. 2 is the schematic flow sheet of audio frequency apparatus call method embodiment two provided in an embodiment of the present invention.It is of the invention real Apply in example on the basis of embodiment illustrated in fig. 1, to how to determine mapping relations and how specifically to determine target audio equipment Process make one describe in detail.As shown in Fig. 2 audio frequency apparatus call method provided in an embodiment of the present invention comprises the following steps:
S201:When APP is installed, whether detection APP needs to call audio frequency apparatus.
Specifically, when installing some APP for the first time, can by the contents of the MANIFEST.XML files for reading the APP, Detect whether the APP needs to call audio frequency apparatus, if being stated in this document needs audio authority, it is determined that the APP needs Call audio frequency apparatus.It can also determine whether the APP needs to call audio frequency apparatus by APP audio fields, when audio words When section is written with virtual value, determine that the APP needs to call audio frequency apparatus.
S202:When detecting APP and needing to call audio frequency apparatus, APP audio scene is determined.
Wherein, at least one audio frequency apparatus in the multiple audio frequency apparatuses of audio scene correspondence, multiple audio frequency apparatuses has been passed through Cross debugging processing.
Specifically, in embodiments of the present invention, the corresponding audio scene of multiple audio frequency apparatuses three classes have been divided into:Recording field Scape, broadcasting scene and call scene.Fig. 3 is the signal of embodiment illustrated in fig. 2 sound intermediate frequency scene and the mapping relations of audio frequency apparatus Figure.As shown in figure 3, at least two in the following audio frequency apparatus of recording scene correspondence:Main Mike's sound pick-up outfit, secondary Mike recording are set Standby, earphone headset sound pick-up outfit, diamylose gram sound pick-up outfit, noise reduction bluetooth earphone verbal system, the call of non-noise reduction bluetooth earphone are set Standby, network hand-hold verbal system, network earphone verbal system and network hands-free talking device;Scene correspondence is played with subaudio frequency At least two in equipment:Loudspeaker playback equipment, receiver playback equipment, earphone playback equipment and bluetooth playback equipment; At least two in the following audio frequency apparatus of scene of conversing correspondence:Hand-held verbal system, four-section type headset verbal system, three-stage ear Machine verbal system, hands-free talking device, noise reduction bluetooth earphone verbal system and non-noise reduction bluetooth earphone verbal system.
It should be noted that call scene refers to the scene that user is conversed by calling.
A kind of possible implementation is, when detecting APP and there is COBBAIF, determines the corresponding audio of COBBAIF The mark of equipment, according to the mark of audio frequency apparatus and the mapping relations of audio scene, it is determined that corresponding with the mark of audio frequency apparatus Audio scene, wherein, the audio scene that the corresponding audio scene of mark of audio frequency apparatus is the APP.Can be by detecting APP's Audio fields determine that the APP whether there is COBBAIF:When audio fields have virtual value, determine that the APP has audio Interface.APP, which has COBBAIF, means that the APP needs to call audio frequency apparatus.The different audio of different COBBAIF correspondences The mark of equipment, can determine the mark of the corresponding audio frequency apparatus of COBBAIF according to the COBBAIF of the APP.Audio frequency apparatus Mark and audio scene there are mapping relations, each audio frequency apparatus can correspond to an audio scene.It is being determined the APP's , can be according to the mark and the corresponding relation of audio scene of audio frequency apparatus, really after the mark of the corresponding audio frequency apparatus of COBBAIF Fixed APP audio scene.
In another implementation, terminal device can be according to the field of APP COBBAIF sound intermediate frequency scene, it is determined that should APP audio scene.
S203:The corresponding relation of the corresponding audio frequency apparatus and APP by debugging processing of audio scene is increased into mapping Relation.
Specifically, in the corresponding multiple audio frequency apparatuses of each audio scene, at least one audio frequency apparatus have passed through debugging Processing.The audio frequency apparatus of process debugging processing can be one or more randomly selected audio frequency apparatus of developer, Can be the audio frequency apparatus that developer determines according to certain rule, the rule for example can be that selection audio scene is corresponding more The higher audio frequency apparatus of reliability in individual audio frequency apparatus.
Based on the first implementation of mapping relations in S102, in S203, can be in mapping relations addition with The entry of the corresponding audio frequency apparatus and the corresponding relation of the APP by debugging processing of audio scene, i.e., by audio scene correspondence Audio frequency apparatus by debugging processing and APP corresponding relation increase in the mapping relations.Optionally, based on being reflected in S102 Penetrate second of implementation of relation, in S203, according to it is corresponding with audio scene through debugging processing audio frequency apparatus with The corresponding relation of the APP, sets up the mapping relations of APP and audio frequency apparatus.
In a kind of implementation, the audio scene can correspond to an audio frequency apparatus by debugging processing, then by the sound The corresponding relation of audio frequency apparatus and APP in frequency scene is used as the mapping relations in embodiment illustrated in fig. 1.
Another implementation, the audio scene can correspond to multiple audio frequency apparatuses by debugging processing, then terminal is set It is standby to randomly choose an audio frequency apparatus by debugging processing from multiple audio frequency apparatuses by debugging processing, and should be with The audio frequency apparatus by debugging processing of machine selection and APP corresponding relation are as the mapping relations in embodiment illustrated in fig. 1, then In the mapping relations finally determined, the APP one audio frequency apparatus of correspondence.Terminal device can also be handled the plurality of process debugging Audio frequency apparatus and APP corresponding relation as the mapping relations in embodiment illustrated in fig. 1, then the mapping relations finally determined In, the multiple audio frequency apparatuses of APP correspondences.
S204:When APP is run, whether detection APP needs to call audio frequency apparatus.
S205:When detecting APP and needing to call audio frequency apparatus, according to the APP and audio frequency apparatus pre-set mapping Relation, it is determined that target audio equipment corresponding with APP.
Wherein, the audio frequency apparatus indicated in mapping relations is the audio frequency apparatus by debugging processing.
S206:Invocation target audio frequency apparatus.
S204 is similar with S101 implementation process and technical principle, and here is omitted.S205 and S102 implementation process Similar with technical principle, here is omitted.S206 is similar with S103 implementation process and technical principle, and here is omitted.
In the embodiment of the present invention, the mapping relations of APP and audio frequency apparatus are determined when APP is installed, and realize basis APP audio scene, determines the mapping relations of APP and audio frequency apparatus, and this causes the target sound corresponding with APP finally determined Frequency equipment is audio frequency apparatus corresponding with the audio scene of the APP, so that, further ensure the APP invocation target audios and set Audio frequency effect when standby, further increases Consumer's Experience.
Said process is illustrated with a specific example below:Terminal device installs some third party APP for the first time, is installing When, the audio frequency apparatus of bottom can be called by COBBAIF by detecting the APP.Determine the sound that the APP is called by COBBAIF The ID of frequency equipment is ID=0X04, can determine that its audio frequency apparatus called is main Mike's sound pick-up outfit according to the ID.Assuming that main Mike's sound pick-up outfit is not handled by debugging, and according to existing method, the APP is in the process of running, it is necessary to call audio During equipment, main Mike's sound pick-up outfit can be called, so that, it may appear that echo, the failure such as utter long and high-pitched sounds.There is provided using the embodiment of the present invention Audio frequency apparatus method of calling when, install the APP when, terminal device can be called detecting the APP by COBBAIF During the audio frequency apparatus of bottom, according to the mark of audio frequency apparatus and the mapping relations of audio scene, ID pairs of the audio frequency apparatus is determined The audio scene answered is recording scene.Audio frequency apparatus in the corresponding multiple audio frequency apparatuses of scene of recording by debugging processing is double Mike's sound pick-up outfit, it is assumed that its ID is 0X34, then the APP and diamylose gram equipment corresponding relation is defined as into APP and set with audio Standby mapping relations, are specifically to close the mapping of the APP and ID of diamylose gram equipment corresponding relation as APP and audio frequency apparatus System, and store the mapping relations.When the APP is run, when detecting it and needing to call audio frequency apparatus, terminal device can be shielded The APP calls the demand of ID=0X04 audio frequency apparatus, but according to APP and audio frequency apparatus mapping relations, by ID=0X34 Audio frequency apparatus as the target audio equipment of the APP, the APP is called ID=0X34 audio frequency apparatus by COBBAIF. So as to, it is ensured that the APP has preferable audio frequency effect when calling audio frequency apparatus.
Optionally, in a kind of application scenarios, an APP may correspond to different audio scenes, for example, instant messaging APP is when user sends voice, correspondence recording scene, and when playing the voice that the other users received are sent, correspondence is played Scene.Therefore, the mapping relations in S205 are specially the mapping relations of instant messaging APP, audio scene and audio frequency apparatus.Table 1 For a kind of mapping table in embodiment illustrated in fig. 2.As shown in table 1, an APP may correspond to multiple audio scenes, table 1 In show APP 2 audio scenes of correspondence, audio scene correspondence at least one audio frequency apparatus.One is shown in table 1 One audio frequency apparatus of individual audio scene correspondence.
Table 1
Correspondingly, in S203, during generation mapping relations, by APP, audio scene and the audio frequency apparatus by debugging processing Corresponding relation be defined as mapping relations.
Correspondingly, when determining target audio equipment in S205:According to the field of APP COBBAIF sound intermediate frequency scene, Determine APP present video scene;According to APP present video scene and mapping relations, it is determined that corresponding with APP current scene Target audio equipment.Different fields represents different audio scenes in the field of audio scene, for example, when the field is During RECORD, it is recording scene to represent the present video scene of terminal device.The field of APP COBBAIF sound intermediate frequency scene can With the different and different of the business conducted in being run with APP.After APP present video scene is determined, from mapping Target audio equipment corresponding with APP present video scene is determined in relation.
Audio calls method provided in an embodiment of the present invention, by the way that when APP is installed, whether detection APP needs to call sound Frequency equipment, when detecting APP and needing to call audio frequency apparatus, determines APP audio scene, and audio scene is corresponding through toning The corresponding relation of the audio frequency apparatus and APP that try processing increases to mapping relations, when APP is run, and whether detection APP needs to call Audio frequency apparatus, when detecting APP and needing to call audio frequency apparatus, according to the APP and the mapping relations of audio frequency apparatus pre-set, It is determined that target audio equipment corresponding with APP, invocation target audio frequency apparatus, realize when APP is installed, determine APP and audio The mapping relations of equipment, can determine the mapping relations of APP and audio frequency apparatus according to APP audio scene, this cause it is final really The target audio equipment corresponding with APP made is audio frequency apparatus corresponding with the audio scene of the APP, so that, further protect The audio frequency effect during APP invocation target audio frequency apparatuses has been demonstrate,proved, Consumer's Experience is further increased.
Fig. 4 is the structural representation of audio frequency apparatus calling device embodiment one provided in an embodiment of the present invention.Such as Fig. 4 institutes Show, audio frequency apparatus calling device provided in an embodiment of the present invention includes:First detection module 41, the first determining module 42 and call Module 43.
First detection module 41, for when APP is run, whether detection APP to need to call audio frequency apparatus.
First determining module 42, for when detecting APP and needing to call audio frequency apparatus, according to the APP pre-set with The mapping relations of audio frequency apparatus, it is determined that target audio equipment corresponding with APP.
Wherein, the audio frequency apparatus that mapping relations include is the audio frequency apparatus by debugging processing;
Calling module 43, for invocation target audio frequency apparatus.
Audio frequency apparatus calling device provided in an embodiment of the present invention is particularly used in the audio performed in embodiment illustrated in fig. 1 Equipment calls method, its implementation process is similar with technical principle, and here is omitted.
Audio frequency apparatus calling device provided in an embodiment of the present invention, by setting first detection module, for being run in APP When, whether detection APP needs to call audio frequency apparatus, and the first determining module needs to call audio frequency apparatus for that ought detect APP When, according to the APP and the mapping relations of audio frequency apparatus pre-set, it is determined that target audio equipment corresponding with APP, calls mould Block, for calling the target audio equipment, wherein, the audio frequency apparatus that mapping relations include is that the audio by debugging processing is set It is standby, realize when it is determined that APP needs to call audio frequency apparatus, can be closed according to the APP and audio frequency apparatus pre-set mapping System, determines that an audio frequency apparatus by debugging processing, as target audio equipment, realizes what the APP was finally called for the APP Audio frequency apparatus is the audio frequency apparatus by debugging processing, it is to avoid the APP calls the audio frequency apparatus of not adapted processing and caused Audio failure, it is ensured that the APP can realize preferable audio frequency effect when calling audio frequency apparatus so that, improve user Experience.
Fig. 5 is the structural representation of audio frequency apparatus calling device embodiment two provided in an embodiment of the present invention.It is of the invention real Example is applied on the basis of embodiment illustrated in fig. 4, other modules to audio frequency apparatus calling device make a detailed description.Such as Fig. 5 institutes Show, audio frequency apparatus calling device provided in an embodiment of the present invention also includes:Second detection module 51, the second determining module 52 and increasing Plus module 53.
Second detection module 51, for when APP is installed, whether detection APP to need to call audio frequency apparatus.
Second determining module 52, for when detecting APP and needing to call audio frequency apparatus, determining APP audio scene.
Wherein, at least one audio frequency apparatus in the multiple audio frequency apparatuses of audio scene correspondence, multiple audio frequency apparatuses has been passed through Cross debugging processing.
Optionally, the audio scene in the embodiment of the present invention includes following at least one:Record scene, play scene and logical Talk about scene.
Wherein, at least two in the following audio frequency apparatus of recording scene correspondence:Main Mike's sound pick-up outfit, secondary Mike recording are set Standby, earphone headset sound pick-up outfit, diamylose gram sound pick-up outfit, noise reduction bluetooth earphone verbal system, the call of non-noise reduction bluetooth earphone are set Standby, network hand-hold verbal system, network earphone verbal system and network hands-free talking device.Scene correspondence is played with subaudio frequency At least two in equipment:Loudspeaker playback equipment, receiver playback equipment, earphone playback equipment and bluetooth playback equipment. At least two in the following audio frequency apparatus of scene of conversing correspondence:Hand-held verbal system, four-section type headset verbal system, three-stage ear Machine verbal system, hands-free talking device, noise reduction bluetooth earphone verbal system and non-noise reduction bluetooth earphone verbal system.
Second determining module 52 specifically for:When detecting APP and there is COBBAIF, the corresponding sound of COBBAIF is determined The mark of frequency equipment;According to the mark of audio frequency apparatus and the mapping relations of audio scene, it is determined that corresponding with the mark of audio frequency apparatus Audio scene.Wherein, the audio scene that the corresponding audio scene of mark of audio frequency apparatus is APP.
Increase module 53, for the corresponding process of audio scene to be debugged into the audio frequency apparatus of processing and APP corresponding relation Increase to mapping relations.
Optionally, in the embodiment of the present invention, mapping relations are specially the mapping relations of APP, audio scene and audio frequency apparatus. Then, the first determining module 42 specifically for:According to the field of APP COBBAIF sound intermediate frequency scene, APP present video is determined Scene;According to APP present video scene and mapping relations, it is determined that target audio corresponding with APP present video scene is set It is standby.
Audio frequency apparatus calling device provided in an embodiment of the present invention is particularly used in the audio performed in embodiment illustrated in fig. 2 Equipment calls method, its implementation process is similar with technical principle, and here is omitted.
Audio calls device provided in an embodiment of the present invention, by setting the second detection module, for when APP is installed, Whether detection APP needs to call audio frequency apparatus, the second determining module, for when detecting APP and needing to call audio frequency apparatus, really Determine APP audio scene, increase module, for the corresponding process of audio scene to be debugged into the audio frequency apparatus of processing and APP pair It should be related to and increase to mapping relations, when APP is run, whether detection APP needs to call audio frequency apparatus, when detecting APP needs When calling audio frequency apparatus, according to the APP and the mapping relations of audio frequency apparatus pre-set, it is determined that target audio corresponding with APP Equipment, invocation target audio frequency apparatus realizes when APP is installed, determines the mapping relations of APP and audio frequency apparatus, can basis APP audio scene, determines the mapping relations of APP and audio frequency apparatus, and this causes the target sound corresponding with APP finally determined Frequency equipment is audio frequency apparatus corresponding with the audio scene of the APP, so that, further ensure the APP invocation target audios and set Audio frequency effect when standby, further increases Consumer's Experience.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to The related hardware of programmed instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journey Sequence upon execution, performs the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to The technical scheme described in foregoing embodiments can so be modified, or which part or all technical characteristic are entered Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology The scope of scheme.

Claims (10)

1. a kind of audio frequency apparatus call method, it is characterised in that including:
When application APP is run, detect whether the APP needs to call audio frequency apparatus;
When detecting the APP and needing to call audio frequency apparatus, according to the APP and the mapping relations of audio frequency apparatus pre-set, It is determined that target audio equipment corresponding with the APP, wherein, the audio frequency apparatus that the mapping relations include is by debugging The audio frequency apparatus of reason;
Call the target audio equipment.
2. according to the method described in claim 1, it is characterised in that when APP is run, detect whether the APP needs to call Before audio frequency apparatus, methods described also includes:
When the APP is installed, detect whether the APP needs to call audio frequency apparatus;
When detecting the APP and needing to call audio frequency apparatus, the audio scene of the APP is determined;Wherein, the audio scene At least one audio frequency apparatus in the multiple audio frequency apparatuses of correspondence, the multiple audio frequency apparatus passes through debugging processing;
The corresponding relation of the corresponding audio frequency apparatus by debugging processing of the audio scene and the APP is increased into described reflect Penetrate relation.
3. method according to claim 2, it is characterised in that the audio scene includes following at least one:Recording field Scape, broadcasting scene and call scene;
Wherein, at least two in the following audio frequency apparatus of the recording scene correspondence:Main Mike's sound pick-up outfit, secondary Mike recording are set Standby, earphone headset sound pick-up outfit, diamylose gram sound pick-up outfit, noise reduction bluetooth earphone verbal system, the call of non-noise reduction bluetooth earphone are set Standby, network hand-hold verbal system, network earphone verbal system and network hands-free talking device;
At least two in the following audio frequency apparatus of the broadcasting scene correspondence:Loudspeaker playback equipment, receiver playback equipment, ear Machine playback equipment and bluetooth playback equipment;
At least two in the following audio frequency apparatus of the call scene correspondence:Hand-held verbal system, four-section type headset verbal system, Three-section earphone verbal system, hands-free talking device, noise reduction bluetooth earphone verbal system and the call of non-noise reduction bluetooth earphone are set It is standby.
4. according to the method in claim 2 or 3, it is characterised in that described to need to call audio to set when detecting the APP When standby, the audio scene of the APP is determined, including:
When detecting the APP and there is COBBAIF, the mark of the corresponding audio frequency apparatus of the COBBAIF is determined;
According to the mark of audio frequency apparatus and the mapping relations of audio scene, it is determined that audio corresponding with the mark of the audio frequency apparatus Scene, wherein, the audio scene that the corresponding audio scene of mark of the audio frequency apparatus is the APP.
5. according to the method in claim 2 or 3, it is characterised in that the mapping relations be specially APP, audio scene and The mapping relations of audio frequency apparatus;
APP and the mapping relations of audio frequency apparatus that the basis is pre-set, it is determined that target audio corresponding with the APP is set It is standby, including:
According to the field of the COBBAIF sound intermediate frequency scene of the APP, the present video scene of the APP is determined;
According to the present video scene of the APP and the mapping relations, it is determined that corresponding with the present video scene of the APP Target audio equipment.
6. a kind of audio frequency apparatus calling device, it is characterised in that including:
First detection module, for when application APP is run, detecting whether the APP needs to call audio frequency apparatus;
First determining module, for when detecting the APP and needing to call audio frequency apparatus, according to the APP and sound pre-set The mapping relations of frequency equipment, it is determined that target audio equipment corresponding with the APP, wherein, the sound that the mapping relations include Frequency equipment is the audio frequency apparatus by debugging processing;
Calling module, for calling the target audio equipment.
7. device according to claim 6, it is characterised in that described device also includes:
Second detection module, for when the APP is installed, detecting whether the APP needs to call audio frequency apparatus;
Second determining module, for when detecting the APP and needing to call audio frequency apparatus, determining the audio scene of the APP; Wherein, at least one audio frequency apparatus in the multiple audio frequency apparatuses of the audio scene correspondence, the multiple audio frequency apparatus has been passed through Cross debugging processing;
Increase module, for by the audio scene it is corresponding through debugging processing audio frequency apparatus it is corresponding with the APP pass System increases to the mapping relations.
8. device according to claim 7, it is characterised in that the audio scene includes following at least one:Recording field Scape, broadcasting scene and call scene;
Wherein, at least two in the following audio frequency apparatus of the recording scene correspondence:Main Mike's sound pick-up outfit, secondary Mike recording are set Standby, earphone headset sound pick-up outfit, diamylose gram sound pick-up outfit, noise reduction bluetooth earphone verbal system, the call of non-noise reduction bluetooth earphone are set Standby, network hand-hold verbal system, network earphone verbal system and network hands-free talking device;
At least two in the following audio frequency apparatus of the broadcasting scene correspondence:Loudspeaker playback equipment, receiver playback equipment, ear Machine playback equipment and bluetooth playback equipment;
At least two in the following audio frequency apparatus of the call scene correspondence:Hand-held verbal system, four-section type headset verbal system, Three-section earphone verbal system, hands-free talking device, noise reduction bluetooth earphone verbal system and the call of non-noise reduction bluetooth earphone are set It is standby.
9. the device according to claim 7 or 8, it is characterised in that second determining module specifically for:
When detecting the APP and there is COBBAIF, the mark of the corresponding audio frequency apparatus of the COBBAIF is determined;
According to the mark of audio frequency apparatus and the mapping relations of audio scene, it is determined that audio corresponding with the mark of the audio frequency apparatus Scene, wherein, the audio scene that the corresponding audio scene of mark of the audio frequency apparatus is the APP.
10. the device according to claim 7 or 8, it is characterised in that the mapping relations be specially APP, audio scene and The mapping relations of audio frequency apparatus;
First determining module specifically for:
According to the field of the COBBAIF sound intermediate frequency scene of the APP, the present video scene of the APP is determined;
According to the present video scene of the APP and the mapping relations, it is determined that corresponding with the present video scene of the APP Target audio equipment.
CN201710582735.3A 2017-07-17 2017-07-17 Audio device calling method and device Active CN107277693B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710582735.3A CN107277693B (en) 2017-07-17 2017-07-17 Audio device calling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710582735.3A CN107277693B (en) 2017-07-17 2017-07-17 Audio device calling method and device

Publications (2)

Publication Number Publication Date
CN107277693A true CN107277693A (en) 2017-10-20
CN107277693B CN107277693B (en) 2020-03-17

Family

ID=60072874

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710582735.3A Active CN107277693B (en) 2017-07-17 2017-07-17 Audio device calling method and device

Country Status (1)

Country Link
CN (1) CN107277693B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090103902A1 (en) * 2006-03-24 2009-04-23 Matsushita Electric Industrial Co., Ltd. Reproduction device, debug device, system lsi, and program
US20090228873A1 (en) * 2008-03-04 2009-09-10 Drukman Maxwell O Display breakpointing based on user interface events
US8949128B2 (en) * 2010-02-12 2015-02-03 Nuance Communications, Inc. Method and apparatus for providing speech output for speech-enabled applications
CN105630586A (en) * 2014-10-30 2016-06-01 联想(北京)有限公司 Information processing method and electronic device
CN105657154A (en) * 2015-10-30 2016-06-08 东莞酷派软件技术有限公司 Method and device for selecting audio channel and terminal
CN106131753A (en) * 2016-06-28 2016-11-16 乐视控股(北京)有限公司 Audio output control method, device and terminal
CN106302997A (en) * 2016-07-29 2017-01-04 联想(北京)有限公司 A kind of output control method, electronic equipment and system
CN106406803A (en) * 2016-08-31 2017-02-15 青岛海信移动通信技术股份有限公司 Volume control method and device of terminal application
CN106775562A (en) * 2016-12-09 2017-05-31 奇酷互联网络科技(深圳)有限公司 The method and device of audio frequency parameter treatment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090103902A1 (en) * 2006-03-24 2009-04-23 Matsushita Electric Industrial Co., Ltd. Reproduction device, debug device, system lsi, and program
US20090228873A1 (en) * 2008-03-04 2009-09-10 Drukman Maxwell O Display breakpointing based on user interface events
US8949128B2 (en) * 2010-02-12 2015-02-03 Nuance Communications, Inc. Method and apparatus for providing speech output for speech-enabled applications
CN105630586A (en) * 2014-10-30 2016-06-01 联想(北京)有限公司 Information processing method and electronic device
CN105657154A (en) * 2015-10-30 2016-06-08 东莞酷派软件技术有限公司 Method and device for selecting audio channel and terminal
CN106131753A (en) * 2016-06-28 2016-11-16 乐视控股(北京)有限公司 Audio output control method, device and terminal
CN106302997A (en) * 2016-07-29 2017-01-04 联想(北京)有限公司 A kind of output control method, electronic equipment and system
CN106406803A (en) * 2016-08-31 2017-02-15 青岛海信移动通信技术股份有限公司 Volume control method and device of terminal application
CN106775562A (en) * 2016-12-09 2017-05-31 奇酷互联网络科技(深圳)有限公司 The method and device of audio frequency parameter treatment

Also Published As

Publication number Publication date
CN107277693B (en) 2020-03-17

Similar Documents

Publication Publication Date Title
CN101467133B (en) Mirroring of activity between electronic devices
CN108564966B (en) Voice test method and device with storage function
US10149089B1 (en) Remote personalization of audio
US10949162B2 (en) Method for multi-channel recording based on android system and audio system
KR101528367B1 (en) Sound control system and method as the same
KR20160090330A (en) Controlling voice composition in a conference
CN108428175A (en) A kind of big data analysis method and system based on consumer record
CN103327021A (en) Method, devices and system of multi-device interaction
CN102752704A (en) Sound information processing method and terminal
CN109947387A (en) Audio collection method, audio frequency playing method, system, equipment and storage medium
CN106776039A (en) A kind of data processing method and device
CN103513954A (en) Method and system for realizing support of USB wireless audio equipment
WO2020147522A1 (en) Method and device for processing audio
US10469975B2 (en) Personalization of spatial audio for streaming platforms
CN112053699A (en) Method and device for processing game card voice change
CN112529585A (en) Interactive awakening method, device, equipment and system for risk transaction
CN106970813A (en) Software updating control method, device and electronic equipment
CN107277693A (en) Audio frequency apparatus call method and device
CN111736795A (en) Audio processing method, device, equipment and storage medium
CN105657632A (en) Audio test method and system and terminal
WO2021142720A1 (en) Method for providing sandboxed environment in android system to protect user privacy
CN104469250A (en) Information processing method and electronic devices
CN110113494B (en) Recording method and related device
CN106131355A (en) A kind of sound playing method and device
CN106331356A (en) Volume control method and terminal

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.