CN113328816B - LE audio broadcast stream synchronous listening method and device - Google Patents

LE audio broadcast stream synchronous listening method and device Download PDF

Info

Publication number
CN113328816B
CN113328816B CN202110883429.XA CN202110883429A CN113328816B CN 113328816 B CN113328816 B CN 113328816B CN 202110883429 A CN202110883429 A CN 202110883429A CN 113328816 B CN113328816 B CN 113328816B
Authority
CN
China
Prior art keywords
audio
broadcast stream
audio broadcast
broadcast
stream
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110883429.XA
Other languages
Chinese (zh)
Other versions
CN113328816A (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.)
Barrot Wireless Co Ltd
Original Assignee
Barrot Wireless 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 Barrot Wireless Co Ltd filed Critical Barrot Wireless Co Ltd
Priority to CN202110883429.XA priority Critical patent/CN113328816B/en
Publication of CN113328816A publication Critical patent/CN113328816A/en
Application granted granted Critical
Publication of CN113328816B publication Critical patent/CN113328816B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H20/00Arrangements for broadcast or for distribution combined with broadcast
    • H04H20/18Arrangements for synchronising broadcast or distribution via plural systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a method and a device for synchronously listening LE audio broadcast streams, and belongs to the technical field of audio data processing. The method mainly comprises the steps of creating a broadcast group, wherein the broadcast group comprises a plurality of audio broadcast stream channels; in a plurality of audio broadcast stream channels, respectively playing the audio broadcast streams with different initial offset time in a circulating way; determining the waiting time for starting broadcasting under the audio broadcasting stream once according to the current playing position of the audio broadcasting stream in a plurality of audio broadcasting stream channels during the listening time; and taking the audio broadcast stream channel of the audio broadcast stream with the waiting time within the preset range as a priority broadcast source, and listening to the audio broadcast stream by the broadcast listening equipment through the priority broadcast source. The invention judges the waiting time of the audio broadcast stream channel in the broadcast source equipment and takes the audio broadcast stream channel as the priority broadcast source, so that a broadcast listening user can listen from the initial position of a segment of broadcast audio stream as much as possible whenever starting to listen, and the user experience is increased.

Description

LE audio broadcast stream synchronous listening method and device
Technical Field
The present invention relates to the field of audio data processing technologies, and in particular, to a method and an apparatus for synchronously listening to an LE audio broadcast stream.
Background
LE Audio is a new generation of bluetooth Audio, and a new important characteristic different from the conventional bluetooth Audio is Audio broadcasting, which changes the original small data communication topologies such as point-to-point Audio, short data broadcasting (without Audio), mesh network, etc., and enables a single Audio source device to broadcast multiple Audio streams to an unlimited number of bluetooth Audio receiving devices. Broadcast audio when turned on, any range of audio receiving devices may join the listening. Broadcast audio opens new opportunities for more innovative usage scenarios.
LE Audio broadcasting, which provides up to 31 BIS (broadcast Isochronous stream) broadcast synchronization streams under a single BIG (broadcast Isochronous group) broadcast synchronization group by means of Periodic broadcasting (PA). The broadcasting source equipment is allowed to broadcast a plurality of audio streams, and the use scene of broadcasting multiple languages and multiple channels is realized. With the PA-based BASE architecture, the broadcast source node exposes its own information about the broadcast audio stream, including the type of broadcast audio stream (music, voice, phone, announcement, etc.), the details of the multiple BIS audio streams (such as language, channel location, etc.), coding format, configuration, etc.
In the prior art, LE audio based broadcasting may implement applications such as museum exhibits interpreter, and users may listen to the introduction of the exhibits in the museum using standard LE audio broadcast receiving devices. The broadcasting of the LE audio circularly plays the introduction audio stream of each exhibit, and when a user starts the broadcasting listening function to listen to the introduction audio stream of a certain exhibit, the moment that the user starts the broadcasting listening function cannot be guaranteed to be the starting moment of the introduction audio stream of the exhibit broadcasted by the LE audio; that is, the user starts listening to the introduction audio stream of the exhibit, the introduction audio stream of the exhibit of the broadcast of the LE audio may have missed part of the introduction audio stream information of the exhibit. Since each BIS audio stream of the LE audio broadcast is unknown to the broadcast source device about the condition of the listening device, it is impossible for the broadcast source device to modify the start offset time of a BIS audio stream at will, which affects the previous listeners, and therefore, how to listen to the audio stream close to the 0 minute offset as much as possible for the new broadcast listener will affect the use experience of the broadcast audio user.
Disclosure of Invention
Aiming at the problem that the moment that the broadcasting listening function can not be ensured to be started by a user in the prior art is the starting moment of the introduction audio stream of the exhibit of the LE audio broadcasting; the invention mainly provides a synchronous listening method and a synchronous listening device for LE audio broadcast streams, which enable a broadcast listening user to listen from the initial position of a section of broadcast audio stream as far as possible whenever the broadcast listening user starts listening, and enable the user to have better use experience.
In order to achieve the above purpose, the invention adopts a technical scheme that: there is provided an LE audio broadcast stream synchronous listening method, comprising: creating a broadcast group, wherein the broadcast group comprises a plurality of audio broadcast stream channels; in a plurality of audio broadcast stream channels, respectively playing the audio broadcast streams with different initial offset time in a circulating way; determining the waiting time for starting broadcasting under the audio broadcasting stream once according to the current playing position of the audio broadcasting stream in a plurality of audio broadcasting stream channels during the listening time; and taking the audio broadcast stream channel corresponding to the audio broadcast stream with the waiting time within the preset range as a priority broadcast source, and listening to the audio broadcast stream by the broadcast listening equipment through the priority broadcast source.
The invention adopts another technical scheme that: there is provided an LE audio broadcast stream synchronous listening device, comprising: means for creating a broadcast group, wherein the broadcast group includes a plurality of audio broadcast stream channels; means for cyclically playing audio broadcast streams of different start offset times in a plurality of audio broadcast stream channels, respectively; a module for determining the waiting time for starting broadcasting once under the audio broadcasting stream according to the current playing position of the audio broadcasting stream in a plurality of audio broadcasting stream channels during the listening time; and the broadcast listening device is used for listening to the audio broadcast stream through the priority broadcast source by taking the audio broadcast stream channel corresponding to the audio broadcast stream with the waiting time within the preset range as the priority broadcast source.
The technical scheme of the invention can achieve the following beneficial effects: the invention designs a synchronous listening method and a synchronous listening device for LE audio broadcast streams. By judging the waiting time of the audio broadcast stream channel in the broadcast source equipment and taking the audio broadcast stream channel as a priority broadcast source, a broadcast listening user can start listening from the initial position of a section of broadcast audio stream as much as possible whenever starting listening, so that the user has better use experience.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a diagram of one embodiment of a method for synchronous listening to LE audio broadcast streams of the present invention;
FIG. 2 is a diagram illustrating an exemplary LE audio broadcast stream synchronous listening method according to the present invention;
fig. 3 is a schematic diagram of an embodiment of the LE audio broadcast stream synchronous listening device of the present invention.
With the above figures, certain embodiments of the invention have been illustrated and described in more detail below. The drawings and the description are not intended to limit the scope of the inventive concept in any way, but rather to illustrate it by those skilled in the art with reference to specific embodiments.
Detailed Description
The following detailed description of the preferred embodiments of the present invention, taken in conjunction with the accompanying drawings, will make the advantages and features of the invention easier to understand by those skilled in the art, and thus will clearly and clearly define the scope of the invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
In the prior art, LE audio based broadcasting may implement applications such as museum exhibits interpreter, and users may listen to the introduction of the exhibits in the museum using standard LE audio broadcast receiving devices. The broadcasting of the LE audio circularly plays the introduction audio stream of each exhibit, and when a user starts the broadcasting listening function to listen to the introduction audio stream of a certain exhibit, the moment that the user starts the broadcasting listening function cannot be guaranteed to be the starting moment of the introduction audio stream of the exhibit broadcasted by the LE audio; that is, the user starts listening to the introduction audio stream of the exhibit, the introduction audio stream of the exhibit of the broadcast of the LE audio may have missed part of the introduction audio stream information of the exhibit. Since each BIS audio stream of the LE audio broadcast is unknown to the broadcast source device about the condition of the listening device, it is impossible for the broadcast source device to modify the start offset time of a BIS audio stream at will, which affects the previous listeners, and therefore, how to listen to the audio stream close to the 0 minute offset as much as possible for the new broadcast listener will affect the use experience of the broadcast audio user.
The invention has the following inventive concept: in a plurality of audio broadcast stream channels, the same audio broadcast stream is broadcast at different start offset times, respectively. And by adding related information in a BASE information structure of PA broadcast, a broadcast audio receiving end is made to know the initial offset time information of audio broadcast streams in a plurality of audio broadcast stream channels, so that a newly-arrived broadcast listening user can select the related information of the same audio broadcast stream closest to zero offset. Therefore, the broadcast listening user can start listening from the initial position of a segment of audio stream whenever starting listening, so that the user has better use experience.
The following describes the technical solutions of the present invention and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 1 shows an embodiment of a synchronous listening method for LE audio broadcast streams according to the present invention.
In the embodiment shown in fig. 1, the LE audio broadcast stream synchronous listening method mainly includes step S101 of creating a broadcast group, where the broadcast group includes a plurality of audio broadcast stream channels.
In this embodiment, a broadcast group is created, where the broadcast group includes a plurality of audio broadcast stream channels, and each audio broadcast stream channel in the broadcast group can play an audio broadcast stream.
In an embodiment of the present invention, it is preferable that the number of the audio broadcast stream channels is preset, and a broadcast group of the audio broadcast streams of the multiple channels in the LE audio broadcast is created according to the preset number of the audio broadcast stream channels, so as to obtain multiple sets of audio broadcast stream channels of the single channel. For example, the number of audio broadcast stream channels is set to 31, and when there are 1 channel in the audio broadcast streams of multiple channels, the broadcast group is divided into 1 group, where there are 31 audio broadcast stream channels in each group. The audio broadcast streams played in each group are of the same type according to the channel grouping of the audio broadcast streams, and a user can select the audio broadcast streams of the group with the required type according to the requirement, so that the user experience is improved.
In the embodiment shown in fig. 1, the method for synchronous listening to LE audio broadcast streams further includes step S102, in which audio broadcast streams with different start offset times are cyclically played in a plurality of audio broadcast stream channels.
In the specific embodiment, in each packet, the audio broadcast streams with different initial offset times are respectively played to the broadcast audio streams in the packet in a circulating way; the start offset times of the audio broadcast streams in the respective audio broadcast stream channels within the same packet are all different. And respectively transmitting the audio broadcast streams with different initial offset time to each group of audio broadcast stream channels to provide conditions for obtaining correct and preferential broadcast sources subsequently.
In an embodiment of the present invention, in a plurality of audio broadcast stream channels, cyclically playing audio broadcast streams with different start offset times respectively includes: obtaining an initial offset time interval of the audio broadcast stream according to the time length of the audio broadcast stream and the number of audio broadcast stream channels; determining a start offset time according to the start offset time interval, wherein the start offset time is an integer multiple of the start offset time interval.
In an embodiment of the present invention, preferably, taking a 62 second monaural audio broadcast stream as an example, in the process of simultaneously broadcasting the monaural audio broadcast streams with different start offset times to the audio broadcast stream channels, broadcasting the audio broadcast stream with the start offset time of 0 second to the first audio broadcast stream channel; cyclically broadcasting the audio broadcasting stream with the initial offset time of 60 seconds to a second audio broadcasting stream channel; cyclically broadcasting the audio broadcasting stream with the initial offset time of 58 seconds to a third audio broadcasting stream channel; cyclically broadcasting the audio broadcasting stream with the initial offset time of 56 seconds to a fourth audio broadcasting stream channel; and by analogy, circularly broadcasting the audio broadcasting stream with the initial offset time of 2 seconds to the 31 st audio broadcasting stream channel. The corresponding audio broadcast streams are broadcasted to the 31 broadcast stream channels in a circulating mode, the corresponding audio broadcast streams of the 31 broadcast stream channels are broadcasted in a circulating mode, the corresponding audio broadcast streams of the 31 broadcast stream channels are enabled to be capable of playing complete audio broadcast streams although the initial offset time is different, therefore, no matter which audio broadcast stream channel a broadcast listening user synchronizes to, the complete audio broadcast stream can be listened from a certain initial offset position within a complete audio time, the audio broadcast stream channel with the best listening effect in each audio broadcast stream channel at the current time is obtained according to the information from the BASE structure body in the PA superposed by the initial listening time, good broadcasting experience is obtained, and meanwhile other users listening to the broadcast previously cannot be influenced.
In the embodiment shown in fig. 1, the LE audio broadcast stream synchronous listening method further includes step S103, determining a waiting time for the audio broadcast stream to restart broadcasting according to a current playing position of the audio broadcast stream in a plurality of audio broadcast stream channels at the listening time.
In this embodiment, at the listening time, the waiting time of the starting offset time of each audio segment currently playing in each audio broadcast stream channel at the listening time and the audio segment with zero offset of the starting offset of the next circular playing in the channel is calculated, so as to provide conditions for obtaining the priority broadcast source subsequently.
In one embodiment of the present invention, determining a waiting time for an audio broadcast stream to start broadcasting once according to a current play position of the audio broadcast stream in a plurality of audio broadcast stream channels at a listening time includes: according to the number of audio broadcast stream channels, carrying out average segmentation on each audio broadcast stream to obtain a plurality of audio segments with equal length; during listening time, determining the current playing position of each audio broadcast stream in the corresponding audio broadcast stream channel according to the audio clip which is played and corresponds to each audio broadcast stream during the listening time; the time difference between the current playing position and the next starting audio segment in the audio broadcast stream channel is determined as the waiting time.
In one embodiment of the present invention, preferably, taking a mono audio broadcast stream of 62 seconds as an example, the step of determining the waiting time for starting broadcasting once under an audio broadcast stream in each audio broadcast stream channel is as follows:
and creating a broadcast group of audio broadcast streams in LE audio broadcast, obtaining a group of audio broadcast stream channels, and setting the number of the audio broadcast stream channels to be 31, wherein 31 audio broadcast stream channels exist in the current broadcast group. The single-channel audio broadcasting stream is evenly divided into 31 audio segments with equal frame length and unequal starting offset time, wherein the time length of each audio segment is 2 seconds. At the same time, playing an audio clip with the initial offset time of 0 second by the first audio broadcast stream channel; playing an audio clip with the initial offset time of 60 seconds by a second audio broadcast stream channel; playing an audio clip with the initial offset time of 58 seconds by a third audio broadcast stream channel; the fourth audio broadcast stream channel plays an audio clip with the initial offset time of 56 seconds; and so on, the 31 st audio broadcast stream channel plays the audio segment with the initial offset time of 2 seconds. And simultaneously playing the corresponding audio clips by the 31 broadcast stream channels, so that each audio broadcast stream channel can be listened. And calculating the time difference between the starting offset time of the currently played audio segment of each audio broadcast stream channel and the starting offset time of the next starting audio segment in the audio broadcast stream channel at any moment, and taking the time difference as the waiting time of the audio broadcast stream channel at the current moment.
In an embodiment of the present invention, averagely segmenting each audio broadcast stream according to the number of audio broadcast stream channels to obtain a plurality of audio segments with equal length includes: judging the frame length of the audio segment, and completing the segmentation of the audio broadcast stream if the frame length is an integer; and if the frame length is a non-integer, expanding the audio broadcast stream, and performing average segmentation on the expanded audio broadcast stream again to obtain a plurality of audio segments with the frame length being an integer.
In one embodiment of the present invention, an audio broadcast stream is augmented with: and adding mute frames to the audio broadcast stream, and prolonging the time length of the audio broadcast stream, so that a plurality of audio segments with integral frame length are obtained after the plurality of audio broadcast streams are averagely segmented.
In an embodiment of the present invention, it is preferable that, taking a 30 second monaural audio broadcast stream as an example, when the number of channels of the preset audio broadcast stream is set to 7, the 30 second monaural audio broadcast stream is divided into 7 parts evenly. In the 10ms frame length LC3 configuration mode, since the calculated 30 × 1000/10=3000 frames cannot be divided by 7, the monaural audio broadcast stream is extended, and 3 mute frames are added to the head or tail of the monaural audio broadcast stream, so that the extended monaural audio broadcast stream has a frame length of 3003 frames, that is, the extended monaural audio broadcast stream has a length of 30 seconds and 30 milliseconds, and the extended monaural audio broadcast stream can be divided by 7. And uniformly cutting the extended single-channel audio broadcasting stream into 7 parts to obtain 7 audio segments with equal frame length and unequal initial offset time, wherein each audio segment is 429 frames.
In an embodiment of the present invention, determining a waiting time for starting broadcasting of an audio broadcast stream once according to a current playing position of the audio broadcast stream in a plurality of audio broadcast stream channels at a listening time further includes: setting a timer for the broadcast source equipment, and updating the audio segments played by the audio broadcast stream channels in a timed mode, wherein the timed time period of the timer is equal to the frame length of the audio segments.
In an embodiment of the present invention, the encoding results of a plurality of audio segments of an audio broadcast stream are stored, and when the audio broadcast stream is broadcasted, the corresponding audio segments are extracted and broadcasted.
In an embodiment of the present invention, it is preferable that, taking a monaural audio broadcast stream as an example, the number of preset audio broadcast stream channels is 31, and a broadcast group of the monaural audio broadcast stream in the LE audio broadcast is created based on the number of the preset audio broadcast stream channels, so as to obtain a set of monaural audio broadcast stream channels. The mono audio broadcast stream is divided equally into 31 audio segments of equal frame length and unequal start offset times, where each audio segment is 2 seconds in length. To avoid multiple repetition coding of a mono audio broadcast stream, the LE audio broadcast stores 31 audio clips in a Ringbuffer in units of packet multiframes. And the controller of each audio broadcast stream channel in the LE audio broadcast respectively takes the audio segments corresponding to the current time from the annular buffer zone for transmission according to the initial offset time of the audio broadcast stream in each audio broadcast stream channel. For example, a 2-second timer is set in LE audio broadcasting, so that every 2 seconds, each audio broadcasting stream channel takes the audio clip corresponding to the current time from the ring buffer according to the initial offset time of its audio broadcasting stream, and sends the audio clip to the corresponding audio broadcasting stream channel for broadcasting.
In the embodiment shown in fig. 1, the method for synchronously listening to LE audio broadcast streams further includes step S104, taking an audio broadcast stream channel corresponding to an audio broadcast stream with a waiting time within a preset range as a priority broadcast source, and using the priority broadcast source to listen to the audio broadcast stream by the broadcast listening device.
In this embodiment, the waiting time obtained in each channel is compared with a preset range, and if the waiting time of a certain audio broadcast stream channel is within the preset range, the audio broadcast stream channel is determined as a priority broadcast source, and the audio broadcast stream channel is selected to be the most suitable audio broadcast stream channel for listening to the audio broadcast stream.
In a specific embodiment of the present invention, the priority broadcast source corresponding to each timing period is updated periodically by a timer.
In one embodiment of the present invention, a broadcast listening device listens to an audio broadcast stream from a priority broadcast source, comprising: the method comprises the steps that the broadcast listening equipment acquires a priority broadcast source, wherein the mode of acquiring the priority broadcast source comprises a mode of Metadata in a BASE structure of PA broadcast, an EA broadcast mode or an OOB external band mode; listening to the audio broadcast stream via the priority broadcast source.
In an embodiment of the present invention, preferably, the broadcast source device may update information in the BASE structure broadcasted by its PA periodically, where the periodic time period is a time length of each audio segment; informing the broadcast receiving equipment which is newly synchronized to the broadcast source equipment to listen in by using a Metadata mode, wherein the current best audio broadcast stream channel number is obtained; the notification work of the best audio broadcasting stream channel number can be carried out through EA broadcasting; or inform the optimal audio broadcasting stream channel number by means of OOB, such as screen two-dimensional code, etc.
Fig. 2 is a schematic diagram showing a specific example of the LE audio broadcast stream synchronous listening method.
The number of audio broadcasting stream channels is preset to be 6, a section of 6-second single-channel audio broadcasting stream is evenly divided into 6 parts, and 6 audio segments with equal length and unequal initial offset time are obtained. An audio segment having a time length of 1 second and a start offset time of 0 th second, which corresponds to the corner mark 0 indicated by an arrow in an arbitrary hexagon in fig. 2, is represented by Media [0], respectively; media [1] represents an audio segment having a time length of 1 second and a start offset time of 1 st second, which corresponds to the corner mark 1 indicated by an arrow in an arbitrary hexagon in fig. 2; media [2] represents an audio segment having a time length of 1 second and a start offset time of 2 seconds, which corresponds to the corner mark 2 indicated by an arrow in any of the hexagons in fig. 2; media [3] represents an audio segment having a time length of 1 second and a start offset time of 3 seconds, which corresponds to the corner mark 3 indicated by an arrow in any of the hexagons in fig. 2; media [4] represents an audio segment with a time length of 1 second and a start offset time of 4 th second, which corresponds to the corner mark 4 indicated by the arrow in any of the hexagons in fig. 2; media [5] represents an audio piece having a time length of 1 second and a start offset time of 5 th second, the audio piece corresponding to the corner mark 5 indicated by an arrow in any of the hexagons in fig. 2; the BIS [0], BIS [1], BIS [2], BIS [3], BIS [4], and BIS [5] are used to respectively represent 6 audio broadcast stream channels, in fig. 2, the horizontal axis is the audio broadcast stream channel, the vertical axis is time, and the arrow at the upper left corner of each hexagon represents the audio clip being played at the current time of the audio broadcast stream channel in which the hexagon is located. If the current time is the first second, that is, the audio segments played in each audio broadcast stream channel at the current time are shown in the first line of fig. 2, BIS [0] is currently playing Media [0] audio segments, BIS [1] is currently playing Media [1] audio segments, BIS [2] is currently playing Media [2] audio segments, BIS [3] is currently playing Media [3] audio segments, BIS [4] is currently playing Media [4] audio segments, and BIS [5] is currently playing Media [5] audio segments; if the current time is the second, that is, the audio segments played in each audio broadcast stream channel at the current time are as shown in the second row of fig. 2, BIS [0] is currently playing Media [1] audio segments, BIS [1] is currently playing Media [2] audio segments, BIS [2] is currently playing Media [3] audio segments, BIS [3] is currently playing Media [4] audio segments, BIS [4] is currently playing Media [5] audio segments, and BIS [5] is currently playing Media [0] audio segments; by analogy, the audio frequency bands currently played by each audio broadcast stream channel at the third second, the fourth second, the fifth second and the sixth second are obtained respectively.
If a broadcast listening user appears at the current time, the user may appear at any time in fig. 2, and according to the current time of the user, the audio broadcast stream channel where the audio clip closest to the current time playing with zero offset is located can be always found in fig. 2. If the user appears in the third second when the audio broadcast stream starts playing, the broadcast listening user can know that the audio broadcast stream channel closest to the broadcast starting position is No. 3, namely the audio broadcast stream channel BIS [3], according to the BASE structure in the PA broadcast of the broadcast source device, and then the user can select the BIS [3] audio broadcast stream channel to listen to the audio broadcast stream.
Fig. 3 shows an embodiment of an LE audio broadcast stream synchronous listening device according to the present invention.
In the embodiment shown in fig. 3, the LE audio broadcast stream synchronous listening device mainly includes: a module 301 for creating a broadcast group, wherein the broadcast group includes a plurality of audio broadcast stream channels.
In the embodiment shown in fig. 3, the LE audio broadcast stream synchronous listening device further includes: a module 302, configured to cyclically play audio broadcast streams with different start offset times in a plurality of audio broadcast stream channels, respectively.
In the embodiment shown in fig. 3, the LE audio broadcast stream synchronous listening device further includes: a module 303, configured to determine a waiting time for starting broadcasting of the audio broadcast stream once according to a current playing position of the audio broadcast stream in the plurality of audio broadcast stream channels at the listening time.
In an embodiment of the present invention, averagely segmenting each audio broadcast stream according to the number of audio broadcast stream channels to obtain a plurality of audio segments with equal length includes: judging the frame length of the audio segment, and completing the segmentation of the audio broadcast stream if the frame length is an integer; and if the frame length is a non-integer, expanding the audio broadcast stream, and performing average segmentation on the expanded audio broadcast stream again to obtain a plurality of audio segments with the frame length being an integer.
In one embodiment of the present invention, an audio broadcast stream is augmented with: and adding mute frames to the audio broadcast stream, and prolonging the time length of the audio broadcast stream, so that a plurality of audio segments with integral frame length are obtained after the multi-audio broadcast stream is averagely segmented.
In an embodiment of the present invention, it is preferable that, taking the mono audio broadcast stream with 6002 ms as an example, when the number of the preset audio broadcast stream channels is set to 6, the mono audio broadcast stream with the frame length of 6002 ms needs to be divided into 6 parts. In the 10ms frame length LC3 configuration mode, since the calculated 6002 cannot be divided by 6, the monaural audio broadcast stream is extended, and a 58-frame mute frame is added to the end of the monaural audio broadcast stream, so that the extended monaural audio broadcast stream has a frame length of 6060 ms, and the extended monaural audio broadcast stream can be divided by 6. And uniformly dividing the extended single-channel audio broadcasting stream into 6 parts to obtain 6 audio segments with equal frame length and unequal initial offset time, wherein each audio segment is 101 frames.
In the embodiment shown in fig. 3, the LE audio broadcast stream synchronous listening device further includes: a module 304, configured to use an audio broadcast stream channel corresponding to an audio broadcast stream with a waiting time within a preset range as a priority broadcast source, where the broadcast listening device listens to the audio broadcast stream through the priority broadcast source.
The LE audio broadcast stream synchronous listening device provided by the present invention can be used to execute the method described in any of the above embodiments, and the implementation principle and technical effect are similar, and are not described herein again.
In a specific embodiment of the present invention, the functional modules in the LE audio broadcast stream synchronous listening device of the present invention may be directly in hardware, in a software module executed by a processor, or in a combination of the two.
A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium.
The Processor may be a Central Processing Unit (CPU), other general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), other Programmable logic devices, discrete Gate or transistor logic, discrete hardware components, or any combination thereof. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent structural changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An LE audio broadcast stream synchronous listening method, comprising:
creating a corresponding broadcast group for each channel type, wherein each broadcast group comprises a plurality of audio broadcast stream channels;
a plurality of audio broadcast stream channels play audio broadcast streams simultaneously, wherein the audio broadcast stream channels respectively play the audio broadcast streams with different initial offset time in a circulating way;
determining the waiting time for starting broadcasting once under the audio broadcasting stream according to the current playing position of the audio broadcasting stream in a plurality of audio broadcasting stream channels during the listening time;
and taking the audio broadcast stream channel corresponding to the audio broadcast stream with the waiting time within a preset range as a priority broadcast source, and using the broadcast listening equipment to listen to the audio broadcast stream through the priority broadcast source.
2. The LE audio broadcast stream synchronous listening method of claim 1, wherein said plurality of said audio broadcast stream channels simultaneously play audio broadcast streams, wherein said plurality of said audio broadcast stream channels respectively cyclically play said audio broadcast streams at different start offset times, comprising:
obtaining a starting offset time interval of the audio broadcast stream according to the time length of the audio broadcast stream and the number of the audio broadcast stream channels;
determining the start offset time according to the start offset time interval, wherein the start offset time is an integer multiple of the start offset time interval.
3. The LE audio broadcast stream synchronous listening method of claim 1, wherein said determining a waiting time for said audio broadcast stream to start broadcasting once based on a current play position of said audio broadcast stream in a plurality of said audio broadcast stream channels at a listening time comprises:
according to the number of the audio broadcast stream channels, carrying out average segmentation on each audio broadcast stream to obtain a plurality of audio segments with equal length;
at the listening time, determining the current playing position of each audio broadcast stream in the corresponding audio broadcast stream channel according to the audio clip which is played and corresponds to each audio broadcast stream at the listening time;
and determining the time difference between the current playing position and the next starting audio segment in the audio broadcasting stream channel as the waiting time.
4. A method for synchronous listening to an LE audio broadcast stream according to claim 3, wherein said averagely slicing each of said audio broadcast streams according to the number of channels of said audio broadcast stream to obtain a plurality of audio segments of equal length comprises:
judging the frame length of the audio frequency fragment, and completing the segmentation of the audio frequency broadcast stream if the frame length is an integer;
and if the frame length is a non-integer, expanding the audio broadcast stream, and performing average segmentation on the expanded audio broadcast stream again to obtain a plurality of audio segments with the frame length being an integer.
5. The LE audio broadcast stream synchronous listening method of claim 4, wherein said augmenting the audio broadcast stream comprises:
and adding a mute frame to the audio broadcast stream, and prolonging the time length of the audio broadcast stream, so that a plurality of audio segments with the frame length being an integer are obtained after the plurality of audio broadcast streams are averagely segmented.
6. An LE audio broadcast stream synchronous listening method as claimed in any one of claims 3 to 5, wherein said determining a waiting time for said audio broadcast stream to start broadcasting once based on a current play position of said audio broadcast stream in a plurality of said audio broadcast stream channels at a listening time comprises:
setting a timer for the broadcast source equipment, and updating the audio segments played by the audio broadcast stream channels at regular time, wherein the timing time period of the timer is equal to the frame length of the audio segments.
7. An LE audio broadcast stream synchronous listening method as claimed in claim 6, wherein said priority broadcast source corresponding to each of said timing periods is updated by said timer timing.
8. The LE audio broadcast stream synchronous listening method of claim 1, wherein the broadcast listening device listens to the audio broadcast stream through the priority broadcast source comprising:
the broadcast listening equipment acquires the priority broadcast source, wherein the mode for acquiring the priority broadcast source comprises a mode of Metadata in a BASE structure of PA broadcast, an EA broadcast mode or an OOB external band mode;
listening to the audio broadcast stream through the priority broadcast source.
9. The LE audio broadcast stream synchronous listening method of claim 4, further comprising:
and storing the coding results of the plurality of audio clips of the audio broadcast stream, and extracting the corresponding audio clips for broadcasting when the audio broadcast stream is broadcasted.
10. An LE audio broadcast stream synchronous listening device, comprising:
means for creating a respective broadcast group for each channel type, wherein each said broadcast group includes a plurality of audio broadcast stream channels;
a module for playing audio broadcast streams simultaneously on a plurality of audio broadcast stream channels, wherein the audio broadcast stream channels respectively play audio broadcast streams with different start offset times in a circulating manner;
means for determining a waiting time for starting broadcasting of the audio broadcast stream once based on a current playing position of the audio broadcast stream in a plurality of audio broadcast stream channels at a listening time;
and the module is used for taking the audio broadcast stream channel corresponding to the audio broadcast stream with the waiting time within a preset range as a priority broadcast source, and the broadcast listening device listens to the audio broadcast stream through the priority broadcast source.
CN202110883429.XA 2021-08-03 2021-08-03 LE audio broadcast stream synchronous listening method and device Active CN113328816B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110883429.XA CN113328816B (en) 2021-08-03 2021-08-03 LE audio broadcast stream synchronous listening method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110883429.XA CN113328816B (en) 2021-08-03 2021-08-03 LE audio broadcast stream synchronous listening method and device

Publications (2)

Publication Number Publication Date
CN113328816A CN113328816A (en) 2021-08-31
CN113328816B true CN113328816B (en) 2021-10-29

Family

ID=77426898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110883429.XA Active CN113328816B (en) 2021-08-03 2021-08-03 LE audio broadcast stream synchronous listening method and device

Country Status (1)

Country Link
CN (1) CN113328816B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108702720A (en) * 2016-02-24 2018-10-23 高通股份有限公司 Source device broadcasts synchronizing information associated with bluetooth equal ratio channel
CN111385749A (en) * 2019-09-23 2020-07-07 合肥炬芯智能科技有限公司 Bluetooth broadcast method, Bluetooth broadcast receiving method and related equipment thereof
CN113115153A (en) * 2021-03-30 2021-07-13 联想(北京)有限公司 Processing method, Bluetooth headset and management platform

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108366283B (en) * 2018-02-12 2021-01-05 苏州佳世达电通有限公司 Media synchronous playing method among multiple devices
US10945101B2 (en) * 2018-11-02 2021-03-09 Zgmicro Nanjing Ltd. Method, device and system for audio data communication
CN113643686B (en) * 2020-04-24 2024-05-24 阿波罗智联(北京)科技有限公司 Voice broadcasting method, device, system, equipment and computer readable medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108702720A (en) * 2016-02-24 2018-10-23 高通股份有限公司 Source device broadcasts synchronizing information associated with bluetooth equal ratio channel
CN111385749A (en) * 2019-09-23 2020-07-07 合肥炬芯智能科技有限公司 Bluetooth broadcast method, Bluetooth broadcast receiving method and related equipment thereof
CN113115153A (en) * 2021-03-30 2021-07-13 联想(北京)有限公司 Processing method, Bluetooth headset and management platform

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
全新LE Audio助力三大创新应用,改写现有音频体验方式;单祥茹;《中国电子商情(基础电子)(2020年第04期)》;20200430;全文 *
利用蓝牙技术实现e-space资讯终端和e-casting广播系统;黄志春 等;《广西科学院学报(2007年第04期)》;20071231;全文 *

Also Published As

Publication number Publication date
CN113328816A (en) 2021-08-31

Similar Documents

Publication Publication Date Title
EP3522151B1 (en) Method and device for processing dual-source audio data
US11546682B2 (en) Method and system for synchronous audio playback of TWS earphones
US20100034393A1 (en) Ad-hoc adaptive wireless mobile sound system
CN102340730A (en) Method for playing multi-channel stereo by matching multiple mobile phones
CN103841498A (en) Terminal and stereophonic playing system and method
CN105306110A (en) Methods and system for realizing music synchronous play
CN111932831B (en) Earthquake broadcasting method, system, electronic equipment and readable storage medium
CN106254300B (en) Streaming media transmission method, playing method, transmission device and playing device
CN104811582A (en) A method and device for playing multiple intelligent devices synchronously
US6373374B1 (en) Cordless phone system with speech recognition alarm
CN108289232B (en) Control method of playing device, terminal device and storage medium
CN109151987A (en) A kind of method that more room audio groups are played simultaneously in WLAN
JP4927997B2 (en) Radio data system (RDS) data processing method and apparatus
CN113328816B (en) LE audio broadcast stream synchronous listening method and device
CN109040819A (en) Playback progress synchronous method, device, equipment and storage medium
JP2011014994A (en) Radio broadcast receiver, radio broadcast receiving method, and radio broadcast receiving program
CN111385749B (en) Bluetooth broadcast method, Bluetooth broadcast receiving method and related equipment thereof
WO2016045446A1 (en) Voice reminding information generation and voice reminding method and device
CN101478357B (en) Channel information processing method, communication system and communication device
CN113328817A (en) LE broadcast audio stream fast forward and backward method, device, system, medium and equipment
CN105869617A (en) Karaoke device based on China digital radio
CN108632557B (en) Audio and video synchronization method and terminal
CN113613125B (en) Audio synchronous control method, device, audio equipment and system
CN115002273B (en) Audio stream playing method and device, mobile terminal, bluetooth headset and storage medium
CN105681863A (en) Playing control method and device in audio and video playing system

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
CP01 Change in the name or title of a patent holder

Address after: A1009, floor 9, block a, No. 9, Shangdi Third Street, Haidian District, Beijing 100085

Patentee after: Beijing Bairui Internet Technology Co.,Ltd.

Address before: A1009, floor 9, block a, No. 9, Shangdi Third Street, Haidian District, Beijing 100085

Patentee before: BARROT WIRELESS Co.,Ltd.

CP01 Change in the name or title of a patent holder