CN108924361B - Audio playing and acquisition control method, system and computer readable storage medium - Google Patents

Audio playing and acquisition control method, system and computer readable storage medium Download PDF

Info

Publication number
CN108924361B
CN108924361B CN201810753242.6A CN201810753242A CN108924361B CN 108924361 B CN108924361 B CN 108924361B CN 201810753242 A CN201810753242 A CN 201810753242A CN 108924361 B CN108924361 B CN 108924361B
Authority
CN
China
Prior art keywords
audio
intelligent terminal
bluetooth
voice
application program
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.)
Active
Application number
CN201810753242.6A
Other languages
Chinese (zh)
Other versions
CN108924361A (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.)
Shenzhen Mygt Co ltd
Original Assignee
Nanchang Black Shark 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 Nanchang Black Shark Technology Co Ltd filed Critical Nanchang Black Shark Technology Co Ltd
Priority to CN201810753242.6A priority Critical patent/CN108924361B/en
Priority to PCT/CN2018/112739 priority patent/WO2020010755A1/en
Publication of CN108924361A publication Critical patent/CN108924361A/en
Application granted granted Critical
Publication of CN108924361B publication Critical patent/CN108924361B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • 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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files

Abstract

The invention provides an audio playing and collecting control method, an audio playing and collecting control system and a computer readable storage medium. The audio playing and collecting control method comprises the following steps: s100: the Bluetooth audio equipment establishes Bluetooth connection with an intelligent terminal; s200: identifying a use scene of the intelligent terminal; s300: when the use scene is that a specified application program is activated, adjusting the audio playing mode of the intelligent terminal to be a tone quality enhancement mode; s400: the intelligent terminal cancels data transmission with the Bluetooth audio equipment through a voice audio channel; s500: when the appointed application program requests to acquire the voice audio, the intelligent terminal acquires the voice audio and the Bluetooth audio equipment plays the sound audio in the appointed application program. After the technical scheme is adopted, a user can obtain better audio quality when carrying out multi-user interaction, and the user experience is improved.

Description

Audio playing and acquisition control method, system and computer readable storage medium
Technical Field
The present invention relates to the field of audio playing control, and in particular, to an audio playing and acquisition control method, system, and computer-readable storage medium.
Background
Along with the rapid development of the intelligent terminal, the integration requirement of the user on the intelligent terminal is also increased more and more. At present, the intelligent terminal bears various requirements of users such as photographing, entertainment, sports, office and the like. And along with internet of things's progressively advanced, when carrying out above-mentioned demand, the cooperation has dedicated wireless external device usually, like strengthening the shooting module of shooting effect and focus, the handle module of supplementary user's operation for play audio frequency's audio equipment etc.. Even many users can carry out multinomial operation simultaneously, for example when using intelligent terminal amusement operation, even use handle module control, have the use like audio equipment broadcast sound such as earphone, stereo set and with other people interactive pronunciation.
Because in the entertaining operation, in order to get rid of the cable constraint and obtain better tone quality, many users can use the bluetooth headset connected with the bluetooth of the intelligent terminal. When a multi-player cooperative game is operated, the Bluetooth headset is required to play sound at the same time, and the voice of the conversation of the teammates is collected. In the process of voice playing, a bluetooth call may use HFP (portable-free Profile protocol), which allows a bluetooth device to control a phone call, such as answering, hanging up, rejecting, voice dialing, etc., and is performed through an SCO link (connection oriented, one of bluetooth baseband technologies), but since the bluetooth call can only provide 8K or 16K sampling rate and mono audio, the function of the bluetooth call will also affect the audio tone quality when playing the audio, i.e., will play 8K or 16K sampling rate and mono audio, so that a user cannot experience the audio of a dual channel while playing a game, in some game applications, the enemy direction cannot be distinguished through the left and right channels, the tone quality of background sound is also poor, and the user experience is poor.
Therefore, a new control method for audio playing and capturing is needed, which can play audio with high quality when ensuring normal voice call of the user.
Disclosure of Invention
In order to overcome the technical defects, the present invention provides an audio playing and collecting control method, system and computer readable storage medium, so that a user can obtain better audio quality and improve the user experience when performing multi-user interaction.
The invention discloses an audio playing and acquisition control method, which comprises the following steps:
s100: the Bluetooth audio equipment establishes Bluetooth connection with an intelligent terminal;
s200: identifying a use scene of the intelligent terminal;
s300: when the use scene is that a specified application program is activated, adjusting the audio playing mode of the intelligent terminal to be a tone quality enhancement mode;
s400: the intelligent terminal cancels data transmission with the Bluetooth audio equipment through a voice audio channel;
s500: and when the appointed application program requests to acquire voice audio, the intelligent terminal acquires the voice audio and the Bluetooth audio equipment plays the voice audio in the appointed application program.
Preferably, the step S200 of identifying the usage scenario of the smart terminal includes:
s210: identifying the package name of the application program operated by the intelligent terminal;
s220: and switching the Bluetooth audio equipment to an audio playing state.
Preferably, when the usage scenario is that a specific application is activated, the step S300 of adjusting the audio playing mode of the intelligent terminal to the sound quality enhancement mode includes:
s310: inquiring whether the intelligent terminal starts a tone quality enhancement mode or not;
s320: and when the intelligent terminal starts a tone quality enhancement mode, setting the audio enhancement attribute in the system of the intelligent terminal to true.
Preferably, the step S400 of the intelligent terminal canceling data transmission with the bluetooth audio device through a voice audio path includes:
s410: reading an attribute value of the audio enhancement attribute;
s420: acquiring a device connection list displaying current Bluetooth connection in the intelligent terminal;
s430: and issuing a control instruction to disconnect the voice audio channel between the Bluetooth audio equipment and the intelligent terminal or disable the voice audio channel of the Bluetooth audio equipment.
Preferably, when the specified application requests to acquire a voice audio, the step S500 of acquiring the voice audio by the intelligent terminal and playing the sound audio in the specified application by the bluetooth audio device includes:
s510: the appointed application program requests to acquire voice audio;
s520: judging the state of the voice audio channel;
s530: and when the voice audio channel is in a disconnected state, the intelligent terminal calls a microphone device to collect voice audio.
Preferably, the step S500 further includes:
s540: the intelligent terminal reads the audio enhancement attribute in the system;
s550: modifying the in-system audio output device value to an A2DP output;
s560: the bluetooth audio device plays the sound audio through A2 DP.
The invention also discloses an audio playing and collecting system, which comprises the Bluetooth audio equipment and the intelligent terminal which are connected by the Bluetooth, wherein the intelligent terminal activates a specified application program, adjusts the audio playing mode to the tone quality enhancement mode, and disconnects the voice audio channel with the Bluetooth audio equipment;
and the Bluetooth audio plays the sound audio of the appointed application program, and the intelligent terminal collects the voice audio which is correspondingly collected by the request instruction sent by the appointed application program.
Preferably, the intelligent terminal sets the audio enhancement attribute in the system to true.
Preferably, the intelligent terminal obtains a device connection list of the current bluetooth connection, and modifies the audio output device value in the system to be A2DP output, so that the bluetooth audio device plays the audio through A2 DP.
The invention also discloses a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps as described above.
After the technical scheme is adopted, compared with the prior art, the method has the following beneficial effects:
1. by detecting the current scene of the intelligent terminal, the nodes using the control method can be intelligently adjusted, and the user experience is not influenced;
2. the audio quality played when the user uses the entertainment application program and makes a call is improved, and the experience of the user in using the entertainment application program is improved;
3. the adaptive capacity is strong, and the intelligent terminal is applicable to intelligent terminals of different manufacturers and different models.
Drawings
FIG. 1 is a flow chart illustrating an audio playing and capturing control method according to a preferred embodiment of the present invention;
FIG. 2 is a flow chart illustrating the step S400 of the audio playing and capturing control method according to a preferred embodiment of the present invention;
FIG. 3 is a flowchart illustrating the step S500 of the audio playing and capturing control method according to a preferred embodiment of the present invention;
fig. 4 is a flowchart illustrating the step S500 of the audio playing and capturing control method according to a further preferred embodiment of the present invention.
Fig. 5 is a schematic diagram of a system architecture of an audio playing and capturing system according to a preferred embodiment of the present invention.
Detailed Description
The advantages of the invention are further illustrated in the following description of specific embodiments in conjunction with the accompanying drawings.
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In the description of the present invention, it is to be understood that the terms "longitudinal", "lateral", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on those shown in the drawings, and are used merely for convenience of description and for simplicity of description, and do not indicate or imply that the referenced devices or elements must have a particular orientation, be constructed in a particular orientation, and be operated, and thus, are not to be construed as limiting the present invention.
In the description of the present invention, unless otherwise specified and limited, it is to be noted that the terms "mounted," "connected," and "connected" are to be interpreted broadly, and may be, for example, a mechanical connection or an electrical connection, a communication between two elements, a direct connection, or an indirect connection via an intermediate medium, and specific meanings of the terms may be understood by those skilled in the art according to specific situations.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
Referring to fig. 1, a schematic flow chart of an audio playing and collecting control method according to a preferred embodiment of the present invention is shown, in this embodiment, in order to ensure that a user does not reduce the quality of the played audio due to the requirement of voice call in the process of playing audio and voice call by using bluetooth audio devices such as bluetooth earphones and bluetooth speakers, the two functions of the bluetooth audio devices are separated, that is, the audio playing is still completed by the bluetooth audio devices, and the voice call is delivered to an intelligent terminal that can still be independently completed without using the bluetooth audio devices. Specifically, the following steps are performed:
s100: the Bluetooth audio equipment establishes Bluetooth connection with an intelligent terminal;
and establishing Bluetooth connection between a Bluetooth audio device and the intelligent terminal. The method can be realized by the steps of activating the Bluetooth function of the Bluetooth audio equipment, searching the Bluetooth audio equipment by the intelligent terminal and passing the verification. It is understood that the bluetooth audio device in this embodiment may be various types of bluetooth audio devices, such as a split bluetooth headset, a neck-hanging bluetooth headset, a single-ear bluetooth headset, an ear-hanging bluetooth headset, a bluetooth speaker, an in-vehicle bluetooth device, and the like.
S200: identifying a use scene of the intelligent terminal;
after the Bluetooth audio equipment is connected with the intelligent terminal, the current use state and the use scene of the intelligent terminal are identified. For example, the intelligent terminal currently belongs to a standby state, starts an audio playing application program, starts an application program which simultaneously uses audio playing and voice collecting functions, starts a character reading application program and the like, and runs which application programs in a foreground. In addition, the state of the Bluetooth audio device connected with the intelligent terminal is detected, such as whether the Bluetooth audio device is activated or not, whether the Bluetooth audio device is in a standby state or not, and the like.
S300: when the use scene is that a specified application program is activated, adjusting the audio playing mode of the intelligent terminal to be a tone quality enhancement mode;
a list is preset in the intelligent terminal, and the application programs stored in the list are designated application programs, that is, when the designated application programs are activated and run (such as foreground running and background running), the two functions of audio playing and audio acquisition are separated. It can be understood that the setting of the designated application program can control the selectivity of the audio playing and collecting control in the embodiment of the present invention, and when the user only uses the audio playing function, the two functions need not to be separated, and the bluetooth audio device function can execute the two functions. The control method of the embodiment is used only when a user needs to run an application program, the application program simultaneously outputs voice audio to the user, and needs to collect the voice audio of the user. Therefore, the designated application may be a game application requiring multi-person cooperation, a social application requiring multi-person interaction, an entertainment application related to audio, or the like. By setting the appointed application program, the method can prevent the disorder of voice acquisition and voice output when the user opens the application program which does not need to be configured, and avoid the occurrence of operation which does not accord with the use habit of the user.
The preset of the appointed application program can be prestored in the intelligent terminal by a manufacturer of the intelligent terminal according to a division standard, or a user requests to download the preset application program from a server storing a list of the appointed application program, and the preset application program can also be manually added into the intelligent terminal so as to form a list of the customized appointed application program which meets the requirements of the user.
If the use scene of the intelligent terminal is identified as the activated specified application program, the audio playing mode of the intelligent terminal is switched to the sound quality enhancement mode, namely, the output of high sound quality is automatically reserved for the user. It can be understood that the sound quality enhancement mode is only a name, and is not a limitation on the operation mode of the intelligent terminal. In some embodiments, even if the intelligent terminal does not have a named sound quality enhancement mode, the operation state and operation result of the intelligent terminal after the execution of the subsequent steps are considered as that the intelligent terminal enters into a sound quality enhancement mode.
S400: the intelligent terminal cancels data transmission with the Bluetooth audio equipment through a voice audio channel;
after the intelligent terminal is adjusted to the tone quality enhancement mode, firstly, the intelligent terminal cancels the data transmission of the Bluetooth audio equipment through the voice audio channel by disconnecting the voice audio channel of the Bluetooth audio equipment or forbidding the Bluetooth connection of the voice audio channel of the Bluetooth audio equipment. Since it is common for a smart terminal to have all audio-related functions performed by a bluetooth audio device once it is connected to some bluetooth audio device. In this step, by disconnecting or disabling the voice audio path, the user may not transmit the bluetooth audio to the smart terminal based on the bluetooth protocol due to the disconnection or disabling of the voice audio path even though the bluetooth audio is collected, to the voice message (such as speaking into the microphone of the bluetooth audio device) sent by the bluetooth audio device. By the mode, the voice call of the Bluetooth audio equipment is forbidden, and after the function is closed, the sound audio playing function of the Bluetooth audio equipment is reserved. Meanwhile, the Bluetooth audio equipment does not have a trigger mechanism even when the voice call function of the Bluetooth audio equipment is closed, and the sampling rate and the sound channel of the played sound audio are reduced to the low level required by the voice call.
After the Bluetooth audio equipment is connected with the intelligent terminal and the voice audio channel is disconnected, the Bluetooth audio equipment is still normally displayed on the intelligent terminal, and the connection is still displayed on the Bluetooth audio equipment side. That is, for the user, the use experience is not different from the normal operation, and the use habit of the user is met.
S500: when the appointed application program requests to acquire the voice audio, the intelligent terminal acquires the voice audio and the Bluetooth audio equipment plays the sound audio in the appointed application program.
In the process of running the designated application program, if the designated application program sends a request instruction to the intelligent terminal, the request calls hardware on the intelligent terminal or calls equipment connected with the intelligent terminal, so that when voice audio sent by a user to the intelligent terminal is collected, the intelligent terminal collects the voice audio according to the instruction, and in step S400, a voice audio channel of the bluetooth audio equipment connected with the intelligent terminal is cut off, only the voice audio is collected through a microphone of the intelligent terminal, and the bluetooth audio equipment is used as a medium for playing the voice audio and outputs sound generated in the designated application program to the user. Therefore, when the Bluetooth audio equipment outputs the sound audio, the audio channel is not occupied by the voice audio, the sampling rate and the sound channel selection are not needed to be reduced, the Bluetooth audio equipment is only used as an external playing device capable of playing sound, and the quality of the sound audio received by a user is ensured. And after the voice audio is collected by the intelligent terminal, the intelligent terminal sends the voice signal to other cooperative users through the appointed application program for the other users to receive.
Through the configuration, if the user starts a non-specified application program, such as a social application program (voice message) with low requirement on received sound and audio, a call, and the like, the Bluetooth audio device can be used as a device for playing the sound and audio and collecting the sound and audio at the same time, so that the normal use of the user is ensured. If the user starts the designated application program, the user needs to be over against the intelligent terminal and be close to the intelligent terminal when the designated application program is used, so that the rule can be utilized to ensure that the intelligent terminal can acquire voice and audio without interference, and the use experience of the user can not be reduced.
In a preferred embodiment, the step S200 of identifying the usage scenario of the smart terminal includes:
s210: identifying the package name of an application program operated by the intelligent terminal;
for the judgment and identification of the current use scene of the intelligent terminal, the package name of the currently running application program can be detected firstly. Considering that even an application program running in the background may need to acquire voice audio and play sound audio, the currently running application program may not be distinguished to run in the foreground or the background of the intelligent terminal. By detecting the package name of the application, i.e., detecting the name of the application, the condition of the application that is actually running can be determined.
S220: and switching the Bluetooth audio equipment to an audio playing state.
Then, the status of the heartbeat profile of the bluetooth audio device can be detected, that is, whether the bluetooth audio device is connected and then used as a device for audio output, rather than as an operating device or the like. When the bluetooth audio equipment is not in the audio output state, the bluetooth audio equipment is also switched to the audio playing state for realizing the subsequent steps.
In another preferred embodiment, step S300 includes:
s310: inquiring whether the intelligent terminal starts a tone quality enhancement mode or not;
after the preparation is completed based on step S200, it is required to query whether the intelligent terminal starts the sound quality enhancement mode, that is, whether the user allows activating the audio playing and collecting control mode of the present invention. Through the configuration of the step, the user can selectively turn on or off the control mode of the invention according to own preference.
S320: and when the intelligent terminal starts the tone quality enhancement mode, setting the audio enhancement attribute in the system of the intelligent terminal to true.
After the user agrees to start the voice quality enhancement mode for the operation of the intelligent terminal, that is, a policy for performing voice quality enhancement is required, the audio enhancement property of an operating system (simply referred to as "system") installed in the intelligent terminal may be: the attribute is set to true, i.e., the attribute is activated. It will be appreciated that if the audio enhancement attribute is not activated, the attribute is false.
If the operating system installed in the intelligent terminal does not have the audio enhancement attribute, the operating system can be added in the intelligent terminal by a manufacturer of the intelligent terminal, or an updated version of the system is provided, and the operating system is downloaded remotely and installed and then added.
Referring to fig. 2, in a further preferred embodiment, step S400 includes:
s410: reading the attribute of the audio enhancement attribute;
the above-mentioned audio enhancement attribute will always belong to either true or false state depending on whether the user needs to perform the psycho-acoustic enhancement mode. When detecting that the user has activated a specific application program, or activated a specific application program and the specific application program requests to collect voice audio, the audio enhancement property is read: the state of the sound-quality enhancement determines whether the user receives the sound quality enhancement.
S420: acquiring an equipment connection list displaying current Bluetooth connection in the intelligent terminal;
and confirming that the audio enhancement attribute is true, acquiring a connection list of all devices connected with the intelligent terminal in Bluetooth at the current time through getConnectDevices () in a Bluetooth headset in the system, wherein the connection list comprises the name ID, the physical address, the signal strength and the like of the devices. Whereas if the audio enhancement attribute is false, subsequent parameters will not be modified.
S430: and issuing a control instruction to disconnect the voice audio channel of the Bluetooth audio equipment and the intelligent terminal or disable the voice audio channel of the Bluetooth audio equipment.
In this step, for the bluetooth audio device used for audio playing and acquisition, a control instruction is issued to the bluetooth audio device or the intelligent terminal itself in the form of disconnect () of bluetooth headset, so as to disconnect or disable the voice audio path. At this time, the bluetooth audio device is only available for "media audio", that is, the user side can receive the audio, and the conversation function is disabled.
In another preferred or alternative embodiment, referring to fig. 3, step S500 comprises:
s510: appointing an application program to request to acquire voice audio;
s520: judging the state of a voice audio channel;
s530: when the voice audio channel is in a disconnected state, the intelligent terminal calls the microphone device to collect voice audio.
And the specified application program sends a request instruction for acquiring voice audio to the intelligent terminal, and the request instruction is issued by a user for operating the specified application program, such as clicking a voice icon. Since the voice audio path is disabled in step S400, when the designated application detects that only its own device is available for collection on the smart terminal, the request instruction is actually a request to call the microphone and speaker of the smart terminal. Therefore, the intelligent terminal directly uses the microphone device to collect voice audio, that is, in this state, the microphone device of the intelligent terminal is an audio uplink device, and the speaker device of the intelligent terminal is an audio downlink device.
Further, referring to fig. 4, step S500 further includes:
s540: the intelligent terminal reads the audio enhancement attribute in the system;
s550: modifying the in-system audio output device value to an A2DP output;
s560: the bluetooth audio device plays audio sound through A2 DP.
At this time, since the user is carrying the bluetooth audio DEVICE, when the application program is designated to call the speaker DEVICE as a downstream DEVICE, the intelligent terminal is read to read the audio enhancement attribute of ro, p, blue, audio _ enhance in the system, if the attribute is set to true by the user, the select _ DEVICEs () function in the system installed in the intelligent terminal is modified, the audio output DEVICE value output _ DEVICE in the intelligent terminal is changed to SND _ DEVICE _ OUT _ BT _ A2DP, that is, the audio output is required to be changed to a protocol based on A2DP, and the audio is played through the bluetooth audio DEVICE, so that the downstream path of the audio is finally output through the bluetooth audio DEVICE of A2DP, and the upstream path is through the microphone DEVICE of the intelligent terminal itself. A2DP is an advanced digital distribution profile Bluetooth audio transmission model protocol, based on which, the output audio is stereo audio, and the sampling rate of the sound can reach 44.1kHz to improve the sound quality.
Referring to fig. 5, the invention also discloses an audio playing and collecting system, comprising a bluetooth audio device and an intelligent terminal connected with the bluetooth, wherein the intelligent terminal automatically or according to the operation of the user adjusts the audio playing mode to the sound quality enhancement mode and disconnects the voice audio channel with the bluetooth audio device when activating a designated application program; the Bluetooth audio equipment plays the sound audio of the appointed application program, and the intelligent terminal collects the sound audio which is sent by the appointed application program and corresponds to the collected request instruction. That is to say, intelligent terminal undertakes the task of gathering the pronunciation audio frequency, and the output of sound audio frequency is accomplished by bluetooth audio equipment, and two passageway audio frequency separation and independent back will have respective sampling rate, have guaranteed the high quality of sound audio frequency.
Further, the intelligent terminal sets the audio enhancement attribute in the system to true. And when the uplink and downlink paths of the audio are adjusted, the intelligent terminal acquires the equipment connection list connected with the current Bluetooth, and modifies the value of audio output equipment in the system to be A2DP for output, so that the Bluetooth audio equipment plays the audio through A2 DP.
The invention also discloses a computer readable storage medium, which stores the computer program and is installed in the intelligent terminal or integrated in the operating system installed in the intelligent terminal. When executed by a processor, the computer program of the computer-readable storage medium implements the steps described above, so as to implement the control method in the embodiment of the present invention when any intelligent terminal is connected to any bluetooth audio device.
The smart terminal may be implemented in various forms. For example, the terminal described in the present invention may include an intelligent terminal such as a mobile phone, a smart phone, a notebook computer, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, etc., and a fixed terminal such as a digital TV, a desktop computer, etc. In the following, it is assumed that the terminal is a smart terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
It should be noted that the embodiments of the present invention have been described in terms of preferred embodiments, and not by way of limitation, and that those skilled in the art can make modifications and variations of the embodiments described above without departing from the spirit of the invention.

Claims (10)

1. An audio playing and acquisition control method is characterized by comprising the following steps:
s100: the Bluetooth audio equipment establishes Bluetooth connection with an intelligent terminal;
s200: identifying a use scene of the intelligent terminal;
s300: when the use scene is that a specified application program is activated, adjusting the audio playing mode of the intelligent terminal to be a tone quality enhancement mode;
s400: the intelligent terminal cancels data transmission with the Bluetooth audio equipment through a voice audio channel, and avoids reducing the sampling rate and the sound channel of the played voice audio to the low level required by the voice call;
s500: and when the appointed application program requests to acquire voice audio, the intelligent terminal acquires the voice audio and the Bluetooth audio equipment plays the voice audio in the appointed application program.
2. The audio playback and acquisition control method of claim 1,
the step S200 of identifying the usage scenario of the smart terminal includes:
s210: identifying the package name of the application program operated by the intelligent terminal;
s220: and switching the Bluetooth audio equipment to an audio playing state.
3. The audio playback and acquisition control method of claim 1,
when the usage scenario is that a specific application program is activated, the step S300 of adjusting the audio playing mode of the intelligent terminal to the sound quality enhancement mode includes:
s310: inquiring whether the intelligent terminal starts a tone quality enhancement mode or not;
s320: and when the intelligent terminal starts a tone quality enhancement mode, setting the audio enhancement attribute in the system of the intelligent terminal to true.
4. The audio playback and acquisition control method of claim 3,
the step S400 of the intelligent terminal canceling the data transmission with the bluetooth audio device through the voice audio path includes:
s410: reading an attribute value of the audio enhancement attribute;
s420: acquiring a device connection list of current Bluetooth connection in the intelligent terminal;
s430: and issuing a control instruction to disconnect the voice audio channel between the Bluetooth audio equipment and the intelligent terminal or disable the voice audio channel of the Bluetooth audio equipment.
5. The audio playback and acquisition control method of claim 1,
when the specified application program requests to acquire a voice audio, the step S500 of acquiring the voice audio by the intelligent terminal and playing the voice audio in the specified application program by the bluetooth audio device includes:
s510: the appointed application program requests to acquire voice audio;
s520: judging the state of the voice audio channel;
s530: and when the voice audio channel is in a disconnected state, the intelligent terminal calls a microphone device to collect voice audio.
6. The audio playback and acquisition control method of claim 5,
the step S500 further includes:
s540: the intelligent terminal reads the audio enhancement attribute in the system;
s550: modifying the in-system audio output device value to an A2DP output;
s560: the bluetooth audio device plays the sound audio through A2 DP.
7. An audio playing and collecting system comprises Bluetooth audio equipment and an intelligent terminal which are connected by Bluetooth, and is characterized in that the intelligent terminal activates a designated application program, adjusts an audio playing mode to a tone quality enhancement mode, and disconnects a voice audio channel with the Bluetooth audio equipment to avoid reducing the sampling rate and the sound channel of the played voice audio to the low level required by voice communication;
and the Bluetooth audio equipment plays the sound audio of the appointed application program, and the intelligent terminal collects the voice audio which is correspondingly collected by the request instruction sent by the appointed application program.
8. The audio playback and capture system of claim 7,
and the intelligent terminal sets the audio enhancement attribute in the system to true.
9. The audio playback and capture system of claim 8,
and the intelligent terminal acquires the equipment connection list connected with the current Bluetooth and modifies the value of the audio output equipment in the system to be A2DP for output, so that the Bluetooth audio equipment plays the sound audio through A2 DP.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of any of claims 1-6.
CN201810753242.6A 2018-07-10 2018-07-10 Audio playing and acquisition control method, system and computer readable storage medium Active CN108924361B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810753242.6A CN108924361B (en) 2018-07-10 2018-07-10 Audio playing and acquisition control method, system and computer readable storage medium
PCT/CN2018/112739 WO2020010755A1 (en) 2018-07-10 2018-10-30 Audio playback and acquisition control method and system, and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810753242.6A CN108924361B (en) 2018-07-10 2018-07-10 Audio playing and acquisition control method, system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108924361A CN108924361A (en) 2018-11-30
CN108924361B true CN108924361B (en) 2021-02-19

Family

ID=64411427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810753242.6A Active CN108924361B (en) 2018-07-10 2018-07-10 Audio playing and acquisition control method, system and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN108924361B (en)
WO (1) WO2020010755A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110166890B (en) * 2019-01-30 2022-05-31 腾讯科技(深圳)有限公司 Audio playing and collecting method and device and storage medium
CN109712631B (en) * 2019-03-28 2019-06-28 南昌黑鲨科技有限公司 Audio data transfer control method, device, system and readable storage medium storing program for executing
CN110010139B (en) * 2019-03-28 2021-12-21 南昌黑鲨科技有限公司 Audio input/output method, system and computer readable storage medium
CN111477230A (en) * 2020-04-17 2020-07-31 歌尔科技有限公司 Intelligent sound box system, control method of intelligent sound box system and storage medium
CN113556604B (en) * 2020-04-24 2023-07-18 深圳市万普拉斯科技有限公司 Sound effect adjusting method, device, computer equipment and storage medium
CN111913684A (en) * 2020-07-29 2020-11-10 深圳Tcl新技术有限公司 Method and device for setting sound playing mode and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760154A (en) * 2016-01-27 2016-07-13 广东欧珀移动通信有限公司 Method and device for controlling audio frequency

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103841002B (en) * 2012-11-22 2018-08-03 腾讯科技(深圳)有限公司 Voice transmission method, terminal, voice server and voice-transmission system
CN104079323B (en) * 2014-07-17 2017-06-23 上海斐讯数据通信技术有限公司 Realize that single sound channel bluetooth headset plays the method and electronic equipment of audio file
CN106161724A (en) * 2015-03-23 2016-11-23 阿里巴巴集团控股有限公司 Audio output control method and device
CN105721698B (en) * 2016-02-19 2019-02-05 Oppo广东移动通信有限公司 Audio frequency playing method, device and mobile terminal
CN106302997B (en) * 2016-07-29 2020-02-21 联想(北京)有限公司 Output control method, electronic equipment and system
CN106375563A (en) * 2016-08-30 2017-02-01 珠海市魅族科技有限公司 Method and device for controlling audio output of terminal
CN107154265A (en) * 2017-03-30 2017-09-12 联想(北京)有限公司 A kind of collection control method and electronic equipment
CN107134286A (en) * 2017-05-15 2017-09-05 深圳米唐科技有限公司 ANTENNAUDIO player method, music player and storage medium based on interactive voice
CN107562405B (en) * 2017-08-18 2020-09-22 Oppo广东移动通信有限公司 Audio playing control method and device, storage medium and mobile terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760154A (en) * 2016-01-27 2016-07-13 广东欧珀移动通信有限公司 Method and device for controlling audio frequency

Also Published As

Publication number Publication date
WO2020010755A1 (en) 2020-01-16
CN108924361A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
CN108924361B (en) Audio playing and acquisition control method, system and computer readable storage medium
CN110493678B (en) Earphone control method and device, earphone and storage medium
US20100048133A1 (en) Audio data flow input/output method and system
CN109088997B (en) Game audio control method, terminal and computer readable storage medium
CN107621933B (en) Audio playing method and device and related medium product
CN106921803A (en) The player method and control device of multi-medium data
CN108900951A (en) Volume adjusting method, earphone and computer readable storage medium
CN112004174A (en) Noise reduction control method and device and computer readable storage medium
CN109445745A (en) Audio stream processing method, device, mobile terminal and storage medium
JP4992591B2 (en) Communication system and communication terminal
KR20230133864A (en) Systems and methods for handling speech audio stream interruptions
CN106804010B (en) Incoming call processing method and device based on virtual reality equipment and virtual reality equipment
JP4425172B2 (en) Call device, call system, and program
CN107580102A (en) Earphone and the method for earphone recording
CN101212529B (en) System, device, and method for controlling automobile sound system by telephone
CN107124512B (en) The switching method and apparatus of audio-frequency play mode
US11388281B2 (en) Adaptive method and apparatus for intelligent terminal, and terminal
WO2018064883A1 (en) Method and device for sound recording, apparatus and computer storage medium
US20220239721A1 (en) Communication terminal, application program for communication terminal, and communication method
CN114710730A (en) Volume prompting method and device, earphone and storage medium
CN109618062B (en) Voice interaction method, device, equipment and computer readable storage medium
WO2018058331A1 (en) Method and apparatus for controlling volume
CN113407147A (en) Audio playing method, device, equipment and storage medium
CN112700783A (en) Communication sound changing method, terminal equipment and storage medium
JP4121926B2 (en) mobile phone

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20231113

Address after: Building 3, Tongfu Industrial Zone, Shajing Street Office, Bao'an District, Shenzhen City, Guangdong Province, 518000

Patentee after: SHENZHEN MYGT CO.,LTD.

Address before: 330008 room 319, office building, Jiao Qiao Town, Nanchang economic and Technological Development Zone, Qingshan Lake, Nanchang, Jiangxi

Patentee before: BLACKSHARK TECHNOLOGIES (NANCHANG) Co.,Ltd.

TR01 Transfer of patent right