CN107329727B - Volume control method and device and computer storage readable storage medium - Google Patents

Volume control method and device and computer storage readable storage medium Download PDF

Info

Publication number
CN107329727B
CN107329727B CN201710485656.0A CN201710485656A CN107329727B CN 107329727 B CN107329727 B CN 107329727B CN 201710485656 A CN201710485656 A CN 201710485656A CN 107329727 B CN107329727 B CN 107329727B
Authority
CN
China
Prior art keywords
audio stream
pcm
volume
terminal
pcm audio
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710485656.0A
Other languages
Chinese (zh)
Other versions
CN107329727A (en
Inventor
曹永红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN201710485656.0A priority Critical patent/CN107329727B/en
Publication of CN107329727A publication Critical patent/CN107329727A/en
Application granted granted Critical
Publication of CN107329727B publication Critical patent/CN107329727B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path

Abstract

The invention discloses a volume control method and device for a Bluetooth sound box externally connected with a terminal and a computer readable storage medium, and belongs to the technical field of terminals. The method comprises the following steps: copying a Pulse Code Modulation (PCM) audio stream obtained by analyzing audio data to be played to obtain two paths of same PCM audio streams; if the Bluetooth sound box is detected to be connected, adjusting the PCM amplitude of one path of PCM audio stream according to a volume adjusting instruction, wherein the audio output equipment of the terminal adjusts the volume based on the other path of PCM audio stream; and transmitting the adjusted PCM audio stream to an external Bluetooth sound box, so that the external Bluetooth sound box performs sound output based on the adjusted PCM audio stream. According to the invention, the PCM audio stream is copied at the terminal side to obtain two paths of same PCM audio streams, so that the Bluetooth sound box can directly play sound according to the adjusted PCM audio stream, and the volume adjustment efficiency is improved.

Description

Volume control method and device and computer storage readable storage medium
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a volume control method and apparatus, and a computer-readable storage medium.
Background
With the development of the technology, when a user uses a terminal such as a smart television, a tablet computer, or the like to play audio data, in order to obtain better sound quality effect experience, the user usually plays the audio data through an intelligent wireless sound box, and the intelligent wireless sound box has a remote control function. For example, when this intelligent wireless stereo set is bluetooth stereo set, this bluetooth stereo set can use with smart television pairing, also is to broadcast the sound of smart television through bluetooth stereo set promptly. When the user needs to adjust the volume of the currently played audio data, under the condition that the distance between the Bluetooth sound box and the user is far away, the user may not conveniently adjust a knob on the Bluetooth sound box to control the volume, and at the moment, the user can control the volume of the Bluetooth sound box through a television remote controller.
The operation of adjusting the volume will now be described by taking bluetooth sound as an example. In the related art, when the terminal plays the audio data through the bluetooth sound, the currently played audio data may be firstly parsed into an audio stream in a PCM (Pulse Code Modulation) format, and then the audio stream in the PCM format is encoded into an audio stream in an SBC (Sub Band Code) format, and the audio stream in the SBC format is sent to the bluetooth sound. When the bluetooth sound receives the audio stream in the SBC format sent by the terminal, the audio stream in the SBC format may be decoded into the audio stream in the PCM format, and audio playing may be performed according to the amplitude of the audio stream in the PCM format. In the Audio playing process, when the terminal receives the volume adjusting instruction, the terminal can send the volume adjusting instruction carrying the target volume information to the bluetooth sound equipment through an AVRCP (Audio/Video Remote Control Profile) protocol. When the bluetooth sound receives the audio adjusting instruction, the amplitude of the audio stream in the PCM format may be adjusted according to the target volume information, so as to adjust the volume of the currently played audio data to the target volume.
However, since the AVRCP protocol version of many bluetooth sound devices in the market is low or does not support the AVRCP protocol, the bluetooth sound devices cannot process the volume adjustment command sent by the terminal through the AVRCP protocol. For such an intelligent wireless sound, if a user wants to adjust the volume of audio data played by the bluetooth sound, the user must manually rotate a button on the bluetooth sound to adjust the volume, so that inconvenience is brought to the user, and the efficiency of volume adjustment is reduced. In addition, for such a bluetooth sound equipment with a lower version of AVRCP protocol or not supporting AVRCP protocol, when the volume of the bluetooth sound box is not adjusted by the AVRCP protocol, but the volume of the audio stream input to the bluetooth sound equipment is adjusted on the terminal side, although the playing volume of the bluetooth sound box can be changed, the volume of all audio output ports of the terminal can be changed accordingly, if the connection between the bluetooth sound equipment and the terminal is disconnected at this time, the terminal can be switched to its own audio output equipment, such as a loudspeaker, and at this time, the user finds that the volume of the audio data output by its own audio output equipment is also changed at the same time;
that is to say, when a user wants to adjust the volume of the bluetooth sound, if the bluetooth sound cannot support analyzing the volume adjustment command through the AVRCP protocol, the amplitude of the PCM audio stream has to be adjusted on the terminal side, but such adjustment may cause not only the volume of the bluetooth sound to change, but also the volumes of all other audio output ports to change accordingly, that is, the volume of the bluetooth sound cannot be processed separately, thereby affecting the user experience.
Disclosure of Invention
In order to improve the efficiency of volume adjustment and user viscosity, the embodiment of the invention provides a volume control method and device for a Bluetooth sound box externally connected with a terminal and a computer readable storage medium. The technical scheme is as follows:
in a first aspect, a volume control method for a bluetooth sound externally connected to a terminal is provided, where the method includes:
copying a Pulse Code Modulation (PCM) audio stream obtained by analyzing audio data to be played to obtain two paths of same PCM audio streams;
if the Bluetooth sound box is detected to be connected, adjusting the PCM amplitude of one path of PCM audio stream according to a volume adjusting instruction, wherein the audio output equipment of the terminal adjusts the volume based on the other path of PCM audio stream;
and transmitting the adjusted PCM audio stream to an external Bluetooth sound box, so that the external Bluetooth sound box performs sound output based on the adjusted PCM audio stream.
Optionally, the copying the PCM audio stream obtained by parsing the audio data to be played includes:
creating a first audio stream buffer area, wherein the first audio stream buffer area is used for buffering PCM audio streams input to the externally connected intelligent wireless sound box;
and copying the PCM audio stream in a second audio stream buffer area to the first audio stream buffer area, wherein the second audio stream buffer area is used for buffering a pulse code modulation PCM audio stream obtained by analyzing the audio data to be played.
Optionally, the adjusting, according to the volume adjustment instruction, the PCM amplitude of one of the paths of PCM audio streams includes:
based on the received volume adjustment instruction, adjusting a PCM amplitude of the PCM audio stream in the first audio stream buffer.
Optionally, before copying the pulse code modulation PCM audio stream obtained by parsing the audio data to be played, the method further includes:
when a mode selection instruction is received, displaying a mode selection interface, wherein the mode selection interface is used for prompting selection of a volume adjustment mode;
and when receiving a command of volume adjustment by the terminal based on the mode selection interface, executing the operation of copying the Pulse Code Modulation (PCM) audio stream obtained by analyzing the audio data to be played.
Optionally, the transmitting the adjusted PCM audio stream to an external bluetooth sound device includes:
performing SBC protocol coding encapsulation on the adjusted path of PCM audio stream;
and transmitting the packaged PCM audio stream to the external Bluetooth sound box through a Bluetooth signal.
In a second aspect, a volume control device for a bluetooth sound externally connected to a terminal is provided, the device comprising:
the copying module is used for copying an initial Pulse Code Modulation (PCM) audio stream obtained by analyzing audio data to be played to obtain two paths of same PCM audio streams;
the adjusting module is used for adjusting the PCM amplitude of one path of PCM audio stream according to a volume adjusting instruction if the Bluetooth sound box is detected to be connected, wherein the audio output equipment of the terminal adjusts the volume based on the other path of PCM audio stream;
and the transmission module is used for transmitting the adjusted PCM audio stream to an external Bluetooth sound box so that the external Bluetooth sound box performs sound output based on the adjusted PCM audio stream.
Optionally, the copy module comprises:
the creating submodule is used for creating a first audio stream buffer area, and the first audio stream buffer area is used for buffering PCM audio streams input to the externally connected intelligent wireless sound box;
and the copying submodule is used for copying the PCM audio stream in the second audio stream buffer area to the first audio stream buffer area, and the second audio stream buffer area is used for buffering a pulse code modulation PCM audio stream obtained by analyzing the audio data to be played.
Optionally, the adjusting module is configured to:
based on the received volume adjustment instruction, adjusting a PCM amplitude of the PCM audio stream in the first audio stream buffer.
Optionally, the apparatus further comprises:
the display module is used for displaying a mode selection interface when a mode selection instruction is received, and the mode selection interface is used for prompting selection of a volume adjustment mode;
and the triggering module is used for triggering the copying module to copy the Pulse Code Modulation (PCM) audio stream obtained by analyzing the audio data to be played when receiving a command of volume adjustment by the terminal based on the mode selection interface.
Optionally, the transmission module includes:
the packaging sub-module is used for carrying out SBC protocol coding packaging on the adjusted path of PCM audio stream;
and the transmission submodule is used for transmitting the packaged PCM audio stream to the external Bluetooth sound box through a Bluetooth signal.
In a third aspect, a computer-readable storage medium is provided, in which a computer program is stored, which computer program, when being executed by a processor, is adapted to carry out the method of the first aspect.
The technical scheme provided by the embodiment of the invention has the following beneficial effects: in the embodiment of the invention, the PCM audio stream obtained by analyzing the audio data to be played can be copied to obtain two paths of same PCM audio streams, and when the volume is adjusted, if a Bluetooth sound box is connected, the PCM amplitude of one path of PCM audio stream can be adjusted, and the adjusted PCM audio stream is sent to the Bluetooth sound box, so that the Bluetooth sound box directly outputs sound based on the adjusted PCM audio stream without the support of AVRCP protocol, meanwhile, because the volume adjusting instruction only adjusts the PCM amplitude of one path of PCM audio stream, the audio output device of the terminal, such as a loudspeaker, can adjust the volume based on the other path of PCM audio stream, the external Bluetooth sound box and the audio output device of the terminal can be distinguished and controlled through the two paths of PCM audio streams, the volume of the Bluetooth sound box can be independently processed, and the user can conveniently and remotely adjust the volume of the Bluetooth sound box, the efficiency of volume adjustment and user viscosity are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1A is a schematic structural diagram of a volume control system for a bluetooth sound externally connected to a terminal according to an embodiment of the present invention;
fig. 1B is a schematic structural diagram of another volume control system for a bluetooth sound externally connected to a terminal according to an embodiment of the present invention;
fig. 1C is a schematic structural diagram of another volume control system for a bluetooth sound externally connected to a terminal according to an embodiment of the present invention;
FIG. 2A is a diagram illustrating a PCM audio stream transmission path according to an embodiment of the present invention;
fig. 2B is a flowchart of a method for controlling the volume of a bluetooth sound externally connected to a terminal according to an embodiment of the present invention;
fig. 3A is a schematic structural diagram of a volume control device of a bluetooth sound externally connected to a terminal according to an embodiment of the present invention;
FIG. 3B is a schematic structural diagram of a copy module according to an embodiment of the present invention;
fig. 3C is a schematic structural diagram of another volume control device for a bluetooth sound externally connected to a terminal according to an embodiment of the present invention;
fig. 3D is a schematic structural diagram of a transmission module according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Before explaining the embodiments of the present invention in detail, an application scenario and a system architecture related to the embodiments of the present invention are explained separately.
First, an application scenario related to the embodiment of the present invention is described.
When a user passes through audio data in the intelligent wireless sound playing terminal, if the volume of the currently played audio data is too high, damage can be caused to the auditory organs of the user, or the volume of the currently played audio data is often required to be adjusted when people are disturbed due to the fact that the volume is too high. Of course, when the volume of the currently played audio data is too low, and the user cannot clearly hear the content of the played audio data, the volume adjustment is also needed. However, in order to achieve better sound effect, a user is usually connected with an intelligent wireless stereo, such as a bluetooth stereo, on the terminal, and plays sound through the bluetooth stereo. In this case, when the user adjusts the volume of the currently played audio data, it is necessary to adjust the volume of the audio data played by the bluetooth speaker, instead of adjusting the volume of the audio data played by the terminal itself. Because bluetooth sound can not be controlled through the remote control ware at terminal at present, for example, when bluetooth sound is connected to the TV, bluetooth sound can not be controlled to the remote controller of TV. Based on the scene, the embodiment of the invention provides a method for remotely controlling the volume of a Bluetooth sound box externally connected with a terminal.
Finally, a system architecture according to an embodiment of the present invention is described.
Fig. 1A is a schematic structural diagram of a volume control system of a bluetooth sound externally connected to a terminal according to an embodiment of the present invention, and referring to fig. 1A, the volume control system includes a terminal 1 and an intelligent wireless sound 2, and the terminal 1 may be wirelessly connected to the intelligent wireless sound 2. In the embodiment of the present invention, the intelligent wireless stereo 2 is described by taking a bluetooth stereo as an example. When the terminal 2 plays the audio data through the bluetooth sound 2, the terminal may copy the PCM audio stream obtained by analyzing the audio data to be played, and may adjust the PCM amplitude of one of the PCM audio streams when the volume needs to be adjusted, and input the adjusted PCM audio stream to the bluetooth sound. When the Bluetooth speaker receives the adjusted PCM audio stream, sound output is performed based on the adjusted PCM audio stream.
Illustratively, in order to realize volume adjustment of the PCM audio stream input to the bluetooth sound, the terminal may include a volume adjustment module 11 and an audio stream output module 12 therein. Referring to fig. 1B, the volume adjustment module 11 is connected to the audio stream output module 12, and the audio stream output module 12 may be connected to the bluetooth speaker 2 through a bluetooth signal. The terminal copies the PCM audio stream obtained by analyzing the audio data to be played, obtains two paths of same PCM audio streams, plays the audio data through the bluetooth sound equipment at present, and when the volume needs to be adjusted, the volume adjusting module 11 may adjust the PCM amplitude of one path of PCM audio stream input to the bluetooth sound equipment 2, and inputs the adjusted path of PCM audio stream to the audio stream output module 12, and the audio stream output module 12 performs SBC protocol encapsulation on the adjusted path of PCM audio stream after receiving the adjusted path of PCM audio stream, and outputs the encapsulated copied PCM audio stream to the bluetooth sound equipment 2. It should be noted that, when the volume adjusting module 11 can be wirelessly connected to the bluetooth audio device 2, and the volume controlling module 11 can perform SBC protocol encapsulation on the copied PCM audio stream, the terminal may not include the audio stream output module 12.
In addition, other modules may be included in the terminal, for example, an audio stream control module 13, a speaker output device 14, an SPDIE (Sony/Philips Digital Interface Format ) output device 15, and the like may be included. The audio stream control module 13 can be connected to the speaker output device 14 and the SPDIE output device 15, respectively, and the audio stream control module 13 can output the parsed PCM audio stream to the audio output devices (the speaker output device 14 and the SPDIE output device 15) of the terminal itself. The volume adjustment module 11 and the audio stream control module 11 are located on an SOC (System on Chip) 16 of the terminal 1.
It should be noted that the bluetooth sound 2 may include an audio stream receiving module 21 and an audio stream driving module 22, referring to fig. 1C, the audio stream receiving module 21 may be connected to the audio stream output module 12 through a bluetooth signal, and the audio stream receiving module 21 is connected to the audio stream driving module 22. The audio stream receiving module 21 may receive the PCM audio stream output by the audio stream output module 12 via the bluetooth signal, and send the PCM audio stream to the audio stream driving module 22, and the audio stream driving module 22 may perform sound output based on the adjusted PCM audio stream.
In general, audio data played by the terminal through the intelligent wireless audio is embodied in the form of a PCM audio stream in the terminal and the intelligent wireless audio, and for facilitating understanding of the present invention, the following takes the intelligent wireless audio as a bluetooth audio as an example, and explains a transmission path of the PCM audio stream with reference to fig. 2A.
In the embodiment of the present invention, in the process of playing audio data by a terminal through a bluetooth sound, referring to fig. 2A, A2DP (advanced digital Distribution Profile, bluetooth audio transport module protocol) included in a Middleware (Middleware) may analyze the audio data to be played to obtain an analyzed PCM audio stream, and copy the analyzed PCM audio stream to obtain two identical PCM audio streams. When the volume needs to be adjusted, the PCM amplitude of one path of PCM audio stream can be adjusted, and the adjusted path of PCM audio stream is sent to a management Module (MTAL) included in a class Library (Library). The management module can perform SBC protocol encapsulation on the PCM Audio stream, and send one path of the encapsulated PCM Audio stream to an Audio Driver (Audio Driver) included in a Kernel (Linux Kernel) of the bluetooth sound, so that the Audio Driver plays Audio data.
It should be noted that A2DP may include a PCM data acquisition module (GetPcmData), which is the volume adjustment module shown in fig. 1B, the management module is the audio stream output module shown in fig. 1B, and the audio driver included in the bluetooth sound kernel is the audio stream driver module shown in fig. 1C.
In addition, in the embodiment of the present invention, referring to fig. 2A, the middleware may communicate with an interface display module (WebUI) through a communication wrapper (RPCWrapper), where the interface display module is used to manage a screen of the terminal. When the terminal performs PCM amplitude adjustment on one of the PCM audio streams, the current volume may be displayed on a screen of the terminal, and the volume may be displayed in a form of a progress bar or a digital form. Meanwhile, in the process of volume adjustment, the middleware can send the adjusted volume to the interface display module, so that the change of the volume can be displayed on the screen of the terminal in real time.
Furthermore, the middleware may include not only A2DP, but also other modules, such as HID (human interface Device), isolated gate GAP (GAP), and the like. The class library may also include not only the management module, but also other modules, such as an External adapter layer (External adapter layer), an internal adapter layer (internal adapter layer), a Bluetooth protocol (Bluetooth Profile), a Bluetooth data stack (Bluetooth stack), and the like. The external adapter layer can communicate with A2DP, and the internal adapter layer can communicate with each other. Of course, the core of the Bluetooth sound also includes not only an audio Driver, but also other modules, such as a Bluetooth Driver (Bluetooth Driver), a Bluetooth Chip (Bluetooth Chip), and the like. Wherein, the bluetooth driver can communicate with the bluetooth data stack.
Fig. 2B is a flowchart of a method for controlling the volume of a bluetooth sound externally connected to a terminal according to an embodiment of the present invention, and referring to fig. 2B, the method includes the following steps.
Step 201: and the terminal copies the PCM audio stream obtained by analyzing the audio data to be played to obtain two paths of same PCM audio streams.
Wherein, when the terminal is external to have the bluetooth sound, explain that the terminal need carry out audio data's broadcast through the bluetooth sound, at this moment, the terminal can copy PCM audio stream. When the terminal copies the PCM audio stream, the terminal can create a first audio stream buffer area which is used for buffering the PCM audio stream input to the external intelligent wireless sound box; copying the PCM audio stream in the second audio stream buffer to the first audio stream buffer, where the second audio stream buffer is used to buffer the PCM audio stream output by the audio output device of the terminal (i.e. the PCM audio stream obtained by parsing the audio data to be played).
It should be noted that the terminal may copy the PCM audio stream obtained by analysis when detecting that the bluetooth audio is connected, or may copy the PCM audio stream obtained by analysis when the bluetooth audio is not connected. When the terminal is not connected with the Bluetooth sound equipment, the PCM audio stream obtained through copying and analyzing is copied, and once the Bluetooth sound equipment is connected in the follow-up process, the terminal can output the audio stream of one path to the Bluetooth sound equipment in time, so that the efficiency of playing audio data through the Bluetooth sound equipment is improved.
Further, because the terminal is external when having bluetooth sound, if external bluetooth sound can carry out volume control through the AVRCP agreement, then the mode of adjusting bluetooth sound's volume may include two kinds, consequently, the terminal can select the mode of adjusting bluetooth sound's volume, and concrete operation can be: when a mode selection instruction is received, a mode selection interface can be displayed, and the mode selection interface is used for prompting selection of a volume adjustment mode; when an instruction for volume adjustment by the terminal is received based on the mode selection interface, the operation of step 201 is performed. When receiving an instruction for volume adjustment by the Bluetooth speaker based on the mode selection interface, the volume of the Bluetooth speaker is adjusted by the AVRCP protocol.
It should be noted that the mode selection instruction is used to select a volume adjustment manner, and the mode selection instruction may be triggered by a user through a specified operation, where the specified operation may be a click operation, a slide operation, a voice operation, and so on.
Step 202: and if the Bluetooth sound is detected to be connected, adjusting the PCM amplitude of one path of PCM audio stream according to the volume adjusting instruction, wherein the audio output equipment of the terminal adjusts the volume based on the other path of PCM audio stream.
Since the PCM audio stream (copy PCM audio stream) input to the bluetooth sound is buffered in the first audio stream buffer, if the terminal detects that the bluetooth sound is connected, the PCM amplitude of the PCM audio stream in the first audio stream buffer may be adjusted based on the received volume adjustment instruction.
In practice, any one of the two identical PCM audio streams may be used as one of the two PCM audio streams for adjusting the volume of the bluetooth sound, for example, the PCM audio stream obtained by initially analyzing the audio data is used as the PCM audio stream for correspondingly adjusting the volume of the bluetooth sound, and the other PCM audio stream obtained by copying is used as the audio output device of the terminal itself for adjusting the volume, or vice versa, the one PCM audio stream obtained by copying is used as the PCM audio stream for correspondingly adjusting the volume of the bluetooth sound, and the PCM audio stream obtained by initially analyzing the audio data to be played may be used for correspondingly adjusting the volume of the audio output device of the terminal itself.
It should be noted that the volume adjustment instruction is used to adjust the volume, and the volume adjustment instruction may be triggered by a user through a specified operation. The volume adjustment instruction can carry volume adjustment intensity, and the volume adjustment intensity can be +1db (decibel), +2db, +3db, -1db, -2db, and the like. When the volume adjustment intensity carried in the volume adjustment instruction is +1db, it indicates that the terminal needs to increase 1db on the basis of the volume intensity of the current audio stream, and at this time, the terminal may decrease the PCM amplitude of the copied PCM audio stream by 1.
It should be noted that the terminal may receive only one volume adjustment command or may receive a plurality of volume adjustment commands, and when the terminal receives a plurality of volume adjustment commands, the PCM amplitude of the copied PCM audio stream may be adjusted in the following two ways.
In a first manner, when the difference between the receiving time of every two adjacent volume adjusting instructions in the plurality of volume adjusting instructions received by the terminal is less than the preset time length, the terminal may adjust the PCM amplitude of the copied PCM audio stream based on the last received volume adjusting instruction.
The preset time period may be set in advance, for example, the preset time period may be 2s (seconds), 3s, 4s, and the like.
It should be noted that, when the volume adjustment instruction carries the volume adjustment strength, the terminal may superimpose the volume adjustment strengths carried in the received multiple volume adjustment instructions to obtain a superimposed strength, and when the last volume adjustment strength is received, adjust the PCM amplitude of the copy PCM audio stream according to the superimposed strength, so that the adjusted volume of the copy PCM audio stream is the sum of the intensity of the volume of the current PCM audio stream and the superimposed strength.
For example, when the current volume of the audio stream is 56db, the terminal receives 5 volume adjustment instructions, and the difference between the receiving times of two adjacent volume adjustment instructions is smaller than the preset difference 2s, if the volume intensity carried in each volume adjustment instruction is +1db, the terminal adjusts the PCM amplitude of the copied PCM audio stream based on the last received volume adjustment instruction, and then adjusts the volume 56db of the copied PCM audio stream to 61 db.
In the second mode, when the terminal receives a plurality of volume adjustment commands, the terminal does not need to determine the difference between the receiving times of two adjacent volume adjustment commands, but adjusts the PCM amplitude of the copied PCM audio stream once every time one volume adjustment command is received.
For example, when the current volume of the audio stream of the terminal is 56db, the terminal receives 5 volume adjustment commands, and the volume intensity carried in each volume adjustment command is +1db, when the terminal receives the first volume adjustment command, the PCM amplitude of the copied PCM audio stream is adjusted once to adjust the volume of the copied PCM audio stream to 57db, when the terminal receives the second volume adjustment command, the PCM amplitude of the copied PCM audio stream is adjusted once to adjust the volume of the copied PCM audio stream to 58db, when the terminal receives the third volume adjustment command, the PCM amplitude of the copied PCM audio stream is adjusted once to adjust the volume of the copied PCM audio stream to 59db, when the terminal receives the fourth volume adjustment command, the PCM amplitude of the copied PCM audio stream is adjusted once to adjust the volume of the copied PCM audio stream to 60db, when the terminal receives the fifth volume adjustment instruction, the PCM amplitude of the copied PCM audio stream is adjusted once, so that the volume of the copied PCM audio stream is adjusted to 51 db.
It should be noted that the terminal can adjust the PCM amplitude of the copied PCM audio stream by the pitch module shown in fig. 1B.
Furthermore, the terminal may passively adjust the PCM amplitude of the copied PCM audio stream through the volume adjustment instruction, or actively adjust the PCM amplitude of the copied PCM audio stream, and the operation of actively adjusting the PCM amplitude of the copied PCM audio stream by the terminal may be: when the terminal plays the audio data, the terminal can detect the environmental noise of the current environment, when the volume of the current environmental noise is larger than or equal to the volume of the currently played audio data, in order to enable a user to clearly hear the content of the currently played audio data, the terminal can actively adjust the amplitude of the copied PCM audio stream so as to adjust the volume of the played audio data, and when the difference between the volume of the currently played audio data and the volume of the environmental noise is equal to a preset volume threshold value, the adjustment of the PCM amplitude of the copied PCM audio stream is stopped.
It should be noted that the preset volume threshold may be set in advance, for example, the preset volume threshold may be 5db, 6db, and so on.
In addition, when the terminal actively adjusts the volume, the specific operation of passively adjusting the volume by the terminal may be referred to for the specific operation of actively adjusting the volume by the terminal.
Step 203: and the terminal inputs the regulated PCM audio stream to an external Bluetooth sound box.
According to the method, the terminal can receive only one volume adjusting instruction and also can receive a plurality of volume adjusting instructions, and after the terminal adjusts the PCM amplitude of the PCM audio stream based on one volume adjusting instruction, the adjusted PCM audio stream can be directly input into an external Bluetooth sound box.
Because all bluetooth devices are required to support SBC coding in the bluetooth protocol, that is, information transmitted between the terminal and the bluetooth sound box is required to be information in an SBC format, the terminal needs to perform SBC protocol coding encapsulation on one path of PCM audio stream after adjusting the PCM amplitude of the PCM audio stream; and transmitting the packaged PCM audio stream to an external Bluetooth sound box through a Bluetooth signal.
It should be noted that, the terminal may perform SBC protocol encoding and packaging on the PCM audio stream through the audio stream output module shown in fig. 1B, and then output the adjusted PCM audio stream to the external bluetooth sound.
In addition, because the terminal can also receive a plurality of volume adjustment instructions, and the way that the terminal adjusts the PCM amplitude of the PCM audio stream based on the plurality of volume adjustment instructions may include the above two ways, for different adjustment ways, the situation that the terminal inputs the adjusted PCM audio stream to the external bluetooth sound box may include the following two situations.
In the first situation, when the terminal receives a plurality of volume adjustment instructions and adjusts the PCM amplitude of the PCM audio stream according to the last volume adjustment instruction, because the terminal only performs PCM amplitude adjustment on the PCM audio stream once, in order to avoid interruption of the bluetooth sound to play audio data, the terminal can send one path of PCM audio stream, which is not subjected to PCM amplitude adjustment, to the bluetooth sound; and after the PCM amplitude adjustment of the PCM audio stream is finished, the adjusted PCM audio stream is sent to the Bluetooth sound box. That is, in the process that the terminal receives a plurality of volume adjustment commands, the bluetooth sound equipment still plays the copied PCM audio stream which is not subjected to volume adjustment.
For example, when the terminal receives 5 volume adjustment commands and adjusts the PCM amplitude of one PCM audio stream once to change the volume of the PCM audio stream from 56db to 61db, the terminal may send the PCM audio stream with the volume changed to 61db to the bluetooth speaker, and the terminal may send the PCM audio stream with the volume of 56db to the bluetooth speaker in the process of receiving the 5 volume adjustment commands.
It should be noted that, when the terminal receives a plurality of volume adjustment instructions and performs PCM amplitude adjustment on one path of PCM audio stream according to the last volume adjustment instruction, the terminal only performs PCM amplitude adjustment once and does not need to perform multiple adjustments, thereby saving resource consumption of the terminal.
In the second case, when the terminal adjusts the PCM amplitude of one PCM audio stream once every time the terminal receives a volume adjustment command, the PCM audio stream sent by the terminal to the bluetooth sound is uninterrupted, so that the terminal can adjust the PCM amplitude of the PCM audio stream while sending the adjusted PCM audio stream to the bluetooth sound when receiving a plurality of volume adjustment commands and adjusting the PCM amplitude of the PCM audio stream for a plurality of times according to the plurality of volume adjustment commands.
For example, when the terminal receives the first volume adjustment instruction and adjusts the volume of one path of PCM audio stream from 56db to 57db, the PCM audio stream with the volume of 57db can be sent to the bluetooth sound equipment; when the terminal receives the second volume adjusting instruction and adjusts the volume of the PCM audio stream from 57db to 58db, the PCM audio stream with the volume of 58db can be sent to the Bluetooth sound box; when the terminal receives the third volume adjustment instruction and adjusts the volume of the PCM audio stream from 58db to 59db, the PCM audio stream with volume 59db can be sent to the Bluetooth speaker.
It should be noted that, the terminal may perform PCM amplitude adjustment on one path of PCM audio stream each time it receives a volume adjustment command, and send the adjusted PCM audio stream to the bluetooth sound equipment each time the PCM amplitude of the path of PCM audio stream is adjusted. Therefore, the Bluetooth sound box can play the PCM audio stream of the same path with the changed volume in real time subsequently, and the user can hear different volumes when playing the PCM audio stream of the same path with the changed volume, so that the user stops triggering the volume adjusting instruction when hearing the proper volume, the volume of the audio data finally played by the Bluetooth sound box is ensured to be the volume expected to be heard by the user, and the viscosity of the user is improved.
Further, because the terminal is great to the volume control degree of PCM audio stream all the way for when bluetooth sound broadcast audio data, the volume of broadcast is great, can harm user's hearing very likely and cause the damage, and other people will be disturbed to great volume simultaneously, thereby bring unnecessary trouble. Therefore, in order to avoid the above problem, the terminal may detect whether the volume of the adjusted path of PCM audio stream is greater than the safe volume threshold; when the volume of the adjusted PCM audio stream is greater than the safe volume threshold, prompt information can be displayed, and the prompt information is used for prompting whether to continuously adjust the volume of the PCM audio stream; and when a determined adjusting instruction is received, inputting the adjusted PCM audio stream into an external Bluetooth sound box.
It should be noted that the safe volume threshold may be set in advance, for example, the safe volume threshold may be 50db, 60db, 70db, or the like. The determining and adjusting instruction is used for determining to continue adjusting the volume of the PCM audio stream, and the determining and adjusting instruction can be triggered by a user through a specified operation.
For example, when the terminal adjusts the volume of one PCM audio stream to 61db, the target volume 61db is greater than the safe volume threshold 60db, so that the terminal can display a prompt message "continue increasing the volume and damaging hearing and whether to continue adjusting", and when receiving a certain adjustment instruction, the adjusted PCM audio stream is input to an external bluetooth sound.
In addition, when the terminal detects that the volume of the adjusted PCM audio stream is less than or equal to the safe volume threshold, the terminal can directly input the adjusted PCM audio stream to an external Bluetooth sound box without other operations.
Step 204: the Bluetooth sound equipment receives the PCM audio stream sent by the terminal and outputs sound based on the PCM audio stream.
When the bluetooth sound receives a PCM audio stream of one path, the PCM audio stream sent to the bluetooth sound by the terminal is encapsulated by the SBC protocol, so that the bluetooth sound needs to decapsulate the PCM audio stream encapsulated by the SBC protocol in order to smoothly play audio data, and then play the audio data.
It should be noted that, because one path of PCM audio stream sent to the bluetooth audio by the terminal is a PCM audio stream with an adjusted volume, the bluetooth audio does not need to adjust the volume of the path of PCM audio stream, that is, the bluetooth audio does not need to be supported by the AVRCP protocol, so that the bluetooth audio, even if the bluetooth audio does not support the AVRCP protocol, can also adjust the volume remotely, thereby expanding the application range of volume adjustment.
The technical scheme provided by the embodiment of the invention has the following beneficial effects: in the embodiment of the invention, the PCM audio stream obtained by analyzing the audio data to be played can be copied to obtain two paths of same PCM audio streams, and when the volume is adjusted, if a Bluetooth sound box is connected, the PCM amplitude of one path of PCM audio stream can be adjusted, and the adjusted PCM audio stream is sent to the Bluetooth sound box, so that the Bluetooth sound box directly outputs sound based on the adjusted PCM audio stream without the support of AVRCP protocol, meanwhile, because the volume adjusting instruction only adjusts the PCM amplitude of one path of PCM audio stream, the audio output device of the terminal, such as a loudspeaker, can adjust the volume based on the other path of PCM audio stream, the external Bluetooth sound box and the audio output device of the terminal can be distinguished and controlled through the two paths of PCM audio streams, the volume of the Bluetooth sound box can be independently processed, and the user can conveniently and remotely adjust the volume of the Bluetooth sound box, the efficiency of volume adjustment and user viscosity are improved.
Fig. 3A is a block diagram of a volume control device for a bluetooth sound externally connected to a terminal according to an embodiment of the present invention, and referring to fig. 3A, the volume control device may be implemented by software, hardware, or a combination of the two. The device comprises a copying module 301, a regulating module 302 and a transmission module 303;
the copying module 301 is configured to copy an initial pulse code modulation PCM audio stream obtained by analyzing audio data to be played, so as to obtain two identical PCM audio streams;
the adjusting module 302 is configured to adjust a PCM amplitude of one PCM audio stream according to a volume adjustment instruction if it is detected that the bluetooth audio device is connected, where an audio output device of the terminal performs volume adjustment based on the other PCM audio stream;
the transmission module 303 is configured to transmit the adjusted one path of PCM audio stream to an external bluetooth sound device, so that the external bluetooth sound device performs sound output based on the adjusted one path of PCM audio stream.
Alternatively, referring to fig. 3B, the copy module 301 includes:
the creating submodule 3011 is configured to create a first audio stream buffer, where the first audio stream buffer is used to buffer a PCM audio stream input to the external smart radio;
the copy submodule 3012 is configured to copy the PCM audio stream in the second audio stream buffer to the first audio stream buffer, where the second audio stream buffer is configured to buffer a pulse code modulation PCM audio stream obtained by parsing the audio data to be played.
Optionally, the adjusting module 302 is configured to:
based on the received volume adjustment instruction, adjusting a PCM amplitude of the PCM audio stream in the first audio stream buffer.
Optionally, referring to fig. 3C, the apparatus further comprises:
a display module 304, configured to display a mode selection interface when receiving a mode selection instruction, where the mode selection interface is used to prompt selection of a volume adjustment mode;
and the triggering module 305 is configured to trigger the copying module to copy the PCM audio stream obtained by parsing the audio data to be played when an instruction for adjusting the volume is received by the terminal based on the mode selection interface.
Optionally, referring to fig. 3D, the transmission module 303 includes:
an encapsulation submodule 3031, configured to perform SBC protocol encoding encapsulation on the adjusted path of PCM audio stream;
and the transmission submodule 3032 is configured to transmit the encapsulated PCM audio stream to the external bluetooth sound through a bluetooth signal.
To sum up, in the embodiment of the present invention, the PCM audio stream obtained by analyzing the audio data to be played may be copied to obtain two identical PCM audio streams, and when performing volume adjustment, if a bluetooth audio device is connected, the PCM amplitude of one of the PCM audio streams may be adjusted, and the adjusted PCM audio stream is sent to the bluetooth audio device, so that the bluetooth audio device directly performs sound output based on the adjusted PCM audio stream without AVRCP protocol support, and meanwhile, since the volume adjustment instruction is only to adjust the PCM amplitude of one of the PCM audio streams, an audio output device of the terminal itself, such as a speaker, may perform volume adjustment based on the other PCM audio stream, and the external bluetooth audio device and the audio output device of the terminal may be controlled separately through the two PCM audio streams, thereby implementing separate volume processing of the bluetooth audio device, the volume of the Bluetooth sound box can be conveniently and remotely adjusted by a user, and the volume adjusting efficiency and the viscosity of the user are improved.
Fig. 4 is a block diagram illustrating a terminal 400 according to an example embodiment. For example, the terminal 400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
Referring to fig. 4, the terminal 400 may include one or more of the following components: processing components 402, memory 404, power components 406, multimedia components 408, audio components 410, input/output (I/O) interfaces 412, sensor components 414, and communication components 416.
The processing component 402 generally controls overall operation of the terminal 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 can include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
The memory 404 is configured to store various types of data to support operations at the terminal 400. Examples of such data include instructions for any application or method operating on the terminal 400, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 404 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power components 406 provide power to the various components of the terminal 400. The power components 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the terminal 400.
The multimedia component 408 comprises a screen providing an output interface between the terminal 400 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the terminal 400 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 410 is configured to output and/or input audio signals. For example, the audio component 410 includes a Microphone (MIC) configured to receive external audio signals when the terminal 400 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 410 also includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 414 includes one or more sensors for providing various aspects of status assessment for the terminal 400. For example, the sensor assembly 414 can detect an open/closed state of the terminal 400, relative positioning of components, such as a display and keypad of the terminal 400, the sensor assembly 414 can also detect a change in position of the terminal 400 or a component of the terminal 400, the presence or absence of user contact with the terminal 400, orientation or acceleration/deceleration of the terminal 400, and a change in temperature of the terminal 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate communications between the terminal 400 and other devices in a wired or wireless manner. The terminal 400 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the methods provided by the embodiments illustrated in fig. 2B and described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 404 comprising instructions, executable by the processor 420 of the terminal 400 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions, when executed by a processor of a terminal, enable the mobile terminal to perform the method provided by the embodiment shown in fig. 2B described above.
It should be noted that: in the volume adjustment device provided in the above embodiment, when adjusting the volume, only the division of the above functional modules is taken as an example, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the volume adjusting device and the volume adjusting method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A volume control method for a Bluetooth sound box externally connected with a terminal is characterized by comprising the following steps:
copying a Pulse Code Modulation (PCM) audio stream obtained by analyzing audio data to be played to obtain two paths of same PCM audio streams;
if the Bluetooth sound box is detected to be connected, adjusting the PCM amplitude of one path of PCM audio stream according to a volume adjusting instruction, wherein the audio output equipment of the terminal adjusts the volume based on the other path of PCM audio stream;
and transmitting the PCM audio stream after the PCM amplitude is adjusted to an external Bluetooth sound box, so that the external Bluetooth sound box performs sound output based on the adjusted PCM audio stream.
2. The method of claim 1, wherein copying the PCM audio stream parsed from the audio data to be played comprises:
creating a first audio stream buffer area, wherein the first audio stream buffer area is used for buffering PCM audio streams input to the externally connected intelligent wireless sound box;
and copying the PCM audio stream in a second audio stream buffer area to the first audio stream buffer area, wherein the second audio stream buffer area is used for buffering a pulse code modulation PCM audio stream obtained by analyzing the audio data to be played.
3. The method of claim 2, wherein said adjusting the PCM amplitude of one of the PCM audio streams in response to the volume adjustment command comprises:
based on the received volume adjustment instruction, adjusting a PCM amplitude of the PCM audio stream in the first audio stream buffer.
4. The method of claim 1, wherein before copying the Pulse Code Modulation (PCM) audio stream parsed from the audio data to be played, further comprising:
when a mode selection instruction is received, displaying a mode selection interface, wherein the mode selection interface is used for prompting selection of a volume adjustment mode;
and when receiving a command of volume adjustment by the terminal based on the mode selection interface, executing the operation of copying the Pulse Code Modulation (PCM) audio stream obtained by analyzing the audio data to be played.
5. The method according to any one of claims 1-4, wherein said transmitting said path of PCM audio stream after PCM amplitude adjustment to an external Bluetooth speaker comprises:
performing SBC protocol coding and packaging on the path of PCM audio stream subjected to PCM amplitude regulation;
and transmitting the packaged PCM audio stream to the external Bluetooth sound box through a Bluetooth signal.
6. The utility model provides a volume control device to external bluetooth sound of terminal which characterized in that, the device includes:
the copying module is used for copying an initial Pulse Code Modulation (PCM) audio stream obtained by analyzing audio data to be played to obtain two paths of same PCM audio streams;
the adjusting module is used for adjusting the PCM amplitude of one path of PCM audio stream according to a volume adjusting instruction if the Bluetooth sound box is detected to be connected, wherein the audio output equipment of the terminal adjusts the volume based on the other path of PCM audio stream;
and the transmission module is used for transmitting the PCM audio stream after the PCM amplitude is regulated to an external Bluetooth sound box, so that the external Bluetooth sound box performs sound output based on the regulated PCM audio stream.
7. The apparatus of claim 6, wherein the copy module comprises:
the creating submodule is used for creating a first audio stream buffer area, and the first audio stream buffer area is used for buffering PCM audio streams input to the externally connected intelligent wireless sound box;
and the copying submodule is used for copying the PCM audio stream in the second audio stream buffer area to the first audio stream buffer area, and the second audio stream buffer area is used for buffering a pulse code modulation PCM audio stream obtained by analyzing the audio data to be played.
8. The apparatus of claim 7, wherein the adjustment module is to:
based on the received volume adjustment instruction, adjusting a PCM amplitude of the PCM audio stream in the first audio stream buffer.
9. The apparatus of claim 6, wherein the apparatus further comprises:
the display module is used for displaying a mode selection interface when a mode selection instruction is received, and the mode selection interface is used for prompting selection of a volume adjustment mode;
and the triggering module is used for triggering the copying module to copy the Pulse Code Modulation (PCM) audio stream obtained by analyzing the audio data to be played when receiving a command of volume adjustment by the terminal based on the mode selection interface.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1 to 5.
CN201710485656.0A 2017-06-23 2017-06-23 Volume control method and device and computer storage readable storage medium Active CN107329727B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710485656.0A CN107329727B (en) 2017-06-23 2017-06-23 Volume control method and device and computer storage readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710485656.0A CN107329727B (en) 2017-06-23 2017-06-23 Volume control method and device and computer storage readable storage medium

Publications (2)

Publication Number Publication Date
CN107329727A CN107329727A (en) 2017-11-07
CN107329727B true CN107329727B (en) 2020-06-09

Family

ID=60195690

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710485656.0A Active CN107329727B (en) 2017-06-23 2017-06-23 Volume control method and device and computer storage readable storage medium

Country Status (1)

Country Link
CN (1) CN107329727B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108391203B (en) * 2018-02-27 2021-08-24 Tcl通力电子(惠州)有限公司 Audio playing control method and device, audio playing equipment and system
CN109068171B (en) * 2018-09-25 2020-10-23 四川长虹电器股份有限公司 Method for limiting volume of specified audio stream in smart television
CN110347367B (en) * 2019-07-15 2023-06-20 百度在线网络技术(北京)有限公司 Volume adjusting method, terminal device, storage medium and electronic device
CN112420064B (en) * 2020-10-21 2024-04-02 深圳创维-Rgb电子有限公司 Voice echo cancellation processing method and device for wireless loudspeaker box equipment and intelligent terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075891A (en) * 2009-11-24 2011-05-25 中兴通讯股份有限公司 Mobile phone answering method and system based on personal network
CN104486712A (en) * 2014-12-29 2015-04-01 广东欧珀移动通信有限公司 Volume adjusting method and device of wireless loudspeaker box system
CN105704603A (en) * 2016-02-02 2016-06-22 王金龙 Bluetooth earphone

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8176270B2 (en) * 2009-05-01 2012-05-08 Quantum Corporation Data allocation system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075891A (en) * 2009-11-24 2011-05-25 中兴通讯股份有限公司 Mobile phone answering method and system based on personal network
CN104486712A (en) * 2014-12-29 2015-04-01 广东欧珀移动通信有限公司 Volume adjusting method and device of wireless loudspeaker box system
CN105704603A (en) * 2016-02-02 2016-06-22 王金龙 Bluetooth earphone

Also Published As

Publication number Publication date
CN107329727A (en) 2017-11-07

Similar Documents

Publication Publication Date Title
US11924869B2 (en) Method and device for configuration and adjusting search space parameter
EP3163748B1 (en) Method, device and terminal for adjusting volume
US11425769B2 (en) Wireless communication method, terminal, audio component, device, and storage medium
EP4030276A1 (en) Content continuation method and electronic device
CN106454644B (en) Audio playing method and device
CN112988102B (en) Screen projection method and device
US9961393B2 (en) Method and device for playing multimedia file
CN107329727B (en) Volume control method and device and computer storage readable storage medium
CN111314768A (en) Screen projection method, screen projection device, electronic equipment and computer readable storage medium
US20230119300A1 (en) Method for Resuming Playing Multimedia Content Between Devices
CN104636110B (en) Control the method and device of volume
US11146854B2 (en) Method for playing videos and electronic device
US20210127352A1 (en) Method and apparatus for sending a notification to a short-range wireless communication audio output device
CN105407368A (en) Multimedia playing method, device and system
CN106453032B (en) Information-pushing method and device, system
CN113099428A (en) Audio information transmission method, audio information transmission device, and storage medium
CN111049984A (en) Audio playback control method and apparatus, and storage medium
CN104682908A (en) Method and device for controlling volume
CN114513571A (en) Device connection method and device, electronic device and readable storage medium
CN107846646B (en) Control method and device of intelligent sound box and readable storage medium
CN109474744B (en) Alarm clock processing method, device and storage medium
CN111885255A (en) Audio playback control method, audio playback control device, and storage medium
WO2017031900A1 (en) Time delay control method and apparatus
CN106789943B (en) Playing method and device of Bluetooth equipment
CN110213531B (en) Monitoring video processing method and device

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: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant after: Hisense Video Technology Co., Ltd

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant before: HISENSE ELECTRIC Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant