CN114339618A - Broadcast control method, Bluetooth audio system and Bluetooth audio equipment - Google Patents

Broadcast control method, Bluetooth audio system and Bluetooth audio equipment Download PDF

Info

Publication number
CN114339618A
CN114339618A CN202111544626.5A CN202111544626A CN114339618A CN 114339618 A CN114339618 A CN 114339618A CN 202111544626 A CN202111544626 A CN 202111544626A CN 114339618 A CN114339618 A CN 114339618A
Authority
CN
China
Prior art keywords
channel
connection object
broadcast
bluetooth
control method
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
CN202111544626.5A
Other languages
Chinese (zh)
Other versions
CN114339618B (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.)
Bestechnic Shanghai Co Ltd
Original Assignee
Bestechnic Shanghai 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 Bestechnic Shanghai Co Ltd filed Critical Bestechnic Shanghai Co Ltd
Priority to CN202111544626.5A priority Critical patent/CN114339618B/en
Publication of CN114339618A publication Critical patent/CN114339618A/en
Application granted granted Critical
Publication of CN114339618B publication Critical patent/CN114339618B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

Abstract

The application discloses broadcast control method, bluetooth audio system and bluetooth audio equipment, wherein broadcast control method includes: acquiring a pairing state between the Bluetooth equipment and a connection object; detecting the connection state between a first channel and a second channel of the Bluetooth device and a connection object respectively in the pairing state; and if the Bluetooth equipment establishes communication connection with the connection object through the first channel, starting broadcasting on a second channel, and if the Bluetooth equipment establishes communication connection with the connection object on the second channel, closing the broadcasting of the second channel. This application can reduce resource consumption such as the consumption of bluetooth equipment from many aspects, effectively avoids the emergence of situation such as mistake even.

Description

Broadcast control method, Bluetooth audio system and Bluetooth audio equipment
Technical Field
The present application relates to the field of wireless communication technologies, and in particular, to a broadcast control method, a bluetooth audio system, and a bluetooth audio device.
Background
BLE (Bluetooth Low Energy) has advantages of Low power consumption and Low cost, and is gradually applied to Bluetooth devices such as Bluetooth headsets and/or Bluetooth sound devices. For these bluetooth devices, in order to connect their BLE channels to a connection target such as a mobile phone, it is necessary to continuously maintain a BLE broadcast state, and in the BLE broadcast state, the radio frequency module needs to be kept operating, which easily increases the power consumption of the bluetooth devices.
Disclosure of Invention
In view of this, the present application provides a broadcast control method, a bluetooth audio system, and a bluetooth audio device, so as to solve the problem that the power consumption of the bluetooth device is easily increased in the existing BLE broadcast control scheme.
The application provides a broadcast control method, which comprises the following steps:
acquiring a pairing state between the Bluetooth equipment and a connection object;
detecting the connection state between a first channel and a second channel of the Bluetooth device and a connection object respectively in the pairing state;
and if the Bluetooth equipment establishes communication connection with the connection object through the first channel, starting broadcasting on a second channel, and if the Bluetooth equipment establishes communication connection with the connection object on the second channel, closing the broadcasting of the second channel.
Optionally, the broadcast of the second channel comprises a non-directional broadcast; if the bluetooth device and the connection object are in an unpaired state, the broadcast control method further includes:
and starting the visibility and the non-directional broadcast of the second channel so as to enable the unpaired connection object to identify the Bluetooth equipment and acquire the second channel.
Optionally, in the pairing state, after detecting connection states between the first channel and the second channel of the bluetooth device and a connection object, the broadcast control method further includes:
and if the second channel does not access the connection object for more than a first set time, closing the broadcast of the second channel.
Optionally, the broadcast of the second channel comprises a directional broadcast; if the bluetooth device and the connection object are in a paired state, the broadcast control method further includes:
closing the visibility of the second channel;
and if the first channel is accessed to the connection object and the connection object supports the second channel, starting the directional broadcast of the second channel aiming at the connection object.
Optionally, the bluetooth device comprises a plurality of sub-devices; if the first channel accesses the connection object and the connection object supports the second channel, then starting the directional broadcast of the second channel for the connection object includes:
if the first channel of one sub-device accesses the connection object and the connection object supports the second channel, the sub-device starts the directional broadcast of the second channel for the connection object and sends a private message for starting the directional broadcast to other sub-devices, so that the other sub-devices respectively start the directional broadcast of the corresponding second channel for the connection object.
Optionally, in the pairing state, after detecting connection states between the first channel and the second channel of the bluetooth device and a connection object, the broadcast control method further includes:
if the second channel does not access the connection object for more than a second set time length, closing the broadcast of the second channel, and after a third set time length, returning to the step of starting the directional broadcast of the second channel for the connection object until the second channel is accessed to the connection object or the directional broadcast is started for a number of times greater than or equal to a first time threshold.
Optionally, if the first channel of the bluetooth device and the connection object are in a connected state, the broadcast control method further includes:
and if the connection object supports the second channel, starting the directional broadcast of the second channel aiming at the connection object.
Optionally, the broadcast control method further includes:
and if the connection object exits the pairing with the Bluetooth device after being connected with the Bluetooth device, closing the broadcast of the second channel.
The application also provides a Bluetooth audio system, which comprises a first Bluetooth headset and a second Bluetooth headset;
the first Bluetooth headset is used for accessing a connection object in a first channel, and when the connection object supports a second channel, starting the directional broadcast of the second channel aiming at the connection object, and sending a private message for starting the directional broadcast to the second Bluetooth headset;
and after receiving the private message for starting the directional broadcast, the second Bluetooth headset starts the directional broadcast of a second channel aiming at the connection object.
The application also provides a Bluetooth audio device, which comprises a control circuit and a storage medium; the storage medium having program code stored thereon; the control circuit is used for calling the program codes stored in the storage medium so as to execute any one of the broadcast control methods.
According to the broadcast control method, the Bluetooth audio system and the Bluetooth audio device, the broadcast of the second channel is controlled by combining the pairing state between the Bluetooth device and the connection object and the connection state between the first channel and the second channel of the Bluetooth device and the connection object respectively under the corresponding pairing state, so that the reliability of a data transmission channel formed between the Bluetooth device and the connection object is improved; after the first channel and the second channel are both accessed to the connection object, the broadcast of the second channel is closed in time, on the basis of ensuring the connection reliability, the power consumption generated by the broadcast of the second channel can be reduced on one hand, and the communication resources occupied by the broadcast of the second channel are saved; when the second channel has overtime phenomena such as not accessing the connection object for longer than the corresponding set time, the broadcast of the second channel is closed in time, so that the resource consumption such as power consumption and the like corresponding to the broadcast of the second channel of the Bluetooth device can be saved; therefore, the resource consumption such as power consumption of the corresponding Bluetooth device can be reduced from multiple aspects. In addition, the broadcast of the second channel comprises directional broadcast, so that when the Bluetooth devices are paired or the first channel is accessed into the corresponding connection object, the directional broadcast can be started, the second channel of the Bluetooth devices can be found only by the corresponding connection object, the occurrence of misconnection conditions such as access of other invalid intelligent terminals into the second channel can be avoided, and the accuracy of the started broadcast of the second channel is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flow chart of a broadcast control method according to an embodiment of the present application;
fig. 2 is a flow chart of a broadcast control method according to another embodiment of the present application;
fig. 3 is a flow chart of a broadcast control method according to another embodiment of the present application;
fig. 4 is a schematic structural diagram of a broadcast control system according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a bluetooth device according to an embodiment of the present application.
Detailed Description
As described in the background, existing BLE broadcast control schemes typically maintain BLE broadcast status continuously when connected objects need to connect to BLE channels. The connection scheme of the bluetooth headset comprising two headsets and the mobile phone is taken as an example for explanation, after one headset is connected with the other headset, a user needs to access the mobile phone, in order to enable the mobile phone to have the opportunity of accessing a BLE channel of the bluetooth headset, the bluetooth headset needs to continuously keep a BLE broadcasting state, radio frequency needs to keep working after the BLE broadcasting is started, and therefore power consumption of the bluetooth headset is increased. According to relevant bluetooth protocol, at BLE broadcast in-process, in order to accelerate connection speed, the interval (interval) of corresponding broadcast is very short, and later in order to reduce the consumption, the interval can grow, and then it is always open to correspond the broadcast, and the interval increases at the back, influences the connection experience of cell-phone easily. Considering the introduction of LE Audio BAP protocol to the broadcast interval, the first 30ms (millisecond) interval is recommended to be 20-30ms, and the later interval needs to be increased in order to reduce power consumption, and of course, the corresponding bluetooth protocol recommends that in order to improve the Connection experience, the relevant configuration can be performed according to other Connection Parameter Update procedures (such as Connection Parameter Update Procedure). However, even if various protocols are referred to and corresponding configuration measures are adopted, the conventional BLE broadcast control mode still easily causes large power consumption of corresponding bluetooth equipment.
In view of the above problems, the broadcast control method, the bluetooth audio system, and the bluetooth audio device provided in the present application control the broadcast of the second channel in combination with the pairing state between the bluetooth device and the connection object and the connection state between the first channel and the connection object of the bluetooth device in the corresponding pairing state, which is helpful to improve the reliability of the data transmission channel formed between the bluetooth device and the connection object. After the communication connection is established between the second channel of the Bluetooth device and the connection object, the broadcast of the second channel is closed in time, on the basis of ensuring the connection reliability, the power consumption generated by the broadcast of the second channel can be reduced, and the communication resources occupied by the broadcast of the second channel are saved; and when the second channel has overtime phenomena such as not accessing the connection object after the corresponding set time length, the broadcast of the second channel can be closed in time so as to save resources occupied by the broadcast of the second channel of the Bluetooth equipment. Thus, the resource consumption such as power consumption of the Bluetooth device can be reduced.
The technical solutions in the embodiments of the present application are clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application. The following embodiments and their technical features may be combined with each other without conflict.
The first aspect of the present application provides a broadcast control method, which is applied to bluetooth devices such as a bluetooth headset, a bluetooth lock, and/or a bluetooth sound. Referring to fig. 1, the broadcast control method includes S110 to S140.
S110, acquiring the pairing state between the Bluetooth device and the connection object.
The Bluetooth device can comprise Bluetooth audio devices such as a Bluetooth headset and other Bluetooth devices such as a Bluetooth lock. The states between the Bluetooth device and the connection object include various states such as unpaired states, paired states, connected states of the first channel of the Bluetooth device and the connection object, and the like. The connection object can comprise a smart device such as a mobile phone and/or a tablet computer and the like, which has a Bluetooth communication function and needs to transmit data to the blue device at least in part of the time period.
And S120, detecting the connection state between the first channel and the second channel of the Bluetooth device and a connection object respectively in the pairing state.
The first channel is a classic Bluetooth channel of the Bluetooth device, and the second channel is a BLE channel of the Bluetooth device. The bluetooth module corresponding to the first channel (i.e., the classic bluetooth channel) may refer to a bluetooth module supporting a bluetooth protocol below 4.0, which is also called a classic bluetooth module, and is generally used for transmission of a relatively large amount of data, and is widely applied to smart devices such as smart phones. The bluetooth module corresponding to the second channel (i.e. BLE channel) may refer to a module supporting the bluetooth protocol 4.0 or above, and is also referred to as BLE module, which has the advantages of low cost and low power consumption, and may be applied to various bluetooth devices with high real-time requirements.
For the second channel, the visibility (inquiry scan) and/or broadcast status of the second channel may be specifically controlled. Controlling the visibility and/or broadcast status of the second channel may include turning on the visibility of the second channel, turning on the broadcast of the second channel, and/or turning off the broadcast of the second channel.
And S130, if the Bluetooth equipment establishes communication connection with the connection object through the first channel, broadcasting is started on a second channel, and if the Bluetooth equipment establishes communication connection with the connection object on the second channel, broadcasting of the second channel is closed.
The Bluetooth device provided by the application is a dual-mode device and has a BLE function and a classic Bluetooth function simultaneously, so that the connection object transmits a part of data to the Bluetooth device through a second channel corresponding to the BLE function, for example, the part of data with small data volume and/or higher real-time requirement, so as to further improve the timeliness of the transmitted part of data, and the connection object can also transmit other data to the Bluetooth device through a first channel corresponding to the classic Bluetooth function, so as to ensure the stability of the other data in the transmission process. The control processes of the Bluetooth devices such as the dual-mode device on the classic Bluetooth module and the BLE Bluetooth module are mutually independent, and a first channel and a second channel can be simultaneously formed between the Bluetooth devices and corresponding connection objects respectively in a corresponding control mode, so that the connection objects can select the second channel and/or the first channel to transmit various data according to the characteristics of the connection objects needing to transmit data, and the real-time performance, the flexibility and the reliability in the Bluetooth communication process are improved.
The second channel may include a low power consumption channel, such as an LE Audio channel, for transmitting specific data, such as Audio data, or may include other bluetooth low energy channels.
According to the broadcast control method, the first channel and the second channel of the Bluetooth device are controlled to broadcast by combining the pairing state between the Bluetooth device and the connection object and the connection state between the first channel and the second channel of the Bluetooth device and the connection object under the corresponding pairing state, so that the reliability of a data transmission channel formed between the Bluetooth device and the connection object is improved; after the second channel is accessed to the connection object, the broadcast of the second channel is closed in time, on the basis of ensuring the connection reliability, the power consumption generated by the broadcast of the second channel can be reduced, and the communication resource occupied by the broadcast of the second channel is saved, so that the subsequent communication efficiency of the Bluetooth device is further improved.
In one embodiment, the broadcast of the second channel comprises a non-directional broadcast; if the bluetooth device is connected to the unpaired connection object, that is, the bluetooth device and the connection object are in an unpaired state, the broadcast control method further includes: and starting the visibility and the non-directional broadcast of the second channel so as to enable the unpaired connection object to identify the Bluetooth equipment and acquire the second channel, wherein the connection object has the opportunity of connecting the second channel, so that the connection object needing to be accessed can timely discover the Bluetooth equipment and connect the first channel and the second channel of the Bluetooth equipment.
For the bluetooth device, the unpaired connection object is usually a connection object which has not been connected to the corresponding bluetooth device before, and when the connection object of this kind is connected to the bluetooth device for the first time, it needs to be paired with the bluetooth device to ensure the accuracy of the connection process of the corresponding device. Optionally, for a bluetooth device such as a dual mode device, the pairing may be performed by using CTKD in the bluetooth protocol, that is, the pairing is performed by first connecting the second channel of the same bluetooth device and then connecting the first channel of the device. Optionally, the connection object may also be connected to the first channel of the bluetooth device first and then to the second channel of the bluetooth device, so as to ensure flexibility in the connection process of various channels.
In one example, after detecting connection states between the first channel and the second channel of the bluetooth device and a connection object, respectively, in the pairing state, the broadcast control method further includes: if the second channel does not access the connection object after exceeding the first set duration, the current pairing timeout can be judged, and the broadcast of the second channel is closed, so that resources occupied by the broadcast of the second channel of the Bluetooth device are saved, the Bluetooth device can enter the next pairing and/or connection work in time, and the effective utilization rate of the Bluetooth device is improved. Alternatively, the first set time period may be set according to the functional characteristics and/or performance characteristics of the bluetooth device, for example, a 10-second set time period parameter may be set.
Optionally, after the visibility and the unidirectional broadcast of the second channel are turned on, so that an unpaired connection object identifies the bluetooth device, and acquires the second channel, the control method may further include: if the first channel is accessed to the connection object and the second channel is not accessed to the connection object, the pairing with the connection object can be quitted, the non-directional broadcast is closed, and the directional broadcast to the corresponding connection object is opened, so that the corresponding connection object can obtain the corresponding second channel and be connected in time. If the second channel is accessed to the connection object, the broadcast of the second channel is closed to reduce the power consumption; and if the second channel does not access the connection object for more than the fourth set time, closing the broadcast of the second channel so as to enable the Bluetooth equipment to carry out the next round of connection work and the like.
In one embodiment, the broadcasting of the second channel includes directional broadcasting, and when the directional broadcasting is started, only the corresponding intelligent terminal can find the corresponding second channel, so that misconnection conditions that other currently invalid intelligent terminals access the second channel can be avoided. If the bluetooth device connects the paired connection object, that is, the bluetooth device and the connection object are in the paired state, at this time, the bluetooth device and the connection object do not need to be re-paired, and the connectivity (page scan) of the first channel can be opened, so that the connection object can connect the first channel. The broadcast control method further includes:
closing the visibility of the second channel, so that intelligent terminals such as other mobile phones and the like cannot find the second channel;
if the first channel is accessed to the connection object and the connection object supports the second channel, starting the directional broadcast of the second channel aiming at the connection object so as to enable the corresponding connection object to find the second channel and access in time.
Specifically, for the connected intelligent terminals, the local record of the bluetooth device or the information such as SDP (service discovery protocol) may record the configuration information of the intelligent terminals whether the intelligent terminals support BLE, so that the bluetooth device may obtain from the information such as the local record whether the intelligent terminals support the second channel, so as to control the broadcast of the second channel in a targeted manner, and improve the accuracy of the control process. Specifically, if the connection object supports the second channel, the directional broadcast of the second channel for the connection object is started, so that the connection object finds the second channel, and if the connection object does not support the second channel, the broadcast of the second channel does not need to be started, so as to avoid generating unnecessary resource consumption.
In one example, the bluetooth device includes a plurality of sub-devices, such as a bluetooth headset including left and right ear corresponding headsets, respectively. If the first channel accesses the connection object and the connection object supports the second channel, then starting the directional broadcast of the second channel for the connection object includes: if the first channel of one sub-device is accessed to the connection object and the connection object supports the second channel, the sub-device starts the directional broadcast of the second channel for the connection object and sends a private message for starting the directional broadcast to other sub-devices, so that the other sub-devices respectively start the directional broadcast of the corresponding second channel for the connection object, and thus the connection object can timely find the second channel respectively corresponding to each sub-device.
In one example, after detecting connection states between the first channel and the second channel of the bluetooth device and a connection object, respectively, in the pairing state, the broadcast control method further includes: if the second channel does not access the connection object for more than a second set time length, closing the broadcast of the second channel, and after a third set time length, returning to the step of starting the directional broadcast of the second channel for the connection object until the second channel is accessed to the connection object or the directional broadcast is started for a number of times greater than or equal to a first time threshold. The second set time period, the third set time period and/or the first time threshold may be set according to relevant protocol specifications, functional characteristics and/or performance characteristics of the bluetooth device, and the like, for example, the second set time period may be set to 1.28 seconds, the third set time period may be set to 1.28 seconds, the first time threshold may be set to 3 times, and the like.
In this embodiment, after a third set duration, the step of starting the directional broadcast of the second channel for the connection object is returned to be executed until the second channels are all accessed to the connection object, so that the bluetooth device can continuously start the directional broadcast for the paired connection objects for multiple times, multiple connection opportunities are provided for the connection object, the second channel corresponding to the connection object is prevented from being influenced by related accidental factors, and the reliability of connecting the second channel is improved. When the number of times that the bluetooth device starts the directional broadcast for the paired connection object is greater than or equal to the first time threshold, the corresponding second channel still does not access the corresponding connection object, which indicates that the connection object does not need to or is difficult to connect to the second channel currently, and at this time, the broadcast of the second channel can be closed, so as to reduce resources occupied by the broadcast of the second channel, or enable the bluetooth device to respond to other works.
In an example, if the first channel is a classic bluetooth channel and the second channel is an LE Audio channel, referring to fig. 2, the control process of the LE broadcast will be described with a pairing process between a mobile phone and a bluetooth headset, including:
s211, after the Bluetooth headset starts the visibility and the unidirectional broadcast corresponding to the LE Audio channel, the mobile phone and the Bluetooth headset enter into pairing;
s212, judging whether the classic Bluetooth channel is connected with the connection object, if so, executing the step S213;
s213, judging whether the LE Audio channel is connected with a connection object, if so, executing a step S214, otherwise, executing a step S215;
s214, quitting pairing and closing the unidirectional broadcast;
s215, quitting pairing, starting the directional broadcast, and starting a timer to judge that the timer is overtime when the starting of the directional broadcast exceeds a fourth set time length;
s216, judging whether the LE Audio channel is connected with a connection object, if so, executing a step S217, otherwise, executing a step S218;
s217, closing the directional broadcast;
s218, the timer times out, and step S217 is executed.
In one embodiment, if the first channel of the bluetooth device and the connection object are in a connected state, the broadcast control method further includes: and if the connection object supports the second channel, starting the directional broadcast of the second channel aiming at the connection object.
For some bluetooth devices, after the bluetooth devices are powered on, if a previously connected connection object exists in a current bluetooth communication range, a first channel of the bluetooth devices may automatically connect the connection object, and at this time, the bluetooth devices may obtain, from information, such as a local record, that records a configuration related to the connected devices, whether the connection device supports BLE, so as to determine whether the connection object supports the second channel. If the connection object supports the second channel, the directional broadcast aiming at the connection object is started so as to improve the accuracy of the started directional broadcast and enable the connection object to find the second channel of the Bluetooth device in time.
In one example, after detecting connection states between the first channel and the second channel of the bluetooth device and a connection object, respectively, in the pairing state, the broadcast control method further includes: if the second channel does not access the connection object accessed by the first channel for more than the fifth set time length, closing the broadcast of the second channel, and after the sixth set time length, returning to the step of starting the directional broadcast aiming at the connection object until the second channel is accessed to the connection object or the number of times of starting the directional broadcast is more than or equal to the second time threshold. The fifth setting time period, the sixth setting time period and/or the second time threshold may be set according to relevant protocol specifications, functional characteristics and/or performance characteristics of the bluetooth device, and the like, for example, the fifth setting time period may be set to 1.28 seconds, the sixth setting time period may be set to 1.28 seconds, the second time threshold may be set to 3 times, and the like.
The example can enable the Bluetooth device to continuously start the directional broadcast on the connection object connected with the first channel for multiple times, provide multiple connection opportunities of the second channel for the connection object, avoid the influence of relevant accidental factors on the connection object to connect the corresponding second channel, and improve the reliability of the connection of the second channel. When the number of times that the bluetooth device starts the directional broadcast for the paired connection object is greater than or equal to the second number threshold, the corresponding second channel still does not access the corresponding connection object, which indicates that the connection object does not need to or is difficult to connect to the second channel currently, and at this time, the broadcast of the second channel can be closed, so as to reduce the resources occupied by the broadcast of the second channel.
In an example, if the first channel is a classic bluetooth channel and the second channel is an LE Audio channel, referring to fig. 3, the control process of the LE broadcast will be described with reference to the LE Audio channel process between the mobile phone and the bluetooth headset, which includes:
s221, a classical Bluetooth channel of the Bluetooth headset is connected with a corresponding connection object, and the connection object supports LE Audio;
s222, the Bluetooth headset starts directional broadcasting aiming at a connection object;
s223, judging whether the LE Audio channel is connected with the connection object, if so, executing the step S214, otherwise, executing the step S215;
s224, closing the directional broadcast;
s225, timing a fifth set time length, closing BLE broadcast, and executing the step S226;
s226, and after the sixth set time period, determine whether the number of times of starting the directional broadcast is greater than or equal to the second time threshold, if so, execute step S224, otherwise, return to execute step S222.
Alternatively, if the bluetooth headset includes two headsets, namely a first headset and a second headset, and the steps S221 to S226 are performed by the first headset, as shown in fig. 3, after the first headset performs step S222, the following steps may be further performed: and S227, sending a private message for starting the directional broadcast to the second earphone so as to trigger the second earphone to start the directional broadcast for the corresponding connecting equipment.
In one embodiment, before detecting connection states between the first channel and the second channel of the bluetooth device and a connection object in the pairing state, the broadcast control method further includes: and starting the connectivity of the first channel so that the intelligent terminal needing to be connected with the first channel of the Bluetooth device can be connected with the first channel.
In one embodiment, the broadcast control method further comprises: if the connection object exits the pairing with the bluetooth device after connecting the bluetooth device (if the connection object has accessed the corresponding first channel and/or second channel), it indicates that the connection object does not need to connect the bluetooth device at that time, and the bluetooth device can close the broadcast of the second channel at this time, so as to save the resources occupied by the broadcast of the second channel, make the bluetooth device sleep in time, reduce the power consumption as much as possible, or make the bluetooth device respond to other work in time, so as to improve the utilization rate of the bluetooth device.
According to the broadcast control method, the first channel and the second channel of the Bluetooth device are respectively connected with the connection object in the corresponding pairing state by combining the pairing state between the Bluetooth device and the connection object, so that the broadcast of the second channel is controlled, and the reliability of a data transmission channel formed between the Bluetooth device and the connection object is improved; after the second channel is accessed to the connection object, the broadcast of the second channel is closed in time, on the basis of ensuring the connection reliability, the power consumption generated by the broadcast of the second channel can be reduced, and the communication resources occupied by the broadcast of the second channel are saved; and when the second channel has overtime phenomena such as not accessing the connection object for longer than the corresponding set time, the broadcast of the second channel is closed in time, and resources occupied by the broadcast of the second channel of the Bluetooth device are saved on the other hand. In addition, the broadcast of the second channel comprises directional broadcast, so that when the Bluetooth devices are paired or the first channel is accessed into the corresponding connection object, the directional broadcast can be started, the second channel of the Bluetooth devices can be found only by the corresponding connection object, the occurrence of misconnection conditions such as access of other invalid intelligent terminals into the second channel can be avoided, and the accuracy of the started broadcast of the second channel is improved.
A second aspect of the present application provides a broadcast control system, as shown in fig. 4, the broadcast control system including:
an obtaining module 110, configured to obtain a pairing state between a bluetooth device and a connection object;
a detecting module 120, configured to detect, in the pairing state, connection states between a first channel and a second channel of the bluetooth device and a connection object respectively;
a broadcast control module 130, configured to start a broadcast on a second channel if the bluetooth device establishes a communication connection with the connection object through the first channel, and close the broadcast of the second channel if the bluetooth device establishes a communication connection with the connection object on the second channel.
For specific limitations of the broadcast control system, reference may be made to the above limitations of the broadcast control method, which are not described herein again. The various modules in the broadcast control system described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent of an operation module in the computer equipment, and can also be stored in a memory in the computer equipment in a software form, so that the operation module of the computer equipment can call and execute the operation corresponding to each module.
A third aspect of the present application provides a bluetooth audio system comprising a first bluetooth headset and a second bluetooth headset;
the first Bluetooth headset is used for accessing a connection object in a first channel, and when the connection object supports a second channel, starting the directional broadcast of the second channel aiming at the connection object, and sending a private message for starting the directional broadcast to the second Bluetooth headset;
and after receiving the private message for starting the directional broadcast, the second Bluetooth headset starts the directional broadcast of a second channel aiming at the connection object.
In the above bluetooth audio system, the first bluetooth headset accesses the connection object in the first channel, and when the connection object supports the second channel, the second channel is opened for the directional broadcast of the connection object, and a private message for opening the directional broadcast is sent to the second bluetooth headset, so that the second bluetooth headset opens the second channel for the directional broadcast of the connection object, and thus the connection object can timely find the second channels corresponding to the first bluetooth headset and the second bluetooth headset, and the efficiency of the connection object connecting the first bluetooth headset and the second bluetooth headset respectively can be improved.
A fourth aspect of the present application provides a bluetooth audio device, as shown in fig. 5, including a control circuit 620 and a storage medium 630; the storage medium 630 has program code stored thereon; the control circuit 620 is configured to call the program code stored in the storage medium 630 to execute the broadcast control method according to any of the embodiments. The upper Bluetooth device can comprise devices such as a Bluetooth headset and/or a Bluetooth sound box; these devices often need to receive various data transmitted by smart terminals such as mobile phones through bluetooth.
The above bluetooth device, which controls the broadcast of the second channel by using the broadcast control method described in any of the above embodiments, is helpful to improve the reliability of the data transmission channel formed between the bluetooth device and the connection object by combining the process of controlling the broadcast of the second channel with the connection state of the first channel. After the second channels are accessed to the connection objects, the broadcast of the second channels is closed in time, on the basis of ensuring the connection reliability, the power consumption generated by the broadcast of the second channels can be reduced, and the communication resources occupied by the broadcast of the second channels are saved; when the second channel has overtime phenomena such as not accessing the connection object for longer than the corresponding set time, the broadcast of the second channel is closed in time, and resources occupied by the broadcast of the second channel of the Bluetooth device are saved; therefore, the Bluetooth audio device can reduce resource consumption such as power consumption in multiple aspects. In addition, the broadcast of the second channel of the Bluetooth audio equipment comprises directional broadcast, so that when the Bluetooth audio equipment is paired or the first channel is accessed into the corresponding connection object, the directional broadcast can be started, the second channel of the Bluetooth audio equipment can be found only by the corresponding connection object, the occurrence of misconnection conditions such as the access of other invalid intelligent terminals into the second channel can be avoided, and the broadcast accuracy of the started second channel is improved.
Although the application has been shown and described with respect to one or more implementations, equivalent alterations and modifications will occur to others skilled in the art based upon a reading and understanding of this specification and the annexed drawings. This application is intended to embrace all such modifications and variations and is limited only by the scope of the appended claims. In particular regard to the various functions performed by the above described components, the terms used to describe such components are intended to correspond, unless otherwise indicated, to any component which performs the specified function of the described component (e.g., that is functionally equivalent), even though not structurally equivalent to the disclosed structure which performs the function in the herein illustrated exemplary implementations of the specification.
That is, the above description is only an embodiment of the present application, and not intended to limit the scope of the present application, and all equivalent structures or equivalent flow transformations made by using the contents of the specification and the drawings, such as mutual combination of technical features between various embodiments, or direct or indirect application to other related technical fields, are included in the scope of the present application.
In addition, structural elements having the same or similar characteristics may be identified by the same or different reference numerals. Furthermore, the terms "first", "second", "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", "third" may explicitly or implicitly include one or more features. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
In this application, the word "exemplary" is used to mean "serving as an example, instance, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. The previous description is provided to enable any person skilled in the art to make and use the present application. In the foregoing description, various details have been set forth for the purpose of explanation. It will be apparent to one of ordinary skill in the art that the present application may be practiced without these specific details. In other instances, well-known structures and processes are not shown in detail to avoid obscuring the description of the present application with unnecessary detail. Thus, the present application is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.

Claims (10)

1. A broadcast control method, characterized in that the broadcast control method comprises:
acquiring a pairing state between the Bluetooth equipment and a connection object;
detecting the connection state between a first channel and a second channel of the Bluetooth device and a connection object respectively in the pairing state;
and if the Bluetooth equipment establishes communication connection with the connection object through the first channel, starting broadcasting on a second channel, and if the Bluetooth equipment establishes communication connection with the connection object on the second channel, closing the broadcasting of the second channel.
2. The broadcast control method according to claim 1, wherein the broadcast of the second channel includes a non-directional broadcast; if the bluetooth device and the connection object are in an unpaired state, the broadcast control method further includes:
and starting the visibility and the non-directional broadcast of the second channel so as to enable the unpaired connection object to identify the Bluetooth equipment and acquire the second channel.
3. The broadcast control method according to claim 2, wherein after detecting connection states between the first channel and the second channel of the bluetooth device and a connection object, respectively, in the pairing state, the broadcast control method further comprises:
and if the second channel does not access the connection object for more than a first set time, closing the broadcast of the second channel.
4. The broadcast control method of claim 1, wherein the broadcast of the second channel comprises a directional broadcast; if the bluetooth device and the connection object are in a paired state, the broadcast control method further includes:
closing the visibility of the second channel;
and if the first channel is accessed to the connection object and the connection object supports the second channel, starting the directional broadcast of the second channel aiming at the connection object.
5. The broadcast control method of claim 4, wherein the Bluetooth device comprises a plurality of sub-devices; if the first channel accesses the connection object and the connection object supports the second channel, then starting the directional broadcast of the second channel for the connection object includes:
if the first channel of one sub-device accesses the connection object and the connection object supports the second channel, the sub-device starts the directional broadcast of the second channel for the connection object and sends a private message for starting the directional broadcast to other sub-devices, so that the other sub-devices respectively start the directional broadcast of the corresponding second channel for the connection object.
6. The broadcast control method according to claim 4, wherein after detecting connection states between the first channel and the second channel of the Bluetooth device and a connection object, respectively, in the pairing state, the broadcast control method further comprises:
if the second channel does not access the connection object for more than a second set time length, closing the broadcast of the second channel, and after a third set time length, returning to the step of starting the directional broadcast of the second channel for the connection object until the second channel is accessed to the connection object or the directional broadcast is started for a number of times greater than or equal to a first time threshold.
7. The broadcast control method according to claim 1, wherein if the first channel of the bluetooth device is connected to the connection object, the broadcast control method further comprises:
and if the connection object supports the second channel, starting the directional broadcast of the second channel aiming at the connection object.
8. The broadcast control method according to claim 1, further comprising:
and if the connection object exits the pairing with the Bluetooth device after being connected with the Bluetooth device, closing the broadcast of the second channel.
9. A Bluetooth audio system comprises a first Bluetooth headset and a second Bluetooth headset;
the first Bluetooth headset is used for accessing a connection object in a first channel, and when the connection object supports a second channel, starting the directional broadcast of the second channel aiming at the connection object, and sending a private message for starting the directional broadcast to the second Bluetooth headset;
and after receiving the private message for starting the directional broadcast, the second Bluetooth headset starts the directional broadcast of a second channel aiming at the connection object.
10. A bluetooth audio device, comprising a control circuit and a storage medium; the storage medium having program code stored thereon; the control circuit is configured to call the program code stored in the storage medium to execute the broadcast control method according to any one of claims 1 to 8.
CN202111544626.5A 2021-12-16 2021-12-16 Broadcast control method, bluetooth audio system and Bluetooth audio equipment Active CN114339618B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111544626.5A CN114339618B (en) 2021-12-16 2021-12-16 Broadcast control method, bluetooth audio system and Bluetooth audio equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111544626.5A CN114339618B (en) 2021-12-16 2021-12-16 Broadcast control method, bluetooth audio system and Bluetooth audio equipment

Publications (2)

Publication Number Publication Date
CN114339618A true CN114339618A (en) 2022-04-12
CN114339618B CN114339618B (en) 2023-07-21

Family

ID=81053332

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111544626.5A Active CN114339618B (en) 2021-12-16 2021-12-16 Broadcast control method, bluetooth audio system and Bluetooth audio equipment

Country Status (1)

Country Link
CN (1) CN114339618B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024016885A1 (en) * 2022-07-22 2024-01-25 Oppo广东移动通信有限公司 Bluetooth connection method and apparatus, electronic device, and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924805A (en) * 2018-07-13 2018-11-30 杭州网易云音乐科技有限公司 Bluetooth connecting method, medium and the first, second electronic equipment and calculating equipment
CN109417758A (en) * 2016-06-27 2019-03-01 华为技术有限公司 A kind of method and terminal of bluetooth connection
CN109862549A (en) * 2019-03-28 2019-06-07 南昌黑鲨科技有限公司 Bluetooth connecting method, device, readable storage medium storing program for executing and mobile device
CN111602344A (en) * 2018-08-01 2020-08-28 华为技术有限公司 Bluetooth communication method and dual-mode Bluetooth terminal
CN113366439A (en) * 2018-12-26 2021-09-07 荣耀终端有限公司 Method and device for connecting Bluetooth device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109417758A (en) * 2016-06-27 2019-03-01 华为技术有限公司 A kind of method and terminal of bluetooth connection
CN108924805A (en) * 2018-07-13 2018-11-30 杭州网易云音乐科技有限公司 Bluetooth connecting method, medium and the first, second electronic equipment and calculating equipment
CN111602344A (en) * 2018-08-01 2020-08-28 华为技术有限公司 Bluetooth communication method and dual-mode Bluetooth terminal
CN113366439A (en) * 2018-12-26 2021-09-07 荣耀终端有限公司 Method and device for connecting Bluetooth device
CN109862549A (en) * 2019-03-28 2019-06-07 南昌黑鲨科技有限公司 Bluetooth connecting method, device, readable storage medium storing program for executing and mobile device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024016885A1 (en) * 2022-07-22 2024-01-25 Oppo广东移动通信有限公司 Bluetooth connection method and apparatus, electronic device, and computer readable storage medium

Also Published As

Publication number Publication date
CN114339618B (en) 2023-07-21

Similar Documents

Publication Publication Date Title
WO2020228831A1 (en) Network connection control method, terminal, and storage medium
CN107889092B (en) Bluetooth device communication control method, device, terminal device and storage medium
CN110677900B (en) Paging processing method and related device
US8774789B2 (en) Enhanced discontinuous mode operation with shared radio frequency resources
US11284452B2 (en) Establishing a short-range communication pathway
FI113145B (en) Hide device
US9357480B2 (en) Method for selecting a network by a terminal and dual-standby terminal
TWI474699B (en) Enhanced multiple sim page reception
US7532903B2 (en) Method for performing TRS communication in a mobile communication terminal
CN103493581A (en) Method for controlling working state and terminal equipment
US20230309020A1 (en) Communication method, terminal device, and storage medium
WO2017039956A1 (en) Thermal mitigation systems and methods for multi-subscription devices
CN114339618B (en) Broadcast control method, bluetooth audio system and Bluetooth audio equipment
US8054771B2 (en) Method and system for adding a new connection identifier to an existing power save class
EP4340422A1 (en) Method for reducing call drop rate and terminal
US9307491B2 (en) Methods and apparatuses for increased battery performance in networks with different DRX cycles
JP3135319U (en) Contact Bluetooth compatible device, its main device, and its subordinate devices.
CN113301672B (en) Network connection method, network node equipment and device
CN112788713A (en) Network connection method, terminal and computer storage medium
EP3893567B1 (en) Methods and devices for controlling detachment of mobile terminal
CN112788785B (en) Network connection method, terminal and computer storage medium
WO2024067508A1 (en) Cell synchronization method and apparatus, terminal, network side device and storage medium
WO2023202560A1 (en) Secondary cell group information sending method and receiving method, terminal, device and medium
WO2023104077A1 (en) Capability limiting method, terminal and network side device
CN115967927A (en) Bluetooth connection method and device, earphone and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant