CN107633849B - Bluetooth device volume adjustment method, device and computer-readable storage medium - Google Patents
Bluetooth device volume adjustment method, device and computer-readable storage medium Download PDFInfo
- Publication number
- CN107633849B CN107633849B CN201710917021.3A CN201710917021A CN107633849B CN 107633849 B CN107633849 B CN 107633849B CN 201710917021 A CN201710917021 A CN 201710917021A CN 107633849 B CN107633849 B CN 107633849B
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- volume
- adjusting
- audio data
- 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.)
- Active
Links
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Circuit For Audible Band Transducer (AREA)
- Telephone Function (AREA)
Abstract
The application discloses a Bluetooth device volume adjusting method, a device and a computer readable storage medium. A volume adjusting method of Bluetooth equipment is applied to terminal equipment and comprises the following steps: acquiring a volume adjustment instruction for adjusting the volume of the Bluetooth equipment connected with the terminal equipment, and determining the Bluetooth volume value; adjusting the volume gain of audio data to be sent to the Bluetooth equipment according to the Bluetooth volume value; and sending the audio data after the gain adjustment to the Bluetooth equipment. The method, the device and the computer readable storage medium for adjusting the volume of the Bluetooth device save the cost of the Bluetooth device, reduce the power consumption of the Bluetooth device and are beneficial to the miniaturization design of the Bluetooth device.
Description
Technical Field
Embodiments of the present disclosure relate to bluetooth technologies, and in particular, to a method and an apparatus for adjusting volume of a bluetooth device, and a computer-readable storage medium.
Background
As a short-distance communication standard, bluetooth communication is widely applied to short-distance data exchange of various terminal devices, portable devices, and wearable devices. The Bluetooth communication is most widely applied to communication between the mobile terminal and Bluetooth devices such as a Bluetooth headset, a Bluetooth sound box and an on-vehicle Bluetooth sound box, sound on the mobile terminal is sent out through the Bluetooth devices through the Bluetooth communication, and the use of a user is facilitated.
In the current bluetooth device, whether the volume of the bluetooth device is adjusted through the bluetooth device itself or through the terminal device connected with the bluetooth device, the adjustment is implemented through a hardware module configured in the bluetooth device and used for adjusting the volume gain.
However, configuring a hardware module for adjusting the volume gain in the bluetooth device increases the cost of the bluetooth device, and is not favorable for the miniaturized design of the bluetooth device.
Disclosure of Invention
The application provides a volume adjustment method and device for a Bluetooth device and a computer readable storage medium, so that the cost of the Bluetooth device is saved, the power consumption of the Bluetooth device is reduced, and the miniaturization design of the Bluetooth device is facilitated.
In a first aspect, an embodiment of the present application provides a method for adjusting a volume of a bluetooth device, which is applied to a terminal device, and includes:
acquiring a volume adjustment instruction for adjusting the volume of the Bluetooth equipment connected with the terminal equipment, and determining the Bluetooth volume value;
adjusting the volume gain of audio data to be sent to the Bluetooth equipment according to the Bluetooth volume value;
and sending the audio data after the gain adjustment to the Bluetooth equipment.
In a second aspect, an embodiment of the present application further provides a method for adjusting a volume of a bluetooth device, which is applied to the bluetooth device, and includes:
acquiring a Bluetooth volume value determined according to a Bluetooth volume adjusting instruction input by a user;
receiving audio data sent by terminal equipment connected with the Bluetooth equipment, wherein the audio data is audio data obtained after the terminal equipment performs volume gain adjustment according to the Bluetooth volume value;
and playing the audio data.
In a third aspect, an embodiment of the present application further provides a device for adjusting volume of a bluetooth device, including:
the instruction acquisition module is used for acquiring a volume adjustment instruction for adjusting the volume of the Bluetooth equipment connected with the terminal equipment and determining the Bluetooth volume value;
the volume adjusting module is used for adjusting the volume gain of the audio data to be sent to the Bluetooth equipment according to the Bluetooth volume value;
and the audio sending module is used for sending the audio data after the gain is adjusted to the Bluetooth equipment.
In a fourth aspect, an embodiment of the present application further provides a device for adjusting volume of a bluetooth device, including:
the volume acquisition module is used for acquiring a Bluetooth volume value determined according to a Bluetooth volume adjusting instruction input by a user;
the audio receiving module is used for receiving audio data sent by terminal equipment connected with the Bluetooth equipment, and the audio data is the audio data after the terminal equipment performs volume gain adjustment according to the Bluetooth volume value;
and the audio playing module is used for playing the audio data.
In a fifth aspect, an embodiment of the present application further provides a terminal device, including:
one or more processors;
a memory for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method for adjusting the volume of a bluetooth device as described in the first aspect.
In a sixth aspect, an embodiment of the present application further provides a bluetooth device, including:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for adjusting the volume of a bluetooth device according to the second aspect.
In a seventh aspect, this application embodiment further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the volume adjustment method for the bluetooth device according to the first aspect.
In an eighth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the volume adjustment method for the bluetooth device according to the second aspect.
According to the volume adjustment method, the device and the computer-readable storage medium for the Bluetooth device, the terminal device obtains the volume adjustment instruction for adjusting the volume of the Bluetooth device connected with the terminal device, the Bluetooth volume value is determined, and then the volume gain of audio data to be sent to the Bluetooth device is adjusted according to the Bluetooth volume value, so that the volume adjustment of the Bluetooth device is completely completed in the terminal device, and therefore a volume adjustment module for adjusting the volume is not required to be configured in the Bluetooth device, the cost of the Bluetooth device is saved, the power consumption of the Bluetooth device is reduced, and the miniaturization design of the Bluetooth device is facilitated.
Drawings
Fig. 1 is a flowchart of a first embodiment of a method for adjusting a volume of a bluetooth device according to an embodiment of the present application;
fig. 2 is a flowchart of a second embodiment of a method for adjusting the volume of a bluetooth device according to the present application;
fig. 3 is a flowchart of a third embodiment of a method for adjusting the volume of a bluetooth device according to the present application;
fig. 4 is a flowchart of a fourth embodiment of a method for adjusting the volume of a bluetooth device according to the present application;
fig. 5 is a flowchart of a fifth embodiment of a method for adjusting the volume of a bluetooth device according to the present application;
fig. 6 is a flowchart of a sixth embodiment of a method for adjusting the volume of a bluetooth device according to an embodiment of the present application;
fig. 7 is a flowchart of a seventh embodiment of a method for adjusting the volume of a bluetooth device according to the present application;
fig. 8 is a flowchart of an eighth embodiment of a method for adjusting the volume of a bluetooth device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a first embodiment of a volume adjustment apparatus for bluetooth devices according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of a second embodiment of a volume adjustment apparatus for bluetooth devices according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a bluetooth device according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Bluetooth communication is widely used for short-distance data transmission due to its high transmission rate and security. Especially, the Bluetooth audio output device is applied to the connection between terminal equipment and Bluetooth audio output devices such as Bluetooth earphones and Bluetooth sound boxes, and the Bluetooth communication brings great convenience for users to use the audio devices. The current bluetooth device mainly includes two modes, namely a Headset Profile (HSP) mode and a hands-free Profile (HFP) mode, wherein the HSP mode is a basic mode of the bluetooth device, has a basic function of bluetooth communication, supports data transmission between the bluetooth device and a terminal device, and has a basic control function. The HFP mode adds more control functions on the basis of the HSP mode, so that the Bluetooth device can control the terminal device to have the functions of answering, hanging up, refusing to connect, dialing voice and the like.
In order to facilitate the use of a user, the Bluetooth device has a volume adjusting function, a volume adjusting button is configured on the Bluetooth device, and the user can adjust the audio volume output by the Bluetooth device by operating the volume adjusting button on the Bluetooth device. Meanwhile, the terminal equipment also supports remote volume adjustment of the Bluetooth equipment, after the terminal equipment is successfully matched with the Bluetooth equipment, the Bluetooth output volume is adjusted on the terminal equipment by a user after Bluetooth connection is realized, the operation can also be transmitted to the Bluetooth equipment, and the Bluetooth equipment adjusts the output audio volume according to the volume adjustment operation sent by the terminal equipment. Currently, both HSP and HFP bluetooth modes support these two volume adjustment modes.
However, in the current bluetooth volume adjustment method, whichever adjustment method is used, it is necessary for the bluetooth device to finally perform adjustment of the output volume. This requires that the bluetooth device be equipped with an associated hardware module for output volume adjustment, such as an audio amplification circuit. For example, if the user operates the volume adjustment button on the bluetooth device, the audio amplifier circuit in the bluetooth device will respond to the operation to adjust the output volume of the bluetooth device, and at the same time, the bluetooth device will also send the volume adjustment operation to the connected terminal device, so that the terminal device synchronously adjusts the bluetooth volume. If the user operates the volume adjusting button on the terminal equipment or selects to adjust the Bluetooth volume through touch control, the terminal equipment can update the Bluetooth volume on the terminal equipment and sends the adjusting operation to the connected Bluetooth equipment through Bluetooth connection, and the Bluetooth equipment controls the audio amplification circuit to adjust the output volume of the Bluetooth equipment according to the adjusting operation. The related hardware module configured in the bluetooth device will increase the cost of the bluetooth device, and in addition, will occupy the volume of the bluetooth device, and increase the power consumption of the bluetooth device.
The embodiment of the application provides a method and a device for adjusting the volume of Bluetooth equipment, which solve the problems existing in the volume adjustment of the existing Bluetooth equipment by optimizing the volume adjustment process of the Bluetooth equipment.
Fig. 1 is a flowchart of a first embodiment of a method for adjusting a volume of a bluetooth device according to an embodiment of the present application, and as shown in fig. 1, the method for adjusting a volume of a bluetooth device according to the present embodiment includes:
The volume adjustment method for the bluetooth device provided by the embodiment is applied to the terminal device connected with the bluetooth device. The terminal device is any terminal device capable of performing bluetooth connection with a bluetooth device, such as a mobile phone, a tablet computer, a music player, and the like. The bluetooth device connected with the terminal device is any device which can be connected with the terminal device through bluetooth and has an audio playing function, such as a bluetooth headset, a bluetooth sound box, a vehicle-mounted sound box and the like.
Before playing the audio on the terminal device by using the bluetooth device, the bluetooth device and the terminal device need to be connected through bluetooth first. The specific mode of connecting the bluetooth device with the terminal device can adopt any one of the current modes, and is not repeated in the application. However, before the bluetooth device is connected with the terminal device, a pairing process needs to be performed first, and after the pairing is completed, the connection is performed, so that one-to-one communication connection is established between the connected bluetooth device and the terminal device. The transmission of data and control commands between the bluetooth device and the terminal device can be carried out via the established bluetooth connection.
In the existing Bluetooth volume adjustment method, the volume of the Bluetooth equipment can be adjusted only by responding to the operation of adjusting the volume by a hardware adjustment module configured in the Bluetooth equipment, so that the cost, the volume and the power consumption of the Bluetooth equipment are improved. Therefore, in the method for adjusting the volume of the bluetooth device provided in this embodiment, the output volume of the bluetooth device is not adjusted by relying on the hardware adjusting module in the bluetooth device, but the output volume of the bluetooth device is adjusted by adjusting the gain of the audio data sent to the bluetooth device by the terminal device.
First, the terminal device needs to obtain a volume adjustment instruction for adjusting the volume of the bluetooth device connected to the terminal device through bluetooth, where the volume adjustment instruction may be input by a user in the terminal device, or input by the user in the bluetooth device connected to the terminal device, and is sent to the terminal device through bluetooth connection. And after the terminal equipment acquires the volume adjusting instruction, determining the Bluetooth volume value needing to be adjusted. The volume adjustment instruction includes, for example, an absolute value for adjusting the bluetooth volume, and if the bluetooth volume is 80%, or the bluetooth volume is 50 decibels, the terminal device will know that the bluetooth volume needs to be adjusted to 80% of the maximum output volume or to 50 decibels. For another example, the volume adjustment instruction includes a relative value for adjusting the bluetooth volume, and if the bluetooth volume is increased by 10%, or the bluetooth volume is increased by 5 db, the terminal device will know that the bluetooth volume needs to be adjusted to 110% of the current bluetooth volume, or the current bluetooth volume is increased by 5 db.
And step 102, adjusting the volume gain of the audio data to be sent to the Bluetooth equipment according to the Bluetooth volume value.
And after the terminal equipment acquires the Bluetooth volume value from the volume adjusting instruction, adjusting the volume gain of the audio data to be sent to the Bluetooth equipment. Because the bluetooth communication is a wireless communication connection, all the data sent to the bluetooth device by the terminal device through the bluetooth connection is data, and the audio to be played on the bluetooth device is also sent to the bluetooth device in the form of audio data.
In the adjustment of the audio output size, there are two concepts, one is volume and the other is gain. Wherein, the volume is the total level of the output signal at the output end, and the gain is the signal size before the audio is amplified, i.e. the input sensitivity of the audio signal is adjusted. The adjustment of the gain is performed at the input, i.e. the level of the audio signal to be output at the input is directly adjusted. The adjustment of the volume and the adjustment of the gain are different, and since the audio signal is transmitted from the input device to the output device and is emitted, in addition to the audio signal itself, noise such as system noise and environmental noise of the input device and the output device itself is also introduced, the adjustment of the output volume at the output end is actually a process of adjusting the volume of a composite signal synthesized by the audio signal and the noise at the same time. And the gain is adjusted at the input end, only the output level amplitude of the audio signal is adjusted, and after the adjusted audio signal is transmitted to the output equipment, the audio signal and various noises are synthesized and output.
For the Digital audio data in the embodiment of the present application, the input device is a terminal device, the audio data to be sent to the bluetooth device is a Digital audio signal, and after the audio data is sent to the bluetooth device through the bluetooth connection, a Digital-to-Analog Converter (DAC) in the bluetooth device converts the audio data into an Analog signal and outputs the Analog signal. Wherein the different gains of the audio signals correspond to the output levels of the analog audio signals after digital-to-analog conversion of the audio data. Therefore, the volume gain of the audio data to be sent to the Bluetooth device in the terminal device is adjusted, and the purpose of adjusting the output volume of the Bluetooth device can be achieved. That is, according to the bluetooth volume value, the output level amplitude of the audio data to be sent to the bluetooth device is adjusted, so as to adjust the volume gain of the audio data to be sent to the bluetooth device.
And 103, sending the audio data after the gain adjustment to the Bluetooth equipment.
After the gain of the audio data is adjusted, the audio data with the adjusted gain can be sent to the Bluetooth device. And after receiving the audio data after the gain adjustment through the Bluetooth connection, the Bluetooth device performs digital-to-analog conversion on the audio data to obtain an analog audio signal after the gain adjustment. The Bluetooth device plays the analog audio signal, which is equivalent to playing the audio signal after the volume is adjusted. However, by adopting the volume adjustment method for the bluetooth device provided by the embodiment of the application to adjust the volume of the output signal of the bluetooth device, the volume adjustment module on the bluetooth device is not needed, but the terminal device directly adjusts the gain of the audio data at the input end, so that the bluetooth device does not need to be configured with the volume adjustment module, the cost of the bluetooth device is saved, the power consumption of the bluetooth device is reduced, and the miniaturization design of the bluetooth device is facilitated.
According to the volume adjustment method for the Bluetooth equipment, the volume adjustment instruction for adjusting the volume of the Bluetooth equipment connected with the terminal equipment is acquired by the terminal equipment, the Bluetooth volume value is determined, then the volume gain of audio data to be sent to the Bluetooth equipment is adjusted according to the Bluetooth volume value, so that the processing for adjusting the volume of the Bluetooth equipment is completely completed in the terminal equipment, and therefore a volume adjustment module for adjusting the volume is not required to be configured in the Bluetooth equipment, the cost of the Bluetooth equipment is saved, the power consumption of the Bluetooth equipment is reduced, and the miniaturization design of the Bluetooth equipment is facilitated.
The existing bluetooth device and terminal device are generally configured with a bluetooth volume adjusting button or related functions, and a user can adjust the output volume of the bluetooth device through operation on the bluetooth device and also can adjust the output volume of the bluetooth device through operation on the terminal device. The two adjusting scenarios are used below to further explain the volume adjusting method of the bluetooth device shown in the embodiment shown in fig. 1.
Fig. 2 is a flowchart of a second embodiment of a method for adjusting the volume of a bluetooth device according to an embodiment of the present application, and as shown in fig. 2, the method for adjusting the volume of a bluetooth device according to the present embodiment includes:
step 201, obtaining a volume adjustment instruction which is input by a user operating on the terminal device and used for adjusting the volume of the connected bluetooth device, and determining the bluetooth volume value.
In the method for adjusting the volume of the bluetooth device provided in this embodiment, a user performs a volume adjustment operation on the terminal device to adjust the volume of the bluetooth device connected to the terminal device. The terminal device generally has a physical key for volume adjustment, such as a push key or a touch key, the volume adjustment key generally has two functions of volume up and volume down, and some terminal devices also have a mute key or a switch. The user can adjust the volume by pressing or touching a physical key for volume adjustment. When the terminal device establishes a bluetooth connection with the bluetooth device, the volume adjustment operation performed on the terminal device will correspond to adjusting the volume of the bluetooth device. The display interface of the terminal equipment can also display a volume adjustment option, a volume adjustment button or a volume adjustment progress bar and the like, and a user adjusts the volume through operation on the display interface. In addition, if the terminal device itself also has an audio output capability, the terminal device may further include at least two volume adjustment options, one of which is used to adjust the bluetooth volume of the bluetooth device connected to the terminal device, and the other is used to adjust the output volume of the terminal device itself. The user may simply choose to adjust the bluetooth volume of the bluetooth device to which the terminal device is connected.
In a word, after the user operates the terminal device, the terminal device may obtain a volume adjustment instruction for adjusting the volume of the bluetooth device connected to the terminal device through analysis of the user operation. The terminal device can determine the Bluetooth volume value corresponding to the volume adjusting instruction through analysis of user operation according to a preset rule. For example, the user presses the volume up key of the terminal device once, which means that the bluetooth volume is increased by 10%, and so on.
Step 202, according to the bluetooth volume value, adjusting the volume gain of the audio data to be sent to the bluetooth device.
This step is the same as step 102 and is not described here again.
Step 203, sending a volume adjustment notification to the bluetooth device, where the volume adjustment notification includes the bluetooth volume value of the audio data after the gain adjustment.
Since both the bluetooth device and the terminal device may have the volume adjustment capability, if the gain of the audio data is only adjusted in the terminal device, although the bluetooth device may finally output the audio data after the gain adjustment, the bluetooth volume value stored in the bluetooth device may still be the bluetooth volume value before the volume adjustment. If the user performs the volume adjustment operation on the bluetooth device again, the bluetooth volume may be adjusted based on the volume value before adjustment on the bluetooth device, which may cause a volume adjustment error and affect the user.
Therefore, after the terminal device adjusts the volume gain of the audio data to be sent to the bluetooth device, a volume adjustment notification may also be sent to the bluetooth device, where the volume adjustment notification includes the bluetooth volume value of the audio data after the gain adjustment. Then, after receiving the volume adjustment notification, the bluetooth device will know that the bluetooth volume is currently adjusted, and the bluetooth device will adjust the stored bluetooth volume value, so that the bluetooth volume values of the bluetooth device and the terminal device are kept consistent. Therefore, when the user adjusts the volume of the Bluetooth device again, the user can carry out correct adjustment no matter the user operates on the Bluetooth device or the terminal device.
It should be noted that this step is optional, and the terminal device does not have to send the volume adjustment notification to the bluetooth device.
And step 204, sending the audio data after the gain adjustment to the Bluetooth equipment.
This step is the same as step 103 and is not described here again.
The volume adjustment method for the bluetooth device provided by this embodiment obtains the volume information input by the user operating the terminal device, a volume adjustment command for adjusting the volume of the connected Bluetooth device, determining the Bluetooth volume value, adjusting the volume gain of the audio data to be sent to the Bluetooth device according to the Bluetooth volume value, and transmits a volume adjustment notification including a bluetooth volume value of the gain-adjusted audio data to the bluetooth device, the process of adjusting the volume of the Bluetooth device is completely finished in the terminal device, so that a volume adjusting module for adjusting the volume is not required to be configured in the Bluetooth device, therefore, the cost of the Bluetooth equipment is saved, the power consumption of the Bluetooth equipment is reduced, the miniaturization design of the Bluetooth equipment is facilitated, and the Bluetooth volume values in the terminal equipment and the Bluetooth equipment can be kept consistent.
Fig. 3 is a flowchart of a third embodiment of a method for adjusting the volume of a bluetooth device according to an embodiment of the present application, and as shown in fig. 3, the method for adjusting the volume of a bluetooth device according to the present embodiment includes:
In the method for adjusting the volume of the bluetooth device provided in this embodiment, a user performs a volume adjustment operation on the bluetooth device connected to the terminal device to adjust the volume of the bluetooth device. Bluetooth devices generally have physical keys for volume adjustment, such as push keys or touch keys, and volume adjustment keys generally have two functions of volume up and volume down. The user can adjust the volume by pressing or touching a physical key for volume adjustment. When the Bluetooth connection is established between the Bluetooth device and the terminal device, after the user performs volume adjustment operation on the Bluetooth device, the Bluetooth device generates a volume adjustment instruction, wherein the volume adjustment instruction comprises a Bluetooth volume value. The bluetooth device will send the volume adjustment instruction to the terminal device that has been connected through bluetooth.
After receiving the volume adjustment instruction, the terminal device can acquire the Bluetooth volume value therein.
This step is the same as step 102 and is not described here again.
In the embodiment shown in fig. 2, since the volume adjustment operation is performed in the terminal device, the terminal device may adjust the bluetooth volume value in the terminal device after acquiring the volume adjustment operation. However, in this embodiment, since the volume adjustment operation is performed in the bluetooth device, after the terminal device receives the volume adjustment instruction sent by the bluetooth device, optionally, the bluetooth volume value corresponding to the bluetooth device in the terminal device may also be adjusted to the bluetooth volume value of the audio data after the gain is adjusted. Therefore, the Bluetooth volume value in the terminal equipment and the Bluetooth equipment is ensured to be uniform.
The execution sequence of the step 302 and the step 303 is not divided in sequence.
And step 304, sending the audio data after the gain adjustment to the Bluetooth equipment.
This step is the same as step 103 and is not described here again.
In the volume adjustment method for the bluetooth device provided by this embodiment, the terminal device determines the bluetooth volume value by receiving the volume adjustment instruction sent by the bluetooth device, then adjusts the volume gain of the audio data to be sent to the bluetooth device according to the bluetooth volume value, and sends the volume adjustment notification including the bluetooth volume value of the audio data after the gain adjustment to the bluetooth device, so that the processing of performing volume adjustment on the bluetooth device is completely completed in the terminal device, and therefore, a volume adjustment module for performing volume adjustment does not need to be configured in the bluetooth device, thereby saving the cost of the bluetooth device, reducing the power consumption of the bluetooth device, facilitating the miniaturization design of the bluetooth device, and enabling the bluetooth volume values in the terminal device and the bluetooth device to be consistent.
Fig. 4 is a flowchart of a fourth embodiment of a method for adjusting the volume of a bluetooth device according to the embodiment of the present application, and as shown in fig. 4, the method for adjusting the volume of a bluetooth device according to the embodiment includes:
step 401, obtaining a bluetooth volume value determined according to a bluetooth volume adjustment instruction input by a user.
The volume adjustment method for the bluetooth device provided by the embodiment is applied to the bluetooth device connected with the terminal device. The terminal device is any terminal device capable of performing bluetooth connection with a bluetooth device, such as a mobile phone, a tablet computer, a music player, and the like. The bluetooth device connected with the terminal device is any device which can be connected with the terminal device through bluetooth and has an audio playing function, such as a bluetooth headset, a bluetooth sound box, a vehicle-mounted sound box and the like.
Before playing the audio on the terminal device by using the bluetooth device, the bluetooth device and the terminal device need to be connected through bluetooth first. The specific mode of connecting the bluetooth device with the terminal device can adopt any one of the current modes, and is not repeated in the application. However, before the bluetooth device is connected with the terminal device, a pairing process needs to be performed first, and after the pairing is completed, the connection is performed, so that one-to-one communication connection is established between the connected bluetooth device and the terminal device. The transmission of data and control commands between the bluetooth device and the terminal device can be carried out via the established bluetooth connection.
In the existing Bluetooth volume adjustment method, the volume of the Bluetooth equipment can be adjusted only by responding to the operation of adjusting the volume by a hardware adjustment module configured in the Bluetooth equipment, so that the cost, the volume and the power consumption of the Bluetooth equipment are improved. Therefore, in the method for adjusting the volume of the bluetooth device provided in this embodiment, the output volume of the bluetooth device is not adjusted by relying on the hardware adjusting module in the bluetooth device, but the output volume of the bluetooth device is adjusted by adjusting the gain of the audio data sent to the bluetooth device by the terminal device.
The bluetooth volume adjustment instruction for adjusting the volume of the bluetooth device may be performed by the user on the terminal device or may be performed by the user on the bluetooth device. The bluetooth volume adjustment instruction is acquired by the terminal device regardless of where the user performs the operation of adjusting the volume of the bluetooth device. And then the terminal equipment adjusts the volume gain of the audio data to be sent to the Bluetooth equipment according to the Bluetooth volume value in the Bluetooth volume adjusting instruction. The specific method for adjusting the volume gain of the audio data to be sent to the bluetooth device by the terminal device is the same as that in the embodiment shown in fig. 1, and is not described herein again.
After the terminal equipment adjusts the Bluetooth volume value, the Bluetooth volume value is sent to the Bluetooth equipment, so that the Bluetooth equipment can know the adjustment of the Bluetooth volume.
And after the volume gain of the audio data to be sent to the Bluetooth equipment is adjusted, the terminal equipment sends the audio data after the gain adjustment to the Bluetooth equipment. And the Bluetooth device receives the audio data which is sent by the terminal device and subjected to the volume gain adjustment through Bluetooth connection. The audio data is received in the form of a digital signal.
In step 403, the audio data is played.
And after receiving the audio data after the gain adjustment through the Bluetooth connection, the Bluetooth device performs digital-to-analog conversion on the audio data to obtain an analog audio signal after the gain adjustment. The Bluetooth device plays the analog audio signal, which is equivalent to playing the audio signal after the volume is adjusted. However, by adopting the volume adjustment method for the bluetooth device provided by the embodiment of the application to adjust the volume of the output signal of the bluetooth device, the volume adjustment module on the bluetooth device is not needed, but the terminal device directly adjusts the gain of the audio data at the input end, so that the bluetooth device does not need to be configured with the volume adjustment module, the cost of the bluetooth device is saved, the power consumption of the bluetooth device is reduced, and the miniaturization design of the bluetooth device is facilitated.
According to the volume adjustment method for the Bluetooth equipment, the audio data which are sent by the terminal equipment connected with the Bluetooth equipment and subjected to volume gain adjustment are received and played, so that the processing of volume adjustment on the Bluetooth equipment is completely finished in the terminal equipment, and therefore a volume adjustment module for volume adjustment does not need to be configured in the Bluetooth equipment, the cost of the Bluetooth equipment is saved, the power consumption of the Bluetooth equipment is reduced, and the miniaturization design of the Bluetooth equipment is facilitated.
The existing bluetooth device and terminal device are generally configured with a bluetooth volume adjusting button or related functions, and a user can adjust the output volume of the bluetooth device through operation on the bluetooth device and also can adjust the output volume of the bluetooth device through operation on the terminal device. The two adjusting scenarios are used to further explain the volume adjusting method of the bluetooth device shown in the embodiment shown in fig. 4.
Fig. 5 is a flowchart of a fifth embodiment of a method for adjusting the volume of a bluetooth device according to an embodiment of the present application, and as shown in fig. 5, the method for adjusting the volume of a bluetooth device according to the present embodiment includes:
step 501, receiving a volume adjustment notification sent by a terminal device, where the volume adjustment notification includes a bluetooth volume value.
In the method for adjusting the volume of the bluetooth device provided in this embodiment, a user performs a volume adjustment operation on the terminal device to adjust the volume of the bluetooth device connected to the terminal device. The terminal device generally has a physical key for volume adjustment, such as a push key or a touch key, the volume adjustment key generally has two functions of volume up and volume down, and some terminal devices also have a mute key or a switch. The user can adjust the volume by pressing or touching a physical key for volume adjustment. When the terminal device establishes a bluetooth connection with the bluetooth device, the volume adjustment operation performed on the terminal device will correspond to adjusting the volume of the bluetooth device. The display interface of the terminal equipment can also display a volume adjustment option, a volume adjustment button or a volume adjustment progress bar and the like, and a user adjusts the volume through operation on the display interface. In addition, if the terminal device itself also has an audio output capability, the terminal device may further include at least two volume adjustment options, one of which is used to adjust the bluetooth volume of the bluetooth device connected to the terminal device, and the other is used to adjust the output volume of the terminal device itself. The user may simply choose to adjust the bluetooth volume of the bluetooth device to which the terminal device is connected.
In a word, after the user operates the terminal device, the terminal device may obtain a volume adjustment instruction for adjusting the volume of the bluetooth device connected to the terminal device through analysis of the user operation. The terminal device can determine the Bluetooth volume value corresponding to the volume adjusting instruction through analysis of user operation according to a preset rule. For example, the user presses the volume up key of the terminal device once, which means that the bluetooth volume is increased by 10%, and so on. After the terminal device performs volume adjustment, a volume adjustment notification may be sent to the bluetooth device, where the volume adjustment notification includes a bluetooth volume value.
Since both the bluetooth device and the terminal device may have the volume adjustment capability, if the gain of the audio data is only adjusted in the terminal device, although the bluetooth device may finally output the audio data after the gain adjustment, the bluetooth volume value stored in the bluetooth device may still be the bluetooth volume value before the volume adjustment. If the user performs the volume adjustment operation on the bluetooth device again, the bluetooth volume may be adjusted based on the volume value before adjustment on the bluetooth device, which may cause a volume adjustment error and affect the user.
Therefore, after the terminal device adjusts the volume gain of the audio data to be sent to the bluetooth device, a volume adjustment notification may also be sent to the bluetooth device, where the volume adjustment notification includes the bluetooth volume value of the audio data after the gain adjustment. The Bluetooth device can acquire the Bluetooth volume value after receiving the volume adjustment notification.
Step 502, adjust the bluetooth volume value in the bluetooth device to the bluetooth volume value in the volume adjustment notification.
After the Bluetooth device receives the volume adjustment notification, the Bluetooth device can know that the Bluetooth volume is currently adjusted, and the Bluetooth device can adjust the Bluetooth volume value in the Bluetooth device, so that the Bluetooth volume values of the Bluetooth device and the terminal device are kept consistent. Therefore, when the user adjusts the volume of the Bluetooth device again, the user can carry out correct adjustment no matter the user operates on the Bluetooth device or the terminal device.
Step 503 and step 504 are the same as step 402 and step 403, and are not described here again.
In the volume adjustment method for the bluetooth device provided by this embodiment, the audio data after the volume gain adjustment sent by the terminal device connected to the bluetooth device is received and played, and the volume adjustment notification sent by the terminal device is received to adjust the bluetooth volume value of the bluetooth device, so that the processing of volume adjustment on the bluetooth device is completely completed in the terminal device, and therefore, a volume adjustment module for volume adjustment does not need to be configured in the bluetooth device, thereby saving the cost of the bluetooth device, reducing the power consumption of the bluetooth device, facilitating the miniaturization design of the bluetooth device, and enabling the bluetooth volume values in the terminal device and the bluetooth device to be consistent.
Fig. 6 is a flowchart of a sixth embodiment of a method for adjusting the volume of a bluetooth device according to an embodiment of the present application, and as shown in fig. 6, the method for adjusting the volume of a bluetooth device according to the present embodiment includes:
In the method for adjusting the volume of the bluetooth device provided in this embodiment, a user performs a volume adjustment operation on the bluetooth device connected to the terminal device to adjust the volume of the bluetooth device. Bluetooth devices generally have physical keys for volume adjustment, such as push keys or touch keys, and volume adjustment keys generally have two functions of volume up and volume down. The user can adjust the volume by pressing or touching a physical key for volume adjustment. When the Bluetooth connection is established between the Bluetooth device and the terminal device, after the user performs volume adjustment operation on the Bluetooth device, the Bluetooth device generates a volume adjustment instruction, wherein the volume adjustment instruction comprises a Bluetooth volume value.
The bluetooth device will send the volume adjustment instruction to the terminal device that has been connected through bluetooth. After receiving the audio adjustment instruction, the terminal device may adjust the bluetooth volume of the bluetooth device, and the specific method for adjusting the bluetooth volume by the terminal device is described in detail in the foregoing embodiments, and is not described herein again.
Step 603, obtaining the bluetooth volume value determined according to the bluetooth volume adjustment instruction input by the user.
The Bluetooth device can acquire the Bluetooth volume value according to the Bluetooth volume adjusting instruction input by the user on the Bluetooth device, and adjust the current Bluetooth volume value of the Bluetooth device into the Bluetooth volume value adjusted according to the Bluetooth volume adjusting instruction.
Step 604 and step 605 are the same as step 302 and step 303, and are not described here again.
The volume adjustment method for the bluetooth device provided by this embodiment obtains the input from the bluetooth device by the user operating the bluetooth device, a volume adjustment instruction for adjusting the volume of the Bluetooth device and sending the volume adjustment instruction to the terminal device to adjust the volume gain of the audio data to be sent to the Bluetooth device, then receiving the audio data sent by the terminal equipment after the volume gain adjustment, and playing, the process of adjusting the volume of the Bluetooth device is completely finished in the terminal device, so that a volume adjusting module for adjusting the volume is not required to be configured in the Bluetooth device, therefore, the cost of the Bluetooth equipment is saved, the power consumption of the Bluetooth equipment is reduced, the miniaturization design of the Bluetooth equipment is facilitated, and the Bluetooth volume values in the terminal equipment and the Bluetooth equipment can be kept consistent.
Further, since the conventional bluetooth device has a volume adjustment module, in order to make the volume adjustment method of the bluetooth device provided in the embodiment of the present application compatible with the existing method, optionally, a feature item, that is, a volume adjustment feature item, may also be added to the control instruction transmitted between the bluetooth device and the terminal device. When the Bluetooth device does not have the volume adjustment module, after the Bluetooth device is connected with the terminal device through Bluetooth, the Bluetooth device can send a volume adjustment feature item to the terminal device, and the volume adjustment feature item is used for indicating that the Bluetooth device does not have the volume adjustment capability. Or after the Bluetooth device is connected with the terminal device through the Bluetooth, when the Bluetooth device learns that the terminal device needs to send audio data, the Bluetooth device sends a volume adjustment feature item to the terminal device. After the terminal device receives the volume adjustment feature item, it can be known that the bluetooth device does not have the volume adjustment capability, and then the volume of the bluetooth device can be adjusted by adjusting the volume gain of the audio data to be sent to the bluetooth device. The volume adjustment feature may be sent at any time before the terminal device sends the audio data to the bluetooth device, for example, if the volume adjustment operation is performed on the bluetooth device, the bluetooth device may send the volume adjustment instruction to the terminal device along with the volume adjustment feature.
After receiving the volume adjustment feature item sent by the bluetooth device, the terminal device adjusts the volume gain of the audio data, so that the volume adjustment method for the bluetooth device provided by the embodiment of the application can be compatible with the existing bluetooth device, and the popularization and the application of the volume adjustment method for the bluetooth device provided by the application are facilitated.
Fig. 7 is a flowchart of a seventh embodiment of a method for adjusting the volume of a bluetooth device according to an embodiment of the present application, and as shown in fig. 7, the method for adjusting the volume of a bluetooth device according to the present embodiment includes:
And step 703, the terminal device sends the audio data after the gain adjustment to the bluetooth device.
Step 704, the terminal device sends a volume adjustment notification to the bluetooth device, where the volume adjustment notification includes the bluetooth volume value of the audio data after the gain adjustment.
In step 706, the bluetooth device plays the audio data.
This embodiment is an interactive embodiment of the method for adjusting the volume of a bluetooth device according to the embodiment of the present application, and a specific execution flow thereof is the same as that in the foregoing embodiment, and is not described herein again.
Fig. 8 is a flowchart of an eighth embodiment of a method for adjusting a volume of a bluetooth device according to an embodiment of the present application, and as shown in fig. 8, the method for adjusting a volume of a bluetooth device according to the present embodiment includes:
Step 802, the bluetooth device sends a volume adjustment instruction to the terminal device, where the volume adjustment instruction includes a bluetooth volume value.
And step 803, the terminal equipment adjusts the volume gain of the audio data to be sent to the Bluetooth equipment according to the Bluetooth volume value.
Step 805, the terminal device sends the audio data after adjusting the gain to the bluetooth device.
In step 806, the bluetooth device plays the audio data.
This embodiment is another interactive embodiment of the method for adjusting the volume of a bluetooth device according to the embodiment of the present application, and the specific execution flow is the same as that in the foregoing embodiment, which is not described herein again.
Fig. 9 is a schematic structural diagram of a first embodiment of a volume adjustment apparatus for bluetooth devices according to an embodiment of the present application, and as shown in fig. 9, the volume adjustment apparatus for bluetooth devices according to the present embodiment includes:
the instruction obtaining module 91 is configured to obtain a volume adjustment instruction for adjusting the volume of the bluetooth device connected to the terminal device, and determine a bluetooth volume value.
And the volume adjusting module 92 is configured to adjust a volume gain of the audio data to be sent to the bluetooth device according to the bluetooth volume value.
And the audio sending module 93 is configured to send the audio data after the gain adjustment to the bluetooth device.
The volume adjusting device for the bluetooth device provided by the embodiment of the application can execute the volume adjusting method for the bluetooth device provided by any embodiment shown in fig. 1 to fig. 3, and has corresponding functional modules and beneficial effects of the executing method.
Further, in the embodiment shown in fig. 9, the instruction obtaining module 91 is specifically configured to obtain a volume adjustment instruction, which is input by a user operating on the terminal device and is used for performing volume adjustment on a connected bluetooth device, and determine a bluetooth volume value.
Further, in the embodiment shown in fig. 9, the apparatus for adjusting the volume of a bluetooth device further includes a notification sending module, configured to send a volume adjustment notification to the bluetooth device, where the volume adjustment notification includes the bluetooth volume value of the audio data after the gain is adjusted.
Further, in the embodiment shown in fig. 9, the instruction obtaining module 91 is specifically configured to receive a volume adjustment instruction sent by the bluetooth device, and determine a bluetooth volume value.
Further, in the embodiment shown in fig. 9, the volume adjusting module 92 is further configured to adjust a bluetooth volume value corresponding to the bluetooth device in the terminal device to a bluetooth volume value of the audio data after the gain is adjusted.
Further, in the embodiment shown in fig. 9, the volume adjusting module 92 is specifically configured to adjust an output level amplitude of audio data to be sent to the bluetooth device according to the bluetooth volume value.
Further, in the embodiment shown in fig. 9, the apparatus for adjusting the volume of a bluetooth device further includes a feature item receiving module, configured to receive a volume adjustment feature item sent by the bluetooth device, where the volume adjustment feature item is used to indicate that the bluetooth device does not have a volume adjustment capability.
Fig. 10 is a schematic structural diagram of a second embodiment of a volume adjustment apparatus for bluetooth devices according to the embodiment of the present application, and as shown in fig. 10, the volume adjustment apparatus for bluetooth devices according to the embodiment includes:
the volume acquiring module 100 is configured to acquire a bluetooth volume value determined according to a bluetooth volume adjusting instruction input by a user.
And the audio receiving module 110 is configured to receive audio data sent by a terminal device connected to the bluetooth device, where the audio data is audio data obtained by performing volume gain adjustment on the terminal device according to the bluetooth volume value.
And an audio playing module 120, configured to play audio data.
The volume adjusting device for the bluetooth device provided by the embodiment of the application can execute the volume adjusting method for the bluetooth device provided by any embodiment shown in fig. 4 to fig. 6, and has corresponding functional modules and beneficial effects of the executing method.
Further, in the embodiment shown in fig. 10, the volume obtaining module 100 is specifically configured to receive a volume adjustment notification sent by the terminal device, where the volume adjustment notification includes the bluetooth volume value; the volume adjusting device of the Bluetooth equipment also comprises a volume adjusting module which is used for adjusting the Bluetooth volume value in the Bluetooth equipment into the Bluetooth volume value in the volume adjusting notice.
Further, in the embodiment shown in fig. 10, the volume adjusting apparatus of the bluetooth device further includes a volume adjusting module instruction obtaining module, configured to obtain, on the bluetooth device, a volume adjusting instruction, which is input by a user operating on the bluetooth device and is used for adjusting the volume of the bluetooth device; and the instruction sending module is used for sending the volume adjusting instruction to the terminal, and the volume adjusting instruction comprises a Bluetooth volume value.
Further, in the embodiment shown in fig. 10, the apparatus for adjusting the volume of the bluetooth device further includes a feature item sending module, configured to send a volume adjustment feature item to the terminal device, where the volume adjustment feature item is used to indicate that the bluetooth device does not have a volume adjustment capability.
Fig. 11 is a schematic structural diagram of a terminal device according to an embodiment of the present application, and as shown in fig. 11, the terminal device includes a processor 111, a memory 112, an input device 113, and an output device 114; the number of the processors 111 in the terminal device may be one or more, and one processor 111 is taken as an example in fig. 11; the processor 111, the memory 112, the input device 113 and the output device 114 in the terminal equipment may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 11.
The memory 112 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the volume adjustment method of the bluetooth device in the embodiments of fig. 1 to 3 of the present application (for example, the instruction obtaining module 91, the volume adjustment module 92, and the audio sending module 93 in the volume adjustment apparatus of the bluetooth device). The processor 111 executes software programs, instructions and modules stored in the memory 112, so as to implement various functional applications and data processing of the terminal device, that is, the above-mentioned volume adjustment method for the bluetooth device.
The memory 112 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 112 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
The input device 113 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. The output device 114 may include a display device such as a display screen.
Fig. 12 is a schematic structural diagram of a bluetooth apparatus according to an embodiment of the present application, and as shown in fig. 12, the terminal apparatus includes a processor 121, a memory 122, an input device 123, and an output device 124; the number of the processors 121 in the bluetooth device may be one or more, and one processor 121 is taken as an example in fig. 12; the processor 121, the memory 122, the input device 123 and the output device 124 in the bluetooth apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 12.
The memory 122 is a computer-readable storage medium, and can be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the volume adjustment method for the bluetooth device in the embodiments of fig. 4 to 6 of the present application (for example, the volume obtaining module 100, the audio receiving module 110, and the audio playing module 120 in the volume adjustment apparatus for the bluetooth device). The processor 121 executes software programs, instructions and modules stored in the memory 122, so as to implement various functional applications and data processing of the bluetooth device, that is, the above-mentioned volume adjustment method for the bluetooth device is implemented.
The memory 122 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 122 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
The input device 123 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the bluetooth apparatus. The output device 114 may include an audio output device such as a speaker.
Embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for adjusting a volume of a bluetooth device, the method comprising:
acquiring a volume adjustment instruction for adjusting the volume of the Bluetooth equipment connected with the terminal equipment, and determining the Bluetooth volume value;
adjusting the volume gain of audio data to be sent to the Bluetooth equipment according to the Bluetooth volume value;
and sending the audio data after the gain adjustment to the Bluetooth equipment.
Embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for adjusting a volume of a bluetooth device, the method comprising:
acquiring a Bluetooth volume value determined according to a Bluetooth volume adjusting instruction input by a user;
receiving audio data sent by terminal equipment connected with the Bluetooth equipment, wherein the audio data is audio data obtained after the terminal equipment performs volume gain adjustment according to the Bluetooth volume value;
and playing the audio data.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the method described above, and may also perform related operations in the method for adjusting the volume of a bluetooth device provided in any embodiment of the present application.
From the above description of the embodiments, it is obvious for those skilled in the art that the present application can be implemented by software and necessary general hardware, and certainly can be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods described in the embodiments of the present application.
It should be noted that, in the embodiment of the above search apparatus, each included unit and module are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the application.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.
Claims (17)
1. A volume adjusting method of Bluetooth equipment is applied to terminal equipment and is characterized by comprising the following steps:
acquiring a volume adjusting instruction for adjusting the volume of the Bluetooth equipment connected with the terminal equipment, and determining the Bluetooth volume value, wherein the volume adjusting instruction comprises an absolute value or a relative value for adjusting the Bluetooth volume;
adjusting the volume gain of audio data to be sent to the Bluetooth equipment according to the Bluetooth volume value;
and sending the audio data after the gain adjustment to the Bluetooth equipment.
2. The method of claim 1, wherein the obtaining a volume adjustment command for adjusting the volume of the bluetooth device connected to the terminal device and determining the bluetooth volume value comprises:
and acquiring a volume adjustment instruction which is input by the user through operation on the terminal equipment and is used for adjusting the volume of the connected Bluetooth equipment, and determining the Bluetooth volume value.
3. The method of claim 2, wherein after adjusting the volume gain of the audio data in the audio system according to the Bluetooth volume value, the method further comprises:
and sending a volume adjustment notice to the Bluetooth equipment, wherein the volume adjustment notice comprises the Bluetooth volume value of the audio data after the gain adjustment.
4. The method of claim 1, wherein the obtaining a volume adjustment command for adjusting the volume of the bluetooth device connected to the terminal device and determining the bluetooth volume value comprises:
and receiving a volume adjusting instruction sent by the Bluetooth equipment, and determining a Bluetooth volume value.
5. The method of claim 4, wherein after receiving the volume adjustment command sent by the Bluetooth device and determining the Bluetooth volume value, the method further comprises:
and adjusting the Bluetooth volume value corresponding to the Bluetooth equipment in the terminal equipment into the Bluetooth volume value of the audio data after the gain is adjusted.
6. The method according to any one of claims 1 to 5, wherein the adjusting the volume gain of the audio data to be sent to the Bluetooth device according to the Bluetooth volume value comprises:
and adjusting the output level amplitude of the audio data to be sent to the Bluetooth equipment according to the Bluetooth volume value.
7. The method according to any one of claims 1 to 5, wherein before adjusting the volume gain of the audio data to be sent to the Bluetooth device according to the Bluetooth volume value, the method further comprises:
and receiving a volume adjustment characteristic item sent by the Bluetooth equipment, wherein the volume adjustment characteristic item is used for indicating that the Bluetooth equipment does not have volume adjustment capability.
8. A volume adjusting method of Bluetooth equipment is applied to the Bluetooth equipment and is characterized by comprising the following steps:
acquiring a Bluetooth volume value determined according to a Bluetooth volume adjusting instruction input by a user, wherein the volume adjusting instruction comprises an absolute value or a relative value for adjusting the Bluetooth volume;
receiving audio data sent by terminal equipment connected with the Bluetooth equipment, wherein the audio data is audio data obtained after the terminal equipment performs volume gain adjustment according to the Bluetooth volume value;
and playing the audio data.
9. The method of claim 8, wherein obtaining the Bluetooth volume value determined according to the Bluetooth volume adjustment instruction input by the user comprises:
receiving a volume adjustment notification sent by the terminal equipment, wherein the volume adjustment notification comprises the Bluetooth volume value;
adjusting the Bluetooth volume value in the Bluetooth device to the Bluetooth volume value in the volume adjustment notification.
10. The method of claim 8, wherein before receiving the audio data sent by the terminal device connected to the bluetooth device, the method further comprises:
acquiring a volume adjustment instruction which is input by a user operating on the Bluetooth equipment and is used for adjusting the volume of the Bluetooth equipment on the Bluetooth equipment;
and sending the volume adjusting instruction to the terminal equipment, wherein the volume adjusting instruction comprises a Bluetooth volume value.
11. The method according to any one of claims 8 to 10, wherein before receiving the audio data sent by the terminal device connected with the Bluetooth device, the method further comprises:
and sending a volume adjustment feature item to the terminal equipment, wherein the volume adjustment feature item is used for indicating that the Bluetooth equipment does not have volume adjustment capability.
12. A volume adjusting device for Bluetooth equipment is characterized by comprising:
the Bluetooth volume adjusting device comprises an instruction obtaining module and a Bluetooth volume adjusting module, wherein the instruction obtaining module is used for obtaining a volume adjusting instruction for adjusting the volume of Bluetooth equipment connected with a terminal device and determining a Bluetooth volume value, and the volume adjusting instruction comprises an absolute value or a relative value for adjusting the Bluetooth volume;
the volume adjusting module is used for adjusting the volume gain of the audio data to be sent to the Bluetooth equipment according to the Bluetooth volume value;
and the audio sending module is used for sending the audio data after the gain adjustment to the Bluetooth equipment.
13. A volume adjusting device for Bluetooth equipment is characterized by comprising:
the volume acquisition module is used for acquiring a Bluetooth volume value determined according to a Bluetooth volume adjustment instruction input by a user, wherein the volume adjustment instruction comprises an absolute value or a relative value for adjusting the Bluetooth volume;
the audio receiving module is used for receiving audio data sent by terminal equipment connected with Bluetooth equipment, wherein the audio data is the audio data after the terminal equipment performs volume gain adjustment according to the Bluetooth volume value;
and the audio playing module is used for playing the audio data.
14. A terminal device, comprising:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the bluetooth device volume adjustment method of any one of claims 1-7.
15. A bluetooth device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the bluetooth device volume adjustment method of any one of claims 8-11.
16. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing a method for adjusting the volume of a bluetooth device as claimed in any one of claims 1 to 7.
17. A computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the method of adjusting the volume of a bluetooth device as claimed in any one of claims 8 to 11.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710917021.3A CN107633849B (en) | 2017-09-30 | 2017-09-30 | Bluetooth device volume adjustment 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 adjustment method, device and computer-readable storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107633849A CN107633849A (en) | 2018-01-26 |
| CN107633849B true 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 adjustment method, device and computer-readable storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107633849B (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| 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 |
| CN114697754B (en) * | 2020-12-28 | 2024-02-13 | 深圳Tcl新技术有限公司 | Method, system, medium and terminal equipment based on wireless access telephone conference |
| CN115473927B (en) * | 2021-05-25 | 2024-11-12 | Oppo广东移动通信有限公司 | Volume synchronization method, device, electronic device and storage medium |
| CN113489844B (en) * | 2021-07-01 | 2022-06-10 | 荣耀终端有限公司 | Method and electronic device for adjusting volume level |
| CN115914704A (en) * | 2022-09-30 | 2023-04-04 | 海信视像科技股份有限公司 | Bluetooth master device, bluetooth slave device and volume control method |
| CN116980804B (en) * | 2023-09-25 | 2024-01-26 | 腾讯科技(深圳)有限公司 | Volume adjustment method, device, equipment and readable storage medium |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| 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 |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7295809B2 (en) * | 2002-07-19 | 2007-11-13 | Sony Ericsson Mobile Communications Ab | Portable audio playback device with bass enhancement |
| JP4772903B2 (en) * | 2009-12-25 | 2011-09-14 | 株式会社東芝 | Information processing device |
-
2017
- 2017-09-30 CN CN201710917021.3A patent/CN107633849B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| 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 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107633849A (en) | 2018-01-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107633849B (en) | Bluetooth device volume adjustment method, device and computer-readable storage medium | |
| CN109041024B (en) | Code rate optimization method and device, electronic equipment and storage medium | |
| US10503464B2 (en) | Sound effect configuration method and system and related device | |
| CN106126159B (en) | Audio stream processing method and mobile terminal | |
| CN106126172B (en) | A sound effect processing method and mobile terminal | |
| EP3664291A1 (en) | Audio signal adjustment method and device, storage medium, and terminal | |
| CN104393848B (en) | Volume adjusting method and device | |
| US12022019B2 (en) | Method and electronic device for adjusting output level of speaker on basis of distance from external electronic device | |
| US20110294541A1 (en) | Method for Generating Audible Location Alarm from Ear Level Device | |
| US20180293982A1 (en) | Voice assistant extension device and working method therefor | |
| JP2019128586A (en) | Audio processing method and apparatus, and computer-readable storage medium | |
| CN109005480A (en) | Information processing method and related product | |
| CN105959483B (en) | An audio stream processing method and mobile terminal | |
| CN107645721B (en) | Bluetooth device volume adjustment method, device and computer-readable storage medium | |
| CN106126165B (en) | A kind of audio stream processing method and mobile terminal | |
| CN106506437B (en) | Audio data processing method and device | |
| US10140086B2 (en) | Electronic device and audio ouputting method thereof | |
| CN106126163A (en) | A method and terminal for adjusting sound effects | |
| CN107371102A (en) | Audio playback volume control method, device, storage medium and mobile terminal | |
| CN107483732A (en) | Volume control method, device and storage medium of mobile terminal and mobile terminal | |
| CN108391208B (en) | Signal switching method, device, terminal, earphone, and computer-readable storage medium | |
| WO2017185602A1 (en) | Earphone mode switching method and electronic device | |
| CN111556406B (en) | Audio processing method, audio processing device and earphone | |
| CN109362012B (en) | Wired and wireless signal transmission and conversion method, speaker and storage medium | |
| TW201417559A (en) | Communication integration system and communication integration method |
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 |
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. |
|
| CB02 | Change of applicant information | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |