Point-to-multipoint data transmission method, apparatus, audio generation device, and system
Patent Information
- Application Number
- CN202211408013.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-10
- Publication Date
- 2026-08-18
- Estimated Expiration
- 2042-11-10
AI Technical Summary
[0004]鉴于以上所述现有技术的缺点,本发明的目的在于提供一种点到多点数据传输方法、装置、音频生成设备以及系统,用于解决现有技术中点到多点数据传输过程中延时过高的问题
[0028] As described above, the point-to-multipoint data transmission method, apparatus, audio generation device, and system described in this application have the following advantages: low latency during data transmission and good compatibility with general Bluetooth devices.
Smart Images

Figure CN115915383B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of wireless communication technology, and in particular to point-to-multipoint data transmission methods, apparatus, audio generation devices, and systems. Background Technology
[0002] To achieve point-to-multipoint multimedia data transmission, existing technologies generally employ a Bluetooth-based PeakNet topology, using time-division multiplexing to alternately receive data transmitted from two different devices. This time-division multiplexing communication method often introduces significant latency, making it difficult to handle applications with high latency requirements. For example, in live streaming devices, if one of the slave devices is transmitting audio stream data with high real-time requirements, the transmission latency of existing technologies can reach tens to hundreds of milliseconds, which can severely cause audio stuttering and negatively impact user experience.
[0003] To reduce latency, wireless communication systems and corresponding communication methods have been developed for specific application scenarios. However, due to their incompatibility with commonly used standard protocols such as Bluetooth, their development costs are high. Summary of the Invention
[0004] In view of the shortcomings of the prior art described above, the purpose of this invention is to provide a point-to-multipoint data transmission method, apparatus, audio generation device and system to solve the problem of excessive latency in the point-to-multipoint data transmission process in the prior art.
[0005] Firstly, this application provides a point-to-multipoint data transmission method, the point-to-multipoint data transmission method comprising:
[0006] The first data packet is received through a first link, which is a Bluetooth link. The first link includes a first receive time slice and a first transmit time slice. The first receive time slice and the first transmit time slice are set alternately. The first data packet is received within the first receive time slice.
[0007] The second data packet is received through the second link, which includes several second receiving time slices. For each second data packet, it is repeatedly received using several second receiving time slices, and the size of the second receiving time slice is smaller than the size of the first receiving time slice, so that the start and end times of at least one of the second receiving time slices are within the same first receiving time slice.
[0008] The first return packet is sent through the first link, and the first return packet is sent within the first transmission time slice. When sending the first return packet, the receiving end path of the second link is disconnected.
[0009] In one implementation of the first aspect, the second link is a unidirectional link.
[0010] In one implementation of the first aspect, the carrier frequency of the second data packet is different from the carrier frequency of the first data packet.
[0011] In one implementation of the first aspect, the carrier frequency of the second data packet is in the standard Bluetooth band.
[0012] In one implementation of the first aspect, the first data packet is transmitted using a first frequency hopping sequence, and the second data packet is transmitted using a second frequency hopping sequence, wherein there are no identical frequency points in the first frequency hopping sequence and the second frequency hopping sequence.
[0013] In one implementation of the first aspect, the second frequency hopping sequence occupies fewer than 15 frequency points in the quasi-Bluetooth band.
[0014] In one implementation of the first aspect, for each second data packet, it is repeatedly received using 2 to 5 second reception time slices.
[0015] In one implementation of the first aspect, the size of the first receiving time slice is more than twice the size of the second receiving time slice.
[0016] Secondly, this application provides a point-to-multipoint data transmission device, which includes a common antenna, a line switching module, a first radio frequency module and a second radio frequency module, wherein the line switching module has a first switching state and a second switching state.
[0017] In the first switching state, the first radio frequency module, the line switching module and the common antenna are connected to form a first link for transmitting the first return packet, and the first link is a Bluetooth link.
[0018] In the first switching state, the second radio frequency module is disconnected from the common antenna;
[0019] In the second switching state, the first radio frequency module, the line switching module and the common antenna are connected to form a first link for receiving the first data packet, and the first data packet is received within the first receiving time slice;
[0020] In the second switching state, the second radio frequency module, the line switching module, and the common antenna are connected to form a second link for receiving the second data packet. The second link is a unidirectional link and includes several second receiving time slots. For each second data packet, several second receiving time slots are used to repeatedly receive it, and the size of the second receiving time slot is smaller than the size of the first receiving time slot.
[0021] In one implementation of the second aspect, the line switching module includes a single-pole double-throw switch, which includes an input terminal, a first output terminal, and a second output terminal. The input terminal is connected to the common antenna; the first output terminal is connected to the first radio frequency module, and the second output terminal is connected to both the first radio frequency module and the second radio frequency module; in the first switching state, the input terminal is connected to the first output terminal; in the second switching state, the input terminal is connected to the second output terminal.
[0022] In one implementation of the second aspect, the single-pole double-throw switch has a first operating mode and a second operating mode. In the first operating mode, the single-pole double-throw switch switches states according to the timing sequence of the first link; in the second operating mode, the single-pole double-throw switch switches states according to the timing sequence of the second link.
[0023] The point-to-multipoint data transmission device further includes a first baseband module, a second baseband module, and an arbitration module. The first baseband module is connected to the first radio frequency module, and the second baseband module is connected to the second radio frequency module. The first baseband module also sends a first arbitration signal to the arbitration module based on the transmission result of the first data packet, and the second baseband module also sends a second arbitration signal to the arbitration module based on the transmission result of the second data packet. The arbitration module adjusts the operating mode of the single-pole double-throw switch based on the first arbitration signal and the second arbitration signal.
[0024] In one implementation of the second aspect, for each second data packet, N second receiving time slices are used for repeated reception; when the first M receptions of the second data packet fail, the second baseband module sends the second arbitration signal to the arbitration module, where 1≤M≤N-1, and the second arbitration signal requests the arbitration module to control the single-pole double-throw switch to operate in the second working mode.
[0025] In one implementation of the second aspect, the first link has a retransmission mechanism. When the number of repeated transmissions of the first data packet reaches a first threshold, the first baseband module sends the first arbitration signal to the arbitration module. The first arbitration signal requests the arbitration module to control the single-pole double-throw switch to operate in the first working mode.
[0026] Thirdly, this application provides an audio generation device, which includes the point-to-multipoint data transmission device, wherein the first data packet is used to transmit first audio data, and the second data packet is used to transmit second audio data. The audio generation device further includes an audio synthesis module, which is used to synthesize the first audio data and the second audio data into mixed audio data.
[0027] Fourthly, this application provides an audio playback system, which includes a voice acquisition device, the aforementioned audio generation device, and a speaker. The audio generation device is used to establish a first link with a user terminal, and the audio generation device is also used to establish a second link with the voice acquisition device. The first audio data is background music, the second audio data is real-time voice data, and the speaker uses the mixed audio data to play sound.
[0028] As described above, the point-to-multipoint data transmission method, apparatus, audio generation device, and system described in this application have the following advantages: low latency during data transmission and good compatibility with general Bluetooth devices. Attached Figure Description
[0029] Figure 1 The diagram shown illustrates an application of the point-to-multipoint data transmission method of the present invention in one embodiment.
[0030] Figure 2 The diagram shown is a flowchart illustrating the principle of the point-to-multipoint data transmission method of the present invention in one embodiment.
[0031] Figure 3 The diagram shown is a structural schematic of one embodiment of the point-to-multipoint data transmission device of the present invention.
[0032] Figure 4 The diagram shown is a timing diagram of the transmission and reception of a point-to-multipoint data transmission method according to an embodiment of the present invention.
[0033] Figure 5 The diagram shown is a timing diagram of the transmission and reception of a point-to-multipoint data transmission device according to an embodiment of the present invention.
[0034] Figure 6 The diagram shows the synchronization principle of the second link in one embodiment of the point-to-multipoint data transmission method of the present invention.
[0035] Figure 7 The diagram shown is a schematic of the second link of the point-to-multipoint data transmission method of the present invention, which adopts a ping-pong mode sending end in one embodiment.
[0036] Figure 8 The diagram shows the schematic of the second link of the point-to-multipoint data transmission method of the present invention using a ping-pong mode receiver in one embodiment.
[0037] Component designation explanation
[0038] 100. User terminal; 200. Voice acquisition device; 300. Audio generation device; 400. Common antenna; 500. Line switching module; 510. Input terminal; 520. First output terminal; 530. Second output terminal; 610. First radio frequency module; 620. First baseband module; 710. Second radio frequency module; 720. Second baseband module; 800. Arbitration module; 900. Audio synthesis module. Detailed Implementation
[0039] The following specific examples illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that, unless otherwise specified, the following embodiments and features described therein can be combined with each other.
[0040] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of the present invention. Therefore, the drawings only show the components related to the present invention and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0041] The following embodiments of this application provide a point-to-multipoint data transmission method, apparatus, audio generation device, and system for reducing latency in point-to-multipoint wireless data transmission and reducing development costs.
[0042] Figure 1 This diagram illustrates the application of the point-to-multipoint data transmission method in this embodiment. Figure 1 The user terminal 100 includes, but is not limited to, mobile phones, computers, tablets, wearable devices, and smart AI devices. The voice acquisition device 200 includes, but is not limited to, microphones, pickups, recorders, and voice recorders. The voice acquisition device can be integrated into the user terminal or operate independently. The audio generation device 300 includes, but is not limited to, sound cards, sound editing devices, karaoke machines, and computers. The user terminal 100 and the audio generation device 300 transmit first audio data via a first link, exhibiting good compatibility with common Bluetooth devices. The voice acquisition device 200 and the audio generation device 300 transmit second audio data via a second link. The second audio data is repeatedly received through multiple second reception time slots, with at least one second reception time slot falling within the first reception time slot. This allows the first and second audio data to be input to the audio generation device 300 simultaneously, thereby reducing audio data transmission latency while maintaining compatibility with existing Bluetooth terminals, making it suitable for applications with high latency requirements.
[0043] The technical solutions in the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0044] like Figure 2 As shown, this embodiment provides a point-to-multipoint data transmission method, which includes:
[0045] Step S100: Receive the first data packet through the first link, the first link being a Bluetooth link, the first link including a first receive time slice and a first transmit time slice, the first receive time slice and the first transmit time slice being alternately set, the first data packet being received within the first receive time slice;
[0046] Step S200: Receive the second data packet through the second link. The second link includes several second receiving time slices. For each second data packet, it is repeatedly received using several second receiving time slices. The size of the second receiving time slice is smaller than the size of the first receiving time slice, so that the start and end times of at least one of the second receiving time slices are within the same first receiving time slice.
[0047] Step S300: Send a first return packet through the first link. The first return packet is sent within the first transmission time slice, and the receiving end path of the second link is disconnected when the first return packet is sent.
[0048] The following provides a detailed description of steps S100 to S300 of the point-to-multipoint data transmission method in this embodiment.
[0049] This point-to-multipoint data transmission method can be applied between two wireless devices, where the first data packet and the second data packet originate from the same terminal device. This point-to-multipoint data transmission method can also be applied between three wireless devices, such as one master device and two slave devices, where the first data packet and the second data packet originate from the two slave devices respectively. Obviously, this point-to-multipoint data transmission method can also be applied between even more wireless devices.
[0050] The first link in this embodiment is developed based on the common standard Bluetooth protocol, thus enabling compatibility with Bluetooth-enabled user devices, such as mobile phones. The existing first link's transmit / receive cycle includes alternating first receive time slices and first transmit time slices, the sizes of which can be adaptively adjusted according to user needs.
[0051] The second link in this embodiment can be an existing first link or a custom wireless link, and can be bidirectional or unidirectional communication. Existing dual-first-link time-division multiplexing methods receive the first and second data packets separately in different time periods. This embodiment sets the size of the second reception time slice to be smaller than the size of the first reception time slice, allowing the master device to receive data from both slave devices simultaneously, resulting in lower latency. To maximize the chance of a complete transmission of the second data packet within each transmit / receive cycle of the first link, this embodiment also uses several second reception time slices to repeatedly receive the same second data packet, such as repeating it 2 times, 3 times, etc. This eliminates the need for strict synchronization between the second and first links, making it more convenient to use.
[0052] As is known to those skilled in the art, the first link is a bidirectional communication link. To avoid the power of the wireless signal or transmission signal of the first link affecting the second link when sending the first return packet, this embodiment disconnects the receiving end of the second link when sending the first return packet to avoid mutual signal interference.
[0053] In this embodiment, the second link is a unidirectional link. In some specific application scenarios, the slave device sending the second data packet does not need to have bidirectional communication capabilities. Setting the second link as a unidirectional link can save on hardware or software development costs. More importantly, it is beneficial to increase the proportion of the second reception time slice in the second link. For example, the communication period of the second link can be set to a continuous second reception time slice, thereby maximizing the probability of receiving the second data packet simultaneously in the first reception time slice and reducing the transmission delay of the second link.
[0054] In this embodiment, the carrier frequency of the second data packet is different from that of the first data packet. This facilitates the demodulation circuit in demodulating the first and second data packets separately.
[0055] In this embodiment, the carrier frequency of the second data packet is in the standard Bluetooth band, such as the 2.4GHz ISM band. The second link and the first link use the same band, which facilitates hardware design. For example, the same antenna can be used to receive both the first and second data packets, and the antenna size is small, which is beneficial for miniaturizing the main device. Furthermore, since there is no need to use a band filter to separate the first and second data packets, the chip integration process is simpler, which helps reduce hardware costs.
[0056] To further reduce mutual interference between the first link and the second link, in this embodiment, the first data packet is transmitted using a first frequency hopping sequence, and the second data packet is transmitted using a second frequency hopping sequence. There are no identical frequency points in the first frequency hopping sequence and the second frequency hopping sequence.
[0057] Specifically, in this embodiment, the second frequency hopping sequence occupies fewer than 15 frequency points in the quasi-Bluetooth band. Most countries use the ISM band of 2400–2483.5 MHz, which contains 79 frequency points. This embodiment removes fewer frequency points from the first link, making negotiation with standard Bluetooth devices easier. In most scenarios, the second frequency hopping sequence can be customized.
[0058] In this embodiment, each second data packet is repeatedly received using 2 to 5 second reception time slots. If the second reception time slot occupied by the second data packet is too short, it is difficult to ensure the probability of a complete second reception time slot appearing in the first reception time slot, thus affecting the real-time performance of the second link data transmission. Since the second data packet has high real-time requirements, such as real-time voice data, if the second reception time slot occupied by the second data packet is too long, the reception time of the same second data packet will be too long, which may also affect the real-time performance of the second link data transmission. Considering the above factors, this embodiment sets the number of repeated transmissions of the same second data packet to 2 to 5 times, which yields the best results.
[0059] In this embodiment, the size of the first receiving time slice is more than twice the size of the second receiving time slice. This ensures that, in the absence of external interference, at least one second receiving time slice is completely contained within the first receiving time slice.
[0060] The scope of protection for the point-to-multipoint data transmission method in this application is not limited to the execution order of the steps listed in this embodiment. Any solution implemented by adding, subtracting, or replacing steps in the prior art based on the principles of this application is included within the scope of protection of this application.
[0061] like Figure 3 As shown, this embodiment provides a point-to-multipoint data transmission device, which includes a common antenna 400, a line switching module 500, a first radio frequency module 610 and a second radio frequency module 710. The line switching module 500 has a first switching state and a second switching state.
[0062] In the first switching state, the first radio frequency module 610, the line switching module 500, and the common antenna 400 are connected to form a first link for transmitting the first return packet, and the first link is a Bluetooth link.
[0063] In the first switching state, the second radio frequency module 710 is disconnected from the common antenna 400.
[0064] In the second switching state, the first radio frequency module 610, the line switching module 500, and the common antenna 400 are connected to form a first link for receiving the first data packet, and the first data packet is received within the first reception time slice.
[0065] In the second switching state, the second radio frequency module 710, the line switching module 500, and the common antenna 400 are connected to form a receiving end path for the second link used to receive the second data packet. The second link is a unidirectional link and includes several second receiving time slots. For each second data packet, it is repeatedly received using several second receiving time slots, and the size of the second receiving time slot is smaller than the size of the first receiving time slot.
[0066] This embodiment reduces the size of the point-to-multipoint data transmission device by allowing the first link and the second link to use the same common antenna 400. By using a line switching module 500, when the first link sends the first return packet, the second radio frequency module 710 cannot form an electrical connection with the first radio frequency module 610 through the line switching module 500, thus enabling the first radio frequency module 610 to function normally. The point-to-multipoint data transmission device of this embodiment can achieve low-latency transmission of the second data packet by referring to the point-to-multipoint data transmission method of the aforementioned embodiments.
[0067] Specifically, such as Figure 3 As shown, in this embodiment, the line switching module includes a single-pole double-throw switch (SPDS). The SPDS includes an input terminal 510, a first output terminal 520, and a second output terminal 530. The input terminal 510 is connected to the common antenna 400. The first output terminal 520 is connected to the first radio frequency (RF) module 610, and the second output terminal 530 is connected to both the first RF module 610 and the second RF module 710. In the first switching state, the input terminal 510 is connected to the first output terminal 520. In the second switching state, the input terminal 510 is connected to the second output terminal 530.
[0068] In this embodiment, the state of the single-pole double-throw switch and the transmission / reception timing relationship between the first link and the second link are as follows: Figure 4 As shown.
[0069] One transmit / receive cycle of the first link occupies 6 standard Bluetooth time slots, of which the first receive time slot (RX) occupies 5 standard Bluetooth time slots, the first transmit time slot (TX) occupies 1 standard Bluetooth time slot, and the second receive time slot occupies 2 standard Bluetooth time slots. For the same second data packet, it is received repeatedly using 3 second receive time slots. For example, for the first second data packet, it is received repeatedly using 3 RX1 time slots; for the second second data packet, it is received repeatedly using 3 RX2 time slots; and for the third second data packet, it is received repeatedly using 3 RX3 time slots.
[0070] By repeatedly receiving data over three second receive time slots, synchronization between the first and second links is unnecessary, yet at least one second receive time slot (e.g., RX1) is fully contained within the first receive time slot RX. The actual reception time of the first data packet may be less than the first receive time slot RX, and the actual transmission time of the first data packet may be less than the first transmission time slot TX. Before the first first receive time slot RX appears, the single-pole double-throw switch changes from the first switching state to the second switching state. During the first half of the first first receive time slot RX, the single-pole double-throw switch remains in the second switching state to complete the reception of the first data packet. After the first data packet is received, the single-pole double-throw switch can be changed from the second switching state to the first switching state without waiting for the first receive time slot RX to end. The single-pole double-throw switch remains in the first switching state until the first first transmission time slot TX arrives and the first return packet is sent. Because the single-pole double-throw switch remains in the first switching state, the third reception of the first second data packet fails, but since the second reception was successful, it does not affect the real-time performance of the second data packet. After the first return packet is sent in the first first transmission time slot TX, the single-pole double-throw switch changes from the first switching state to the second switching state again, and so on.
[0071] In this embodiment, the single-pole double-throw switch has a first operating mode and a second operating mode. In the first operating mode, the single-pole double-throw switch switches its state according to the timing sequence of the first link; in the second operating mode, the single-pole double-throw switch switches its state according to the timing sequence of the second link.
[0072] The point-to-multipoint data transmission device also includes a first baseband module 620, a second baseband module 720, and an arbitration module 800. The first baseband module 620 is connected to the first radio frequency module, and the second baseband module 720 is connected to the second radio frequency module. The first baseband module 620 also sends a first arbitration signal to the arbitration module 800 based on the transmission result of the first data packet, and the second baseband module 720 also sends a second arbitration signal to the arbitration module 800 based on the transmission result of the second data packet. The arbitration module 800 adjusts the operating mode of the single-pole double-throw switch based on the first arbitration signal and the second arbitration signal.
[0073] Specifically, in this embodiment, when the arbitration module 800 receives both the first arbitration signal and the second arbitration signal simultaneously, it operates according to the first working mode. In another embodiment, when the arbitration module 800 receives both the first arbitration signal and the second arbitration signal simultaneously, it operates according to the second working mode.
[0074] Specifically, such as Figure 5As shown, in this embodiment, for each second data packet, N second receiving time slices are used for repeated reception; when the first M receptions of the second data packet fail, the second baseband module 720 sends a second arbitration signal to the arbitration module 800, where 1≤M≤N-1, and the second arbitration signal requests the arbitration module 800 to control the single-pole double-throw switch to work in the second working mode.
[0075] by Figure 5 For example, the first link receives the first first data packet and returns a message through the first transmit / receive cycle (RXx and TX), and receives the second first data packet and returns a message through the second transmit / receive cycle (RXx+1 and TX). The common antenna has a first switching state (1-TX) and a second switching state (2-RX).
[0076] The second link receives the first second data packet through three RXy windows, and the second second data packet through three RXy+1 windows. The first RXy+1 window fails to receive the second second data packet because it overlaps with the common antenna 1-TX state. The second RXy+1 window falls within the corresponding first reception time slot RXx+1, providing a full reception opportunity, but due to external interference and other factors, the second reception of the second second data packet also fails. At this point, the first two of the three reception opportunities for the second second data packet have failed. Based on the transmission result of this second data packet, the second baseband module 720 sends a second arbitration signal to the arbitration module 800. The single-pole double-throw switch enters the second operating mode, i.e., remains in the second switching state (2-RX).
[0077] In this embodiment, when one of the first M receptions of the second data packet is successful, the operating mode of the single-pole double-throw switch changes from the second operating mode to the first operating mode.
[0078] To ensure the real-time performance of the first link, this embodiment includes a retransmission mechanism. When the number of retransmissions of the first data packet reaches a first threshold, the first baseband module 620 sends a first arbitration signal to the arbitration module 800. The first arbitration signal requests the arbitration module 800 to control the single-pole double-throw switch to operate in a first working mode. Specifically, the first threshold can also be set to 2, 3, 4, 5, 6, etc.
[0079] In this embodiment, the voice acquisition device transmits a second data packet unidirectionally to the audio generation device via a second link. The audio generation device and the voice acquisition device pre-determine link control information such as link time slices, data compression rates, and the number of transmissions of the same data packet frame, and establish a unidirectional wireless connection. The transmitting and receiving parties communicate according to the agreed transmission and reception period, frequency hopping sequence, and data packet format.
[0080] The voice acquisition device establishes a one-way wireless connection with the audio generation device based on link control information, and segments and compresses the first audio data to construct second data packets corresponding to each data transmission window. The second data packets are then transmitted according to an agreed time slice and frequency hopping sequence. The audio generation device determines the reception window and reception period based on a preset link time slice.
[0081] like Figure 6 As shown, in this embodiment, the second link is synchronized using the following method:
[0082] The second receiving time slice is set to be less than the first receiving time slice. Based on the current local clock of the receiving end, it is determined whether the header of the second data packet has been received in the second receiving time slice.
[0083] If the header of the second data packet is not received within the second receiving time slice, the local clock of the current receiving end is reset to zero.
[0084] If the header of the second data packet is received within the second receiving time slice, the local clock of the receiving end is adjusted so that the receiving window rx_en of the receiving end of the second link is synchronized with the sending window tx_en of the sending end of the second link.
[0085] To reduce latency in the second link, this embodiment employs a ping-pong mode. The data transmission in ping-pong mode can utilize existing technologies. Specifically, such as... Figure 7 , Figure 8 As shown, at the sending end, when sending packet 1, data is read from txbuf0 (e.g., in 32-bit units). When sending packet 2, data is read from txbuf1. When sending packet 3, data is read from txbuf0 again, and so on. At the receiving end, when receiving packet 1, the data of packet 1 is written to rxbuf0 while receiving. When receiving packet 2, the data of packet 2 is written to rxbuf1 while receiving. When receiving packet 3, the data of packet 3 is written to rxbuf0, and so on. Both the sending and receiving ends use two buffers, in a ping-pong fashion.
[0086] In the embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, or methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules / units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or units may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of apparatuses or modules or units may be electrical, mechanical, or other forms.
[0087] The modules / units described as separate components may or may not be physically separate. The components shown as modules / units may or may not be physical modules; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules / units can be selected to achieve the objectives of the embodiments of this application, depending on actual needs. For example, the functional modules / units in the various embodiments of this application may be integrated into one processing module, or each module / unit may exist physically separately, or two or more modules / units may be integrated into one module / unit.
[0088] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0089] This embodiment also provides an audio generation device, which includes the point-to-multipoint data transmission device of the above embodiments. The first data packet is used to transmit first audio data, and the second data packet is used to transmit second audio data. The audio generation device further includes an audio synthesis module 900, which is used to synthesize the first audio data and the second audio data into mixed audio data. Specifically, the second audio data is packaged into multiple second data packets, and the second data packets are transmitted to the audio generation device 300 in the form of a data stream to increase the real-time performance of the audio data. Figure 4 For example, the first second data packet is received repeatedly using three second receive time slots RX1. The second second data packet is received repeatedly using three second receive time slots RX2; and the third second data packet is received repeatedly using three second receive time slots RX3. This repeated reception helps ensure that each second data packet in the data stream is successfully received by the audio generation device 300.
[0090] This embodiment also provides an audio playback system, which includes a voice acquisition device, an audio generation device, and a speaker. The audio generation device is used to establish a first link with a user terminal, and the audio generation device is also used to establish a second link with the voice acquisition device. The first audio data is background music, the second audio data is real-time voice data, and the speaker uses the mixed audio data to play sound.
[0091] The descriptions of the processes or structures corresponding to the above figures each have their own emphasis. For parts of a process or structure that are not described in detail, please refer to the relevant descriptions of other processes or structures.
[0092] The above embodiments are merely illustrative of the principles and effects of this application and are not intended to limit this application. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of this application. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in this application should still be covered by the claims of this application.
Claims
1. A point-to-multipoint data transmission method, characterized in that, The point-to-multipoint data transmission method includes: The first data packet is received through a first link, which is a Bluetooth link. The first link includes a first receive time slice and a first transmit time slice. The first receive time slice and the first transmit time slice are set alternately. The first data packet is received within the first receive time slice. The second data packet is received through the second link, which includes several second receiving time slices. For each second data packet, it is repeatedly received using several second receiving time slices, and the size of the second receiving time slice is smaller than the size of the first receiving time slice, so that the start and end times of at least one of the second receiving time slices are within the same first receiving time slice. The first return packet is sent through the first link, and the first return packet is sent within the first transmission time slice. When sending the first return packet, the receiving end path of the second link is disconnected. The point-to-multipoint data transmission method is applied between two wireless devices, with the first data packet and the second data packet originating from one of the wireless devices; or, the point-to-multipoint data transmission method is applied between three wireless devices, with one master device and two slave devices, and the first data packet and the second data packet originating from the two slave devices respectively.
2. The point-to-multipoint data transmission method according to claim 1, characterized in that, The second link is a unidirectional link.
3. The point-to-multipoint data transmission method according to claim 1, characterized in that, The carrier frequency of the second data packet is different from that of the first data packet.
4. The point-to-multipoint data transmission method according to claim 3, characterized in that, The carrier frequency of the second data packet is in the standard Bluetooth band.
5. The point-to-multipoint data transmission method according to claim 4, wherein the first data packet is transmitted using a first frequency hopping sequence, the second data packet is transmitted using a second frequency hopping sequence, and there are no identical frequency points in the first frequency hopping sequence and the second frequency hopping sequence.
6. The point-to-multipoint data transmission method according to claim 5, characterized in that, In the quasi-Bluetooth band, the second frequency hopping sequence occupies fewer than 15 frequency points.
7. The point-to-multipoint data transmission method according to claim 1, characterized in that, For each of the second data packets, the second reception time slices are used to receive the data repeatedly.
8. The point-to-multipoint data transmission method according to claim 1, characterized in that, The size of the first receiving time slice is more than twice the size of the second receiving time slice.
9. A point-to-multipoint data transmission device, characterized in that, The point-to-multipoint data transmission device includes a common antenna, a line switching module, a first radio frequency module, and a second radio frequency module. The line switching module has a first switching state and a second switching state. In the first switching state, the first radio frequency module, the line switching module and the common antenna are connected to form a first link for transmitting the first return packet, and the first link is a Bluetooth link. In the first switching state, when the first radio frequency module is in the transmitting state, the second radio frequency module is disconnected from the common antenna; In the second switching state, the first radio frequency module, the line switching module and the common antenna are connected to form a first link for receiving the first data packet, and the first data packet is received within the first receiving time slice; In the second switching state, the second radio frequency module, the line switching module, and the common antenna are connected to form a second link for receiving the second data packet. The second link is a unidirectional link and includes several second receiving time slots. For each second data packet, several second receiving time slots are used to repeatedly receive it, and the size of the second receiving time slot is smaller than the size of the first receiving time slot.
10. The point-to-multipoint data transmission device according to claim 9, characterized in that, The line switching module includes a single-pole double-throw switch, which includes an input terminal, a first output terminal, and a second output terminal. The input terminal is connected to the common antenna; the first output terminal is connected to the first radio frequency module, and the second output terminal is connected to both the first radio frequency module and the second radio frequency module; in the first switching state, the input terminal is connected to the first output terminal. In the second switching state, the input terminal is connected to the second output terminal.
11. The point-to-multipoint data transmission apparatus according to claim 10, characterized in that, The single-pole double-throw switch has a first operating mode and a second operating mode. In the first operating mode, the single-pole double-throw switch switches states according to the timing sequence of the first link; in the second operating mode, the single-pole double-throw switch switches states according to the timing sequence of the second link. The point-to-multipoint data transmission device further includes a first baseband module, a second baseband module, and an arbitration module. The first baseband module is connected to the first radio frequency module, and the second baseband module is connected to the second radio frequency module. The first baseband module also sends a first arbitration signal to the arbitration module based on the transmission result of the first data packet, and the second baseband module also sends a second arbitration signal to the arbitration module based on the transmission result of the second data packet. The arbitration module adjusts the operating mode of the single-pole double-throw switch based on the first arbitration signal and the second arbitration signal.
12. The point-to-multipoint data transmission device according to claim 11, characterized in that, For each of the second data packets, the second receiving time slices are used to repeatedly receive the data. When the first M receptions of the second data packet fail, the second baseband module sends the second arbitration signal to the arbitration module, where 1≤M≤N-1. The second arbitration signal requests the arbitration module to control the single-pole double-throw switch to operate in the second working mode.
13. The point-to-multipoint data transmission device according to claim 11, characterized in that, The first link has a retransmission mechanism. When the number of repeated transmissions of the first data packet reaches a first threshold, the first baseband module sends the first arbitration signal to the arbitration module. The first arbitration signal requests the arbitration module to control the single-pole double-throw switch to work in the first working mode.
14. An audio generation device, characterized in that, The audio generation device includes a point-to-multipoint data transmission device as described in any one of claims 9 to 13, wherein the first data packet is used to transmit first audio data and the second data packet is used to transmit second audio data; the audio generation device further includes an audio synthesis module, which is used to synthesize the first audio data and the second audio data into mixed audio data.
15. An audio playback system, characterized in that, The audio playback system includes a voice acquisition device, an audio generation device as described in claim 14, and a speaker. The audio generation device is used to establish a first link with a user terminal, and the audio generation device is also used to establish a second link with the voice acquisition device. The first audio data is background music, the second audio data is real-time voice data, and the speaker uses the mixed audio data to play sound.
Citation Information
Patent Citations
Wireless streaming type transmission of audio signal to multiple audio receiver devices
CN109379732A
Audio forwarding method and device and storage medium
CN113242546A