CN113079428B - Audio play control method, bluetooth sound box, bluetooth audio suite and storage medium - Google Patents

Audio play control method, bluetooth sound box, bluetooth audio suite and storage medium Download PDF

Info

Publication number
CN113079428B
CN113079428B CN202011389833.3A CN202011389833A CN113079428B CN 113079428 B CN113079428 B CN 113079428B CN 202011389833 A CN202011389833 A CN 202011389833A CN 113079428 B CN113079428 B CN 113079428B
Authority
CN
China
Prior art keywords
bluetooth
earphone
sound box
audio
headset
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
CN202011389833.3A
Other languages
Chinese (zh)
Other versions
CN113079428A (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.)
Zhuhai Jieli Technology Co Ltd
Original Assignee
Zhuhai Jieli 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 Zhuhai Jieli Technology Co Ltd filed Critical Zhuhai Jieli Technology Co Ltd
Priority to CN202011389833.3A priority Critical patent/CN113079428B/en
Publication of CN113079428A publication Critical patent/CN113079428A/en
Application granted granted Critical
Publication of CN113079428B publication Critical patent/CN113079428B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/02Casings; Cabinets ; Supports therefor; Mountings therein
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/02Details casings, cabinets or mounting therein for transducers covered by H04R1/02 but not provided for in any of its subgroups
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides an audio play control method, a Bluetooth sound box, a Bluetooth audio suite and a storage medium, wherein the audio play control method is applied to a system formed by the Bluetooth sound box and a TWS Bluetooth earphone, the Bluetooth sound box is provided with a Bluetooth module, the TWS Bluetooth earphone comprises a master earphone and a slave earphone, and the method comprises the following steps: the Bluetooth sound box receives and plays the audio signal from the sound source device through the Bluetooth module; the Bluetooth sound box detects a first position of the master earphone relative to the Bluetooth module and a second position of the slave earphone relative to the Bluetooth module, and determines an included angle between the first position and the second position; and the Bluetooth sound box determines the sound volume of the Bluetooth sound box according to the corresponding relation between the prestored sound volume and the included angle. The invention can effectively improve the convenience of user operation and control and greatly improve the user experience.

Description

Audio play control method, bluetooth sound box, bluetooth audio suite and storage medium
Technical Field
The invention relates to the technical field of audio, in particular to an audio playing control method, a Bluetooth sound box, a Bluetooth audio suite and a storage medium.
Background
At present, bluetooth audio products have been widely popularized in people's daily life and work, especially bluetooth speaker (such as intelligent bluetooth speaker) and bluetooth headset (such as TWS headset) use and popularization for audio playback has failed traditional wired constraint, very big promotion user experience.
In order to facilitate the use of users, the current bluetooth speaker is usually controlled by a user terminal such as a mobile phone or a tablet computer, for example, the user can control the volume of the bluetooth speaker and pause playing through the mobile phone, however, in some situations, the manner cannot meet the control requirement of the user.
Disclosure of Invention
Based on the above-mentioned current situation, the main objective of the present invention is to provide an audio playing control method, a bluetooth speaker, a bluetooth audio suite, and a storage medium, which can improve the convenience of user control.
In order to achieve the above object, the present invention provides an audio playing control method, which is applied to a system formed by a bluetooth speaker and a TWS bluetooth headset, wherein the bluetooth speaker has a bluetooth module, the TWS bluetooth headset includes a master headset and a slave headset, and the method includes:
step S100: the Bluetooth sound box receives and plays the audio signal from the sound source device through the Bluetooth module;
step S200: the Bluetooth sound box detects a first position of the master earphone relative to the Bluetooth module and a second position of the slave earphone relative to the Bluetooth module, and determines an included angle between the first position and the second position;
step S300: and determining the volume of the Bluetooth sound box according to the corresponding relation between the prestored volume and the included angle, and returning to the step S200.
Further, the step S100 specifically includes:
step S110: the Bluetooth sound box detects that the main earphone enters a first preset area around the Bluetooth sound box;
step S120: the Bluetooth sound box sends a broadcast data packet to the main earphone, wherein the broadcast data packet contains a first instruction, and the first instruction is an instruction for informing the main earphone to disconnect Bluetooth connection with sound source equipment;
step S130: after the main earphone is disconnected with the Bluetooth connection between the sound source equipment, the Bluetooth sound box establishes Bluetooth connection with the sound source equipment through the Bluetooth module and receives an audio signal from the sound source equipment;
step S140: and the Bluetooth sound box plays the audio signal.
Further, the step S200 specifically includes:
step S210: the Bluetooth headset detects that the slave headset enters a second preset area around the Bluetooth sound box;
step S220: the Bluetooth sound box detects a first position of the master earphone relative to the Bluetooth module and a second position of the slave earphone relative to the Bluetooth module;
step S230: and the Bluetooth sound box determines the included angle according to the first azimuth and the second azimuth.
Further, bluetooth address codes of each other are stored in the bluetooth speaker, the TWS bluetooth headset and the sound source device, respectively, and in step S130, the bluetooth speaker establishes bluetooth connection with the sound source device through the stored bluetooth address codes.
Further, in step S130, the bluetooth speaker establishes a bluetooth connection with the audio source device by broadcasting a request or by a back connection.
Further, the step S100 specifically includes:
step S111: the Bluetooth sound box detects that the main earphone enters a first preset area around the Bluetooth sound box;
step S121: the Bluetooth sound box establishes a monitoring link with the main earphone through the Bluetooth module, monitors audio data sent to the main earphone by the sound source equipment, and receives the audio data forwarded by the main earphone through the Bluetooth module;
step S131: and the Bluetooth sound box plays, integrates and plays the audio data.
In order to achieve the above purpose, the technical scheme of the invention also provides a bluetooth sound box, which comprises a main control module and a bluetooth module, wherein the main control module can execute the audio playing control method.
Further, the bluetooth speaker includes the casing, be provided with the recess on the top surface of casing for hold TWS bluetooth headset, wherein, when the arbitrary one of main earphone and slave earphone in TWS bluetooth headset is in the recess removes, main earphone to bluetooth module's line with from the earphone to bluetooth module's line between the contained angle change.
Further, the groove is an annular groove which is closed into a circle.
Further, the track of the annular groove is round, oval, rectangular or square.
In order to achieve the above purpose, the technical scheme of the invention also provides a Bluetooth audio kit, which comprises the Bluetooth sound box and the TWS earphone.
To achieve the above object, the present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the above-described audio playback control method.
According to the audio play control method provided by the invention, after the Bluetooth sound box starts to receive and play the audio signals from the audio source equipment, the master earphone and the slave earphone in the Bluetooth earphone can be positioned, and the volume control is carried out according to the current position of the master earphone and the included angle formed by the position of the slave earphone, so that the convenience of user operation can be effectively improved, and the user experience is greatly improved.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent from the following description of embodiments of the present invention with reference to the accompanying drawings, in which:
fig. 1 is a flowchart of an audio play control method according to an embodiment of the present invention;
fig. 2 is a flowchart of another audio playing control 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 transmitting a broadcast packet;
fig. 4 is a schematic diagram of a bluetooth headset entering a preset range of a bluetooth speaker according to an embodiment of the present invention;
fig. 5 is a schematic diagram of switching a bluetooth speaker according to an embodiment of the present invention;
FIGS. 6-8 are schematic diagrams of an included angle between a master earphone position and a slave earphone position provided by an embodiment of the present invention;
fig. 9 is a schematic diagram of audio playing performed by a bluetooth speaker according to an embodiment of the present invention through a communication manner of listening and forwarding.
Detailed Description
The present invention is 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 present invention, and in order to avoid obscuring the present invention, well-known methods, procedures, flows, and components are not presented in detail.
Moreover, those of ordinary skill in the art will appreciate that the drawings are provided herein for illustrative purposes and that the drawings 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, it is the meaning of "including but not limited to".
In the description of the present invention, it should 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. Furthermore, in the description of the present invention, unless otherwise indicated, the meaning of "a plurality" is two or more.
It should be noted that step numbers (letter or number numbers) are used in the present invention to refer to certain specific method steps for convenience and brevity only, and are not intended to limit the order of the method steps by letter or number in any way. It will be apparent to those skilled in the art that the sequence of the steps of the relevant method should be determined by the technique itself and should not be unduly limited by the presence of step numbers.
Referring to fig. 1, fig. 1 is a flowchart of an audio play control method according to an embodiment of the present invention, where the method is applied to a system formed by a bluetooth speaker and a TWS bluetooth headset, the bluetooth speaker has a bluetooth module, and the TWS bluetooth headset includes a master headset and a slave headset, and the method includes:
step S100: the Bluetooth sound box receives and plays the audio signal from the sound source device through the Bluetooth module;
for example, the audio source device may be a smart phone, a tablet computer, or the like.
Step S200: the Bluetooth sound box detects a first position of the master earphone relative to the Bluetooth module and a second position of the slave earphone relative to the Bluetooth module, and determines an included angle between the first position and the second position;
in order to improve positioning accuracy, the Bluetooth sound box and the TWS Bluetooth earphone can adopt a Bluetooth standard 5.1 protocol, the identity (such as Bluetooth address code) of the master earphone and the identity (such as Bluetooth address code) of the slave earphone can be stored in the Bluetooth sound box in advance, and the Bluetooth sound box respectively positions the master earphone and the slave earphone by utilizing the identity of the master earphone and the identity of the slave earphone to obtain a first position (the position of the master earphone) and a second position (the position of the slave earphone);
step S300: and determining the volume of the Bluetooth sound box according to the corresponding relation between the prestored volume and the included angle, and returning to the step S200.
For example, the information stored in advance in the bluetooth sound box contains the corresponding relation between different included angles and different volume parameters, after the included angle between the first azimuth and the second azimuth is determined, the volume parameter corresponding to the included angle is obtained according to the information stored in advance, and volume adjustment is performed according to the corresponding volume parameter.
According to the audio play control method provided by the embodiment of the invention, after the Bluetooth sound box starts to receive and play the audio signals from the audio source equipment, the master earphone and the slave earphone in the Bluetooth earphone can be positioned, and the volume is controlled according to the current position of the master earphone and the included angle formed by the position of the slave earphone, so that the convenience of user control can be effectively improved, and the user experience is greatly improved.
Preferably, in an embodiment, the step S100 may specifically include:
step S110: the Bluetooth sound box detects that the main earphone enters a first preset area around the Bluetooth sound box;
for example, the preset area around the bluetooth speaker may be an area with a distance from the bluetooth speaker smaller than a first preset value, that is, when it is determined that the distance between the main earphone and the bluetooth speaker is smaller than the first preset value (preset distance), it may be determined that the main earphone is located in the first preset area;
step S120: the Bluetooth sound box sends a broadcast data packet to the main earphone, wherein the broadcast data packet contains a first instruction, and the first instruction is an instruction for informing the main earphone to disconnect Bluetooth connection with sound source equipment;
step S130: after the main earphone is disconnected with the Bluetooth connection between the sound source equipment, the Bluetooth sound box establishes Bluetooth connection with the sound source equipment through the Bluetooth module and receives an audio signal from the sound source equipment;
for example, the TWS bluetooth headset and the sound source device respectively store bluetooth address codes of each other, and in this step, the bluetooth speaker may establish a bluetooth connection with the sound source device through the stored bluetooth address codes;
the Bluetooth sound box can establish Bluetooth connection with the sound source equipment in a broadcasting request mode or a back connection mode.
For example, after the bluetooth speaker and the sound source device are paired and bluetooth connection is established, if the bluetooth connection between the bluetooth speaker and the sound source device is disconnected, the bluetooth connection between the bluetooth speaker and the sound source device can be realized in a reconnection mode.
Step S140: and the Bluetooth sound box plays the audio signal.
Through the mode, the user can realize automatic switching of audio playing by changing the position of the main earphone, and the TWS Bluetooth earphone is used for switching audio playing into the Bluetooth loudspeaker box for audio playing, so that the convenience of user control can be further improved.
Preferably, in an embodiment, the step S200 may specifically include:
step S210: the Bluetooth headset detects that the slave headset enters a second preset area around the Bluetooth sound box;
wherein, the second preset area may be the same as or different from the first preset area;
for example, the second preset area may be an area having a distance from the bluetooth speaker smaller than a second preset value, where the second preset value is the same as or different from the first preset value, for example, the second preset value is the same as or smaller than the first preset value;
step S220: the Bluetooth sound box detects a first position of the master earphone relative to the Bluetooth module and a second position of the slave earphone relative to the Bluetooth module;
step S230: and the Bluetooth sound box determines the included angle according to the first azimuth and the second azimuth.
Namely, after the Bluetooth sound box and the sound source equipment are connected in a Bluetooth mode, when the main earphone is located in a first preset area and the auxiliary earphone is located in a second preset area, the Bluetooth sound box can adjust the volume according to an included angle formed by the positions of the two earphones, and therefore misoperation can be reduced.
Referring to fig. 2, fig. 2 is a flowchart of another audio play control method according to an embodiment of the present invention, where the method is applied to a system formed by a bluetooth speaker and a TWS bluetooth headset, the bluetooth speaker having a bluetooth module, and the TWS bluetooth headset including a master headset and a slave headset, the method includes:
step A: when Bluetooth connection is not established between the Bluetooth sound box and the sound source equipment, bluetooth positioning is carried out on a main earphone in the TWS Bluetooth earphone, and whether the main earphone is located in a first preset area around the Bluetooth sound box or not is detected;
in order to improve the positioning accuracy, the Bluetooth sound box and the TWS Bluetooth earphone can adopt a Bluetooth standard 5.1 protocol;
the Bluetooth sound box can pre-store the identity (such as Bluetooth address code) of the sound source equipment and the main earphone, when Bluetooth connection is not established between the Bluetooth sound box and the sound source equipment, the Bluetooth sound box determines the position of the main earphone by utilizing the pre-stored identity of the main earphone, and judges whether the main earphone is positioned in a pre-set first preset area or not;
for example, the first preset area around the bluetooth speaker may be an area having a distance from the bluetooth speaker smaller than a first preset value, that is, when it is determined that the distance between the main earphone and the bluetooth speaker is smaller than the first preset value (preset distance), it may be determined that the main earphone is located in the first preset area.
The sound source equipment can be a smart phone, a tablet personal computer and the like.
And (B) step (B): when the main earphone is detected to be positioned in a first preset area, a broadcast data packet is sent and a Bluetooth connection request is sent to the sound source equipment, wherein the broadcast data packet contains a first instruction, and the first instruction is an instruction for informing the main earphone to disconnect Bluetooth connection with the sound source equipment;
as shown in fig. 3, when the main earphone is not detected to be located in the first preset area, the bluetooth module of the bluetooth speaker sends out a broadcast data packet 1, where the broadcast data packet 1 may include information such as an identity identifier and a status of the bluetooth speaker, and when the main earphone is detected to be located in the first preset area, the bluetooth module of the bluetooth speaker sends out a broadcast data packet 2, that is, sends out a broadcast instruction capable of being identified by the main earphone, where the broadcast instruction is a preset instruction capable of being identified by the main earphone, so that the main earphone disconnects bluetooth connection with the audio source device;
when the main earphone is connected with the sound source equipment, if the broadcast instruction (first instruction) is received, the main earphone disconnects the Bluetooth connection with the sound source equipment, so that the sound source equipment is in a Bluetooth unconnected state, and when the sound source equipment receives a Bluetooth connection request sent by the Bluetooth sound box, bluetooth connection is established between the sound source equipment and the Bluetooth sound box, so that automatic switching of audio playing is realized;
step C: after Bluetooth connection is established between the Bluetooth sound box and the sound source equipment, bluetooth positioning is carried out on a slave earphone in the TWS Bluetooth earphone, and whether the slave earphone is located in a second preset area around the Bluetooth sound box or not is detected;
the bluetooth sound box can pre-store the identity (such as bluetooth address code) of the slave earphone, after bluetooth connection is established between the bluetooth sound box and the sound source device, the bluetooth sound box determines the position of the slave earphone by using the pre-stored identity (such as bluetooth address code) of the slave earphone, and judges whether the slave earphone is positioned in a second preset area;
wherein, the second preset area may be the same as or different from the first preset area;
for example, the second preset area may be an area having a distance from the bluetooth speaker smaller than a second preset value, where the second preset value is the same as or different from the first preset value, for example, the second preset value is the same as or smaller than the first preset value.
Step D: if the master earphone is located in the first preset area and the slave earphone is located in the second preset area, determining an included angle between the current first azimuth (azimuth of the master earphone relative to the Bluetooth module of the Bluetooth sound box, namely the azimuth of the master earphone) and the second azimuth (azimuth of the slave earphone relative to the Bluetooth module of the Bluetooth sound box, namely the azimuth of the slave earphone);
step E: and D, acquiring volume parameters corresponding to the included angles according to the prestored information, and adjusting the volume according to the corresponding volume parameters, and returning to the step D, wherein the prestored information contains the corresponding relation between different included angles and different volume parameters.
If the main earphone is detected not to be located in the first preset area or the auxiliary earphone is detected not to be located in the second preset area, the Bluetooth sound box is configured to be incapable of adjusting the volume according to the included angle between the first azimuth and the second azimuth.
For example, as shown in fig. 4, when the distances among the slave earphone 22, the master earphone 21 and the bluetooth speaker are all smaller than a preset value r, the bluetooth speaker can adjust the volume according to the current azimuth of the master earphone and the included angle formed by the azimuth of the slave earphone, wherein the included angles are different, and the volume adjusted by the bluetooth speaker is also different.
According to the audio playing control method provided by the embodiment of the invention, when the Bluetooth headset is connected with the sound source equipment, a user can realize automatic switching of audio playing by changing the position of the main headset, the audio playing is switched from the Bluetooth headset to the audio playing by the Bluetooth loudspeaker, after Bluetooth connection is established between the Bluetooth loudspeaker and the sound source equipment, the control of the volume of the Bluetooth loudspeaker can be realized through the Bluetooth headset, the control convenience of the user can be effectively improved, and the user experience is improved.
Through the audio playing control method, when the Bluetooth headset is connected with the audio device Bluetooth, when the main headset of the Bluetooth headset is taken off from a human body and gradually approaches the intelligent sound box, the main headset can be actively disconnected with the audio device when entering the preset range of the intelligent sound box (Bluetooth module), so that the intelligent sound box can be actively connected with the audio device and continue audio playing of the audio device, and the intelligent sound box can also realize the change of audio volume according to the change of the included angle formed by the position of the main headset and the position of the auxiliary headset.
In the embodiment of the invention, after the Bluetooth connection between the main earphone and the sound source equipment is disconnected, the Bluetooth module of the intelligent sound box can be connected with the sound source equipment in a back connection mode or in a corresponding broadcasting request mode;
in order to realize faster connection, any one of the intelligent sound box, the TWS Bluetooth headset and the sound source equipment comprises identification marks (such as Bluetooth addresses) of the other two parties;
in another embodiment of the present invention, the first preset area and the second preset area around the bluetooth speaker may be an area located in a certain direction of the bluetooth speaker, instead of the approximately spherical three-dimensional area as shown in fig. 4, when the master earphone and the slave earphone are positioned to detect whether they are located in the corresponding preset areas, it is necessary to determine not only the distance between the earphone and the bluetooth speaker, but also the direction in which the earphone is located, so as to determine whether they are located in the corresponding preset areas;
it may be understood that in the embodiment of the invention, the bluetooth speaker performs bluetooth positioning on the earphone by using the built-in bluetooth module, the distance between the bluetooth speaker and the earphone may be specifically the distance between the bluetooth module of the bluetooth speaker and the earphone, and the azimuth of the earphone may be specifically the azimuth of the earphone relative to the bluetooth module of the bluetooth speaker.
In addition, the Bluetooth sound box can be provided with a mark for representing the position of the Bluetooth module.
For example, in an embodiment, the larger the included angle formed by the position of the main earphone (the first position) and the position of the auxiliary earphone (the second position), the larger the sound volume adjusted by the bluetooth speaker, and the smaller the included angle formed by the direction of the main earphone and the direction of the auxiliary earphone, the smaller the sound volume adjusted by the bluetooth speaker.
Preferably, in an embodiment, the bluetooth speaker includes a housing, and a groove is disposed on a top surface of the housing, for accommodating the TWS bluetooth headset, where an included angle between a connection line between the main headset and the bluetooth module and a connection line between the main headset and the bluetooth module changes when any one of the main headset and the slave headset moves in the groove. For example, the groove is an annular groove closed in a circle, for example, the track of the annular groove is circular, elliptical, rectangular or square.
For example, referring to fig. 5, the top of the bluetooth speaker 10 (i.e. the top view of the bluetooth speaker) is provided with an annular groove 12 in which a master earphone and a slave earphone can be placed, wherein the annular groove is located in the first preset area and located in the second preset area, and the master earphone and the slave earphone can move in the annular groove, through which the earphone can be placed, and the earphone can move along the groove in the groove, so that a user can conveniently determine the position of the preset area, and the operation of the user is further facilitated;
in the embodiment of the invention, the annular groove 12 is a closed-loop groove, which can be in a circular ring shape or a square ring shape, and two earphones of the Bluetooth earphone can freely move in the annular groove.
For example, in the process that the user places the bluetooth headset in the annular groove 12, when detecting that the distance between the main headset and the bluetooth speaker in the TWS bluetooth headset is smaller than a first preset value, the bluetooth speaker disconnects the bluetooth connection between the main headset and the sound source device by sending a broadcast data packet, establishes a bluetooth connection between the bluetooth connection request and the sound source device by sending a bluetooth connection request to the sound source device, performs bluetooth positioning on the slave headset in the bluetooth headset after the bluetooth connection is established between the bluetooth speaker and the sound source device, and determines an included angle formed by the current position of the main headset and the position of the slave headset and performs volume adjustment according to the included angle if the distance between the main headset and the bluetooth speaker is smaller than the first preset value and the distance between the slave headset and the bluetooth speaker is smaller than a second preset value.
For example, referring to fig. 6-8, the volume of the bluetooth speaker may gradually decrease or increase as the included angle formed by the position of the master earphone and the slave earphone decreases.
Through the mode, the Bluetooth sound box can be automatically switched, the use of a user is convenient, the interestingness can be improved, and the user experience is improved.
For example, in an embodiment, the bluetooth speaker includes a bluetooth module, a main control unit and an audio output module, where the bluetooth module and the audio output module are connected with the main control unit, and angle information obtained by the bluetooth module is converted into a volume change instruction after being processed by the main control unit, and is transmitted to the audio output module, so as to realize volume increase and decrease.
In the embodiment of the invention, a communication mode of monitoring and forwarding can be adopted between the Bluetooth headset and the sound source equipment, namely, the master headset and the sound source equipment are connected in a Bluetooth mode, the master headset and the slave headset are also connected in a Bluetooth mode, when the sound source equipment sends information to the master headset, the slave headset acquires communication data between the sound source equipment and the master headset in a monitoring mode, and the master headset then performs verification of data correctness by forwarding the received information to the slave headset.
Preferably, in an embodiment, the step S100 may specifically include:
step S111: the Bluetooth sound box detects that the main earphone enters a first preset area around the Bluetooth sound box;
step S121: the Bluetooth sound box establishes a monitoring link with the main earphone through the Bluetooth module, monitors audio data sent to the main earphone by the sound source equipment, and receives the audio data forwarded by the main earphone through the Bluetooth module;
step S131: and the Bluetooth sound box plays, integrates and plays the audio data.
For example, referring to fig. 9, when there is a bluetooth connection between the bluetooth headset and the sound source device 30, the bluetooth speaker performs bluetooth positioning on the main headset 21 in the bluetooth headset, when the main headset 21 enters into the first preset area, the main headset 21 establishes bluetooth connection with the intelligent speaker 10, the main headset 21 receives the audio data of the sound source device 30, and at the same time, the intelligent speaker 10 listens to the communication data between the main headset 21 and the sound source device 30, and the main headset 21 forwards the acquired audio data to the intelligent speaker 10. Namely, the intelligent sound box is equivalent to a second slave earphone taking the intelligent sound box as the master earphone through a communication mode of monitoring and forwarding. Therefore, before the Bluetooth connection between the Bluetooth earphone and the sound source equipment is disconnected, the Bluetooth loudspeaker box can play the audio of the sound source equipment in advance, so that the user experience is further improved.
According to the audio playing control provided by the embodiment of the invention, the position of the master earphone is firstly identified through the intelligent sound box, whether the master earphone enters a preset area is detected, and the audio playing is switched, on the basis, whether the slave earphone enters the preset area is further detected, so that the change of the positions of the master earphone and the slave earphone can be realized, the volume of the intelligent sound box is changed, through the mode, a user can avoid manually switching Bluetooth, the audio playing operation can be skillfully, quickly and interestingly realized, and the user experience can be greatly improved.
The embodiment of the invention also provides a Bluetooth sound box, which comprises a main control module and a Bluetooth module, wherein the main control module can execute the audio playing control method.
Preferably, in an embodiment, the bluetooth speaker includes a housing, and a groove is provided on a top surface of the housing, for accommodating a TWS bluetooth headset, where an angle between a connection line of the main headset to the bluetooth module and a connection line of the slave headset to the bluetooth module changes when any one of the main headset and the slave headset moves in the groove.
The groove is located in the first preset area and located in the second preset area.
For example, in one embodiment, the grooves are annular grooves that are closed in a circle. For example, the track of the annular groove is circular, elliptical, rectangular or square.
According to the Bluetooth sound box provided by the embodiment of the invention, when the Bluetooth earphone is in normal wireless communication with the sound source equipment, when the main earphone of the Bluetooth earphone enters the preset interval range of the intelligent sound box, the preset data packet broadcasted by the intelligent sound box can be obtained, the preset data packet contains an instruction for enabling the Bluetooth earphone to be disconnected with the sound source equipment, when the sound source equipment is disconnected with the Bluetooth earphone, the intelligent sound box can actively establish connection with the sound source equipment according to a search broadcast request initiated by a mobile phone, and the audio playing of the sound source equipment is continued, and the intelligent sound box can also realize the change of audio volume according to the change of an included angle formed by the position of the main earphone and the position of the auxiliary earphone.
The embodiment of the invention also provides a Bluetooth audio kit, which comprises the Bluetooth sound box and the TWS earphone.
The embodiment of the invention also provides a computer readable storage medium storing a computer program which when executed by a processor implements the above-described audio play control method.
Those skilled in the art will appreciate that the above-described preferred embodiments can be freely combined and stacked without conflict.
It will be understood that the above-described embodiments are merely illustrative and not restrictive, and that all obvious or equivalent modifications and substitutions to the details given above may be made by those skilled in the art without departing from the underlying principles of the invention, are intended to be included within the scope of the appended claims.

Claims (9)

1. The audio play control method is applied to a system formed by a Bluetooth sound box and a TWS Bluetooth earphone, wherein the Bluetooth sound box is provided with a Bluetooth module, and the TWS Bluetooth earphone comprises a master earphone and a slave earphone, and is characterized by comprising the following steps:
step S100, including: step S110: the Bluetooth sound box performs Bluetooth positioning, and the main earphone is detected to enter a first preset area around the Bluetooth sound box; step S120: the Bluetooth sound box sends a broadcast data packet to the main earphone, wherein the broadcast data packet contains a first instruction, and the first instruction is an instruction for informing the main earphone to disconnect Bluetooth connection with sound source equipment; step S130: after the main earphone is disconnected with the Bluetooth connection between the sound source equipment, the Bluetooth sound box establishes Bluetooth connection with the sound source equipment through the Bluetooth module and receives an audio signal from the sound source equipment; step S140: the Bluetooth sound box plays the audio signal; the Bluetooth sound box, the TWS Bluetooth earphone and the sound source equipment are respectively stored with Bluetooth address codes of each other;
step S200, including: step S210: the Bluetooth sound box performs Bluetooth positioning, and detects that the slave earphone enters a second preset area around the Bluetooth sound box; step S220: the Bluetooth sound box detects a first position of the master earphone relative to the Bluetooth module and a second position of the slave earphone relative to the Bluetooth module; step S230: the Bluetooth sound box determines an included angle according to the first azimuth and the second azimuth;
step S300: when the master earphone is located in the first preset area and the slave earphone is located in the second preset area, the Bluetooth sound box determines the sound volume of the Bluetooth sound box according to the corresponding relation between the prestored sound volume and the included angle, and the step S200 is returned; the larger the included angle is, the larger the volume of the Bluetooth sound box after adjustment is, and the smaller the included angle is, the smaller the volume of the Bluetooth sound box after adjustment is.
2. The method according to claim 1, wherein in step S130, the bluetooth speaker establishes a bluetooth connection with the sound source device through a stored bluetooth address code.
3. The method according to claim 1, wherein in the step S130, the bluetooth speaker establishes a bluetooth connection with the audio source device by broadcasting a request or by a back connection.
4. A bluetooth speaker comprising a main control module and a bluetooth module, characterized in that the main control module is capable of performing the method according to any of claims 1-3.
5. The bluetooth speaker of claim 4, wherein the bluetooth speaker comprises a housing having a recess provided in a top surface thereof for receiving a TWS bluetooth headset, wherein an angle between a line of the master headset to the bluetooth module and a line of the slave headset to the bluetooth module changes when any one of the master headset and the slave headset moves in the recess.
6. The bluetooth speaker of claim 5, wherein the groove is a closed loop annular groove.
7. The bluetooth speaker of claim 6, wherein the track of the annular groove is circular, oval, rectangular, or square.
8. A bluetooth audio kit comprising a bluetooth speaker according to any of claims 4-7 and a TWS headset.
9. A computer readable storage medium storing a computer program, which when executed by a processor implements the method of any one of claims 1-3.
CN202011389833.3A 2020-12-02 2020-12-02 Audio play control method, bluetooth sound box, bluetooth audio suite and storage medium Active CN113079428B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011389833.3A CN113079428B (en) 2020-12-02 2020-12-02 Audio play control method, bluetooth sound box, bluetooth audio suite and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011389833.3A CN113079428B (en) 2020-12-02 2020-12-02 Audio play control method, bluetooth sound box, bluetooth audio suite and storage medium

Publications (2)

Publication Number Publication Date
CN113079428A CN113079428A (en) 2021-07-06
CN113079428B true CN113079428B (en) 2023-05-12

Family

ID=76609135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011389833.3A Active CN113079428B (en) 2020-12-02 2020-12-02 Audio play control method, bluetooth sound box, bluetooth audio suite and storage medium

Country Status (1)

Country Link
CN (1) CN113079428B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114245362B (en) * 2022-02-25 2022-11-15 荣耀终端有限公司 Device reconnection method and Bluetooth peripheral

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10216474B2 (en) * 2016-07-06 2019-02-26 Bragi GmbH Variable computing engine for interactive media based upon user biometrics
CN107889008A (en) * 2017-11-08 2018-04-06 深圳市沃特沃德股份有限公司 Wireless headset, wireless sound box system and its audio frequency signal output and device
CN109379773B (en) * 2018-09-30 2021-07-16 联想(北京)有限公司 Switching method, first output device and second output device
CN111131957A (en) * 2019-12-26 2020-05-08 上海传英信息技术有限公司 Volume control method, terminal and readable storage medium
CN111601290B (en) * 2020-02-10 2023-06-20 珠海市杰理科技股份有限公司 Bluetooth sound box, earphone, bluetooth audio playing device, bluetooth sound box system and Bluetooth audio switching method

Also Published As

Publication number Publication date
CN113079428A (en) 2021-07-06

Similar Documents

Publication Publication Date Title
CN108834052B (en) TWS earphone anti-lost method, TWS earphone and anti-lost system
CN111343622B (en) Synchronous playing method, device and system of Bluetooth sound boxes
US20070223725A1 (en) Method and apparatus for wirelessly streaming multi-channel content
CN108111698B (en) Incoming call reminding method, intelligent device and computer readable storage medium
US20200008048A1 (en) Communication device, pairing method, and program
KR20200044505A (en) Electronic device suporting link sharing and method therefor
CN109547897B (en) Wireless earphone connection method, device and system and wireless earphone box
CN109151212B (en) Equipment control method and device and electronic equipment
CN112839303B (en) Method and related device for device reconnection
US20190200128A1 (en) Ring network of bluetooth speakers
US20150312703A1 (en) Timed and variable duration for multiple device synching
US20240171953A1 (en) Earphone communication method, earphone device and computer-readable storage medium
WO2019153385A1 (en) Wireless audio device pairing method and wireless audio device
US9420434B2 (en) Generating a warning message if a portable part associated with a wireless audio conferencing system is not charging
US11641576B2 (en) Method and apparatus for identifying dual-mode wireless device, IOS device, and medium
CN108513196B (en) Wireless earphone and pairing method thereof
JP6779659B2 (en) Control method and control device
CN113079428B (en) Audio play control method, bluetooth sound box, bluetooth audio suite and storage medium
CN111601290B (en) Bluetooth sound box, earphone, bluetooth audio playing device, bluetooth sound box system and Bluetooth audio switching method
CN104936255A (en) Wireless access control method, device, router and terminal
US10516974B2 (en) Method for equipment networking and outputting by equipment, and equipment
EP3136814B1 (en) Apparatus and method for receiving an audio signal
CN113727231B (en) Earphone volume adjusting method and equipment
CN112866855A (en) Hearing aid method and system, earphone charging box and storage medium
US11513765B2 (en) Bluetooth audio device, Bluetooth audio system and operating method thereof

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: 519075 No. 333, Kexing Road, Xiangzhou District, Zhuhai City, Guangdong Province

Applicant after: ZHUHAI JIELI TECHNOLOGY Co.,Ltd.

Address before: Floor 1-107, building 904, ShiJiHua Road, Zhuhai City, Guangdong Province

Applicant before: ZHUHAI JIELI TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant