CN111601218B - Audio playing switching method, Bluetooth loudspeaker box and Bluetooth audio playing device - Google Patents
Audio playing switching method, Bluetooth loudspeaker box and Bluetooth audio playing device Download PDFInfo
- Publication number
- CN111601218B CN111601218B CN202010085016.2A CN202010085016A CN111601218B CN 111601218 B CN111601218 B CN 111601218B CN 202010085016 A CN202010085016 A CN 202010085016A CN 111601218 B CN111601218 B CN 111601218B
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- sound box
- charging
- audio data
- speaker
- 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
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000004891 communication Methods 0.000 claims abstract description 76
- 230000006870 function Effects 0.000 claims description 16
- 230000001413 cellular effect Effects 0.000 claims description 9
- 238000010295 mobile communication Methods 0.000 claims description 9
- 238000001514 detection method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000005265 energy consumption Methods 0.000 description 2
- 230000008054 signal transmission Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
- H04R3/12—Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/70—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
- H04B5/72—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for local intradevice communication
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Otolaryngology (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
The invention provides an audio playing switching method, a Bluetooth sound box and Bluetooth audio playing equipment, wherein the audio playing switching method comprises the following steps: step S101: when the bluetooth sound box uses the bluetooth sound box as an audio playing main body of the audio data unit, the bluetooth sound box judges whether a charging output interface of the bluetooth sound box and a charging input interface of the bluetooth earphone are changed into an off state from an on state, if so, the step S102 is executed; step S102: the Bluetooth sound box uses the Bluetooth communication connection between the Bluetooth sound box and the Bluetooth earphone as an audio playing main body of the audio data unit. According to the audio playing switching method provided by the invention, the audio playing main body is controlled by utilizing the connection state between the charging output interface of the Bluetooth sound box and the charging input interface of the Bluetooth earphone, so that the automatic switching of the audio playing main body can be realized, and the user experience can be improved.
Description
Technical Field
The invention relates to the technical field of Bluetooth audio, in particular to an audio playing switching method, a Bluetooth sound box and Bluetooth audio playing equipment.
Background
The bluetooth audio playing device has been widely popularized in people's daily life and work, and the current bluetooth audio playing device mainly comprises a bluetooth sound box and a bluetooth earphone (such as a TWS bluetooth earphone), wherein the bluetooth sound box is suitable for collective use, can realize better entertainment requirements (such as playing music in an intelligent terminal), and is mainly used in places such as families, markets, bars, and the like.
In some scenes, based on different requirements, a user needs to perform playing switching between a bluetooth sound box and a bluetooth headset, and how to realize automatic switching of an audio playing main body between the bluetooth sound box and the bluetooth headset is a problem which needs to be solved at present.
Disclosure of Invention
Based on the above situation, the main objective of the present invention is to provide an audio playing switching method, a bluetooth speaker and a bluetooth audio playing device, which can realize automatic switching of an audio playing main body between the bluetooth speaker and a bluetooth headset.
In order to achieve the above object, a technical solution of the present invention provides an audio playing switching method applied to a bluetooth speaker, where the bluetooth speaker includes an audio data unit and a charging output interface for a bluetooth headset, the audio data unit is configured to store audio data and/or obtain audio data from outside the bluetooth speaker, and the method includes:
step S101: when the bluetooth speaker uses itself as the audio playing main body of the audio data unit, the bluetooth speaker determines whether a charging output interface of the bluetooth speaker and a charging input interface of a bluetooth headset are switched from an on state to an off state, if so, step S102 is executed, wherein the charging output interface and the charging input interface are used for realizing that the bluetooth speaker charges the bluetooth headset;
step S102: the Bluetooth sound box uses the Bluetooth communication connection between the Bluetooth sound box and the Bluetooth earphone as an audio playing main body of the audio data unit.
Further, the step S102 includes:
step S1021: the Bluetooth sound box starts the Bluetooth communication function of the Bluetooth sound box and establishes Bluetooth communication connection with the Bluetooth headset;
step S1022: and the Bluetooth sound box sends the audio data from the audio data unit to the Bluetooth headset through the Bluetooth communication connection.
Further, the method further comprises:
when the charging output interface of the Bluetooth sound box and the charging input interface of the Bluetooth headset are in a connected state, the Bluetooth sound box receives the Bluetooth address of the Bluetooth headset, which is sent by the Bluetooth headset, through the charging output interface.
In order to achieve the above object, a technical solution of the present invention further provides an audio playing switching method, which is applied to a bluetooth speaker, where the bluetooth speaker includes an audio data unit and a charging output interface for a bluetooth headset, the audio data unit is used to store audio data and/or obtain audio data from outside the bluetooth speaker, and the method includes:
step S201: when a bluetooth speaker uses a bluetooth communication connection between the bluetooth speaker and the bluetooth speaker to use the bluetooth speaker as an audio playing main body of the audio data unit, the bluetooth speaker determines whether a charging output interface of the bluetooth speaker and a charging input interface of the bluetooth speaker are switched from an off state to an on state, if so, step S202 is executed, wherein the charging output interface and the charging input interface are used for realizing that the bluetooth speaker charges the bluetooth speaker;
step S202: the Bluetooth sound box takes the Bluetooth sound box as an audio playing main body of the audio data unit.
Further, the step S202 further includes: and the Bluetooth sound box closes the Bluetooth communication function of the Bluetooth sound box.
Further, the method further comprises:
when the charging output interface of the Bluetooth sound box and the charging input interface of the Bluetooth headset are in a connected state, the Bluetooth sound box receives the Bluetooth address of the Bluetooth headset, which is sent by the Bluetooth headset, through the charging output interface.
In order to achieve the above object, the present invention further provides a bluetooth speaker, including a processor, a memory coupled to the processor, an audio data unit, and a charging output interface for a bluetooth headset, where the audio data unit is configured to store audio data and/or obtain audio data from outside of the bluetooth speaker, and the memory stores an instruction for the processor to execute, and when the processor executes the instruction, the method including the above steps S101 to S102 and/or the above steps S201 to S202 can be implemented.
Further, the audio data unit comprises at least one of a memory, a USB interface, a WIFI communication component, a cellular mobile communication component.
In order to achieve the above object, the technical solution of the present invention further provides a bluetooth audio playing device, which includes the above bluetooth speaker and the bluetooth headset, wherein the bluetooth headset has a charging input interface matched with a charging output interface of the bluetooth speaker.
Further, the bluetooth headset is configured to: when the charging input interface of the Bluetooth loudspeaker box is in an on state, the Bluetooth communication function of the Bluetooth loudspeaker box is controlled to be in an off state, and when the charging input interface of the Bluetooth loudspeaker box is in an off state, the Bluetooth communication function of the Bluetooth loudspeaker box is controlled to be in an on state.
According to the audio playing switching method provided by the invention, the audio playing main body is controlled by utilizing the connection state between the charging output interface of the Bluetooth sound box and the charging input interface of the Bluetooth earphone, so that the automatic switching of the audio playing main body can be realized, and the user experience can be improved.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent from the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
fig. 1 is a flowchart of an audio playback switching method according to an embodiment of the present invention;
fig. 2 is a flowchart of another audio playback switching method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a bluetooth speaker according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a bluetooth headset according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a bluetooth sound box according to an embodiment of the present invention, which uses itself as an audio playing main body of an audio data unit;
fig. 6 is a schematic diagram of a bluetooth speaker according to an embodiment of the present invention, in which a bluetooth headset is used as an audio playing main body of an audio data unit.
Detailed Description
The present invention will be described below based on examples, but the present invention is not limited to only these examples. In the following detailed description of the present invention, certain specific details are set forth in order to avoid obscuring the nature of the present invention, well-known methods, procedures, and components have not been described in detail.
Further, those of ordinary skill in the art will appreciate that the drawings provided herein are for illustrative purposes and are not necessarily drawn to scale.
Unless the context clearly requires otherwise, throughout the description and the claims, the words "comprise", "comprising", and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is, what is meant is "including, but not limited to".
In the description of the present invention, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present invention, "a plurality" means two or more unless otherwise specified.
Referring to fig. 1, fig. 1 is a flowchart of an audio playback switching method provided in an embodiment of the present invention, where the method is applied to a bluetooth speaker, where the bluetooth speaker includes an audio data unit and a charging output interface for a bluetooth headset, and the audio data unit is used to store audio data and/or obtain audio data from outside the bluetooth speaker, and the method includes:
step S101: when the bluetooth speaker uses itself as the audio playing main body of the audio data unit, the bluetooth speaker determines whether a charging output interface of the bluetooth speaker and a charging input interface of a bluetooth headset are switched from an on state to an off state, if so, step S102 is executed, wherein the charging output interface and the charging input interface are used for realizing that the bluetooth speaker charges the bluetooth headset;
in this embodiment, the bluetooth headset may be a TWS bluetooth headset, and the state between the charging output interface of the bluetooth speaker and the charging input interface of the bluetooth headset may be determined by determining whether there is communication signal transmission between the bluetooth speaker and the bluetooth headset, that is, for the bluetooth speaker, if it is determined that the bluetooth speaker receives a communication signal (such as a serial port signal) sent by the bluetooth headset, it is determined that the charging output interface of the bluetooth speaker and the charging input interface of the bluetooth headset are in a connected state;
in this embodiment, the charging output interface of the bluetooth speaker and the charging input interface of the bluetooth headset may adopt an implementation manner of three contacts (i.e., 3 pins), that is, the charging output interface and the charging input interface both adopt 3 contacts, including a charging contact, a GND contact and a communication contact (for example, adopting a serial communication manner);
in addition, the charging output interface of the bluetooth speaker and the charging input interface of the bluetooth headset can also adopt an implementation mode of two contacts (namely 2Pin), namely the charging output interface and the charging input interface both adopt 2 contacts including a charging contact and a GND contact, and at the moment, the charging contact is also reused as a communication contact (for example, a serial port communication mode is adopted);
in addition, it should be noted that, when the bluetooth speaker uses itself as the audio playing main body of the audio data unit, the bluetooth speaker may be playing the audio data from the audio data unit (for example, the bluetooth speaker sequentially reads, decodes, converts digital to analog, amplifies, and plays the audio file stored in the audio data unit), or may be currently not playing the audio but the bluetooth speaker still uses itself as the audio playing main body of the audio data unit (for example, when the audio is paused, the bluetooth speaker records information: currently using itself as the audio playing main body of the audio data unit);
step S102: the Bluetooth sound box uses the Bluetooth communication connection between the Bluetooth sound box and the Bluetooth earphone as an audio playing main body of the audio data unit.
According to the audio playing switching method provided by the embodiment of the invention, the audio playing main body is controlled by utilizing the connection state between the charging output interface of the Bluetooth sound box and the charging input interface of the Bluetooth earphone, so that the automatic switching of the audio playing main body can be realized, and the user experience can be improved.
For example, in one embodiment, when the bluetooth speaker is using itself as the audio playing body of the audio data unit, the bluetooth speaker detects the status between the charging output interface of the bluetooth speaker and the charging input interface of the bluetooth headset in real time, if the bluetooth speaker is still in the on state (i.e. the bluetooth headset is still placed on the bluetooth speaker), the bluetooth speaker determines that the switching is not required currently (i.e. the bluetooth speaker still uses itself as the audio playing body of the audio data unit), if the bluetooth speaker is turned from the on state to the off state (i.e. the bluetooth speaker is separated from the bluetooth speaker), the bluetooth speaker controls itself to establish the bluetooth communication connection with the bluetooth headset, and switches the audio playing body of the audio data unit from the bluetooth speaker to the bluetooth headset after the bluetooth communication connection is successfully established (i.e. when the bluetooth speaker determines that the audio data unit needs to be played, send this audio data to bluetooth headset through this bluetooth communication connection, make bluetooth headset broadcast this audio data), bluetooth speaker closes the audio playback function of self.
Preferably, when the bluetooth speaker uses itself as the audio playing main body of the audio data unit, the bluetooth speaker may turn off its bluetooth communication function, so as to reduce the energy consumption of the bluetooth speaker, for example, in an embodiment, the step S102 includes:
step S1021: the Bluetooth sound box starts the Bluetooth communication function of the Bluetooth sound box and establishes Bluetooth communication connection with the Bluetooth headset;
step S1022: and the Bluetooth sound box sends the audio data from the audio data unit to the Bluetooth headset through the Bluetooth communication connection.
In an embodiment of the present invention, in order to facilitate the bluetooth speaker and the bluetooth headset to establish a bluetooth communication connection, the bluetooth speaker may store a bluetooth address of the bluetooth headset in advance, and preferably, the bluetooth speaker and the bluetooth headset may automatically backup a bluetooth address of an opposite party from each other through the charging output interface and the charging input interface, that is, the method may further include:
when the charging output interface of the Bluetooth sound box and the charging input interface of the Bluetooth headset are in a connected state, the Bluetooth sound box receives the Bluetooth address of the Bluetooth headset, which is sent by the Bluetooth headset, through the charging output interface.
In addition, in the invention, other modes can also be adopted to pre-store the Bluetooth address of the Bluetooth sound box in the Bluetooth headset, and the Bluetooth address of the Bluetooth headset is pre-stored in the Bluetooth sound box.
In the embodiment of the present invention, the audio data unit is configured to store audio data and/or obtain audio data from outside the bluetooth speaker, and may include at least one of a memory, a USB interface, a WIFI communication component, and a cellular mobile communication component, where the USB interface may include at least one of a USB TYPE-a interface, a USB TYPE-C interface, and a USB-micro interface, the cellular mobile communication component may include at least one of a 2G communication component, a 3G communication component, a 4G communication component, and a 5G communication component, for example, the memory may be a memory built in the bluetooth speaker, or may be a pluggable memory (such as a memory card like an SD card), and the audio data stored in the memory may be obtained in multiple ways, for example, the bluetooth speaker may establish a bluetooth communication connection with an external device (such as a mobile phone, a tablet, a computer, and the like), importing audio data from an intelligent terminal; the Bluetooth sound box can also acquire audio data from external equipment through the USB interface and store the audio data in the memory, and in addition, the Bluetooth sound box can also acquire the audio data from the Internet through the WIFI communication component and the cellular mobile communication component.
Referring to fig. 2, fig. 2 is a flowchart of another audio playback switching method provided in an embodiment of the present invention, where the method is applied to a bluetooth speaker, where the bluetooth speaker includes an audio data unit and a charging output interface for a bluetooth headset, and the audio data unit is used to store audio data and/or obtain audio data from outside the bluetooth speaker, and the method includes:
step S201: when a bluetooth speaker uses a bluetooth communication connection between the bluetooth speaker and the bluetooth speaker to use the bluetooth speaker as an audio playing main body of the audio data unit, the bluetooth speaker determines whether a charging output interface of the bluetooth speaker and a charging input interface of the bluetooth speaker are switched from an off state to an on state, if so, step S202 is executed, wherein the charging output interface and the charging input interface are used for realizing that the bluetooth speaker charges the bluetooth speaker;
in this embodiment, the bluetooth headset may be a TWS bluetooth headset, and the state between the charging output interface of the bluetooth speaker and the charging input interface of the bluetooth headset may be determined by determining whether there is communication signal transmission between the bluetooth speaker and the bluetooth headset, that is, for the bluetooth speaker, if it is determined that the bluetooth speaker receives a communication signal (such as a serial port signal) sent by the bluetooth headset, it is determined that the charging output interface of the bluetooth speaker and the charging input interface of the bluetooth headset are in a connected state;
in this embodiment, the charging output interface of the bluetooth speaker and the charging input interface of the bluetooth headset may adopt an implementation manner of three contacts (i.e., 3 pins), that is, the charging output interface and the charging input interface both adopt 3 contacts, including a charging contact, a GND contact and a communication contact (for example, adopting a serial communication manner);
in addition, the charging output interface of the bluetooth speaker and the charging input interface of the bluetooth headset can also adopt an implementation mode of two contacts (namely 2Pin), namely the charging output interface and the charging input interface both adopt 2 contacts including a charging contact and a GND contact, and at the moment, the charging contact is also reused as a communication contact (for example, a serial port communication mode is adopted);
in addition, it should be noted that, when the bluetooth speaker uses the bluetooth headset as the audio playing main body of the audio data unit, the bluetooth speaker may output a bluetooth audio signal to the bluetooth headset (for example, the bluetooth headset is playing audio data from the audio data unit), or the bluetooth speaker may still use the bluetooth headset as the audio playing main body of the audio data unit without playing audio currently (for example, when the audio is paused, the bluetooth speaker records information that the bluetooth headset is currently used as the audio playing main body of the audio data unit);
step S202: the Bluetooth sound box takes the Bluetooth sound box as an audio playing main body of the audio data unit.
According to the audio playing switching method provided by the embodiment of the invention, the audio playing main body is controlled by utilizing the connection state between the charging output interface of the Bluetooth sound box and the charging input interface of the Bluetooth earphone, so that the automatic switching of the audio playing main body can be realized, and the user experience can be improved.
For example, in an embodiment, when the bluetooth speaker uses the bluetooth headset as the audio playing main body of the audio data unit, the bluetooth speaker detects a state between the charging output interface of the bluetooth speaker and the charging input interface of the bluetooth headset in real time, if the bluetooth speaker is still in the off state (i.e., the bluetooth headset is still separated from the bluetooth speaker), the bluetooth speaker determines that the switching is not required currently (i.e., the bluetooth speaker still uses the bluetooth headset as the audio playing main body of the audio data unit), and if the bluetooth speaker is changed from the off state to the on state (i.e., the bluetooth headset is placed on the bluetooth speaker), the bluetooth speaker switches the audio playing main body of the audio data unit from the bluetooth headset to the bluetooth speaker.
Preferably, when the bluetooth speaker uses itself as the audio playing main body of the audio data unit, the bluetooth speaker may turn off its bluetooth communication function, so as to reduce energy consumption of the bluetooth speaker, for example, in an embodiment, the step S202 further includes: and the Bluetooth sound box closes the Bluetooth communication function of the Bluetooth sound box.
In an embodiment of the present invention, in order to facilitate the bluetooth speaker and the bluetooth headset to establish a bluetooth communication connection, the bluetooth speaker may store a bluetooth address of the bluetooth headset in advance, and preferably, the bluetooth speaker and the bluetooth headset may automatically backup a bluetooth address of an opposite party from each other through the charging output interface and the charging input interface, that is, the method may further include:
when the charging output interface of the Bluetooth sound box and the charging input interface of the Bluetooth headset are in a connected state, the Bluetooth sound box receives the Bluetooth address of the Bluetooth headset, which is sent by the Bluetooth headset, through the charging output interface.
In addition, in the invention, other modes can also be adopted to pre-store the Bluetooth address of the Bluetooth sound box in the Bluetooth headset, and the Bluetooth address of the Bluetooth headset is pre-stored in the Bluetooth sound box.
In the embodiment of the present invention, the audio data unit is configured to store audio data and/or obtain audio data from outside the bluetooth speaker, and may include at least one of a memory, a USB interface, a WIFI communication component, and a cellular mobile communication component, where the USB interface may include at least one of a USB TYPE-a interface, a USB TYPE-C interface, and a USB-micro interface, the cellular mobile communication component may include at least one of a 2G communication component, a 3G communication component, a 4G communication component, and a 5G communication component, for example, the memory may be a memory built in the bluetooth speaker, or may be a pluggable memory (such as a memory card like an SD card), and the audio data stored in the memory may be obtained in multiple ways, for example, the bluetooth speaker may establish a bluetooth communication connection with an external device (such as a mobile phone, a tablet, a computer, and the like), importing audio data from an intelligent terminal; the Bluetooth sound box can also acquire audio data from external equipment through the USB interface and store the audio data in the memory, and in addition, the Bluetooth sound box can also acquire the audio data from the Internet through the WIFI communication component and the cellular mobile communication component.
The embodiment of the invention also provides a bluetooth sound box, which comprises a processor, a memory coupled with the processor, an audio data unit and a charging output interface for charging a bluetooth headset, wherein the audio data unit is used for storing audio data and/or acquiring the audio data from the outside of the bluetooth sound box, the memory is stored with instructions for the processor to execute, and when the processor executes the instructions, the method comprising the steps S101 to S102 and/or the steps S201 to S202 can be realized, wherein the audio data unit comprises at least one of the memory, a USB interface, a WIFI communication component and a cellular mobile communication component.
For example, referring to fig. 3, fig. 3 is a schematic diagram of a bluetooth speaker provided in an embodiment of the present invention, the bluetooth speaker includes a first CPU processing unit 11, a first storage unit 12, a first bluetooth communication unit 13, a charging output interface 14, a first detection unit 15, a first power management unit 16, and a first audio output unit 17, where the first storage unit 12 stores therein instructions for implementing the steps S101 to S102 and/or the steps S201 to S202, and the first storage unit 12 also serves as an audio data unit for storing audio data, the first CPU processing unit 11 is configured to execute the instructions of the first storage unit 12, the first bluetooth communication unit 13 is configured to implement bluetooth communication connection between the bluetooth speaker and an external device (such as a bluetooth headset), the first detection unit 15 is configured to detect a state (on state or off state) of the charging output interface 14, for example, if it is detected that the charging output interface 14 and the charging input interface of the bluetooth headset are in an on state, the first detection unit 12 outputs a setting signal (for example, a high level signal 1) to the first CPU processing unit 11, if it is detected that the charging output interface 14 and the charging input interface of the bluetooth headset are in an off state, the first detection unit 12 outputs another setting signal (for example, a low level signal 0) to the first CPU processing unit 11, the first power management unit is used for implementing charging management of the bluetooth headset by the bluetooth speaker, and the first audio output unit (including audio components such as a speaker) 17 is used for playing audio under the control of the first CPU processing unit 11;
in one embodiment, to facilitate the placement of the bluetooth headset, a charging base can be disposed on the bluetooth speaker, and the charging output interface 14 is installed on the charging base.
The embodiment of the invention also provides Bluetooth audio playing equipment which comprises the Bluetooth sound box and the Bluetooth earphone, wherein the Bluetooth earphone is provided with a charging input interface matched with the charging output interface of the Bluetooth sound box.
Preferably, in an embodiment, to reduce power consumption of the bluetooth headset, the bluetooth headset is configured to: when the charging input interface of the Bluetooth loudspeaker box is in an on state, the Bluetooth communication function of the Bluetooth loudspeaker box is controlled to be in an off state, and when the charging input interface of the Bluetooth loudspeaker box is in an off state, the Bluetooth communication function of the Bluetooth loudspeaker box is controlled to be in an on state.
Referring to fig. 4, fig. 4 is a schematic diagram of a bluetooth headset according to an embodiment of the present invention, the bluetooth headset includes a second CPU processing unit 21, a second storage unit 22, a second bluetooth communication unit 23, a charging input interface 24, a second detection unit 25, a second power management unit 26, and a second audio output unit 27, where the second storage unit 12 stores instructions (for example, instructions for implementing the above-mentioned bluetooth communication function), the second CPU processing unit 21 is configured to execute the instructions of the second storage unit 22, the second bluetooth communication unit 23 is configured to implement bluetooth communication connection between the bluetooth headset and an external device (for example, a bluetooth speaker), the second detection unit 25 is configured to detect a state (on state or off state) of the charging input interface 24, for example, if it is detected that the charging input interface 24 and the charging output interface of the bluetooth speaker are in an on state, the second detecting unit 22 outputs a setting signal (for example, a high level signal 1) to the second CPU processing unit 21, and if it is detected that the charging input interface 24 and the charging output interface of the bluetooth speaker are in a disconnected state, the second detecting unit 22 outputs another setting signal (for example, a low level signal 0) to the second CPU processing unit 21, the second power management unit is configured to implement charging management on a rechargeable battery in the bluetooth headset, and the second audio output unit (including an audio component such as a speaker) 27 is configured to play audio under the control of the second CPU processing unit 21.
For example, referring to fig. 5, when the bluetooth speaker is placed on the charging base on the bluetooth speaker, the charging output interface of the bluetooth speaker and the charging input interface of the bluetooth speaker are in an on state, and at this time, the bluetooth speaker uses itself as the audio playing main body of the audio data unit, referring to fig. 6, when the bluetooth speaker is separated from the charging base on the bluetooth speaker, the charging output interface of the bluetooth speaker and the charging input interface of the bluetooth speaker are in an off state, and at this time, the bluetooth speaker uses the bluetooth speaker as the audio playing main body of the audio data unit.
According to the invention, the connection state between the charging output interface of the Bluetooth sound box and the charging input interface of the Bluetooth earphone is detected in real time, and the audio playing main body is switched between the Bluetooth sound box and the Bluetooth earphone according to the detection result, so that the audio playing main body can be quickly replaced by a user, the self-adaptive switching between a sound box mode and an earphone mode can be realized, and the user experience can be improved.
It will be appreciated by those skilled in the art that the above-described preferred embodiments may be freely combined, superimposed, without conflict.
It will be understood that the embodiments described above are illustrative only and not restrictive, and that various obvious and equivalent modifications and substitutions for details described herein may be made by those skilled in the art without departing from the basic principles of the invention.
Claims (6)
1. An audio playing switching method is applied to a Bluetooth sound box, and is characterized in that the Bluetooth sound box comprises an audio data unit and a charging output interface for a Bluetooth headset, the audio data unit is used for storing audio data and/or acquiring the audio data from the outside of the Bluetooth sound box, and the method comprises the following steps:
step S101: when the bluetooth speaker uses itself as the audio playing main body of the audio data unit, the bluetooth speaker determines whether a charging output interface of the bluetooth speaker and a charging input interface of a bluetooth headset are switched from an on state to an off state, if so, step S102 is executed, wherein the charging output interface and the charging input interface are used for realizing that the bluetooth speaker charges the bluetooth headset;
the charging output interface and the charging input interface both adopt 3 contacts comprising a charging contact, a GND contact and a communication contact adopting a serial port communication mode, or the charging output interface and the charging input interface both adopt 2 contacts comprising a charging contact and a GND contact, and the charging contact is also reused as the communication contact adopting the serial port communication mode;
if the Bluetooth sound box judges that the Bluetooth sound box receives a serial port signal sent by a Bluetooth headset, the charging output interface of the Bluetooth sound box and the charging input interface of the Bluetooth headset are in a connected state;
step S102: the Bluetooth sound box uses the Bluetooth communication connection between the Bluetooth sound box and the Bluetooth earphone as an audio playing main body of the audio data unit;
the step S102 includes:
step S1021: the Bluetooth sound box starts the Bluetooth communication function of the Bluetooth sound box and establishes Bluetooth communication connection with the Bluetooth headset;
step S1022: the Bluetooth sound box sends the audio data from the audio data unit to the Bluetooth headset through the Bluetooth communication connection;
when the charging output interface of the Bluetooth sound box and the charging input interface of the Bluetooth headset are in a connected state, the Bluetooth sound box receives the Bluetooth address of the Bluetooth headset, which is sent by the Bluetooth headset, through the charging output interface.
2. An audio playing switching method is applied to a Bluetooth sound box, and is characterized in that the Bluetooth sound box comprises an audio data unit and a charging output interface for a Bluetooth headset, the audio data unit is used for storing audio data and/or acquiring the audio data from the outside of the Bluetooth sound box, and the method comprises the following steps:
step S201: when a bluetooth speaker uses a bluetooth communication connection between the bluetooth speaker and the bluetooth speaker to use the bluetooth speaker as an audio playing main body of the audio data unit, the bluetooth speaker determines whether a charging output interface of the bluetooth speaker and a charging input interface of the bluetooth speaker are switched from an off state to an on state, if so, step S202 is executed, wherein the charging output interface and the charging input interface are used for realizing that the bluetooth speaker charges the bluetooth speaker;
the charging output interface and the charging input interface both adopt 3 contacts comprising a charging contact, a GND contact and a communication contact adopting a serial port communication mode, or the charging output interface and the charging input interface both adopt 2 contacts comprising a charging contact and a GND contact, and the charging contact is also reused as the communication contact adopting the serial port communication mode;
if the Bluetooth sound box judges that the Bluetooth sound box receives a serial port signal sent by a Bluetooth headset, the charging output interface of the Bluetooth sound box and the charging input interface of the Bluetooth headset are in a connected state;
step S202: the Bluetooth sound box takes the Bluetooth sound box as an audio playing main body of the audio data unit and the Bluetooth sound box closes the Bluetooth communication function of the Bluetooth sound box;
when the charging output interface of the Bluetooth sound box and the charging input interface of the Bluetooth headset are in a connected state, the Bluetooth sound box receives the Bluetooth address of the Bluetooth headset, which is sent by the Bluetooth headset, through the charging output interface.
3. A bluetooth speaker, comprising a processor, a memory coupled to the processor, an audio data unit for storing audio data and/or retrieving audio data from outside the bluetooth speaker, and a charging output interface for a bluetooth headset, wherein the memory stores instructions for execution by the processor, and wherein the instructions, when executed by the processor, enable the method of any one of claims 1-2.
4. The bluetooth speaker of claim 3, wherein the audio data unit comprises at least one of a memory, a USB interface, a WIFI communication component, a cellular mobile communication component.
5. A Bluetooth audio playback device, comprising the Bluetooth speaker of claim 3 or 4 and the Bluetooth headset, wherein the Bluetooth headset has a charging input interface that mates with a charging output interface of the Bluetooth speaker.
6. The device of claim 5, wherein the Bluetooth headset is configured to: when the charging input interface of the Bluetooth loudspeaker box is in an on state, the Bluetooth communication function of the Bluetooth loudspeaker box is controlled to be in an off state, and when the charging input interface of the Bluetooth loudspeaker box is in an off state, the Bluetooth communication function of the Bluetooth loudspeaker box is controlled to be in an on state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010085016.2A CN111601218B (en) | 2020-02-10 | 2020-02-10 | Audio playing switching method, Bluetooth loudspeaker box and Bluetooth audio playing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010085016.2A CN111601218B (en) | 2020-02-10 | 2020-02-10 | Audio playing switching method, Bluetooth loudspeaker box and Bluetooth audio playing device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111601218A CN111601218A (en) | 2020-08-28 |
CN111601218B true CN111601218B (en) | 2021-11-23 |
Family
ID=72184961
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010085016.2A Active CN111601218B (en) | 2020-02-10 | 2020-02-10 | Audio playing switching method, Bluetooth loudspeaker box and Bluetooth audio playing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111601218B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN213073011U (en) * | 2020-10-26 | 2021-04-27 | 深圳市道格拉斯科技有限公司 | Portable multifunctional sound box |
CN117041828A (en) * | 2023-09-28 | 2023-11-10 | 歌尔股份有限公司 | Audio switching box and audio output assembly thereof |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7242970B2 (en) * | 2003-02-14 | 2007-07-10 | Chu-Chai Hong | Bluetooth™ hands-free kit structure |
CN205545796U (en) * | 2016-01-28 | 2016-08-31 | 深圳市极客空间科技有限公司 | Bluetooth headset and intelligent HUB sound tank base's assembly |
CN206042256U (en) * | 2016-07-06 | 2017-03-22 | 深圳市三诺数字科技有限公司 | Bluetooth headset audio amplifier integrated device |
CN106535057A (en) * | 2016-12-07 | 2017-03-22 | 歌尔科技有限公司 | Operation switching method and system for master device and slave device |
CN207835746U (en) * | 2018-02-26 | 2018-09-07 | 深圳市创力能电源有限公司 | Earphone loudspeaker box integration device |
CN108632703A (en) * | 2017-03-22 | 2018-10-09 | 深圳市三诺声智联股份有限公司 | A kind of bluetooth headset sound box system and speaker |
CN208158822U (en) * | 2018-04-09 | 2018-11-27 | 东莞市瑞唐电子科技有限公司 | Multi-functional TWS bluetooth headset |
CN208424714U (en) * | 2018-07-31 | 2019-01-22 | 南京信息工程大学 | It is a kind of to combine the sound equipment for having Portable Bluetooth earphone |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104702315B (en) * | 2015-03-10 | 2017-07-07 | 青岛歌尔声学科技有限公司 | A kind of carrier communication circuit and electronic equipment |
CN207218837U (en) * | 2017-10-09 | 2018-04-10 | 深圳市亚科德电子有限公司 | The device that a kind of intelligent wireless receives calls |
CN107889008A (en) * | 2017-11-08 | 2018-04-06 | 深圳市沃特沃德股份有限公司 | Wireless headset, wireless sound box system and its audio frequency signal output and device |
CN208484626U (en) * | 2018-07-13 | 2019-02-12 | 上汽大众汽车有限公司 | A kind of vehicle mobile terminals bracket |
-
2020
- 2020-02-10 CN CN202010085016.2A patent/CN111601218B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7242970B2 (en) * | 2003-02-14 | 2007-07-10 | Chu-Chai Hong | Bluetooth™ hands-free kit structure |
CN205545796U (en) * | 2016-01-28 | 2016-08-31 | 深圳市极客空间科技有限公司 | Bluetooth headset and intelligent HUB sound tank base's assembly |
CN206042256U (en) * | 2016-07-06 | 2017-03-22 | 深圳市三诺数字科技有限公司 | Bluetooth headset audio amplifier integrated device |
CN106535057A (en) * | 2016-12-07 | 2017-03-22 | 歌尔科技有限公司 | Operation switching method and system for master device and slave device |
CN108632703A (en) * | 2017-03-22 | 2018-10-09 | 深圳市三诺声智联股份有限公司 | A kind of bluetooth headset sound box system and speaker |
CN207835746U (en) * | 2018-02-26 | 2018-09-07 | 深圳市创力能电源有限公司 | Earphone loudspeaker box integration device |
CN208158822U (en) * | 2018-04-09 | 2018-11-27 | 东莞市瑞唐电子科技有限公司 | Multi-functional TWS bluetooth headset |
CN208424714U (en) * | 2018-07-31 | 2019-01-22 | 南京信息工程大学 | It is a kind of to combine the sound equipment for having Portable Bluetooth earphone |
Non-Patent Citations (1)
Title |
---|
车载音箱多功能化的设计研究;崔茜子;《文艺生活》;20151231;第272页 * |
Also Published As
Publication number | Publication date |
---|---|
CN111601218A (en) | 2020-08-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20070211579A1 (en) | System and method for outputting data | |
US8001400B2 (en) | Power consumption management for functional preservation in a battery-powered electronic device | |
WO2017215629A1 (en) | Sound effect configuration method and related device | |
CN111601218B (en) | Audio playing switching method, Bluetooth loudspeaker box and Bluetooth audio playing device | |
CN101529876A (en) | Portable electronic device and personal hands-free accessory with audio disable | |
KR20100052287A (en) | Control method of portable device connected external device and system thereof | |
CN111596881B (en) | Audio playing device, audio playing system, switching method, bluetooth sound box and Bluetooth earphone | |
CN103124941A (en) | Method and apparatus for monitoring interrupts during a power down event at a processor | |
JP2010517399A (en) | Configurable serial memory interface | |
CN114816026B (en) | Low-power consumption standby method, electronic equipment and computer readable storage medium | |
CN111601290B (en) | Bluetooth sound box, earphone, bluetooth audio playing device, bluetooth sound box system and Bluetooth audio switching method | |
CN108377290A (en) | A kind of audio stream processing method and mobile terminal and medium product | |
KR101590154B1 (en) | Hands-free device comprising function of recording and playing and system thereof | |
CN113726940A (en) | Recording method and device | |
US10052067B2 (en) | Wearable device | |
CN110635186B (en) | Charging method and electronic equipment | |
KR20140037542A (en) | Wireless speaker capable of wireless communication via wifi | |
US20070173232A1 (en) | Incoming call notification device | |
CN111525645A (en) | Intelligent charging method, system and related equipment | |
CN101459804A (en) | Method and apparatus for reproducing media content of portable device via digital television | |
CN111176605B (en) | Audio output method and electronic equipment | |
CN106249845A (en) | A kind of audio play control method and device | |
US20030023330A1 (en) | Memory expansion for form-factor constrained portable audio device | |
KR100721352B1 (en) | Portable Terminal for preventing an playback cutting among the playback of multimedia at multi-tasking state and Method thereof | |
CN111324331A (en) | Interactive message prompting method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 519075 No. 333, Kexing Road, Xiangzhou District, Zhuhai City, Guangdong Province Applicant after: Zhuhai Jieli Technology Co., Ltd Address before: 519085 Complex Building 9 (1-4 floors), No. 107, Shihua West Road, Jida, Zhuhai, Guangdong Applicant before: Zhuhai Jieli Technology Co., Ltd |
|
GR01 | Patent grant | ||
GR01 | Patent grant |