CN107633849A - Bluetooth equipment method for regulation of sound volume, equipment and computer-readable recording medium - Google Patents

Bluetooth equipment method for regulation of sound volume, equipment and computer-readable recording medium Download PDF

Info

Publication number
CN107633849A
CN107633849A CN201710917021.3A CN201710917021A CN107633849A CN 107633849 A CN107633849 A CN 107633849A CN 201710917021 A CN201710917021 A CN 201710917021A CN 107633849 A CN107633849 A CN 107633849A
Authority
CN
China
Prior art keywords
volume
bluetooth
bluetooth equipment
terminal device
equipment
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
CN201710917021.3A
Other languages
Chinese (zh)
Other versions
CN107633849B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710917021.3A priority Critical patent/CN107633849B/en
Publication of CN107633849A publication Critical patent/CN107633849A/en
Application granted granted Critical
Publication of CN107633849B publication Critical patent/CN107633849B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Circuit For Audible Band Transducer (AREA)
  • Telephone Function (AREA)

Abstract

This application discloses a kind of bluetooth equipment method for regulation of sound volume, equipment and computer-readable recording medium.A kind of bluetooth equipment method for regulation of sound volume, applied to terminal device, including:The volume adjust instruction that volume adjustment is carried out to the bluetooth equipment of terminal device connection is obtained, determines bluetooth volume value;According to bluetooth volume value, it is adjusted to being sent to the volume gain of voice data of bluetooth equipment;Voice data after sending from adjust gain to bluetooth equipment.This application discloses bluetooth equipment method for regulation of sound volume, equipment and computer-readable recording medium, saved the cost of bluetooth equipment, reduced the power consumption of bluetooth equipment, and be advantageous to the Miniaturization Design of bluetooth equipment.

Description

Bluetooth equipment method for regulation of sound volume, equipment and computer-readable recording medium
Technical field
The invention relates to Bluetooth technology, more particularly to a kind of bluetooth equipment method for regulation of sound volume, equipment and calculating Machine readable storage medium storing program for executing.
Background technology
Bluetooth communication is widely used in various terminal equipment, portable equipment, wearable as a kind of short-range communication standard During the short-range data of equipment so far exchanges.Wherein, Bluetooth communication is most widely used in mobile terminal and bluetooth earphone, bluetooth sound Communication between the bluetooth equipments such as case, vehicle-mounted Bluetooth acoustic enclosure, the sound on mobile terminal is set by bluetooth by Bluetooth communication Preparation goes out, user-friendly.
In current bluetooth equipment, either by bluetooth equipment in itself, or the terminal by being connected with bluetooth equipment Equipment is adjusted to the volume of bluetooth equipment, is required for by being configured in bluetooth equipment for carrying out volume gain adjustment Hardware module realizes adjustment.
But the hardware module of progress volume gain adjustment is configured in bluetooth equipment can increase the cost of bluetooth equipment, Also it is unfavorable for the Miniaturization Design of bluetooth equipment.
The content of the invention
The application provides a kind of bluetooth equipment method for regulation of sound volume, equipment and computer-readable recording medium, to save indigo plant The cost of tooth equipment, reduces the power consumption of bluetooth equipment, and is advantageous to the Miniaturization Design of bluetooth equipment.
In a first aspect, the embodiment of the present application provides a kind of bluetooth equipment method for regulation of sound volume, applied to terminal device, bag Include:
The volume adjust instruction that volume adjustment is carried out to the bluetooth equipment of terminal device connection is obtained, determines bluetooth volume Value;
According to bluetooth volume value, it is adjusted to being sent to the volume gain of voice data of bluetooth equipment;
Voice data after sending from adjust gain to bluetooth equipment.
Second aspect, the embodiment of the present application additionally provide a kind of bluetooth equipment method for regulation of sound volume, applied to bluetooth equipment, Including:
Obtain the bluetooth volume value determined according to the bluetooth volume adjust instruction that user inputs;
The voice data that the terminal device of bluetooth equipment connection is sent is received, voice data is terminal device according to bluetooth sound Value carries out the voice data after volume gain adjustment;
Playing audio-fequency data.
The third aspect, the embodiment of the present application additionally provide a kind of bluetooth equipment volume adjusting apparatus, including:
Instruction acquisition module, the volume adjustment for carrying out volume adjustment to the bluetooth equipment of terminal device connection for obtaining refer to Order, determines bluetooth volume value;
Audio Control Module, for according to bluetooth volume value, increasing to being sent to the volume of voice data of bluetooth equipment Benefit is adjusted;
Audio sending module, for the voice data after sending adjust gain to bluetooth equipment.
Fourth aspect, the embodiment of the present application additionally provide a kind of bluetooth equipment volume adjusting apparatus, including:
Volume acquisition module, for obtaining the bluetooth volume determined according to the bluetooth volume adjust instruction that user inputs Value;
Audio receiving module, the voice data that the terminal device for receiving bluetooth equipment connection is sent, voice data are Terminal device carries out the voice data after volume gain adjustment according to bluetooth volume value;
Audio playing module, for playing audio-fequency data.
5th aspect, the embodiment of the present application additionally provide a kind of terminal device, including:
One or more processors;
Memory, for storing one or more programs,
When one or more programs are executed by one or more processors so that one or more processors realize such as first Bluetooth equipment method for regulation of sound volume described in aspect.
6th aspect, the embodiment of the present application additionally provide a kind of bluetooth equipment, including:
One or more processors;
Storage device, for storing one or more programs,
When one or more programs are by one or more of computing devices so that one or more processors are realized such as Bluetooth equipment method for regulation of sound volume described in second aspect.
7th aspect, the embodiment of the present application additionally provide a kind of computer-readable recording medium, are stored thereon with computer Program, bluetooth equipment method for regulation of sound volume as described in relation to the first aspect is realized when the program is executed by processor.
Eighth aspect, the embodiment of the present application additionally provide a kind of computer-readable recording medium, are stored thereon with computer Program, the bluetooth equipment method for regulation of sound volume as described in second aspect is realized when the program is executed by processor.
Bluetooth equipment method for regulation of sound volume, equipment and the computer-readable recording medium that the embodiment of the present application provides, pass through The volume adjust instruction that volume adjustment is carried out to the bluetooth equipment of terminal device connection is obtained by terminal device, determines bluetooth volume Value, is then adjusted according to bluetooth volume value to the volume gain for being sent to the voice data of bluetooth equipment so as to indigo plant The processing that tooth equipment carries out volume adjustment is all completed in terminal device, therefore without being configured to carry out in bluetooth equipment The Audio Control Module of volume adjustment, so as to save the cost of bluetooth equipment, reduces the power consumption of bluetooth equipment, and be advantageous to The Miniaturization Design of bluetooth equipment.
Brief description of the drawings
Fig. 1 is the flow chart for the bluetooth equipment method for regulation of sound volume embodiment one that the embodiment of the present application provides;
Fig. 2 is the flow chart for the bluetooth equipment method for regulation of sound volume embodiment two that the embodiment of the present application provides;
Fig. 3 is the flow chart for the bluetooth equipment method for regulation of sound volume embodiment three that the embodiment of the present application provides;
Fig. 4 is the flow chart for the bluetooth equipment method for regulation of sound volume example IV that the embodiment of the present application provides;
Fig. 5 is the flow chart for the bluetooth equipment method for regulation of sound volume embodiment five that the embodiment of the present application provides;
Fig. 6 is the flow chart for the bluetooth equipment method for regulation of sound volume embodiment six that the embodiment of the present application provides;
Fig. 7 is the flow chart for the bluetooth equipment method for regulation of sound volume embodiment seven that the embodiment of the present application provides;
Fig. 8 is the flow chart for the bluetooth equipment method for regulation of sound volume embodiment eight that the embodiment of the present application provides;
Fig. 9 is a kind of structural representation for bluetooth equipment volume adjusting apparatus embodiment one that the embodiment of the present application provides;
Figure 10 is a kind of structural representation for bluetooth equipment volume adjusting apparatus embodiment two that the embodiment of the present application provides;
Figure 11 is a kind of structural representation for terminal device that the embodiment of the present application provides;
Figure 12 is a kind of structural representation for bluetooth equipment that the embodiment of the present application provides.
Embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the application, rather than the restriction to the application.It also should be noted that in order to just The part related to the application rather than entire infrastructure are illustrate only in description, accompanying drawing.
Bluetooth communication is due to higher transmission rate and security, being widely used in short range data transmission.Especially It is the connection being applied between the Bluetooth audio frequency output equipment such as terminal device and bluetooth earphone, Baffle Box of Bluetooth, Bluetooth communication is use Family brings convenience using audio frequency apparatus.Current bluetooth equipment mainly include headset mode (Headset Profile, HSP) and hands-free mode (Handsfree Profile, HFP) both of which, wherein HSP patterns are the basic mould of bluetooth equipment Formula, possess the basic function of Bluetooth communication, support to carry out data transmission between bluetooth equipment and terminal device, and basic control Function processed.HFP patterns add more control functions, allow bluetooth equipment to control terminal to set on the basis of HSP patterns It is standby carry out telephone receiving, hang up, rejection, the function such as phonetic dialing.
Used for the ease of user, bluetooth equipment all has volume adjusting function, volume adjusting is configured with bluetooth equipment Button, the audio volume that user can adjust bluetooth equipment and export by operating the volume adjusting button on bluetooth equipment.Meanwhile Also the long-range volume adjusting to bluetooth equipment is supported on terminal device, in terminal device and bluetooth equipment successful matching, is realized blue After tooth connection, operation that user is adjusted to bluetooth output volume on the terminal device can be also transmitted into bluetooth equipment, blue The audio volume that tooth equipment exports the volume adjusting operation adjustment sent according to terminal device.Two kinds of bluetooths of HSP and HFP at present Pattern all supports both volume adjusting modes.
But in current bluetooth volume adjustment mode, no matter which kind of adjustment mode, be finally required for being held by bluetooth equipment Regulation of the row to output volume.This just needs to be configured to the related hardware mould for carrying out output volume adjusting in bluetooth equipment Block, such as audio amplifier circuit.For example, if user operates volume adjusting button on bluetooth equipment, the sound in bluetooth equipment Frequency amplifying circuit will respond the operation, and the output volume of bluetooth equipment is adjusted, while bluetooth equipment also can be by volume Adjustment operation is sent to the terminal device of connection, makes terminal device synchronous adjustment bluetooth volume.If user grasps on the terminal device Make volume adjusting button or regulation bluetooth volume is selected by touch-control, then terminal device can update the bluetooth volume on terminal device And the regulation is operated to the bluetooth equipment that connection is sent to by bluetooth connection, bluetooth equipment is further according to the regulation operational control sound Frequency amplifying circuit is adjusted to the output volume of bluetooth equipment.And the related hardware module configured in bluetooth equipment first will Increase the cost of bluetooth equipment, in addition, can also take the volume of bluetooth equipment, while increase the electric quantity consumption of bluetooth equipment.
The embodiment of the present application provides a kind of bluetooth equipment method for regulation of sound volume and device, by being adjusted to bluetooth equipment volume Flow optimizes, and solves above mentioned problem present in current bluetooth equipment volume adjustment.
Fig. 1 is the flow chart for the bluetooth equipment method for regulation of sound volume embodiment one that the embodiment of the present application provides, such as Fig. 1 institutes Show, the bluetooth equipment method for regulation of sound volume that the present embodiment provides includes:
Step 101, the volume adjust instruction that volume adjustment is carried out to the bluetooth equipment of terminal device connection is obtained, it is determined that blue Tooth volume value.
The bluetooth equipment method for regulation of sound volume that the present embodiment provides is applied to the terminal device being connected with bluetooth equipment.The end End equipment is any terminal device that bluetooth connection can be carried out with bluetooth equipment, such as mobile phone, tablet personal computer, music Device etc..The bluetooth equipment being connected with terminal device can carry out bluetooth connection to be any with terminal device, and be broadcast with audio The equipment of playing function, such as bluetooth earphone, Baffle Box of Bluetooth, vehicle audio etc..
Before using the audio on bluetooth equipment playing terminal equipment, it is necessary first to which bluetooth equipment and terminal device are led to Cross bluetooth connection.The concrete mode that bluetooth equipment and terminal device are attached can use current any mode, at this Application repeats no more.But before bluetooth equipment is connected with terminal device, it is necessary first to the process matched, after the completion of pairing It is attached again, then will establishes man-to-man communication connection between the bluetooth equipment and terminal device after connecting.Bluetooth equipment and The transmission of data and control command can be carried out between terminal device by the bluetooth connection established.
Due in current bluetooth method for regulation of sound volume, being required for being responded by the hardware adjustment module configured in bluetooth equipment The operation being adjusted to volume, the adjustment to bluetooth equipment volume could be realized, so as to improve the cost of bluetooth equipment, body Product and power consumption.Therefore, in the bluetooth equipment method for regulation of sound volume that the present embodiment provides, will eliminate the reliance in bluetooth equipment Hardware adjustment module is adjusted to the output volume of bluetooth equipment, but uses what adjustment terminal device was sent to bluetooth equipment The gain of voice data, realize the adjustment to bluetooth equipment output volume.
First, terminal device needs to obtain the sound for carrying out volume adjustment by the bluetooth equipment of bluetooth connection to terminal device Adjust instruction is measured, the volume adjust instruction can be that user inputs in terminal device or user is that terminal is set Inputted in the bluetooth equipment of standby connection, and terminal device is sent to by bluetooth connection.Adjusted when terminal device gets volume After whole instruction, it will determine to need the bluetooth volume value adjusted.Wherein, volume adjust instruction to bluetooth volume for example including adjusting Whole absolute value, as bluetooth volume be 80%, or bluetooth volume be 50 decibels etc., then terminal device, which will be known, needs bluetooth Volume is adjusted to the 80% of maximum output volume or is adjusted to 50 decibels.For example volume adjust instruction is included to bluetooth sound again The relative value being adjusted is measured, bluetooth volume is such as improved 10%, or bluetooth volume is improved 5 decibels etc., then terminal device To know is needed for bluetooth volume to be adjusted to the 110% of current Bluetooth volume, or current Bluetooth volume is improved into 5 decibels.
Step 102, according to bluetooth volume value, adjusted to being sent to the volume gain of voice data of bluetooth equipment It is whole.
After terminal device gets bluetooth volume value from volume adjust instruction, by the sound to being sent to bluetooth equipment The volume gain of frequency evidence is adjusted.Because Bluetooth communication is a kind of radio communication connection, terminal device passes through bluetooth connection Be sent to bluetooth equipment is data, wherein the audio for needing to play on bluetooth equipment is also the form by voice data It is sent to bluetooth equipment.
In the adjustment of audio output size, two concepts be present, one is volume, and another is gain.Wherein, volume It is the overall level size in output end regulation output signal, and gain is the signal magnitude before audio is amplified, that is, adjust Save the input sensitivity of audio signal.The adjustment of gain is carried out in input, that is, the audio to be output to input The level of signal is directly adjusted.The adjustment of adjustment and the gain of volume is distinguishing, because audio signal is from input During equipment is transmitted to output equipment and sent, except audio signal in itself, input equipment and output equipment can be also introduced The noises such as system noise itself, ambient noise, therefore, are adjusted in output end to output volume, really simultaneously to sound The process that frequency signal and the volume of the composite signal of noise synthesis are adjusted.And gain is adjusted in input, Only it is that the output level amplitude of audio signal in itself is adjusted, the audio signal after adjustment is transmitted to output equipment again, Audio signal and various noises are synthesized and exported.
For the digital audio-frequency data in the embodiment of the present application, input equipment is terminal device, is sent to indigo plant The voice data of tooth equipment is digital audio and video signals, after the voice data is sent into bluetooth equipment by bluetooth connection, bluetooth After the voice data is converted into analog signal by the digital-to-analogue conversion (Digital to Analog Converter, DAC) in equipment Output.Wherein, the different gains of audio signal, which correspond to, carries out voice data the defeated of the simulated audio signal after digital-to-analogue conversion Go out level.Therefore, the volume gain of the voice data in terminal device to being sent to bluetooth equipment is adjusted, same energy Enough realize the purpose being adjusted to bluetooth equipment output volume.Namely according to bluetooth volume value, set to being sent to bluetooth The output level amplitude of standby voice data is adjusted, to realize that the volume of the voice data to being sent to bluetooth equipment increases Benefit is adjusted.
Step 103, the voice data after sending adjust gain to bluetooth equipment.
After the gain to voice data is adjusted, you can the voice data after adjust gain is sent into bluetooth and set It is standby.After bluetooth equipment receives the voice data after adjust gain by bluetooth connection, digital-to-analogue conversion is carried out to it, obtain i.e. For the simulated audio signal after adjust gain.Bluetooth equipment plays the simulated audio signal, after adjustment volume has been played Audio signal.But the sound using the bluetooth equipment method for regulation of sound volume that the embodiment of the present application provides to bluetooth equipment output signal Amount is adjusted, by without using the Audio Control Module on bluetooth equipment, but by terminal device directly in input to sound The gain of frequency evidence is adjusted so that bluetooth equipment need not configure Audio Control Module, so as to saved bluetooth equipment into This, reduces the power consumption of bluetooth equipment, and be advantageous to the Miniaturization Design of bluetooth equipment.
The bluetooth equipment method for regulation of sound volume that the embodiment of the present application provides, terminal device is connected by being obtained by terminal device The bluetooth equipment connect carries out the volume adjust instruction of volume adjustment, determines bluetooth volume value, is then treated according to bluetooth volume value The volume gain for being sent to the voice data of bluetooth equipment is adjusted so that the processing that volume adjustment is carried out to bluetooth equipment is complete Portion completes in terminal device, therefore without being configured to carry out the Audio Control Module of volume adjustment in bluetooth equipment, from And the cost of bluetooth equipment has been saved, the power consumption of bluetooth equipment is reduced, and be advantageous to the Miniaturization Design of bluetooth equipment.
Current bluetooth equipment and terminal device are typically equipped with bluetooth volume adjusting button or correlation function, Yong Huke , can also be by the terminal device to be adjusted by the operation on bluetooth equipment to the output volume of bluetooth equipment Operate and the output volume of bluetooth equipment is adjusted.Scene is adjusted with above two separately below, to embodiment illustrated in fig. 1 institute The bluetooth equipment method for regulation of sound volume shown is further described.
Fig. 2 is the flow chart for the bluetooth equipment method for regulation of sound volume embodiment two that the embodiment of the present application provides, such as Fig. 2 institutes Show, the bluetooth equipment method for regulation of sound volume that the present embodiment provides includes:
Step 201, obtain user to be operated on the terminal device with input, volume is carried out to the bluetooth equipment of connection The volume adjust instruction of adjustment, determines bluetooth volume value.
In the bluetooth equipment method for regulation of sound volume that the present embodiment provides, user carries out volume adjustment behaviour on the terminal device Make, the volume of the bluetooth equipment of terminal device connection is adjusted.It is general on terminal device all to have for carrying out volume tune Whole physical button, such as push type button or touch key-press, volume adjustment button typically have volume rise and volume decrease Low two, section terminating equipment also has mute button or switch.User can be used to carry out volume tune by pressing or touching Whole physical button, is adjusted to volume.When terminal device and bluetooth equipment establish bluetooth connection, on the terminal device The volume adjustment operation of progress will be adjusted corresponding to the volume to bluetooth equipment.Can be with the display interface of terminal device Volume adjustment option, volume adjustment button or volume adjustment progress bar etc. are shown, user is right by the operation on display interface Volume is adjusted.In addition, if terminal device also has audio output capabilities in itself, then can also include extremely in terminal device Few two volume adjustment options, one of them is used for the bluetooth volume for adjusting the bluetooth equipment of terminal device connection, another use In the output volume of adjustment terminal device in itself.User can only select to adjust the bluetooth sound of the bluetooth equipment of terminal device connection Amount.
In a word, after user is operated on the terminal device, terminal device can be obtained by the analysis operated to user The volume adjust instruction of volume adjustment is carried out to the bluetooth equipment of terminal device connection.Terminal device can according to preset rules, By the analysis operated to user, bluetooth volume value corresponding to the volume adjust instruction is determined.Such as user presses terminal device Volume rise button once, represent by bluetooth volume raise 10% etc..
Step 202, according to bluetooth volume value, adjusted to being sent to the volume gain of voice data of bluetooth equipment It is whole.
This step is identical with step 102, and here is omitted.
Step 203, volume adjustment notice is sent to bluetooth equipment, volume adjustment notice includes the audio after adjust gain The bluetooth volume value of data.
Because bluetooth equipment and terminal device may all have volume adjustment capability, if to audio number only in terminal device According to gain be adjusted, then although bluetooth equipment may finally output gain adjustment after voice data, bluetooth equipment The bluetooth volume value of middle storage may be still the bluetooth volume value before volume adjustment.So if user is enterprising in bluetooth equipment again The adjustment operation of row volume, then may be adjusted, so based on the volume value before adjustment on bluetooth equipment to bluetooth volume Volume adjustment mistake is likely to occur, influences user's use.
Therefore, after terminal device is adjusted to the volume gain for being sent to the voice data of bluetooth equipment, also Volume adjustment notice can be sent to bluetooth equipment, volume adjustment notice includes the bluetooth of the voice data after adjust gain Volume value.So after bluetooth equipment receives volume adjustment notice, it will know that bluetooth volume has currently been adjusted, bluetooth is set The standby bluetooth volume value that will adjust storage so that the bluetooth volume value of bluetooth equipment and terminal device is consistent.So when with When family is adjusted to the volume of bluetooth equipment again, no matter is operated on bluetooth equipment or carried out on the terminal device Operation, can be carried out correctly adjusting.
It should be noted that this step is optional, terminal device to bluetooth equipment it is not necessary to send volume adjustment Notice.
Step 204, the voice data after sending adjust gain to bluetooth equipment.
This step is identical with step 103, and here is omitted.
The present embodiment provide bluetooth equipment method for regulation of sound volume, by obtain user operated on the terminal device with Input, the volume adjust instruction of volume adjustment is carried out to the bluetooth equipment of connection, bluetooth volume value is determined, then according to bluetooth Volume value is adjusted to the volume gain for being sent to the voice data of bluetooth equipment, and includes adjustment to bluetooth equipment transmission The volume adjustment notice of the bluetooth volume value of voice data after gain so that the processing that volume adjustment is carried out to bluetooth equipment is complete Portion completes in terminal device, therefore without being configured to carry out the Audio Control Module of volume adjustment in bluetooth equipment, from And the cost of bluetooth equipment has been saved, the power consumption of bluetooth equipment is reduced, and be advantageous to the Miniaturization Design of bluetooth equipment, and energy Enough so that the bluetooth volume value in terminal device and bluetooth equipment is consistent.
Fig. 3 is the flow chart for the bluetooth equipment method for regulation of sound volume embodiment three that the embodiment of the present application provides, such as Fig. 3 institutes Show, the bluetooth equipment method for regulation of sound volume that the present embodiment provides includes:
Step 301, the volume adjust instruction that the bluetooth equipment is sent is received, determines bluetooth volume value.
In the bluetooth equipment method for regulation of sound volume that the present embodiment provides, user is enterprising in the bluetooth equipment that terminal device connects The adjustment operation of row volume, is adjusted to the volume of bluetooth equipment.It is general on bluetooth equipment all to have for carrying out volume adjustment Physical button, such as push type button or touch key-press, typically there is volume adjustment button volume rise and volume to reduce Two.User can be adjusted by pressing or touching the physical button for carrying out volume adjustment to volume.When bluetooth is set Standby when establishing bluetooth connection with terminal device, after user has carried out volume adjustment operation on bluetooth equipment, bluetooth equipment will Volume adjust instruction is generated, the volume adjust instruction includes bluetooth volume value.Bluetooth equipment by passing through bluetooth connection Terminal device sends the volume adjust instruction.
Terminal device is after volume adjust instruction is received, you can obtains bluetooth volume value therein.
Step 302, according to bluetooth volume value, adjusted to being sent to the volume gain of voice data of bluetooth equipment It is whole.
This step is identical with step 102, and here is omitted.
Step 303, bluetooth volume value corresponding with bluetooth equipment in terminal device is adjusted to the audio after adjust gain The bluetooth volume value of data.
In the embodiment depicted in figure 2, because volume adjustment operation is carried out in terminal device, therefore terminal device exists After obtaining volume adjustment operation, you can the bluetooth volume value in terminal device is adjusted.But in the present embodiment, due to sound Amount adjustment operation is carried out in bluetooth equipment, and therefore, the volume adjustment that bluetooth equipment transmission is received in terminal device refers to After order, alternatively, bluetooth volume value corresponding with bluetooth equipment in terminal device can also be adjusted to the sound after adjust gain The bluetooth volume value of frequency evidence.So as to ensure that terminal device and the bluetooth volume value in bluetooth equipment are unified.
Point of step 302 and the no priority of execution sequencing of step 303.
Step 304, the voice data after sending adjust gain to bluetooth equipment.
This step is identical with step 103, and here is omitted.
The bluetooth equipment method for regulation of sound volume that the present embodiment provides, the volume that terminal device is sent by receiving bluetooth equipment Adjust instruction, bluetooth volume value is determined, then according to bluetooth volume value to being sent to the volume of the voice data of bluetooth equipment Gain is adjusted, and the volume adjustment for sending to bluetooth equipment the bluetooth volume value for including the voice data after adjust gain is led to To know so that the processing that volume adjustment is carried out to bluetooth equipment is all completed in terminal device, therefore without in bluetooth equipment It is configured to carry out the Audio Control Module of volume adjustment, so as to save the cost of bluetooth equipment, reduces bluetooth equipment Power consumption, and be advantageous to the Miniaturization Design of bluetooth equipment, and enable to the bluetooth volume value in terminal device and bluetooth equipment It is consistent.
Fig. 4 is the flow chart for the bluetooth equipment method for regulation of sound volume example IV that the embodiment of the present application provides, such as Fig. 4 institutes Show, the bluetooth equipment method for regulation of sound volume that the present embodiment provides includes:
Step 401, the bluetooth volume value determined according to the bluetooth volume adjust instruction that user inputs is obtained.
The bluetooth equipment method for regulation of sound volume that the present embodiment provides is applied to the bluetooth equipment being connected with terminal device.The end End equipment is any terminal device that bluetooth connection can be carried out with bluetooth equipment, such as mobile phone, tablet personal computer, music Device etc..The bluetooth equipment being connected with terminal device can carry out bluetooth connection to be any with terminal device, and be broadcast with audio The equipment of playing function, such as bluetooth earphone, Baffle Box of Bluetooth, vehicle audio etc..
Before using the audio on bluetooth equipment playing terminal equipment, it is necessary first to which bluetooth equipment and terminal device are led to Cross bluetooth connection.The concrete mode that bluetooth equipment and terminal device are attached can use current any mode, at this Application repeats no more.But before bluetooth equipment is connected with terminal device, it is necessary first to the process matched, after the completion of pairing It is attached again, then will establishes man-to-man communication connection between the bluetooth equipment and terminal device after connecting.Bluetooth equipment and The transmission of data and control command can be carried out between terminal device by the bluetooth connection established.
Due in current bluetooth method for regulation of sound volume, being required for being responded by the hardware adjustment module configured in bluetooth equipment The operation being adjusted to volume, the adjustment to bluetooth equipment volume could be realized, so as to improve the cost of bluetooth equipment, body Product and power consumption.Therefore, in the bluetooth equipment method for regulation of sound volume that the present embodiment provides, will eliminate the reliance in bluetooth equipment Hardware adjustment module is adjusted to the output volume of bluetooth equipment, but uses what adjustment terminal device was sent to bluetooth equipment The gain of voice data, realize the adjustment to bluetooth equipment output volume.
The bluetooth volume adjust instruction being adjusted to the volume of bluetooth equipment can be that user is carried out on the terminal device Or user carries out on bluetooth equipment.No matter where user has carried out adjusting the volume of bluetooth equipment Whole operation, the bluetooth volume adjust instruction will all be obtained by terminal device.Then terminal device will adjust according to bluetooth volume Bluetooth volume value in instruction, it is adjusted to being sent to the volume gain of voice data of bluetooth equipment.Terminal device pair It is identical with embodiment illustrated in fig. 1 to be sent to the specific method that the volume gain of the voice data of bluetooth equipment is adjusted, Here is omitted.
After terminal device is adjusted to bluetooth volume value, the bluetooth volume value will be sent to bluetooth equipment, so that Bluetooth equipment also knows the adjustment carried out to bluetooth volume.
Step 402, the voice data that the terminal device of bluetooth equipment connection is sent is received, the voice data is terminal device Voice data after volume gain adjustment is carried out according to bluetooth volume value.
, will be to bluetooth after terminal device is adjusted to the volume gain for being sent to the voice data of bluetooth equipment Equipment sends the voice data after adjust gain.Bluetooth equipment receives the progress of terminal device transmission by bluetooth connection Voice data after volume gain adjustment.The voice data is received in the form of data signal.
Step 403, playing audio-fequency data.
After bluetooth equipment receives the voice data after adjust gain by bluetooth connection, digital-to-analogue conversion is carried out to it, obtained What is arrived is the simulated audio signal after adjust gain.Bluetooth equipment plays the simulated audio signal, is adjusted equivalent to having played Audio signal after volume.But bluetooth equipment is exported using the bluetooth equipment method for regulation of sound volume that the embodiment of the present application provides and believed Number volume be adjusted, by without using the Audio Control Module on bluetooth equipment, but directly inputted by terminal device The gain to voice data is held to be adjusted so that bluetooth equipment need not configure Audio Control Module, be set so as to save bluetooth Standby cost, reduces the power consumption of bluetooth equipment, and is advantageous to the Miniaturization Design of bluetooth equipment.
The bluetooth equipment method for regulation of sound volume that the embodiment of the present application provides, the terminal device connected by receiving bluetooth equipment The voice data carried out after volume gain adjustment of transmission, and play out so that the place of volume adjustment is carried out to bluetooth equipment Reason is all completed in terminal device, therefore without being configured to carry out the volume adjustment mould of volume adjustment in bluetooth equipment Block, so as to save the cost of bluetooth equipment, the power consumption of bluetooth equipment is reduced, and the miniaturization for being advantageous to bluetooth equipment is set Meter.
Current bluetooth equipment and terminal device are typically equipped with bluetooth volume adjusting button or correlation function, Yong Huke , can also be by the terminal device to be adjusted by the operation on bluetooth equipment to the output volume of bluetooth equipment Operate and the output volume of bluetooth equipment is adjusted.Scene is adjusted with above two separately below, to embodiment illustrated in fig. 4 institute The bluetooth equipment method for regulation of sound volume shown is further described.
Fig. 5 is the flow chart for the bluetooth equipment method for regulation of sound volume embodiment five that the embodiment of the present application provides, such as Fig. 5 institutes Show, the bluetooth equipment method for regulation of sound volume that the present embodiment provides includes:
Step 501, the volume adjustment notice that receiving terminal apparatus is sent, volume adjustment notice include bluetooth volume value.
In the bluetooth equipment method for regulation of sound volume that the present embodiment provides, user carries out volume adjustment behaviour on the terminal device Make, the volume of the bluetooth equipment of terminal device connection is adjusted.It is general on terminal device all to have for carrying out volume tune Whole physical button, such as push type button or touch key-press, volume adjustment button typically have volume rise and volume decrease Low two, section terminating equipment also has mute button or switch.User can be used to carry out volume tune by pressing or touching Whole physical button, is adjusted to volume.When terminal device and bluetooth equipment establish bluetooth connection, on the terminal device The volume adjustment operation of progress will be adjusted corresponding to the volume to bluetooth equipment.Can be with the display interface of terminal device Volume adjustment option, volume adjustment button or volume adjustment progress bar etc. are shown, user is right by the operation on display interface Volume is adjusted.In addition, if terminal device also has audio output capabilities in itself, then can also include extremely in terminal device Few two volume adjustment options, one of them is used for the bluetooth volume for adjusting the bluetooth equipment of terminal device connection, another use In the output volume of adjustment terminal device in itself.User can only select to adjust the bluetooth sound of the bluetooth equipment of terminal device connection Amount.
In a word, after user is operated on the terminal device, terminal device can be obtained by the analysis operated to user The volume adjust instruction of volume adjustment is carried out to the bluetooth equipment of terminal device connection.Terminal device can according to preset rules, By the analysis operated to user, bluetooth volume value corresponding to the volume adjust instruction is determined.Such as user presses terminal device Volume rise button once, represent by bluetooth volume raise 10% etc.., can be to indigo plant after terminal device has carried out volume adjustment Tooth equipment sends volume adjustment notice, and volume adjustment notice includes bluetooth volume value.
Because bluetooth equipment and terminal device may all have volume adjustment capability, if to audio number only in terminal device According to gain be adjusted, then although bluetooth equipment may finally output gain adjustment after voice data, bluetooth equipment The bluetooth volume value of middle storage may be still the bluetooth volume value before volume adjustment.So if user is enterprising in bluetooth equipment again The adjustment operation of row volume, then may be adjusted, so based on the volume value before adjustment on bluetooth equipment to bluetooth volume Volume adjustment mistake is likely to occur, influences user's use.
Therefore, after terminal device is adjusted to the volume gain for being sent to the voice data of bluetooth equipment, also Volume adjustment notice can be sent to bluetooth equipment, volume adjustment notice includes the bluetooth of the voice data after adjust gain Volume value.Bluetooth equipment is after volume adjustment notice is received, you can obtains bluetooth volume value.
Step 502, the bluetooth volume value in bluetooth equipment is adjusted to the bluetooth volume value in volume adjustment notice.
After bluetooth equipment receives volume adjustment notice, it will know that bluetooth volume has currently been adjusted, bluetooth equipment The bluetooth volume value in bluetooth equipment will be adjusted so that the bluetooth volume value of bluetooth equipment and terminal device is consistent.So When user is adjusted to the volume of bluetooth equipment again, no matter operated on bluetooth equipment or on the terminal device Operated, can be carried out correctly adjusting.
Step 503, the voice data that the terminal device of bluetooth equipment connection is sent is received, the voice data is terminal device Voice data after volume gain adjustment is carried out according to bluetooth volume value.
Step 504, playing audio-fequency data.
Step 503 and step 504 are identical with step 402 and step 403, and here is omitted.
The bluetooth equipment method for regulation of sound volume that the present embodiment provides, the terminal device connected by receiving bluetooth equipment are sent The voice data carried out after volume gain adjustment, and play out, and the volume adjustment notice that receiving terminal apparatus is sent, it is right The bluetooth volume value of bluetooth equipment is adjusted so that the processing of volume adjustment is carried out to bluetooth equipment all in terminal device Complete, therefore without being configured to carry out the Audio Control Module of volume adjustment in bluetooth equipment, set so as to save bluetooth Standby cost, reduces the power consumption of bluetooth equipment, and is advantageous to the Miniaturization Design of bluetooth equipment, and enables to terminal device It is consistent with the bluetooth volume value in bluetooth equipment.
Fig. 6 is the flow chart for the bluetooth equipment method for regulation of sound volume embodiment six that the embodiment of the present application provides, such as Fig. 6 institutes Show, the bluetooth equipment method for regulation of sound volume that the present embodiment provides includes:
Step 601, user is obtained on bluetooth equipment to be operated on bluetooth equipment with input, bluetooth equipment is entered The volume adjust instruction of row volume adjustment.
In the bluetooth equipment method for regulation of sound volume that the present embodiment provides, user is enterprising in the bluetooth equipment that terminal device connects The adjustment operation of row volume, is adjusted to the volume of bluetooth equipment.It is general on bluetooth equipment all to have for carrying out volume adjustment Physical button, such as push type button or touch key-press, typically there is volume adjustment button volume rise and volume to reduce Two.User can be adjusted by pressing or touching the physical button for carrying out volume adjustment to volume.When bluetooth is set Standby when establishing bluetooth connection with terminal device, after user has carried out volume adjustment operation on bluetooth equipment, bluetooth equipment will Volume adjust instruction is generated, the volume adjust instruction includes bluetooth volume value.
Step 602, volume adjust instruction is sent to terminal device, volume adjust instruction includes bluetooth volume value.
Bluetooth equipment by the terminal device of bluetooth connection by sending the volume adjust instruction.Terminal device receives After audio adjust instruction, you can the bluetooth volume of bluetooth equipment is adjusted, terminal device is adjusted to bluetooth volume Specific method has described in detail in the aforementioned embodiment, and here is omitted.
Step 603, the bluetooth volume value determined according to the bluetooth volume adjust instruction that user inputs is obtained.
Bluetooth equipment can obtain bluetooth volume value according to the bluetooth volume adjust instruction that user inputs on bluetooth equipment, And the current Bluetooth volume value of bluetooth equipment is adjusted to the bluetooth volume value after being adjusted according to Bluetooth Bluetooth volume adjust instruction.
Step 604, the voice data that the terminal device of bluetooth equipment connection is sent is received, the voice data is terminal device Voice data after volume gain adjustment is carried out according to bluetooth volume value.
Step 605, playing audio-fequency data.
Step 604 and step 605 are identical with step 302 and step 303, and here is omitted.
The bluetooth equipment method for regulation of sound volume that the present embodiment provides, by obtaining user on bluetooth equipment in bluetooth equipment On operated with input, the volume adjust instruction of volume adjustment is carried out to bluetooth equipment, and volume adjust instruction is sent To terminal device so that terminal device adjusts to the volume gain for being sent to the voice data of bluetooth equipment, then receives eventually The voice data carried out after volume gain adjustment that end equipment is sent, and play out so that volume tune is carried out to bluetooth equipment Whole processing is all completed in terminal device, therefore the volume without being configured to carry out volume adjustment in bluetooth equipment is adjusted Mould preparation block, so as to save the cost of bluetooth equipment, the power consumption of bluetooth equipment is reduced, and be advantageous to the miniaturization of bluetooth equipment Design, and enable to the bluetooth volume value in terminal device and bluetooth equipment to be consistent.
Further, because traditional bluetooth equipment has Audio Control Module, in order that the embodiment of the present application carries The bluetooth equipment method for regulation of sound volume of confession is compatible with existing method, alternatively, can also bluetooth equipment and terminal device it Between in the control instruction transmitted, increase a characteristic item, i.e. volume adjustment characteristic item.When bluetooth equipment does not possess volume adjustment mould During block, after bluetooth equipment establishes bluetooth connection with terminal device, it is special that bluetooth equipment can send volume adjustment to terminal device Item is levied, volume adjustment characteristic item is used to indicate that bluetooth equipment does not possess volume adjustment capability.Or in bluetooth equipment and terminal After equipment Monitoring bluetooth connection, when bluetooth equipment knows that terminal device needs to send voice data, bluetooth equipment is again to terminal Equipment sends volume adjustment characteristic item.After terminal device receives volume adjustment characteristic item, you can know bluetooth equipment not Possess volume adjustment capability, then the volume gain of the voice data of bluetooth equipment can be sent to by adjustment, is realized to indigo plant The volume of tooth equipment is adjusted.Volume adjustment characteristic item can be before terminal device sends voice data to bluetooth equipment Random time send, if such as volume adjustment operation carried out on bluetooth equipment, bluetooth equipment can adjust volume Instruction and volume adjustment characteristic item send jointly to terminal device.
Terminal device is receiving the volume adjustment characteristic item of bluetooth equipment transmission and then the volume of voice data is being increased Benefit is adjusted so that the bluetooth equipment method for regulation of sound volume that the embodiment of the present application provides can be simultaneous with existing bluetooth equipment Hold, the promotion and application of the bluetooth equipment method for regulation of sound volume of the application offer are provided.
Fig. 7 is the flow chart for the bluetooth equipment method for regulation of sound volume embodiment seven that the embodiment of the present application provides, such as Fig. 7 institutes Show, the bluetooth equipment method for regulation of sound volume that the present embodiment provides includes:
Step 701, terminal device obtains user and operated on the terminal device with input, to the bluetooth of connection Equipment carries out the volume adjust instruction of volume adjustment, determines bluetooth volume value.
Step 702, terminal device is according to bluetooth volume value, the volume of the voice data to being sent to the bluetooth equipment Gain is adjusted.
Step 703, the voice data after terminal device sends adjust gain to bluetooth equipment.
Step 704, terminal device sends volume adjustment notice to bluetooth equipment, and volume adjustment notice includes adjust gain The bluetooth volume value of voice data afterwards.
Step 705, the bluetooth volume value in bluetooth equipment is adjusted to the bluetooth sound in volume adjustment notice by bluetooth equipment Value.
Step 706, bluetooth equipment playing audio-fequency data.
The present embodiment is a kind of interactive embodiment for the bluetooth equipment method for regulation of sound volume that the embodiment of the present application provides, and it has Body execution flow is identical with previous embodiment, and here is omitted.
Fig. 8 is the flow chart for the bluetooth equipment method for regulation of sound volume embodiment eight that the embodiment of the present application provides, such as Fig. 8 institutes Show, the bluetooth equipment method for regulation of sound volume that the present embodiment provides includes:
Step 801, bluetooth equipment obtains user on bluetooth equipment and operated on bluetooth equipment with input, to indigo plant Tooth equipment carries out the volume adjust instruction of volume adjustment.
Step 802, bluetooth equipment, which sends volume adjust instruction to terminal device, volume adjust instruction, includes bluetooth volume Value.
Step 803, terminal device is according to bluetooth volume value, the volume gain of the voice data to being sent to bluetooth equipment It is adjusted.
Step 804, bluetooth volume value corresponding with bluetooth equipment in terminal device is adjusted to adjust gain by terminal device The bluetooth volume value of voice data afterwards.
Step 805, the voice data after terminal device sends adjust gain to bluetooth equipment.
Step 806, bluetooth equipment playing audio-fequency data.
The present embodiment is the another kind interaction embodiment for the bluetooth equipment method for regulation of sound volume that the embodiment of the present application provides, its Specific execution flow is identical with previous embodiment, and here is omitted.
Fig. 9 is a kind of structural representation for bluetooth equipment volume adjusting apparatus embodiment one that the embodiment of the present application provides, As shown in figure 9, the bluetooth equipment volume adjusting apparatus that the present embodiment provides includes:
Instruction acquisition module 91, the volume for carrying out volume adjustment to the bluetooth equipment of terminal device connection for obtaining adjust Instruction, determines bluetooth volume value.
Audio Control Module 92, for according to bluetooth volume value, the volume of the voice data to being sent to bluetooth equipment Gain is adjusted.
Audio sending module 93, for the voice data after sending adjust gain to bluetooth equipment.
The bluetooth equipment volume adjusting apparatus that the embodiment of the present application is provided can perform any embodiment shown in Fig. 1 to Fig. 3 The bluetooth equipment method for regulation of sound volume provided, possess the corresponding functional module of execution method and beneficial effect.
Further, in embodiment illustrated in fig. 9, instruction acquisition module 91, specifically for obtaining user on the terminal device Operated with input, the volume adjust instruction of volume adjustment is carried out to the bluetooth equipment of connection, determines bluetooth volume value.
Further, in embodiment illustrated in fig. 9, bluetooth equipment volume adjusting apparatus also includes notice sending module, is used for Volume adjustment notice is sent to bluetooth equipment, volume adjustment notice includes the bluetooth volume of the voice data after adjust gain Value.
Further, in embodiment illustrated in fig. 9, instruction acquisition module 91, the sound sent specifically for receiving bluetooth equipment Adjust instruction is measured, determines bluetooth volume value.
Further, in embodiment illustrated in fig. 9, Audio Control Module 92, be additionally operable to by terminal device with bluetooth equipment Corresponding bluetooth volume value is adjusted to the bluetooth volume value of the voice data after adjust gain.
Further, in embodiment illustrated in fig. 9, Audio Control Module 92, specifically for according to bluetooth volume value, to pending The output level amplitude for giving the voice data of bluetooth equipment is adjusted.
Further, in embodiment illustrated in fig. 9, bluetooth equipment volume adjusting apparatus also includes characteristic item receiving module, uses Characteristic item is adjusted in the volume for receiving bluetooth equipment transmission, volume adjustment characteristic item is used to indicate that bluetooth equipment does not possess volume tune Whole ability.
Figure 10 is a kind of structural representation for bluetooth equipment volume adjusting apparatus embodiment two that the embodiment of the present application provides, As shown in Figure 10, the bluetooth equipment volume adjusting apparatus that the present embodiment provides includes:
Volume acquisition module 100, for obtaining the bluetooth sound determined according to the bluetooth volume adjust instruction that user inputs Value.
Audio receiving module 110, the voice data that the terminal device for receiving bluetooth equipment connection is sent, voice data The voice data after volume gain adjustment is carried out according to bluetooth volume value for terminal device.
Audio playing module 120, for playing audio-fequency data.
The bluetooth equipment volume adjusting apparatus that the embodiment of the present application is provided can perform any embodiment shown in Fig. 4 to Fig. 6 The bluetooth equipment method for regulation of sound volume provided, possess the corresponding functional module of execution method and beneficial effect.
Further, in embodiment illustrated in fig. 10, volume acquisition module 100, sent specifically for receiving terminal apparatus Volume adjustment notice, volume adjustment notice include the bluetooth volume value;Bluetooth equipment volume adjusting apparatus also includes volume Adjusting module, for the bluetooth volume value being adjusted to the bluetooth volume value in bluetooth equipment in volume adjustment notice.
Further, in embodiment illustrated in fig. 10, bluetooth equipment volume adjusting apparatus also includes Audio Control Module and instructed Acquisition module, operated for obtaining user on bluetooth equipment on bluetooth equipment with input, bluetooth equipment is carried out The volume adjust instruction of volume adjustment;Instruction sending module, volume adjustment standby to the end for volume adjust instruction to be sent Instruction includes bluetooth volume value.
Further, in embodiment illustrated in fig. 10, bluetooth equipment volume adjusting apparatus also includes characteristic item sending module, uses In sending volume adjustment characteristic item to terminal device, volume adjustment characteristic item is used to indicate that bluetooth equipment does not possess volume adjustment energy Power.
Figure 11 is a kind of structural representation for terminal device that the embodiment of the present application provides, and as shown in figure 11, the terminal is set It is standby to include processor 111, memory 112, input unit 113 and output device 114;The quantity of processor 111 in terminal device Can be one or more, in Figure 11 by taking a processor 111 as an example;It is processor 111, memory 112 in terminal device, defeated Enter device 113 to connect by bus or other modes with output device 114, in Figure 11 exemplified by connecting by bus.
Memory 112 is used as a kind of computer-readable recording medium, and journey is can perform available for storage software program, computer Sequence and module, programmed instruction/module as corresponding to the bluetooth equipment method for regulation of sound volume in the application Fig. 1 to Fig. 3 embodiments (for example, instruction acquisition module 91, Audio Control Module 92, audio sending module 93 in bluetooth equipment volume adjusting apparatus). Processor 111 is stored in software program, instruction and module in memory 112 by operation, so that terminal device is various Application of function and data processing, that is, realize above-mentioned bluetooth equipment method for regulation of sound volume.
Memory 112 can mainly include storing program area and storage data field, wherein, storing program area can store operation system Application program needed for system, at least one function;Storage data field can store uses created data etc. according to terminal.This Outside, memory 112 can include high-speed random access memory, can also include nonvolatile memory, for example, at least one Disk memory, flush memory device or other non-volatile solid state memory parts.
Input unit 113 can be used for the numeral or character information for receiving input, and produces and set with the user of terminal device Put and the input of key signals that function control is relevant.Output device 114 may include the display devices such as display screen.
Figure 12 is a kind of structural representation for bluetooth equipment that the embodiment of the present application provides, and as shown in figure 12, the terminal is set It is standby to include processor 121, memory 122, input unit 123 and output device 124;The quantity of processor 121 in bluetooth equipment Can be one or more, in Figure 12 by taking a processor 121 as an example;It is processor 121, memory 122 in bluetooth equipment, defeated Enter device 123 to connect by bus or other modes with output device 124, in Figure 12 exemplified by connecting by bus.
Memory 122 is used as a kind of computer-readable recording medium, and journey is can perform available for storage software program, computer Sequence and module, programmed instruction/module as corresponding to the bluetooth equipment method for regulation of sound volume in the application Fig. 4 to Fig. 6 embodiments (for example, volume acquisition module 100, audio receiving module 110, audio playing module in bluetooth equipment volume adjusting apparatus 120).Processor 121 is stored in software program, instruction and module in memory 122 by operation, so as to bluetooth equipment Various function application and data processing, that is, realize above-mentioned bluetooth equipment method for regulation of sound volume.
Memory 122 can mainly include storing program area and storage data field, wherein, storing program area can store operation system Application program needed for system, at least one function;Storage data field can store uses created data etc. according to terminal.This Outside, memory 122 can include high-speed random access memory, can also include nonvolatile memory, for example, at least one Disk memory, flush memory device or other non-volatile solid state memory parts.
Input unit 123 can be used for the numeral or character information for receiving input, and produces and set with the user of bluetooth equipment Put and the input of key signals that function control is relevant.Output device 114 may include the audio output apparatus such as loudspeaker.
The embodiment of the present application also provides a kind of storage medium for including computer executable instructions, and the computer can perform Instruction is used to perform a kind of bluetooth equipment method for regulation of sound volume when being performed by computer processor, and this method includes:
The volume adjust instruction that volume adjustment is carried out to the bluetooth equipment of terminal device connection is obtained, determines bluetooth volume Value;
According to bluetooth volume value, it is adjusted to being sent to the volume gain of voice data of bluetooth equipment;
Voice data after sending from adjust gain to bluetooth equipment.
The embodiment of the present application also provides a kind of storage medium for including computer executable instructions, and the computer can perform Instruction is used to perform a kind of bluetooth equipment method for regulation of sound volume when being performed by computer processor, and this method includes:
Obtain the bluetooth volume value determined according to the bluetooth volume adjust instruction that user inputs;
The voice data that the terminal device of bluetooth equipment connection is sent is received, voice data is terminal device according to bluetooth sound Value carries out the voice data after volume gain adjustment;
Playing audio-fequency data.
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present application is provided, its computer The method operation that executable instruction is not limited to the described above, can also carry out the bluetooth equipment that the application any embodiment is provided Associative operation in method for regulation of sound volume
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the application It can be realized by software and required common hardware, naturally it is also possible to realized by hardware, but the former is more in many cases Good embodiment.Based on such understanding, what the technical scheme of the application substantially contributed to prior art in other words Part can be embodied in the form of software product, and the computer software product can be stored in computer-readable recording medium In, floppy disk, read-only storage (Read-Only Memory, ROM), random access memory (Random such as computer Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are causing a computer to set Standby (can be personal computer, server, or network equipment etc.) performs the method described in each embodiment of the application.
It is worth noting that, in the embodiment of above-mentioned searcher, included unit and module are simply according to work( Energy logic is divided, but is not limited to above-mentioned division, as long as corresponding function can be realized;In addition, each work( Can unit specific name also only to facilitate mutually distinguish, be not limited to the protection domain of the application.
Pay attention to, above are only preferred embodiment and the institute's application technology principle of the application.It will be appreciated by those skilled in the art that The application is not limited to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, The protection domain readjusted and substituted without departing from the application.Therefore, although being carried out by above example to the application It is described in further detail, but the application is not limited only to above example, in the case where not departing from the application design, also Other more equivalent embodiments can be included, and scope of the present application is determined by scope of the appended claims.

Claims (17)

  1. A kind of 1. bluetooth equipment method for regulation of sound volume, applied to terminal device, it is characterised in that including:
    The volume adjust instruction that volume adjustment is carried out to the bluetooth equipment of terminal device connection is obtained, determines bluetooth volume Value;
    According to the bluetooth volume value, it is adjusted to being sent to the volume gain of voice data of the bluetooth equipment;
    Voice data after sending from adjust gain to the bluetooth equipment.
  2. 2. according to the method for claim 1, it is characterised in that the bluetooth equipment obtained to terminal device connection The volume adjust instruction of volume adjustment is carried out, determines bluetooth volume value, including:
    Obtain user to be operated on the terminal device with input, the sound of volume adjustment is carried out to the bluetooth equipment of connection Adjust instruction is measured, determines bluetooth volume value.
  3. 3. according to the method for claim 2, it is characterised in that it is described according to the bluetooth volume value, in audio system After being adjusted to the volume gain of voice data, methods described also includes:
    Volume adjustment notice is sent to the bluetooth equipment, the volume adjustment notice includes the voice data after adjust gain Bluetooth volume value.
  4. 4. according to the method for claim 1, it is characterised in that the bluetooth equipment obtained to terminal device connection The volume adjust instruction of volume adjustment is carried out, determines bluetooth volume value, including:
    The volume adjust instruction that the bluetooth equipment is sent is received, determines bluetooth volume value.
  5. 5. according to the method for claim 4, it is characterised in that the volume adjustment for receiving the bluetooth equipment transmission refers to Order, after determining bluetooth volume value, methods described also includes:
    Bluetooth volume value corresponding with the bluetooth equipment in the terminal device is adjusted to the audio after the adjust gain The bluetooth volume value of data.
  6. 6. according to the method described in any one of Claims 1 to 5, it is characterised in that it is described according to the bluetooth volume value, treat The volume gain for being sent to the voice data of the bluetooth equipment is adjusted, including:
    According to the bluetooth volume value, adjusted to being sent to the output level amplitude of voice data of the bluetooth equipment It is whole.
  7. 7. according to the method described in any one of Claims 1 to 5, it is characterised in that according to the bluetooth volume value, to be sent Before volume gain to the voice data of the bluetooth equipment is adjusted, methods described also includes:
    The volume adjustment characteristic item that the bluetooth equipment is sent is received, the volume adjustment characteristic item is used to indicate that the bluetooth is set It is standby not possess volume adjustment capability.
  8. A kind of 8. bluetooth equipment method for regulation of sound volume, applied to bluetooth equipment, it is characterised in that including:
    Obtain the bluetooth volume value determined according to the bluetooth volume adjust instruction that user inputs;
    The voice data that the terminal device of the bluetooth equipment connection is sent is received, the voice data is the terminal device root The voice data after volume gain adjustment is carried out according to the bluetooth volume value;
    Playing audio data.
  9. 9. according to the method for claim 8, it is characterised in that described obtain refers to according to the bluetooth volume adjustment of user's input The bluetooth volume value for making and determining, including:
    The volume adjustment notice that the terminal device is sent is received, the volume adjustment notice includes the bluetooth volume value;
    Bluetooth volume value in the bluetooth equipment is adjusted to the bluetooth volume value in the volume adjustment notice.
  10. 10. according to the method for claim 8, it is characterised in that the terminal device for receiving the bluetooth equipment connection Before the voice data of transmission, methods described also includes:
    User is obtained on the bluetooth equipment to be operated on the bluetooth equipment with input, and the bluetooth equipment is entered The volume adjust instruction of row volume adjustment;
    The volume adjust instruction, which is sent to the terminal device, the volume adjust instruction, includes bluetooth volume value.
  11. 11. according to the method described in any one of claim 8~10, it is characterised in that receive the end of the bluetooth equipment connection Before the voice data that end equipment is sent, methods described also includes:
    Volume adjustment characteristic item is sent to the terminal device, the volume adjustment characteristic item is used to indicate the bluetooth equipment not Possesses volume adjustment capability.
  12. A kind of 12. bluetooth equipment volume adjusting apparatus, it is characterised in that including:
    Instruction acquisition module, the volume adjust instruction of volume adjustment is carried out to the bluetooth equipment of terminal device connection for obtaining, Determine bluetooth volume value;
    Audio Control Module, for according to the bluetooth volume value, the sound of the voice data to being sent to the bluetooth equipment Flow gain is adjusted;
    Audio sending module, for the voice data after sending adjust gain to the bluetooth equipment.
  13. A kind of 13. bluetooth equipment volume adjusting apparatus, it is characterised in that including:
    Volume acquisition module, for obtaining the bluetooth volume value determined according to the bluetooth volume adjust instruction that user inputs;
    Audio receiving module, the voice data that the terminal device for receiving bluetooth equipment connection is sent, the voice data are The terminal device carries out the voice data after volume gain adjustment according to the bluetooth volume value;
    Audio playing module, for playing audio data.
  14. A kind of 14. terminal device, it is characterised in that including:
    One or more processors;
    Memory, for storing one or more programs,
    When one or more of programs are by one or more of computing devices so that one or more of processors are real The now bluetooth equipment method for regulation of sound volume as described in any in claim 1-7.
  15. A kind of 15. bluetooth equipment, it is characterised in that including:
    One or more processors;
    Storage device, for storing one or more programs,
    When one or more of programs are by one or more of computing devices so that one or more of processors are real The now bluetooth equipment method for regulation of sound volume as described in any in claim 8-11.
  16. 16. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The bluetooth equipment method for regulation of sound volume as described in any in claim 1-7 is realized during execution.
  17. 17. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The bluetooth equipment method for regulation of sound volume as described in any in claim 8-11 is realized during execution.
CN201710917021.3A 2017-09-30 2017-09-30 Bluetooth device volume adjusting method, device and computer readable storage medium Active CN107633849B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710917021.3A CN107633849B (en) 2017-09-30 2017-09-30 Bluetooth device volume adjusting method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710917021.3A CN107633849B (en) 2017-09-30 2017-09-30 Bluetooth device volume adjusting method, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107633849A true CN107633849A (en) 2018-01-26
CN107633849B CN107633849B (en) 2021-04-27

Family

ID=61103989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710917021.3A Active CN107633849B (en) 2017-09-30 2017-09-30 Bluetooth device volume adjusting method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107633849B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110768697A (en) * 2019-10-25 2020-02-07 上海闻泰电子科技有限公司 Method and device for controlling Bluetooth absolute volume function use state of android device
CN111402876A (en) * 2020-03-17 2020-07-10 北京百度网讯科技有限公司 Data transmission method, device and equipment
CN113489844A (en) * 2021-07-01 2021-10-08 荣耀终端有限公司 Volume gear adjusting method and electronic equipment
CN114697754A (en) * 2020-12-28 2022-07-01 深圳Tcl新技术有限公司 Method, system, medium and terminal device based on wireless access telephone conference
CN115473927A (en) * 2021-05-25 2022-12-13 Oppo广东移动通信有限公司 Volume synchronization method and device, electronic equipment and storage medium
CN116980804A (en) * 2023-09-25 2023-10-31 腾讯科技(深圳)有限公司 Volume adjustment method, device, equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1669240A (en) * 2002-07-19 2005-09-14 索尼爱立信移动通讯股份有限公司 Portable audio playback device with bass enhancement
JP4772903B2 (en) * 2009-12-25 2011-09-14 株式会社東芝 Information processing device
CN102547524A (en) * 2011-12-15 2012-07-04 无锡中星微电子有限公司 Method and device for processing audio frequency data in Bluetooth earphone and equipment
CN106792386A (en) * 2016-12-05 2017-05-31 青岛海信电器股份有限公司 A kind of terminal volume adjusting method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1669240A (en) * 2002-07-19 2005-09-14 索尼爱立信移动通讯股份有限公司 Portable audio playback device with bass enhancement
JP4772903B2 (en) * 2009-12-25 2011-09-14 株式会社東芝 Information processing device
CN102547524A (en) * 2011-12-15 2012-07-04 无锡中星微电子有限公司 Method and device for processing audio frequency data in Bluetooth earphone and equipment
CN106792386A (en) * 2016-12-05 2017-05-31 青岛海信电器股份有限公司 A kind of terminal volume adjusting method and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110768697A (en) * 2019-10-25 2020-02-07 上海闻泰电子科技有限公司 Method and device for controlling Bluetooth absolute volume function use state of android device
CN110768697B (en) * 2019-10-25 2022-10-14 上海闻泰电子科技有限公司 Method and device for controlling Bluetooth absolute volume function use state of android device
CN111402876A (en) * 2020-03-17 2020-07-10 北京百度网讯科技有限公司 Data transmission method, device and equipment
CN114697754A (en) * 2020-12-28 2022-07-01 深圳Tcl新技术有限公司 Method, system, medium and terminal device based on wireless access telephone conference
CN114697754B (en) * 2020-12-28 2024-02-13 深圳Tcl新技术有限公司 Method, system, medium and terminal equipment based on wireless access telephone conference
CN115473927A (en) * 2021-05-25 2022-12-13 Oppo广东移动通信有限公司 Volume synchronization method and device, electronic equipment and storage medium
CN113489844A (en) * 2021-07-01 2021-10-08 荣耀终端有限公司 Volume gear adjusting method and electronic equipment
CN116980804A (en) * 2023-09-25 2023-10-31 腾讯科技(深圳)有限公司 Volume adjustment method, device, equipment and readable storage medium
CN116980804B (en) * 2023-09-25 2024-01-26 腾讯科技(深圳)有限公司 Volume adjustment method, device, equipment and readable storage medium

Also Published As

Publication number Publication date
CN107633849B (en) 2021-04-27

Similar Documents

Publication Publication Date Title
CN107633849A (en) Bluetooth equipment method for regulation of sound volume, equipment and computer-readable recording medium
US11251763B2 (en) Audio signal adjustment method, storage medium, and terminal
CN107509153B (en) Detection method and device of sound playing device, storage medium and terminal
CN105096976B (en) A kind of audio system for controlling DSP with bluetooth approach by intelligent APP
CN202310099U (en) Wireless sounder and system for playing audio through same
CN101515957A (en) System and method for realizing microphone function by using mobile phone
CN107645721A (en) Bluetooth equipment method for regulation of sound volume, equipment and computer-readable recording medium
CN107864441A (en) A kind of Bluetooth chip with hearing-aid function, bluetooth earphone and radio hearing aid system
CN103237282A (en) Wireless audio processing equipment, wireless audio player and working method thereof
CN107452395A (en) A kind of voice signal echo cancelling device and television set
CN105323682B (en) A kind of digital-analog hybrid microphone and earphone
CN108391196A (en) A kind of audio signal processor and speaker
CN110187859A (en) A kind of denoising method and electronic equipment
CN203313386U (en) Wireless audio processing equipment, wireless audio player, household karaoke system
CN108510997A (en) Electronic equipment and echo cancel method applied to electronic equipment
CN205142478U (en) Multi -functional power amplifier system
CN205666933U (en) Headphone
CN105208514A (en) Slave equipment and master and slave equipment automatic matching system and method
CN110278501A (en) A kind of earphone with to outside sound source acquisition and electron process control output
CN104144363A (en) Electronic device with broadcasting and radio functions
TWI479408B (en) Data card for a computer system and related computer system
KR102110330B1 (en) USB type bluetooth adapter for smartphone
CN113905124A (en) Audio control method, electronic equipment and audio playing system
CN207082327U (en) Multimedia play equipment
CN206042272U (en) Remove KTV microphone

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant