Audio transmission system and method based on BLE broadcast

By adopting the BLE broadcast audio transmission method with multiple receiving node sharing and AOA angle measurement in the mine line channel scenario, the low signal reliability of BLE broadcast transmission in long-distance and dynamic environments is solved, and the audio data packets are improved Receive success rate and transmission efficiency.

CN118945634APending Publication Date: 2024-11-12TIANDI CHANGZHOU AUTOMATION +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411222267.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-02
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

In the mine line channel scenario, existing wireless transmission systems such as Wifi, 4G, 5G are difficult to apply. Classic Bluetooth and Zigbee transmit audio after establishing a connection. BLE broadcast transmission has low signal reliability in long-distance and dynamic environments. It is difficult to meet the audio information transmission needs in the mine tunnel.

Method used

The audio transmission method based on BLE broadcast is adopted, and the same packet of data is shared by multiple receiving nodes, and the packet transmission sequence is determined by bus transmission and AOA angle measurement method, and the node data with a relatively close distance is sent first to ensure the effective transmission of audio data packets.

Benefits of technology

It improves the audio packet reception success rate and transmission efficiency of BLE broadcast transmission in mine line channel scenarios, and is suitable for dynamic environments without restricted voice connection links.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118945634A_ABST
    Figure CN118945634A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of audio data transmission, in particular to an audio transmission system and method based on BLE broadcast, and the transmission system comprises a voice sending node and a plurality of voice receiving nodes. And the voice broadcasting device and the plurality of voice receiving nodes are connected in a cable bus mode. The transmission method comprises the following steps: acquiring voice, transcoding the voice to form a voice data packet, and sending the voice data packet in a BLE broadcast mode; the voice receiving node obtains the data packet and measures and calculates the position relation between the voice sending node and the voice receiving node; and the plurality of receiving nodes transmit the broadcast data to the voice broadcasting device through the bus to share the same packet of broadcast data received by the receiving nodes, and transmit the broadcast data according to the position relationship sequence between the voice receiving nodes and the voice sending nodes of the receiving nodes. According to the invention, based on the BLE broadcast receiving mode, the receiving success rate of each audio data packet in a broadcast unreliable communication state is effectively improved without a limited voice connection link in a dynamic environment, and the bus voice transmission efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of audio data transmission, and in particular to an audio transmission system and method based on BLE broadcasting. Background Art

[0002] In the linear channel scenario of industrial mines, there is a need for personnel to carry sound source nodes and send voice data to nearby fixed receiving nodes while moving.

[0003] In this kind of comprehensive mining operation area, the mine tunnel space is long and narrow, and it is curved. Existing high-speed wireless transmission systems such as Wifi / 4G / 5G all require the use of high-power base stations and high-speed optical fibers, which are inconvenient to use in dangerous scenarios such as near comprehensive mining operation areas; low-power transmission solutions such as classic Bluetooth, BLE, Zigbee or 433MHz solutions, among which the existing classic Bluetooth and Zigbee both transmit audio after establishing a connection, and BLE also has a connection transmission audio solution, but the connection communication method is not convenient for use in mobile state, and the 433MHz wireless transmission solution has high power, and the air interface needs to be sent directly to the voice broadcast device, which is difficult to apply to long and narrow and non-straight mine tunnels.

[0004] The BLE5.2 standard also mentions that broadcast transmission of audio data is generally not suitable for long-distance use. BLE5.2 proposes a broadcast transmission of voice data solution. In the existing broadcast transmission audio method, each target node is an independent node. When the distance between the sound source node and one of the target nodes increases, the probability of signal packet loss increases. For example, in the mine tunnel scene, the sound source node is generally a portable device for personnel, and the receiving node is a fixed-point device. When personnel gradually move away from the fixed-point device, the weak reliability of broadcast transmission will gradually amplify, making it unsuitable for audio information transmission in mine tunnels. Summary of the invention

[0005] The present invention aims to solve one of the technical problems in the background technology.

[0006] To this end, the present invention provides an audio transmission system and method based on BLE broadcast.

[0007] The technical solution adopted by the present invention to solve the technical problem is:

[0008] An audio transmission method based on BLE broadcasting comprises the following steps:

[0009] Step 1: Acquire the voice and transcode it into a voice data packet and send it via BLE broadcast mode;

[0010] Step 2: The voice receiving node obtains the data packet and measures and calculates the positional relationship between the voice sending node and the voice receiving node;

[0011] Step 3: Multiple receiving nodes need to share the same broadcast data package they have received, and transmit it to the voice broadcast device through the bus for sharing. Multiple data packets are transmitted in order according to the positional relationship between the voice receiving node and the voice sending node;

[0012] Step 4: The voice broadcasting device receives voice data packets from multiple voice receiving nodes to form a maximum effective value data packet.

[0013] Furthermore, in step one, the voice sending node collects and obtains the voice of the person and encodes it into a Speex format before sending it.

[0014] Further, in step 2, the receiving node obtains the angle α between the line connecting the voice sending node X and the receiving node and the normal line of the linear channel direction through the baseband antenna array AOA angle measurement method, and the receiving node A n The angle between n .

[0015] Furthermore, in step three, each data packet sharing process is divided into a random competition sorting area, a valid byte position sharing area and an audio data area in sequence. The random competition sorting area determines the order in which each receiving node sends its own audio data packet by random competition sorting. The valid byte position sharing area is used for each receiving node to send the position of the valid bytes of its received data packet in sequence. The audio data area is used for each receiving node to send the specific content of its own audio data packet in sequence.

[0016] Furthermore, in step three, each receiving node negotiates the transmission sequence on the bus side through a random competition sorting method. Except for the time when each receiving node sends a message on the bus side, all other times are in a receiving state. By obtaining the competition messages sent by other receiving nodes, each receiving node negotiates the order in which it sends valid bytes and voice data packets.

[0017] Furthermore, in the random competition sorting area, if node A m Angle α m If it is less than the judgment threshold α', it is considered that the voice receiving node is closest to the sending node compared with other receiving nodes, so A m In T 0 Send A immediately m Competition message, in the subsequent valid byte shared area and voice data area A m will be the first to send valid bytes and voice data packets. n When α is greater than or equal to α' and less than the threshold α" and α n When it is greater than or equal to α", the contention message sending time is calculated.

[0018] Furthermore, the contention message sending time t is from T 0 Start counting at: Where ε is a random number between 0 and 1, t' is the end time of sending contention messages when the angle is less than α', t" is the end time of sending when the angle is expected to be α", and t end The total time of random competition sorting area.

[0019] Furthermore, in step three, each node negotiates and confirms the data sending order according to the random competition sorting method, and then sends the number of valid broadcast data bytes and the position of the valid bytes received by itself in the valid byte bit sharing area in turn. When the subsequent receiving node scans on the bus side and obtains that the number of valid bytes of the node that has sent the valid byte bits is the same as the total number of bytes, it will no longer send its own valid byte bits and voice data packets.

[0020] Furthermore, in step four, when the voice broadcast device receives voice data packets from multiple receiving nodes and each receiving node fails to provide valid values ​​for all data, the voice broadcast device composes a maximum valid value data packet based on multiple data packets, and the remaining error bits are filled with 0 or audio mute bytes.

[0021] An audio transmission system based on BLE broadcast, comprising:

[0022] The voice sending node is a BLE receiver.

[0023] A plurality of voice receiving nodes arranged along the transmission bus;

[0024] A voice broadcasting device, wherein the voice broadcasting device and multiple voice receiving nodes are connected via a cable bus; when a person moves in a channel, the voice sending node needs to send voice data to the voice broadcasting device at the far end of the channel via BLE broadcast, and the adjacent voice receiving node receives the voice data and transmits it to the voice broadcasting device via the bus.

[0025] The beneficial effect of the present invention is that in the broadcast transmission voice data solution proposed by the present application based on BLE5.2, since each receiving node receives data independently, there is a problem of low reliability during long-distance transmission.

[0026] This application proposes an audio reception and transmission method based on BLE broadcast for the mine linear channel scenario, which receives the same broadcast period audio data through multiple target nodes, and then transmits it to the remote voice broadcast device through the bus. Based on the BLE broadcast reception method, there is no need for a restricted voice connection link in a dynamic environment, and a mechanism for multiple target nodes to share valid audio data is defined, which can effectively improve the reception success rate of each audio data packet in the broadcast unreliable communication state, and assist in judging the position relationship between the sending node and each receiving node through the connection line AOA angle method, and give priority to sending the receiving node data with a closer distance on the bus side, thereby improving the bus voice transmission efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0028] Figure 1 It is a structural diagram of the audio transmission system based on BLE broadcast in the present invention.

[0029] Figure 2 It is a schematic diagram of position judgment between a voice sending node and a voice receiving node in the present invention.

[0030] Figure 3 It is a schematic diagram of the bus side negotiation protocol in the present invention. DETAILED DESCRIPTION

[0031] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, which only illustrate the basic structure of the present invention in a schematic manner, and therefore only show the components related to the present invention.

[0032] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "multiple" means two or more.

[0033] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0034] An audio transmission system based on BLE broadcasting includes multiple voice receiving nodes, voice broadcasting devices and voice sending nodes arranged along a line transmission bus. The line transmission bus is arranged along the lane. The voice sending node is generally a voice loudspeaker carried by personnel. The voice receiving node is a BLE receiver. All voice receiving nodes and the voice broadcasting device at the far end are connected via a cable bus. When personnel move in the channel, they need to send voice data to the voice broadcasting device at the far end of the channel through the voice sending node via BLE broadcast. After the adjacent voice receiving node receives the voice data, it is transmitted to the voice broadcasting device via the bus.

