CN113079428A - Audio playing control method, Bluetooth sound box, Bluetooth audio kit and storage medium - Google Patents

Audio playing control method, Bluetooth sound box, Bluetooth audio kit and storage medium Download PDF

Info

Publication number
CN113079428A
CN113079428A CN202011389833.3A CN202011389833A CN113079428A CN 113079428 A CN113079428 A CN 113079428A CN 202011389833 A CN202011389833 A CN 202011389833A CN 113079428 A CN113079428 A CN 113079428A
Authority
CN
China
Prior art keywords
bluetooth
sound box
headset
earphone
audio
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011389833.3A
Other languages
Chinese (zh)
Other versions
CN113079428B (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 playing control method, a Bluetooth sound box, a Bluetooth audio kit and a storage medium, wherein the audio playing control method is applied to a system formed by the Bluetooth sound box and a TWS Bluetooth headset, the Bluetooth sound box is provided with a Bluetooth module, the TWS Bluetooth headset comprises a master headset and a slave headset, and the method comprises the following steps: the Bluetooth sound box receives and plays the audio signal from the sound source equipment 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 volume of the Bluetooth sound box according to the corresponding relation between the pre-stored volume and the included angle. The invention can effectively improve the convenience of user operation and greatly improve the user experience.

Description

Audio playing control method, Bluetooth sound box, Bluetooth audio kit 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 kit and a storage medium.
Background
At present, the bluetooth audio products have been widely popularized in people's daily life and work, especially bluetooth speaker (like intelligent bluetooth speaker) and bluetooth headset (like TWS earphone) use and promote for the audio playback has distinguished traditional wired constraint, very big promotion user experience.
In order to facilitate the use of a user, the current bluetooth speaker is usually controlled by a user terminal such as a mobile phone and a tablet computer, for example, the user can control the volume of the bluetooth speaker and pause the playing through the mobile phone.
Disclosure of Invention
Based on the above situation, the main objective of the present invention is to provide an audio playing control method, a bluetooth speaker, a bluetooth audio kit, and a storage medium, which can improve the convenience of user operation.
In order to achieve the above object, a technical solution of 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 equipment 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 the Bluetooth sound box determines the volume of the Bluetooth sound box according to the corresponding relation between the pre-stored volume and the included angle, and the step S200 is returned.
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 comprises a first instruction, and the first instruction is an instruction for informing the main earphone to disconnect Bluetooth connection with the sound source equipment;
step S130: after the main earphone is disconnected from the Bluetooth connection with the sound source equipment, the Bluetooth sound box establishes the 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 speaker detecting a first orientation of the master earpiece relative to the Bluetooth module and a second orientation of the slave earpiece relative to the Bluetooth module;
step S230: and the Bluetooth sound box determines the included angle according to the first direction and the second direction.
Further, the bluetooth speaker, the TWS bluetooth headset, and the sound source device respectively store bluetooth address codes of each other, and in step S130, the bluetooth speaker establishes a 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 sound source device in a broadcast request manner or a loopback connection manner.
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 and integrates the audio data and plays the audio data.
In order to achieve the above object, the technical solution of the present invention further provides a bluetooth speaker, which includes a main control module and a bluetooth module, wherein the main control module can execute the audio playing control method.
Further, bluetooth speaker includes the casing, be provided with the recess on the top surface of casing to be used for holding TWS bluetooth headset, wherein, when any one of main earphone and the follow earphone in the TWS bluetooth headset is in when moving in the recess, the line of main earphone to bluetooth module with follow earphone to the contained angle between the line of bluetooth module changes.
Further, the groove is an annular groove which is closed into a circle.
Further, the track of the annular groove is circular, oval, rectangular or square.
In order to achieve the above object, the technical solution of the present invention further provides a bluetooth audio kit, which includes the above bluetooth speaker and the TWS headset.
In order to achieve the above object, the present invention further provides a computer-readable storage medium storing a computer program, which when executed by a processor implements the above audio playback control method.
According to the audio playing control method provided by the invention, after the Bluetooth sound box starts to receive and play the audio signal from the sound 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 included angle formed by the position of the current master earphone and the position of the slave earphone, so that the convenience of user control 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 the embodiments of the present invention with reference to the accompanying drawings, in which:
fig. 1 is a flowchart of an audio playing control method according to an embodiment of the present invention;
fig. 2 is a flowchart of another audio playing control method provided in the embodiment of the present invention;
fig. 3 is a schematic diagram of a bluetooth speaker transmitting a broadcast data packet according to an embodiment of the present invention;
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 the bluetooth speaker provided in the embodiment of the present invention;
6-8 are schematic diagrams of an angle between the orientation of a master earphone and the orientation of a slave earphone provided by an embodiment of the present invention;
fig. 9 is a schematic diagram of performing audio playing by the bluetooth speaker according to the embodiment of the present invention in a communication manner of monitoring and forwarding.
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.
It should be noted that step numbers (letter or number numbers) are used to refer to some specific method steps in the present invention only for the purpose of convenience and brevity of description, and the order of the method steps is not limited by letters or numbers in any way. It will be clear to a person skilled in the art that the order of the steps of the method in question, as determined by the technology itself, should not be unduly limited by the presence of step numbers.
Referring to fig. 1, fig. 1 is a flowchart of an audio playing 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, where 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 equipment through the Bluetooth module;
for example, the audio source device may be a smartphone, 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 the positioning accuracy, the bluetooth sound box and the TWS bluetooth headset may adopt a bluetooth standard 5.1 protocol, the bluetooth sound box may pre-store the identification (such as bluetooth address code) of the master headset and the slave headset, and the bluetooth sound box may respectively position the master headset and the slave headset by using the identification of the master headset and the slave headset to obtain a first position (the position of the master headset) and a second position (the position of the slave headset);
step S300: and the Bluetooth sound box determines the volume of the Bluetooth sound box according to the corresponding relation between the pre-stored volume and the included angle, and the step S200 is returned.
For example, the information prestored in the bluetooth sound box includes corresponding relations between different included angles and different volume parameters, and after the included angle between the first direction and the second direction is determined, the volume parameter corresponding to the included angle is obtained according to the prestored information, and the volume is adjusted according to the corresponding volume parameter.
According to the audio playing control method provided by the embodiment of the invention, after the Bluetooth sound box starts to receive and play the audio signal from the sound 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 included angle formed by the position of the current master earphone and the position of the slave earphone, so that the convenience of user operation 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 whose distance from the bluetooth speaker is 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 comprises a first instruction, and the first instruction is an instruction for informing the main earphone to disconnect Bluetooth connection with the sound source equipment;
step S130: after the main earphone is disconnected from the Bluetooth connection with the sound source equipment, the Bluetooth sound box establishes the 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 loudspeaker box can establish Bluetooth connection with the sound source equipment in a broadcasting request mode or a loop connection mode.
For example, after the bluetooth speaker is paired with the sound source device 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 loop connection mode.
Step S140: and the Bluetooth sound box plays the audio signal.
Through the mode, the user can realize the automatic switching of audio playing through changing the position of the main earphone, the audio playing is switched to be carried out by the Bluetooth loudspeaker box through the TWS Bluetooth earphone, and 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;
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 where a distance from the bluetooth speaker is 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 the first preset value, or the second preset value is smaller than the first preset value;
step S220: the Bluetooth speaker detecting a first orientation of the master earpiece relative to the Bluetooth module and a second orientation of the slave earpiece relative to the Bluetooth module;
step S230: and the Bluetooth sound box determines the included angle according to the first direction and the second direction.
After bluetooth speaker and sound source equipment establish the bluetooth and are connected promptly, when main earphone is located first preset region and is located the second from the earphone and predetermine the region, bluetooth speaker just can carry out volume control according to the contained angle that the place position of two earphones formed, can reduce the mistake like this and control.
Referring to fig. 2, fig. 2 is a flowchart of another audio playing 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, where 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 A: when the Bluetooth connection is not established between the Bluetooth sound box and the sound source equipment, carrying out Bluetooth positioning on a main earphone in the TWS Bluetooth earphone, and detecting whether the main earphone is located in a first preset area around the Bluetooth sound box;
in order to improve the positioning precision, the Bluetooth sound box and the TWS Bluetooth headset can adopt a Bluetooth standard 5.1 protocol;
when the bluetooth connection is not established between the bluetooth sound box and the sound source device, the bluetooth sound box determines the position of the main earphone by using the prestored identity of the main earphone and judges whether the main earphone is located in a preset first preset area;
for example, the first preset area around the bluetooth speaker may be an area where the distance from the bluetooth speaker is smaller than a first preset value, that is, when the distance between the master earphone and the bluetooth speaker is determined to be smaller than the first preset value (preset distance), it may be determined that the master earphone is located in the first preset area.
Wherein, the sound source equipment can be smart phones, tablet computers and the like.
And B: when detecting that the main earphone is located in a first preset area, sending a broadcast data packet and sending a Bluetooth connection request to the sound source equipment, wherein the broadcast data packet comprises a first instruction, and the first instruction is an instruction for informing the main earphone of disconnecting Bluetooth connection with the sound source equipment;
as shown in fig. 3, when it is not detected that the main earphone is located in the first preset area, the bluetooth module of the bluetooth speaker sends a broadcast data packet 1, where the broadcast data packet 1 may include information such as an identity and a status of the bluetooth speaker, and when it is detected that the main earphone is located in the first preset area, the bluetooth module of the bluetooth speaker sends a broadcast data packet 2, that is, sends a broadcast instruction that is preset and recognizable by the main earphone, and the broadcast instruction is used for disconnecting the bluetooth connection between the main earphone and the sound source device;
when the main earphone is connected with the sound source equipment, if the broadcast instruction (first instruction) is determined to be received, the main earphone is disconnected from the Bluetooth connection with the sound source equipment, so that the sound source equipment is in a Bluetooth unconnected state, and after the sound source equipment receives a Bluetooth connection request sent by a 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;
and C: after Bluetooth connection is established between the Bluetooth sound box and the sound source equipment, carrying out Bluetooth positioning on a slave earphone in the TWS Bluetooth earphone, and detecting whether the slave earphone is located in a second preset area around the Bluetooth sound box;
after the Bluetooth connection is established between the Bluetooth sound box and the sound source equipment, the Bluetooth sound box determines the position of the slave earphone by using the prestored identity of the slave earphone and judges whether the slave earphone is positioned in a second preset area;
the second preset area may be the same as or different from the first preset area;
for example, the second preset region may be a region where the distance from the bluetooth speaker is 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 the first preset value, or the second preset value is 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 a current first position (the position of the master earphone relative to the Bluetooth module of the Bluetooth sound box, namely the position of the master earphone) and a second position (the position of the slave earphone relative to the Bluetooth module of the Bluetooth sound box, namely the position of the slave earphone);
step E: and D, acquiring volume parameters corresponding to the included angles according to prestored information, adjusting the volume according to the corresponding volume parameters, and returning to the step D, wherein the prestored information comprises corresponding relations between different included angles and different volume parameters.
If the master earphone is detected not to be located in the first preset area or the slave 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 an included angle between the first direction and the second direction.
For example, as shown in fig. 4, when the distances between the slave earphone 22, the master earphone 21, and the bluetooth speaker are all smaller than a preset value r, the bluetooth speaker may perform volume adjustment according to an included angle formed by the current position of the master earphone and the position of the slave earphone, where the included angle is 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 in a Bluetooth mode, a user can realize automatic switching of audio playing by changing the position of the main headset, the audio playing by the Bluetooth headset is switched to the audio playing by the Bluetooth sound box, and after the Bluetooth connection is established between the Bluetooth sound box and the sound source equipment, the volume of the Bluetooth sound box can be controlled by the Bluetooth headset, so that the convenience of user operation and control can be effectively improved, and the user experience is improved.
Through the audio playing control method, when the Bluetooth earphone is connected with the sound source equipment in a Bluetooth mode, when the main earphone of the Bluetooth earphone is taken off from the human body and gradually approaches to the intelligent sound box, when the main earphone enters the preset range of the intelligent sound box (Bluetooth module), the main earphone can be actively disconnected from the sound source equipment in a Bluetooth mode, so that the intelligent sound box can be actively connected with the sound source equipment, the audio playing of the sound source equipment is continued, the intelligent sound box can also be used for achieving the change of audio volume according to the position of the main earphone and the change of an included angle formed by the position of the auxiliary earphone.
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 a corresponding broadcast 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 the identification (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 areas located at a certain position of the bluetooth speaker, instead of the substantially spherical stereo area shown in fig. 4, when performing bluetooth positioning on the master earphone and the slave earphone to detect whether the master earphone and the slave earphone are located in the corresponding preset areas, not only the distance between the earphone and the bluetooth speaker needs to be determined, but also the direction of the earphone needs to be determined to determine whether the earphone is located in the corresponding preset areas;
it can be understood that, in the embodiment of the present invention, the bluetooth speaker performs bluetooth positioning on the earphone by using the built-in bluetooth module, a distance between the bluetooth speaker and the earphone may specifically be a distance between the bluetooth module of the bluetooth speaker and the earphone, and a position of the earphone may specifically be a position of the earphone relative to the bluetooth module of the bluetooth speaker.
In addition, the Bluetooth sound box can be provided with an identifier for indicating the position of the Bluetooth module.
For example, in an embodiment, the larger the included angle formed by the position of the master earphone (the first position) and the position of the slave earphone (the second position), the larger the volume adjusted by the bluetooth speaker, and the smaller the included angle formed by the position of the master earphone and the position of the slave earphone, the smaller the volume adjusted by the bluetooth speaker.
Preferably, in an embodiment, the bluetooth sound box includes a housing, and a recess is disposed on a top surface of the housing for accommodating the TWS bluetooth headset, wherein when any one of a master headset and a slave headset in the TWS bluetooth headset moves in the recess, an included angle between a line from the master headset to the bluetooth module and a line from the slave headset to the bluetooth module changes. For example, the groove is an annular groove closed into a circle, for example, the track of the annular groove is circular, oval, rectangular or square.
For example, referring to fig. 5, an annular groove 12 for placing a master earphone and a slave earphone is disposed on the top of the bluetooth speaker 10 (i.e., the top view surface of the bluetooth speaker), wherein the annular groove is located in the first preset region and the second preset region, and the master earphone and the slave earphone can move in the annular groove, and through the annular groove, not only can the earphones be placed, but also the earphones can move along the groove in the groove, and it is convenient for the user to determine the position of the preset region, which further facilitates the user to control;
in the embodiment of the invention, the annular groove 12 is a closed-loop groove which can be a circular ring or a square ring, two earphones of the bluetooth earphone can freely move in the annular groove, and when the two earphones move, an included angle between the bluetooth module of the intelligent sound box and the two earphones changes, so that the volume is adjusted.
For example, in the process that the user places the bluetooth headset into the annular groove 12, when it is detected that the distance between the master 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 master headset and the sound source device by sending a broadcast data packet, and establishes the bluetooth connection between the master headset and the sound source device by sending a bluetooth connection request to the sound source device, after the bluetooth connection is established between the bluetooth speaker and the sound source device, bluetooth positioning is performed on the slave headset in the bluetooth headset, if the distance between the master 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, the location of the current master headset and the included angle formed by the location of the slave headset are determined, and volume adjustment is performed according to the included angle.
For example, referring to fig. 6-8, the volume of the bluetooth speaker can gradually decrease or increase as the included angle formed by the orientation of the master earphone and the orientation of the slave earphone decreases.
By the mode, automatic switching of the Bluetooth loudspeaker boxes can be achieved, convenience is brought to users, interestingness can be improved, and user experience is improved.
For example, in one embodiment, the bluetooth speaker includes bluetooth module, main control unit and audio output module, and bluetooth module, audio output module link to each other with the main control unit, and the contained angle information that bluetooth module obtained is through the main control unit processing back, converts into volume size change instruction, transmits audio output module to, realizes the increase and decrease of volume size.
In the embodiment of the present invention, a communication manner of monitoring and forwarding may be adopted between the bluetooth headset and the sound source device, that is, a bluetooth connection is established between the master headset and the sound source device, and a bluetooth connection is also established between the master headset and 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 and integrates the audio data and plays the audio data.
For example, referring to fig. 9, when there is 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 a first preset area, the main headset 21 establishes bluetooth connection with the smart speaker 10, the main headset 21 receives audio data of the sound source device 30, meanwhile, the smart speaker 10 monitors 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 smart speaker 10. Namely, the smart speaker is equivalent to a second slave earphone which takes the smart speaker as a master earphone through a communication mode of monitoring and forwarding. Therefore, before the Bluetooth connection between the Bluetooth headset and the sound source equipment is disconnected, the audio frequency of the sound source equipment can be played by the Bluetooth loudspeaker box in advance, and the user experience is further improved.
According to the audio playing control provided by the embodiment of the invention, firstly, the position of the master earphone is identified through the intelligent sound box, whether the master earphone enters the preset area is detected, and the switching of audio playing is realized, on the basis, whether the slave earphone enters the preset area is further detected, so that the change of the position 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 sound box comprises a housing, and a groove is arranged on a top surface of the housing for accommodating a TWS bluetooth headset, wherein when any one of a master headset and a slave headset in the TWS bluetooth headset moves in the groove, an included angle between a line from the master headset to the bluetooth module and a line from the slave headset to the bluetooth module changes.
The groove is located in the first preset area and the second preset area.
For example, in one embodiment, the groove is an annular groove closed into a ring. For example, the track of the annular groove is circular, oval, 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 of the intelligent sound box broadcast can be obtained, the preset data packet comprises an instruction for disconnecting the Bluetooth connection between the Bluetooth earphone and the sound source equipment, after 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 continue audio playing of the sound source equipment, and the intelligent sound box can change 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.
An embodiment of the present invention further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the audio playing control method.
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 (12)

1. An audio playing control method is applied to a system formed by a Bluetooth sound box and a TWS Bluetooth headset, wherein the Bluetooth sound box is provided with a Bluetooth module, the TWS Bluetooth headset comprises a master headset and a slave headset, and the method comprises the following steps:
step S100: the Bluetooth sound box receives and plays the audio signal from the sound source equipment 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 the Bluetooth sound box determines the volume of the Bluetooth sound box according to the corresponding relation between the pre-stored volume and the included angle, and the step S200 is returned.
2. The method according to claim 1, wherein the step S100 specifically comprises:
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 comprises a first instruction, and the first instruction is an instruction for informing the main earphone to disconnect Bluetooth connection with the sound source equipment;
step S130: after the main earphone is disconnected from the Bluetooth connection with the sound source equipment, the Bluetooth sound box establishes the 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.
3. The method according to claim 2, wherein 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 speaker detecting a first orientation of the master earpiece relative to the Bluetooth module and a second orientation of the slave earpiece relative to the Bluetooth module;
step S230: and the Bluetooth sound box determines the included angle according to the first direction and the second direction.
4. The method as claimed in claim 2, wherein the bluetooth speaker, the TWS bluetooth headset and the audio source device respectively store bluetooth address codes of each other, and in step S130, the bluetooth speaker establishes a bluetooth connection with the audio source device through the stored bluetooth address codes.
5. The method according to claim 2, wherein in step S130, the bluetooth speaker establishes a bluetooth connection with the audio source device by means of a broadcast request or a loopback connection.
6. The method according to claim 1, wherein the step S100 specifically comprises:
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 and integrates the audio data and plays the audio data.
7. A Bluetooth speaker comprising a host module and a Bluetooth module, wherein the host module is capable of performing the method of any one of claims 1-6.
8. The Bluetooth speaker of claim 7, comprising a housing, wherein a recess is formed on a top surface of the housing for accommodating a TWS Bluetooth headset, wherein an angle between a line connecting the master headset to the Bluetooth module and a line connecting the slave headset to the Bluetooth module changes when any one of the master headset and the slave headset moves in the recess.
9. The bluetooth sound box according to claim 8, wherein the groove is an annular groove closed into a circle.
10. The bluetooth speaker as claimed in claim 9, wherein the track of the annular groove is circular, elliptical, rectangular or square.
11. A bluetooth audio kit comprising a bluetooth speaker according to any one of claims 7-10 and a TWS headset.
12. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 6.
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 true CN113079428A (en) 2021-07-06
CN113079428B 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)

Cited By (1)

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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180011682A1 (en) * 2016-07-06 2018-01-11 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
CN109379773A (en) * 2018-09-30 2019-02-22 联想(北京)有限公司 A kind of switching method, the first output equipment and the second output equipment
CN111131957A (en) * 2019-12-26 2020-05-08 上海传英信息技术有限公司 Volume control method, terminal and readable storage medium
CN111601290A (en) * 2020-02-10 2020-08-28 珠海市杰理科技股份有限公司 Bluetooth sound box, earphone, Bluetooth audio playing device, Bluetooth audio playing system and switching method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180011682A1 (en) * 2016-07-06 2018-01-11 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
CN109379773A (en) * 2018-09-30 2019-02-22 联想(北京)有限公司 A kind of switching method, the first output equipment and the second output equipment
CN111131957A (en) * 2019-12-26 2020-05-08 上海传英信息技术有限公司 Volume control method, terminal and readable storage medium
CN111601290A (en) * 2020-02-10 2020-08-28 珠海市杰理科技股份有限公司 Bluetooth sound box, earphone, Bluetooth audio playing device, Bluetooth audio playing system and switching method

Cited By (1)

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

Also Published As

Publication number Publication date
CN113079428B (en) 2023-05-12

Similar Documents

Publication Publication Date Title
US11653398B2 (en) Bluetooth connection method and device
CN112868244B (en) Point-to-multipoint data transmission method and device
WO2020019847A1 (en) Method for switching main headset, and related device
EP2775693B1 (en) Automatic routing of call audio at incoming call
US20070223725A1 (en) Method and apparatus for wirelessly streaming multi-channel content
WO2020019848A1 (en) Method for performing switching with respect to primary earpiece, mobile terminal, and computer readable storage medium
CN112839303B (en) Method and related device for device reconnection
US20150312113A1 (en) AllJoyn Messaging Anonymous Targets Based on Association
US9883452B2 (en) Communication system for reducing the effects of radiation emitted from cellular phone antennas
KR20200044505A (en) Electronic device suporting link sharing and method therefor
CN109151212B (en) Equipment control method and device and electronic equipment
CN108777827B (en) Wireless earphone, volume adjusting method and related product
CN108111698B (en) Incoming call reminding method, intelligent device and computer readable storage medium
US20180014106A1 (en) Wireless Earphone System Comprising A First Earphone and A Second Earphone
US11641576B2 (en) Method and apparatus for identifying dual-mode wireless device, IOS device, and medium
CN108513196B (en) Wireless earphone and pairing method thereof
CN104936255A (en) Wireless access control method, device, router and terminal
WO2022242528A1 (en) Volume adjustment method and terminal device
CN113079428B (en) Audio play control method, bluetooth sound box, bluetooth audio suite and storage medium
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
CN109618062B (en) Voice interaction method, device, equipment and computer readable storage medium
US20240171953A1 (en) Earphone communication method, earphone device and computer-readable 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

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