CN116828401A - Bluetooth broadcast audio switching method and device, bluetooth receiving equipment and storage medium - Google Patents
Bluetooth broadcast audio switching method and device, bluetooth receiving equipment and storage medium Download PDFInfo
- Publication number
- CN116828401A CN116828401A CN202310761461.XA CN202310761461A CN116828401A CN 116828401 A CN116828401 A CN 116828401A CN 202310761461 A CN202310761461 A CN 202310761461A CN 116828401 A CN116828401 A CN 116828401A
- Authority
- CN
- China
- Prior art keywords
- audio
- synchronous
- group audio
- broadcast group
- broadcast
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000001360 synchronised effect Effects 0.000 claims abstract description 286
- 238000004590 computer program Methods 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 description 15
- 238000004891 communication Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/309—Measuring or estimating channel quality parameters
- H04B17/318—Received signal strength
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04H—BROADCAST COMMUNICATION
- H04H20/00—Arrangements for broadcast or for distribution combined with broadcast
- H04H20/10—Arrangements for replacing or switching information during the broadcast or the distribution
- H04H20/103—Transmitter-side switching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04H—BROADCAST COMMUNICATION
- H04H20/00—Arrangements for broadcast or for distribution combined with broadcast
- H04H20/65—Arrangements characterised by transmission systems for broadcast
- H04H20/71—Wireless systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application provides a Bluetooth broadcast audio switching method, a Bluetooth broadcast audio switching device, bluetooth receiving equipment and a storage medium, wherein the Bluetooth broadcast audio switching method comprises the following steps: scanning audio information of synchronous broadcast group audio within a preset range; if the audio information of the synchronous broadcasting group audio meets a preset switching condition, determining the synchronous broadcasting group audio as a target synchronous broadcasting group audio; and switching the currently played synchronous broadcasting group audio to the target synchronous broadcasting group audio for playing. According to the technical scheme, a user does not need to manually switch on the Bluetooth receiving device, and the Bluetooth receiving device automatically switches the synchronous broadcast group audio, so that the convenience of Bluetooth broadcast audio switching is improved.
Description
Technical Field
The present application relates to the field of bluetooth communications, and in particular, to a bluetooth broadcast audio switching method and apparatus, a bluetooth receiving device, and a storage medium.
Background
Bluetooth is a standard wireless communication technology, which is used to exchange data between devices within a short distance, so as to simplify the data interaction process between electronic devices. With the continuous evolution of technology, the bluetooth technology has iterated from early bluetooth 1.0 to bluetooth 5.3, and bluetooth 5.3 focuses on bluetooth Audio with low energy (LE Audio), so that the limitation that conventional bluetooth cannot point-to-multi transmission synchronous stream data can be broken, multi-stream transmission can be realized, and in addition, broadcast Audio sharing can be combined, and bluetooth Audio experience can be enhanced.
The synchronous broadcast communication is introduced in Bluetooth 5.3, and a synchronous broadcast group (Broadcast isochronous stream and group, BIG) in LE audio supports the synchronous transmission of data streams of non-connected multi-receiving devices, and can be used for broadcasting audio data in a public area to a plurality of Bluetooth receiving devices for receiving. However, when there are multiple bluetooth synchronized broadcast group audios in the current environment area, if the user needs to switch to listen to a new bluetooth synchronized broadcast group audio, the user can only manually switch on the bluetooth assistant device (such as a mobile phone, a computer, etc.), which is complicated in process and poor in convenience.
Disclosure of Invention
The application provides a Bluetooth broadcast audio switching method, device, equipment, system and storage medium, which are used for solving the technical problem that a user needs to manually switch Bluetooth synchronous broadcast group audio.
In a first aspect, a bluetooth broadcast audio switching method is provided, applied to a bluetooth receiving device, and the method includes: scanning audio information of synchronous broadcast group audio within a preset range; if the audio information of the synchronous broadcasting group audio meets a preset switching condition, determining the synchronous broadcasting group audio as a target synchronous broadcasting group audio; and switching the currently played synchronous broadcasting group audio to the target synchronous broadcasting group audio for playing.
With reference to the first aspect, as a possible implementation manner, the audio information of the synchronous broadcast group audio includes at least: and the notice information, the broadcast identification and the signal strength of the synchronous broadcast group audio are provided.
With reference to the first aspect, as a possible implementation manner, the determining that the synchronized broadcast group audio is the target synchronized broadcast group audio if the audio information of the synchronized broadcast group audio meets a preset switching condition includes: and if the signal intensity of the synchronous broadcasting group audio is greater than the signal intensity of the synchronous broadcasting group audio played currently and the receiving success rate of the synchronous broadcasting group audio played currently is less than the preset success rate, determining the synchronous broadcasting group audio as the target synchronous broadcasting group audio.
With reference to the first aspect, as a possible implementation manner, if the signal strength of the synchronized broadcast group audio is greater than the signal strength of the currently played synchronized broadcast group audio, and the receiving success rate of the currently played synchronized broadcast group audio is less than the preset success rate, determining that the synchronized broadcast group audio is the target synchronized broadcast group audio includes: if the signal intensity of the plurality of synchronous broadcast group audios is larger than the signal intensity of the synchronous broadcast group audio currently played, and the receiving success rate of the synchronous broadcast group audio currently played is smaller than the preset success rate, selecting the synchronous broadcast group audio with the largest signal intensity from the plurality of synchronous broadcast group audios as the target synchronous broadcast audio.
With reference to the first aspect, as a possible implementation manner, the scanning the audio information of the synchronous broadcast group audio within the preset range includes: and scanning the audio information of the synchronous broadcast group audio within a preset range according to a preset scanning period.
With reference to the first aspect, as a possible implementation manner, the scanning the audio information of the synchronous broadcast group audio within the preset range includes: and scanning the audio information of the synchronous broadcast group audio within a preset range by using the residual synchronous interval bandwidth, wherein the residual synchronous interval bandwidth is the bandwidth left after the currently played synchronous broadcast group audio is received.
With reference to the first aspect, as a possible implementation manner, the switching the currently playing synchronized broadcast group audio to the target synchronized broadcast group audio for playing includes: ending the currently played synchronous broadcasting group audio and acquiring synchronous broadcasting group information; and receiving and playing the target synchronous broadcast group audio according to the synchronous broadcast group information.
In a second aspect, a bluetooth broadcast audio switching device is provided, wherein the bluetooth broadcast audio switching device includes: the receiving module is used for scanning the audio information of the synchronous broadcast group audio within a preset range; the determining module is used for determining the synchronous broadcasting group audio as a target synchronous broadcasting group audio if the audio information of the synchronous broadcasting group audio meets a preset switching condition; and the switching module is used for switching the currently played synchronous broadcast group audio to the target synchronous broadcast group audio for playing.
In a third aspect, there is provided a bluetooth receiving device comprising a memory, a processor and a transceiver, the memory and the transceiver being connected to the processor, the transceiver being for transmitting or receiving data, the processor being for executing one or more computer programs stored in the memory, the processor, when executing the one or more computer programs, causing the bluetooth receiving device to implement the method as described in the first aspect.
In a fourth aspect, there is provided a computer readable storage medium storing a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the method of the first aspect.
The application can realize the following technical effects: the Bluetooth receiving device scans the audio information of the synchronous broadcasting group audio within a preset range, if the audio information of the synchronous broadcasting group audio meets a preset switching condition, the synchronous broadcasting group audio can be determined to be the target synchronous broadcasting group audio, the currently played synchronous broadcasting group audio is switched to the target synchronous broadcasting group audio to be played, a user does not need to manually switch on the Bluetooth receiving device, and when the preset switching condition is met, the Bluetooth receiving device can automatically switch the synchronous broadcasting group audio, so that the convenience of Bluetooth broadcasting audio switching is improved.
Drawings
Fig. 1 is a schematic view of an application scenario in which a user switches audio sources of a synchronous broadcast group according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a bluetooth broadcast audio switching method according to an embodiment of the present application;
fig. 3 is a schematic diagram of audio information of an ISO residual bandwidth scanning synchronous broadcast group audio according to an embodiment of the present application;
FIG. 4 is a timing diagram of a synchronous broadcast event according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a bluetooth broadcast audio switching device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a bluetooth receiving device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
The technical scheme of the application is suitable for a Bluetooth communication scene, in particular to a scene using BIG communication in the Bluetooth communication scene. When BIG communication is used, such as when a user needs to switch to listen to a new synchronized broadcast group audio (i.e., BIG audio) nearby, the user needs to re-operate on the bluetooth receiving device to access the new synchronized broadcast group audio source. In a possible technical solution, as shown in fig. 1, an application scenario of a user switching a synchronous broadcast group audio source may be that a synchronous broadcast group audio source 1 and a synchronous broadcast group audio source 2 exist in a current environment area, and a current bluetooth receiving device receives and plays audio data of the synchronous broadcast group audio source 1, if the user wants to switch to the synchronous broadcast group audio source 2, the user needs to use a bluetooth assistant device (such as a mobile phone, a computer, etc.) to control the bluetooth receiving device to access the synchronous broadcast group audio source 2 by scanning a two-dimensional code or searching the mobile phone, etc.
As can be seen from fig. 1, if the synchronous broadcast group audio needs to be switched, the user needs to scan or search through the bluetooth assistant device, and then the bluetooth assistant device controls the bluetooth receiving device to receive the audio data of the new synchronous broadcast group audio, which is very complicated in flow, and the user needs to manually switch, so that the switching convenience of the bluetooth broadcast audio is poor.
In view of this, the application provides a bluetooth broadcast audio switching scheme, which can realize automatic switching of bluetooth broadcast audio and improve the switching convenience of bluetooth broadcast audio. The technical scheme of the application is specifically described below.
Referring to fig. 2, fig. 2 is a flow chart of a bluetooth broadcast audio switching method according to an embodiment of the present application. As shown in fig. 2, the method can be applied to a bluetooth receiving device, which can be a mobile phone, a bluetooth headset, a computer, etc. and can support synchronous broadcast group communication, and can receive and play audio data. The method shown in fig. 2 comprises the steps of:
s201, scanning audio information of the synchronous broadcast group audio within a preset range.
It should be noted that the preset range may refer to a maximum bluetooth scanning range that the bluetooth receiving device can cover.
In one embodiment, the audio information of the synchronous broadcast group audio includes at least: and the notice information, the broadcast identification and the signal strength of the synchronous broadcast group audio are provided.
In a possible implementation manner, the announcement information of the synchronous broadcast group audio may include information such as a size, a format, a transmission rate, an error handling manner, and the like of an audio data packet. The announcement information ensures that communication and data transmission between the sender and the receiver can be performed efficiently and that audio data can be decoded and processed correctly as intended.
In one possible implementation, the broadcast identification of the synchronized broadcast group audio may be used to distinguish between different synchronized broadcast group audio. The bluetooth receiving device may correspond the signal strength to the broadcast identification for identifying signal strengths of different synchronized broadcast group audio.
In one possible implementation, the signal strength of the synchronized broadcast group audio may be used to evaluate the quality of the signal and the reliability of the communication. In general, the signal strength may be related to the distance that the device has been transmitting before the synchronized broadcast group audio source, the greater the signal strength, which generally means that the distance between the devices is closer, which may indicate that the synchronized broadcast group audio has a more stable connection and better audio transmission performance, while the weaker signal strength may indicate that the distance between the devices is farther or blocked, which may be weaker.
In one embodiment, the scanning the audio information of the synchronous broadcast group audio within the preset range includes: and scanning the audio information of the synchronous broadcast group audio within a preset range according to a preset scanning period.
As a possible implementation, the preset scan period may include a scan interval and a scan window, where the scan interval refers to a time interval between two scans by the bluetooth receiving device, and the scan window refers to a time window in which the device listens for the synchronous broadcast channel in each scan. The preset scanning period may be a default interval period of the bluetooth receiving device, or an interval period set by a user according to needs.
For example, the bluetooth receiving device may automatically turn on a scan mode according to a preset scan period, in which the bluetooth receiving device may monitor a synchronous broadcast channel, and if audio information of synchronous broadcast audio is detected within a scan window, the bluetooth receiving device will receive and decode the audio information. After completing the reception and processing of the audio data of the synchronous broadcast audio within the current scanning window, the bluetooth receiving device may wait for the next scanning interval and then repeat the above scanning process.
In one embodiment, the scanning the audio information of the synchronous broadcast group audio within the preset range includes: and scanning the audio information of the synchronous broadcast group audio within a preset range by using the residual synchronous interval bandwidth, wherein the residual synchronous interval bandwidth is the bandwidth left after the currently played synchronous broadcast group audio is received.
It should be noted that the synchronization Interval (ISO) bandwidth is a dedicated bandwidth for real-time audio transmission.
As a possible implementation, the remaining idle ISO bandwidth and the ISO bandwidth that has completed receiving the audio data can be used as the audio information for scanning the synchronized broadcast group audio, except for the window used to receive the audio data of the synchronized broadcast group audio that is currently being played in every two ISO events. This way, maximization of ISO bandwidth allocation efficiency can be achieved.
For example, as shown in fig. 3, a schematic diagram of audio information of synchronous broadcast group audio using ISO residual bandwidth scanning is provided in the present application. As shown in fig. 3, the audio information of the synchronized broadcast group audio is received successfully in both the first ISO transmission period P0 data and the pre-transmitted P1 data, and the remaining ISO bandwidth of the first ISO transmission period may be used for bluetooth scanning (in some embodiments, bluetooth low energy BLE mode). In addition, since the first ISO transmission period has successfully received both P0 data and P1 data, the ISO bandwidth originally used to receive P0 data and P1 data in the second ISO transmission period may also be used for bluetooth scanning (e.g., the first BLE SCAN region in fig. 3). The second ISO transmission period is to receive the data of pre-transmission P2, but the reception is not successful in fig. 3, so the transmission window of the third ISO transmission period P2 can continue to receive the data of P3.
S202, if the audio information of the synchronous broadcast group audio meets a preset switching condition, determining the synchronous broadcast group audio as a target synchronous broadcast group audio.
As a possible implementation, the synchronized broadcast group audio may be determined to be the target synchronized broadcast group audio if: firstly, the signal intensity of the scanned synchronous broadcasting group audio is larger than that of the currently played synchronous broadcasting group audio, and secondly, the receiving success rate of the currently played synchronous broadcasting group audio is smaller than a preset success rate.
The preset success rate can be defaulted by the Bluetooth receiving device or can be customized by a user according to the needs.
As a possible implementation manner, the reception success rate may be determined according to a data packet loss rate of the synchronized broadcast group audio. For example, the bluetooth receiving device may determine the number of synchronous broadcast group data packets transmitted by the synchronous broadcast group audio transmitting end according to the audio information of the synchronous broadcast group audio, and determine the number of lost synchronous broadcast group data packets compared with the number of received synchronous broadcast group data packets, and then may determine the packet loss rate according to the following formula:
packet loss rate= (packet loss count/transmitted packet count) ×100%
Further, the bluetooth receiving device may determine the reception success rate according to the following formula:
reception success rate= (1-packet loss rate) ×100%
In one embodiment, if the audio information of the synchronized broadcast group audio meets a preset switching condition, determining the synchronized broadcast group audio as the target synchronized broadcast group audio includes: and if the signal intensity of the synchronous broadcasting group audio is greater than the signal intensity of the synchronous broadcasting group audio played currently and the receiving success rate of the synchronous broadcasting group audio played currently is less than the preset success rate, determining the synchronous broadcasting group audio as the target synchronous broadcasting group audio.
In one embodiment, if the signal strength of the synchronized broadcast group audio is greater than the signal strength of the currently played synchronized broadcast group audio and the reception success rate of the currently played synchronized broadcast group audio is less than a preset success rate, determining that the synchronized broadcast group audio is the target synchronized broadcast group audio includes: if the signal intensity of the plurality of synchronous broadcast group audios is larger than the signal intensity of the synchronous broadcast group audio currently played, and the receiving success rate of the synchronous broadcast group audio currently played is smaller than the preset success rate, selecting the synchronous broadcast group audio with the largest signal intensity from the plurality of synchronous broadcast group audios as the target synchronous broadcast audio.
For example, if the bluetooth receiving device scans that the signal strength of the new synchronized broadcast group audio is greater than the signal strength of the currently played synchronized broadcast group audio and the reception success rate of the signal strength of the currently played synchronized broadcast group audio is less than the preset success rate of the bluetooth receiving device, the bluetooth receiving device may determine that the new synchronized broadcast group audio is the target synchronized broadcast audio and execute the step S203. At this time, if the bluetooth receiving apparatus scans that a plurality of new synchronized broadcast group audios all satisfy the above condition, the synchronized broadcast group audio having the strongest signal strength may be selected therefrom as the target synchronized broadcast audio, and the step S203 is performed.
S203, switching the currently played synchronous broadcast group audio to the target synchronous broadcast group audio for playing.
As a possible implementation, the bluetooth receiving device may end the currently playing synchronized broadcast group audio first, and then perform the handover process.
In one embodiment, the switching the currently playing synchronized broadcast group audio to the target synchronized broadcast group audio for playing includes: ending the currently played synchronous broadcasting group audio and acquiring synchronous broadcasting group information; and receiving and playing the target synchronous broadcast group audio according to the synchronous broadcast group information.
It should be noted that, the content of the synchronized broadcast group information (Biginfo) includes, but is not limited to, a frequency point used by each synchronized broadcast group, how many synchronized broadcast streams each synchronized broadcast group includes, a size of a synchronization interval bandwidth, a number of retransmissions of data included in each synchronized broadcast stream, a size definition of a data packet, and encryption information.
For example, the bluetooth receiving device may end the currently played synchronized broadcast group audio first, then access the synchronized broadcast group to obtain the synchronized broadcast group information, and receive the target synchronized broadcast group audio according to the synchronized broadcast group information to play the audio.
As a possible implementation manner, please refer to fig. 4, which is a timing diagram of a synchronized broadcast event (Big event) provided by an embodiment of the present application, two parameters, big-offset and offset Unit, prescribe at what time point (time period) the bluetooth receiving device receiving the synchronized broadcast group information should be ready to start receiving audio data in the synchronized broadcast stream. When the Bluetooth receiving device successfully receives the synchronous broadcast group information once and the audio data in the first synchronous broadcast stream, the Bluetooth receiving device marks that the Bluetooth receiving device is accessed into a synchronous broadcast group of a certain audio source, and the audio source device can send the synchronous broadcast group information through a periodical synchronous broadcast event while broadcasting the audio data, so that the Bluetooth receiving device informs the starting point position of the next synchronous broadcast event according to the synchronous broadcast group information, grasps the rule of the synchronous broadcast event of the audio source device, and receives the audio data. By the above way, any Bluetooth receiving device correctly receiving the synchronous broadcast group information can join the synchronous broadcast group according to the information in the Bluetooth receiving device, receive synchronous broadcast group audio in a synchronous broadcast event and play synchronously.
In the technical scheme corresponding to fig. 2, the bluetooth receiving device scans the audio information of the synchronous broadcast group audio within the preset range, if the audio information of the synchronous broadcast group audio meets the preset switching condition, the synchronous broadcast group audio can be determined to be the target synchronous broadcast group audio, and the currently played synchronous broadcast group audio is switched to be the target synchronous broadcast group audio for playing, so that the step that a user scans a two-dimensional code by using the bluetooth assistant device or manually starts searching and switches is omitted, the bluetooth receiving device can automatically switch the synchronous broadcast group audio when the preset switching condition is met, and the convenience of switching the bluetooth broadcast audio is improved.
The method of the present application is described above and the apparatus of the present application is described below.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a bluetooth broadcast audio switching device according to an embodiment of the present application, which is applied to a bluetooth receiving device. As shown in fig. 5, the bluetooth broadcast audio switching device 50 includes:
the scanning module 501 is configured to scan audio information of the synchronous broadcast group audio within a preset range;
a determining module 502, configured to determine that the synchronized broadcast group audio is a target synchronized broadcast group audio if the audio information of the synchronized broadcast group audio meets a preset switching condition;
and the switching module 503 is configured to switch the currently played synchronized broadcast group audio to the target synchronized broadcast group audio for playing.
In one possible design, the audio information of the synchronized broadcast group audio includes at least: and the notice information, the broadcast identification and the signal strength of the synchronous broadcast group audio are provided.
In one possible design, the determining module 502 is specifically configured to, when determining that the synchronized broadcast group audio is the target synchronized broadcast group audio if the audio information of the synchronized broadcast group audio meets the preset switching condition: and if the signal intensity of the synchronous broadcasting group audio is greater than the signal intensity of the synchronous broadcasting group audio played currently and the receiving success rate of the synchronous broadcasting group audio played currently is less than the preset success rate, determining the synchronous broadcasting group audio as the target synchronous broadcasting group audio.
In one possible design, the determining module 502 is configured to, when the signal strength of the synchronized broadcast group audio is greater than the signal strength of the currently played synchronized broadcast group audio and the receiving success rate of the currently played synchronized broadcast group audio is less than the preset success rate, determine that the synchronized broadcast group audio is the target synchronized broadcast group audio: if the signal intensity of the plurality of synchronous broadcast group audios is larger than the signal intensity of the synchronous broadcast group audio currently played, and the receiving success rate of the synchronous broadcast group audio currently played is smaller than the preset success rate, selecting the synchronous broadcast group audio with the largest signal intensity from the plurality of synchronous broadcast group audios as the target synchronous broadcast audio.
In one possible design, the scanning module 501, when used for scanning audio information of synchronous broadcast group audio within a preset range, is specifically configured to: and scanning the audio information of the synchronous broadcast group audio within a preset range according to a preset scanning period.
In one possible design, the scanning module 501, when used for scanning audio information of synchronous broadcast group audio within a preset range, is specifically configured to: and scanning the audio information of the synchronous broadcast group audio within a preset range by using the residual synchronous interval bandwidth, wherein the residual synchronous interval bandwidth is the bandwidth left after the currently played synchronous broadcast group audio is received.
In one possible design, the switching module 503 is specifically configured to, when switching the currently playing synchronized broadcast group audio to the target synchronized broadcast group audio for playing: ending the currently played synchronous broadcasting group audio and acquiring synchronous broadcasting group information; and receiving and playing the target synchronous broadcast group audio according to the synchronous broadcast group information.
According to the device, the audio information of the synchronous broadcasting group audio within the preset range can be scanned, if the audio information of the synchronous broadcasting group audio meets the preset switching condition, the synchronous broadcasting group audio can be determined to be the target synchronous broadcasting group audio, and the currently played synchronous broadcasting group audio is switched to be the target synchronous broadcasting group audio to be played, so that the step that a user scans a two-dimensional code by using Bluetooth assistant equipment or manually starts searching and switches is omitted, the Bluetooth receiving equipment can automatically switch the synchronous broadcasting group audio when the preset switching condition is met, and the convenience of Bluetooth broadcasting audio switching is improved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a bluetooth receiving device according to an embodiment of the present application, where the bluetooth receiving device 60 includes a processor 601, a memory 602, and a transceiver 603. The memory 602 is connected to the processor 601, for example via a bus.
The processor 601 is configured to support the bluetooth receiving device 60 to perform the corresponding functions in the method embodiments described above. The processor 601 may be a central processing unit (central processing unit, CPU), a network processor (network processor, NP), a hardware chip or any combination thereof. The hardware chip may be an application specific integrated circuit (application specific integrated circuit, ASIC), a programmable logic device (programmable logic device, PLD), or a combination thereof. The PLD may be a complex programmable logic device (complex programmable logic device, CPLD), a field-programmable gate array (field-programmable gate array, FPGA), general-purpose array logic (generic array logic, GAL), or any combination thereof.
The memory 602 is used for storing program codes and the like. The memory 602 may include Volatile Memory (VM), such as random access memory (random access memory, RAM); the memory 602 may also include a non-volatile memory (NVM), such as read-only memory (ROM), flash memory (flash memory), hard disk (HDD) or Solid State Drive (SSD); the memory 602 may also include a combination of the types of memory described above.
The transceiver 603 is used to transmit or receive data, and in particular, the transceiver 603 may include a bluetooth transceiver.
The processor 601 may call the program code to:
scanning audio information of synchronous broadcast group audio within a preset range;
if the audio information of the synchronous broadcasting group audio meets a preset switching condition, determining the synchronous broadcasting group audio as a target synchronous broadcasting group audio;
and switching the currently played synchronous broadcasting group audio to the target synchronous broadcasting group audio for playing. Embodiments of the present application also provide a computer-readable storage medium storing a computer program comprising program instructions that, when executed by a computer, cause the computer to perform the method of the previous embodiments.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in the embodiments may be accomplished by computer programs stored in a computer-readable storage medium, which when executed, may include the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only memory (ROM), a random-access memory (Random Access memory, RAM), or the like.
The foregoing disclosure is illustrative of the present application and is not to be construed as limiting the scope of the application, which is defined by the appended claims.
Claims (10)
1. A bluetooth broadcast audio switching method, applied to a bluetooth receiving device, the method comprising:
scanning audio information of synchronous broadcast group audio within a preset range;
if the audio information of the synchronous broadcasting group audio meets a preset switching condition, determining the synchronous broadcasting group audio as a target synchronous broadcasting group audio;
and switching the currently played synchronous broadcasting group audio to the target synchronous broadcasting group audio for playing.
2. The method of claim 1, wherein the synchronizing the audio information of the broadcast group audio includes at least: and the notice information, the broadcast identification and the signal strength of the synchronous broadcast group audio are provided.
3. The method of claim 2, wherein determining the synchronized broadcast group audio as the target synchronized broadcast group audio if the audio information of the synchronized broadcast group audio satisfies a preset switching condition, comprises:
and if the signal intensity of the synchronous broadcasting group audio is greater than the signal intensity of the synchronous broadcasting group audio played currently and the receiving success rate of the synchronous broadcasting group audio played currently is less than the preset success rate, determining the synchronous broadcasting group audio as the target synchronous broadcasting group audio.
4. The method of claim 3, wherein determining the synchronized broadcast group audio as the target synchronized broadcast group audio if the signal strength of the synchronized broadcast group audio is greater than the signal strength of the currently playing synchronized broadcast group audio and the reception success rate of the currently playing synchronized broadcast group audio is less than a preset success rate comprises:
if the signal intensity of the plurality of synchronous broadcast group audios is larger than the signal intensity of the synchronous broadcast group audio currently played, and the receiving success rate of the synchronous broadcast group audio currently played is smaller than the preset success rate, selecting the synchronous broadcast group audio with the largest signal intensity from the plurality of synchronous broadcast group audios as the target synchronous broadcast audio.
5. The method of claim 1, wherein scanning audio information of the synchronized broadcast group audio within a preset range comprises:
and scanning the audio information of the synchronous broadcast group audio within a preset range according to a preset scanning period.
6. The method of claim 1 or 5, wherein scanning audio information of the synchronized broadcast group audio within a preset range comprises:
and scanning the audio information of the synchronous broadcast group audio within a preset range by using the residual synchronous interval bandwidth, wherein the residual synchronous interval bandwidth is the bandwidth left after the currently played synchronous broadcast group audio is received.
7. The method of claim 1, wherein switching the currently playing synchronized broadcast group audio to the target synchronized broadcast group audio for playing comprises:
ending the currently played synchronous broadcasting group audio and acquiring synchronous broadcasting group information;
and receiving and playing the target synchronous broadcast group audio according to the synchronous broadcast group information.
8. A bluetooth broadcast audio switching device for application in the method according to any of claims 1 to 7, characterized in that the bluetooth broadcast audio switching device comprises:
the scanning module is used for scanning the audio information of the synchronous broadcast group audio within a preset range;
the determining module is used for determining the synchronous broadcasting group audio as a target synchronous broadcasting group audio if the audio information of the synchronous broadcasting group audio meets a preset switching condition;
and the switching module is used for switching the currently played synchronous broadcast group audio to the target synchronous broadcast group audio for playing.
9. A bluetooth receiving device comprising a memory, a processor and a transceiver, the memory and the transceiver being connected to the processor, the transceiver being for transmitting or receiving data, the processor being for executing one or more computer programs stored in the memory, the processor, when executing the one or more computer programs, causing the bluetooth receiving device to implement the method of any of claims 1-7.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the method of any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310761461.XA CN116828401A (en) | 2023-06-26 | 2023-06-26 | Bluetooth broadcast audio switching method and device, bluetooth receiving equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310761461.XA CN116828401A (en) | 2023-06-26 | 2023-06-26 | Bluetooth broadcast audio switching method and device, bluetooth receiving equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116828401A true CN116828401A (en) | 2023-09-29 |
Family
ID=88114068
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310761461.XA Pending CN116828401A (en) | 2023-06-26 | 2023-06-26 | Bluetooth broadcast audio switching method and device, bluetooth receiving equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116828401A (en) |
-
2023
- 2023-06-26 CN CN202310761461.XA patent/CN116828401A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7464313B2 (en) | Hybrid approach for data transmission using a combination of single-user and multi-user packets | |
US20070286121A1 (en) | Systems and techniques for selective point-to-multipoint retransmission of multicast frames in a wireless network | |
US10939252B2 (en) | Wireless communication apparatus, wireless communication method, and program for using a threshold to control multicast retransmission | |
JP4419023B2 (en) | Mobile communication terminal and program | |
US20070091206A1 (en) | Methods, systems and computer program products for accessing downloadable content associated with received broadcast content | |
US11044734B2 (en) | Beam indication method, network device, and terminal | |
CN1946011A (en) | Broadcasting system and method for providing broadcasting service in a weak electric field area | |
WO2014146300A1 (en) | Data transmission method, user equipment, base station, and system | |
US20130058298A1 (en) | Method and apparatus for accessing wireless sensor network | |
CN113347578A (en) | Audio data transmission method, device and system, storage medium and earphone | |
WO2020243887A1 (en) | Method and apparatus for transmitting hybrid automatic repeat request feedback, and storage medium | |
CN114666742A (en) | Bluetooth data packet broadcasting method, device, terminal and storage medium | |
CN116828401A (en) | Bluetooth broadcast audio switching method and device, bluetooth receiving equipment and storage medium | |
EP1915006A2 (en) | Apparatus and method for scanning frequency in mobile terminal | |
US20120002751A1 (en) | Transmitter, Transmission Method, Receiver, Reception Method, and Program | |
RU2735729C1 (en) | Random access method and equipment | |
CN114339385A (en) | Device and method for establishing connection for screen projection | |
US8813161B2 (en) | Method for transmitting and receiving service data of handset TV | |
CN115379427A (en) | Method, device, terminal and storage medium for broadcasting and receiving Bluetooth data packet | |
CN111383644A (en) | Audio communication method, equipment and system | |
CN105052225A (en) | Method and device for transmitting uplink information | |
WO2022088190A1 (en) | Communication method and apparatus, electronic device and storage medium | |
CN116723493A (en) | Bluetooth communication method, device, equipment and storage medium | |
JP2019525632A (en) | Information transmission method, terminal device, and network device | |
US20220225340A1 (en) | Signal transmission method and apparatus, mobile terminal, 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 |