[0035] Among them, the composition structure of the voice sending node and the voice receiving node is as follows: Figure 2 As shown, the voice sending node includes a voice acquisition and encoder, a core processor, a BLE protocol stack and a baseband antenna, and the voice receiving node includes a core processor, a BLE protocol stack and a base station antenna array.

[0036] An audio transmission method based on BLE broadcasting comprises the following steps:

[0037] Step 1: After the voice sending node collects the human voice and encodes it into Speex format, each voice data packet is sent through the BLE broadcast mode.

[0038] Step 2: The voice receiving node of the nearby person is always in a non-stop scanning state, and the BLE of the voice receiving node is always in a broadcast scanning state. Compared with the commonly used scanning method, it is non-stop because BLE broadcast scanning is usually performed at intervals in common applications, such as scanning for 300ms and closing for 200ms. The scanning duty cycle is 60%, and non-stop scanning means a duty cycle of 100%. The voice receiving node obtains the BLE broadcast data packet in real time. While receiving the broadcast packet, the voice receiving node obtains the angle α between the line connecting the voice sending node X and the receiving node and the normal line of the linear channel direction through the baseband antenna array AOA angle measurement method. The receiving node A n The angle between n .

[0039] Step 3, taking this embodiment as an example, since the broadcast message is transmitted using three public channels, there may be bit errors caused by interference from other signals during the transmission process, that is, there may be a situation where only part of the valid value is received. Therefore, multiple receiving nodes need to share the same package of broadcast data they have received and transmit it to the voice broadcast device through the bus. The sharing process is as follows: Figure 3 As shown in the figure. Each data packet sharing process is divided into a random competition sorting area, a valid byte position sharing area and an audio data area. Since multiple receiving nodes cannot know whether other receiving nodes have completed receiving, it is necessary to determine the order in which each receiving node sends its own audio data packet by random competition sorting. The valid byte position sharing area is used for each receiving node to send the position of the valid bytes of the data packet it has received in turn, and the audio data area is used for each receiving node to send the specific content of its own audio data packet in turn.

[0040] Each receiving node negotiates the transmission sequence on the bus side through a random competition sorting method. Except for the time when it sends a message on the bus side, each receiving node is in a receiving state at other times. By obtaining the competition messages sent by other receiving nodes, each receiving node negotiates the order in which it sends valid bytes and voice data packets.

[0041] Specifically, S3.1 in the random competition sorting area, let T 0 Time is the time when the voice receiving node completes receiving the broadcast packet. If node A m Angle α m If it is less than the judgment threshold α', it is considered that the voice receiving node is closest to the sending node compared with other receiving nodes, so A m In T 0 Send A immediately m Competition message, in the subsequent valid byte shared area and voice data area A m will be the first to send valid bytes and voice data packets. n When α is greater than or equal to α' and less than the threshold α" and α n When the angle is greater than or equal to α", the following formula is used to calculate the contention message sending time. In the formula, ε is a random number between 0 and 1, t' is the end time of sending the contention message when the angle is less than α', t" is the estimated end time of sending when the angle is α", t end is the total time of random competition sorting area. The formula of contention message sending time is as follows, t is the time from T 0 The moment starts counting.

[0042]

[0043] S3.2 After each node negotiates and confirms the data sending order according to the random competition sorting method, it sends the number of valid broadcast data bytes and the position of the valid bytes it has received in the valid byte bit sharing area in turn. When the subsequent receiving node scans on the bus side and obtains that the number of valid bytes of the node that has sent the valid byte bits is the same as the total number of bytes, it will no longer send its own valid byte bits and voice data packets, thereby reducing unnecessary bandwidth occupancy.

[0044] S3.3, because valid byte sharing only shares the positions of valid bytes received by each party, rather than the actual data, the valid byte sharing method is to use each bit to represent the validity of one byte, that is, if the voice data packet contains 40 bytes, 5 bytes can be used to represent the valid byte position of each packet of data.

[0045] The audio data area is used to transmit actual audio data. When the voice broadcast device receives voice data packets from multiple receiving nodes and each receiving node fails to provide valid values ​​for all data, the voice broadcast device composes a maximum valid value data packet based on multiple data packets, and the remaining error bits are filled with 0 or audio mute bytes.

[0046] In summary, in the broadcast transmission voice data solution based on BLE5.2 proposed in this application, since each receiving node receives data independently, there is a problem of low reliability during long-distance transmission.

[0047] This application proposes an audio reception and transmission method based on BLE broadcast for the mine linear channel scenario, which receives the same broadcast period audio data through multiple target nodes, and then transmits it to the remote voice broadcast device through the bus. Based on the BLE broadcast reception method, there is no need for a restricted voice connection link in a dynamic environment, and a mechanism for multiple target nodes to share valid audio data is defined, which can effectively improve the reception success rate of each audio data packet in the broadcast unreliable communication state, and assist in judging the position relationship between the sending node and each receiving node through the connection line AOA angle method, and give priority to sending the receiving node data with a closer distance on the bus side, thereby improving the bus voice transmission efficiency.

[0048] Based on the above ideal embodiments of the present invention, the relevant staff can make various changes and modifications without departing from the technical concept of the present invention through the above description. The technical scope of the present invention is not limited to the contents of the specification, but must be determined according to the scope of the claims.

Claims

1. An audio transmission method based on BLE broadcast, It is characterized in that The following steps are included: Step 1: Acquire the voice and transcode it into a voice data packet and send it via BLE broadcast mode; Step 2: The voice receiving node obtains the data packet and measures and calculates the positional relationship between the voice sending node and the voice receiving node; Step 3: Multiple receiving nodes need to share the same broadcast data package they have received, and transmit it to the voice broadcast device through the bus for sharing. Multiple data packets are transmitted in order according to the positional relationship between the voice receiving node and the voice sending node; Step 4: The voice broadcasting device receives voice data packets from multiple voice receiving nodes to form a maximum effective value data packet.

2. The audio transmission method based on BLE broadcast according to claim 1, It is characterized in that In step 1, the voice sending node collects the voice of the person and encodes it into Speex format before sending it.

3. The audio transmission method based on BLE broadcast according to claim 1, It is characterized in that In step 2, the receiving node obtains the angle α between the line connecting the voice sending node X and the receiving node and the normal line of the linear channel direction through the baseband antenna array AOA angle measurement method. n The angle between n .

4. The audio transmission method based on BLE broadcast according to claim 1, It is characterized in that In step three, each data packet sharing process is divided into a random competition sorting area, a valid byte position sharing area and an audio data area. The random competition sorting area determines the order in which each receiving node sends its own audio data packet by random competition sorting. The valid byte position sharing area is used for each receiving node to send the position of the valid bytes of the data packet it has received in turn. The audio data area is used for each receiving node to send the specific content of its own audio data packet in turn.

5. The audio transmission method based on BLE broadcast according to claim 1, It is characterized in that In step three, each receiving node negotiates the transmission sequence on the bus side through a random competition sorting method. Except for the time when each receiving node sends a message on the bus side, all other times are in a receiving state. By obtaining the competition messages sent by other receiving nodes, each receiving node negotiates the order in which it sends valid bytes and voice data packets.

6. The audio transmission method based on BLE broadcast according to claim 1, It is characterized in that In the random competition sorting area, if node A m Angle α m If it is less than the judgment threshold α', it is considered that the voice receiving node is closest to the sending node compared with other receiving nodes, so A m In T 0 Send A immediately m Competition message, in the subsequent valid byte shared area and voice data area A m will be the first to send valid bytes and voice data packets. n When α is greater than or equal to α' and less than the threshold α" and α n When it is greater than or equal to α", the contention message sending time is calculated.

7. The audio transmission method based on BLE broadcast according to claim 1, It is characterized in that The contention message sending time t is from T 0 Start counting at: Where ε is a random number between 0 and 1, t' is the end time of sending contention messages when the angle is less than α', t" is the end time of sending when the angle is expected to be α", and t end The total time of random competition sorting area.

8. The audio transmission method based on BLE broadcast according to claim 1, It is characterized in that In step three, each node negotiates and confirms the data sending order according to the random competition sorting method, and then sends the number of valid broadcast data bytes and the position of the valid bytes received by itself in the valid byte bit sharing area in turn. When the subsequent receiving node scans on the bus side and obtains that the number of valid bytes of the node that has sent the valid byte bits is the same as the total number of bytes, it will no longer send its own valid byte bits and voice data packets.

9. The audio transmission method based on BLE broadcast according to claim 1, It is characterized in that In step 4, when the voice broadcast device receives voice data packets from multiple receiving nodes and each receiving node fails to provide valid values ​​for all data, the voice broadcast device composes a maximum valid value data packet based on multiple data packets, and the remaining error bits are filled with 0 or audio mute bytes.

10. An audio transmission system based on BLE broadcast, It is characterized in that include, The voice sending node is a BLE receiver. A plurality of voice receiving nodes arranged along the transmission bus; A voice broadcasting device, wherein the voice broadcasting device and multiple voice receiving nodes are connected via a cable bus; when a person moves in a channel, the voice sending node needs to send voice data to the voice broadcasting device at the far end of the channel via BLE broadcast, and the adjacent voice receiving node receives the voice data and transmits it to the voice broadcasting device via the bus.