Method and device for transmitting and receiving wireless multi-source data packet and readable storage medium
By adopting a transit mechanism in the wireless network, the delay problem caused by multiple audio data transmission devices is solved, and more efficient multi-source packet transmission is achieved.
Patent Information
- Application Number
- CN202410090450.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-08-21
- Filing Date
- 2024-01-23
- Publication Date
- 2025-02-21
AI Technical Summary
In a wireless network, when two or more audio data transmission devices appear, additional delays will be generated, affecting the efficiency of data transmission.
The transit mechanism is adopted to realize the transit transmission of multi-source data packets through data gap allocation and physical channel tuning between audio data transmission devices. The specific steps include: obtaining the data gap allocation settings, tuning to the corresponding physical channel, acquiring and encapsulating audio data blocks, and transmitting media data packets.
Through the transit mechanism, additional delay is reduced and the efficiency of multi-source packet transmission in wireless networks is improved.
Smart Images

Figure CN119497014A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to wireless transmission technology, and in particular to a method for transmitting and receiving wireless multi-source data packets, a computer-readable storage medium and a device. Background Art
[0002] The wireless system may be configured to include multiple transmitting devices and a single receiving device, the receiving device operating as a master device and the transmitting devices operating as slave devices, with the receiving device coordinating the transmission of data packets of the transmitting devices. For example, a wireless microphone system includes a wireless system configured as described above. In the wireless microphone system, each handheld, head-mounted or lavalier microphone converts the audio signal captured by the person into digital data, and then transmits the digital data using the transmitting device therein. The consumer electronic product is configured with a receiving device to receive audio data from the transmitting device. The consumer electronic product may be a digital camera, a digital video recorder, a karaoke host, etc. Summary of the invention
[0003] In view of this, how to alleviate or eliminate the above-mentioned defects in related fields is indeed a problem to be solved.
[0004] The present specification relates to an embodiment of a method for transmitting a multi-source data packet, which is performed by a processing unit of a first audio data transmitting device, and includes: obtaining a data slot allocation setting for data transmission from an audio data receiving device, indicating that a first data slot is allocated to a second audio data transmitting device and a second data slot is allocated to the first audio data transmitting device; tuning to a first physical channel in a first data slot to obtain a first frame from the second audio data transmitting device, wherein the first frame includes a first audio data block created by the second audio data transmitting device; obtaining a second frame including a second audio data block created by the first audio data transmitting device; encapsulating the first frame and the second frame into a payload of a media data packet; and transmitting the media data packet to the audio data receiving device on a second physical channel in a second data slot.
[0005] The present specification also relates to an embodiment of a computer-readable storage medium, which includes a computer program. When a processing unit of a first audio data transmission device loads and executes the computer program, the method for transmitting multiple source data packets as shown above is implemented.
[0006] The present specification also relates to an embodiment of an apparatus for transmitting a multi-source data packet, which is arranged in a first audio data transmission device and includes: a processing unit. The processing unit is configured to: obtain a data slot allocation setting for data transmission from an audio data receiving device, the data slot allocation setting indicating that a first data slot is allocated to a second audio data transmission device and a second data slot is allocated to the first audio data transmission device; drive a radio frequency module and a modem to tune to a first physical channel in a first data slot for obtaining a first frame from the second audio data transmission device, wherein the first frame includes a first audio data block created by the second audio data transmission device; obtain a second frame including a second audio data block created by the first audio data transmission device; encapsulate the first frame and the second frame into a payload of a media data packet; and drive the radio frequency module and the modem to transmit the media data packet to the audio data receiving device on a second physical channel in a second data slot.
[0007] The present specification also relates to an embodiment of a method for receiving a multi-source data packet, which is executed by a processing unit of an audio data receiving device, and includes: transmitting a first data slot allocation setting for data transmission to a first audio data transmitting device, wherein the first data slot allocation setting indicates that the first data slot is allocated to a second audio data transmitting device and the second data slot is allocated to the first audio data transmitting device; transmitting a first transmission mode set to a specific mode and a first physical channel configuration to the first audio data transmitting device, so that the first audio data transmitting device can transfer a first frame heard in the first data slot to the audio data receiving device, wherein the first frame includes a first audio data block created by the second audio data transmitting device; and tuning to the first physical channel in the second data slot to receive a first media data packet from the first audio data transmitting device, wherein the first media data packet includes a first payload, the first payload carries the first frame and the second frame, and the second frame includes a second audio data block created by the first audio data transmitting device.
[0008] The present specification also relates to an embodiment of a computer-readable storage medium, which includes a computer program. When a processing unit of an audio data receiving device loads and executes the computer program, the method for receiving multi-source data packets as shown above is implemented.
[0009] The present specification also relates to an embodiment of an apparatus for receiving a multi-source data packet, which is arranged in an audio data receiving apparatus and comprises: a processing unit. The processing unit is arranged to: transmit a first data slot allocation setting for data transmission to a first audio data transmitting apparatus, wherein the first data slot allocation setting indicates that the first data slot is allocated to a second audio data transmitting apparatus and the second data slot is allocated to the first audio data transmitting apparatus; transmit a first transmission mode set to a specific mode and a first physical channel configuration to the first audio data transmitting apparatus, so that the first audio data transmitting apparatus can transfer a first frame heard in the first data slot to the audio data receiving apparatus, wherein the first frame includes a first audio data block created by the second audio data transmitting apparatus; and drive a radio frequency module and a modem to tune to the first physical channel in the second data slot for receiving a first media data packet from the first audio data transmitting apparatus, wherein the first media data packet includes a first payload, the first payload carries the first frame and the second frame, and the second frame includes a second audio data block created by the first audio data transmitting apparatus.
[0010] One of the advantages of the above embodiment is that when there are two or more audio data transmitting devices in the wireless network, the additional delay can be reduced through the relay mechanism as described above.
[0011] Other advantages of the present invention will be explained in more detail with reference to the following description and accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The drawings described herein are used to provide further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute improper limitations on the present application.
[0013] Figure 1 FIG. 4 is a schematic diagram of a wireless system according to an embodiment of the present invention.
[0014] Figure 2 It is a block diagram of an audio data receiving device or an audio data transmitting device according to an embodiment of the present invention.
[0015] Figure 3 A timing diagram is shown for wireless transmission of data by two audio data transmitting devices according to some embodiments.
[0016] Figure 4 FIG. 4 is a timing diagram of wireless transmission for connecting any audio data transmitting device to an audio data receiving device according to an embodiment of the present invention.
[0017] Figure 5The wireless transmission timing diagram of data transmission performed by two audio data transmitting devices operating in relay mode and an audio data receiving device operating in general mode according to an embodiment of the present invention.
[0018] Figure 6 The wireless transmission timing diagram of data transmission performed by four audio data transmitting devices operating in the extended relay mode and by an audio data receiving device operating in the interleaved mode according to an embodiment of the present invention.
[0019] Figure 7 The flowchart is a method for executing a task in each data slot executed by a processing unit of an audio data transmitting device according to an embodiment of the present invention.
[0020] Figure 8 The flowchart is a method for executing a task in each data slot executed by a processing unit of an audio data receiving device according to an embodiment of the present invention.
[0021] Among them, the simple description of the symbols in the accompanying drawings is as follows:
[0022] 10: wireless system; 110: audio data receiving device; 131, 133, 135, 137: audio data transmitting device; 210: antenna; 220: radio frequency module; 230: modem; 240: baseband module; 242: processing unit; 244: memory; 311, 313, 315, 332, 334, 336: data slot; 350: control signal slot; 450: advertising data packet; 511, 513, 532, 534: data slot; 550: control signal slot; P5 1. P52, P53, P54: media data packet; 611, 613, 615, 632, 634, 636, 651, 653, 655, 672, 674, 676: data slots; 690: control signal slot; P621, P622, P623, P624, P625, P626, P641, P642, P643, P644, P645, P646: media data packet; S710~S753: method steps; S810~S870: method steps. DETAILED DESCRIPTION
[0023] The embodiments of the present invention will be described below with reference to the accompanying drawings. In these drawings, the same reference numerals represent the same or similar components or method flows.
[0024] It must be understood that the words "comprise", "include" and the like used in this specification are used to indicate the existence of specific technical features, values, method steps, operation processing, components and / or elements, but do not exclude the addition of more technical features, values, method steps, operation processing, components, elements, or any combination of the above.
[0025] The words "first", "second", "third", etc. used in the present invention are used to modify the components in the claims, and are not used to indicate that there is a priority order or a prior relationship between the components, or that one component precedes another component, or the time sequence when executing the method steps, but are only used to distinguish components with the same name.
[0026] It should be understood that when a component is described as being "connected" or "coupled" to another component, it can be directly connected or coupled to the other component, and there may be intervening components. Conversely, when a component is described as being "directly connected" or "directly coupled" to another component, there are no intervening components. Other words used to describe the relationship between components can also be interpreted in a similar manner, such as "between" versus "directly between", or "adjacent" versus "directly adjacent", etc.
[0027] refer to Figure 1 The wireless system 10 shown includes a plurality of audio data transmission devices 131, 133, 135 and 137, and a single audio data receiving device 110. Each audio data transmission device is installed in an audio data collection device, such as a handheld, head-mounted or collar-type microphone. The audio data collection device is used to pick up sounds mainly emitted from people, and digitize the picked-up sounds into digital audio data. The audio data receiving device 110 is installed in a digital camera or a digital video recorder, and the digital camera or the digital video recorder is used to record and store digital audio data. Alternatively, the audio data receiving device 110 is installed in a karaoke host, and the karaoke host is used to convert digital audio data into analog voice signals, mix the analog voice signals with other analog signals emitted by musical instruments, and amplify the mixed analog signals. In the wireless system 10, the audio data receiving device 110 acts as a master device to control the time and physical channel of data packet transmission of each of the audio data transmission devices 131, 133, 135 and 137, and acts as their communication gateway. Each audio data transmitting device acts as a slave device and transmits a data packet carrying digital audio data to the audio data receiving device 110 using a designated physical channel at a designated time interval. The audio data receiving device 110 and any one of the audio data transmitting devices 131, 133, 135, and 137 may use a wireless communication protocol to transmit data packets carrying digital audio data, such as Bluetooth Low Energy (LE audio), extended Synchronous Connection-Oriented (eSCO), and asynchronous Connection-Oriented (ACL).
[0028] refer to Figure 2 The embodiment of the system block shown is applied to any one of the audio data receiving device 110, the audio data transmitting devices 131, 133, 135 and 137. The system architecture includes an antenna 210, a radio frequency module (RF module) 220, a modulator-demodulator (modem) 230 and a baseband module (baseband module) 240. The baseband module 240 includes a processing unit 242 and a memory 244. The processing unit 242 can be implemented in a variety of ways, such as using general hardware (for example, a microcontroller unit, a digital signal processor, a single processor, a multi-processor with parallel processing capabilities, a graphics processor or other processors with computing capabilities), and provides the functions described later when executing software and / or firmware instructions. The memory 244 can be configured with space as a data buffer to temporarily store media data packets received from the medium that are originally intended to be transmitted to other devices, and to collect audio data that is about to be transmitted to the medium. The memory 244 can also store data required during the execution process, such as variables, data tables, etc. The processing unit 242 may be coupled to the memory 244 via a bus architecture for accessing data.
[0029] Under the adaptive frequency hopping (AFH) technology, the audio data receiving device 110 can transmit the same channel map to the audio data transmitting devices 131, 133, 135 and 137. The channel map indicates that the audio data transmitting devices 131, 133, 135 and 137 use a designated physical channel of a plurality of physical channels (e.g., 37) in the 2.4 to 2.48 GHz frequency band in each time interval (or time slot) to receive or transmit data, and the RF module 220 uses the designated physical channel in each time interval to receive or transmit data. The audio data receiving device 110 can establish different isochronous connections with the audio data transmitting devices 131, 133, 135 and 137 respectively, and each connection uses a specific logical transmission and supports bidirectional communication. The RF module 220 is used to receive RF signals in the medium, convert the received signals into baseband signals that can be processed by the modem 230, and receive baseband signals from the modem 230 and convert them into RF signals that can be transmitted to the medium. The RF module 220 may include a mixer for generating a new frequency according to an input signal and a signal output by a local oscillator. The modem 230 may implement modulation and demodulation techniques such as Gaussian Frequency Shift Keying (GFSK), π / 4-Differential Quadrature Phase Shift Keying (DQPSK) or 8-Differential Phase Shift Keying (DPSK).
[0030] In wireless audio data communication, there is no confirmation mechanism to ensure that the network data packet sent from any audio data transmission device can be safely received by the audio data receiving device 110 through the medium. In a general scenario, any audio data transmission device transmits a block of audio data and an associated cyclical redundancy check code (cyclical redundancy check, CRC) to the audio data receiving device 110 at least three times to improve reliability. For example, the length of a block of audio data and its CRC is 200 bits (i.e. 25 bytes). A block of audio data and its CRC can be combined to be called a frame. The audio data receiving device 110 uses a known error checking algorithm to determine whether the received audio data block and its CRC are correct. When the audio data block and its CRC in any one of the three frames received pass the error checking algorithm, the audio data is received successfully.
[0031] In some embodiments, for example, the audio data transmitting devices 131 and 133 transmit an audio data block and an associated CRC to the audio data receiving device 110 in an interleaved manner. However, when two or more audio data transmitting devices are present in a wireless network, more delays may be generated. Figure 3 The wireless transmission timing diagram shown in FIG. 1 shows that audio data is transmitted by two audio data transmitting devices 131 and 133. Each event occurs at regular time intervals and includes six data slots and one control signal slot. Specifically, the audio data transmitting device 131 transmits an audio data block and its associated CRC (also referred to as frame A) created by the audio data transmitting device 131 to the audio data receiving device 110 for the first time in data slot 311. The audio data transmitting device 133 transmits an audio data block and its associated CRC (also referred to as frame B) created by the audio data transmitting device 133 to the audio data receiving device 110 for the first time in data slot 332. The audio data transmitting device 131 transmits frame A to the audio data receiving device 110 for the second time in data slot 313. The audio data transmitting device 133 transmits frame B to the audio data receiving device 110 for the second time in data slot 334, and so on. The audio data receiving device 110 transmits the latest setting parameters for the isochronous links in the subsequent events to the audio data transmitting devices 131 and 133 in the control signal slot 350. The audio data transmitting device 131 regards the data slots 311, 313 and 315 as transmission (TX) slots of the transmission frame A, while the audio data receiving device 110 regards the data slots 311, 313 and 315 as reception (RX) slots of the reception frame A. The audio data transmitting device 133 regards the data slots 311, 313 and 315 as idle slots. The audio data transmitting device 133 regards the data slots 332, 334 and 336 as TX slots of the transmission frame B, while the audio data receiving device 110 regards the data slots 332, 334 and 336 as RX slots of the reception frame B. The audio data transmitting device 131 regards the data slots 332, 334 and 336 as idle slots. The audio data receiving device 110 regards the control signal slot 350 as a TX slot for transmitting the latest setting parameters, while the audio data transmitting devices 131 and 133 regard the control signal slot 350 as an RX slot for receiving the latest setting parameters. When the audio data transmitting devices 131 and 133 appear in the wireless network, more delay is generated (about 3 milliseconds (ms) minus about 1.5 ms, which equals about 1.5 ms). Every 10 ms of additional delay is 15%, and every 6.8 ms of additional delay is 22%.
[0032] In order to reduce the additional delay caused by two or more audio data transmitting devices connecting to the audio data receiving device 110 in the wireless network, the embodiment of the present invention proposes a relay mechanism. Although the technical disadvantages of the above implementation are described in the specification, this is only used to illustrate the original inspiration of the following embodiments of the present invention. Personnel in the relevant technical field can apply these technical solutions to solve other technical problems, or apply them to other technical environments, and the present invention should not be limited thereto.
[0033] For example, the relay mechanism can be implemented in the Bluetooth Low Energy (LE) specification. Figure 4 The wireless transmission timing diagram shown is used to allow any audio data transmitting device to connect to the audio data receiving device 110. The audio data receiving device 110 periodically broadcasts LE advertising (ADV) packets to announce the name and identification code of the audio data receiving device 110, a short list of services (including, for example, audio data host, etc.), and information indicating that the LE ADV packets can be replied to and the advertising device can be connected. Any of the audio data transmitting devices 131, 133, 135 and 137 can scan physical channels, such as channels #37, #38 and #39, to find LE ADV packets. For example, upon detecting the advertising packet 450 broadcast by the audio data receiving device 110, the audio data transmitting device 131 sends a scan request carrying the name and identification code of the data transmitting device 131 to the audio data receiving device 110. The data receiving device 110 sends a scan reply to the data transmitting device 131 in the control signal slot. The audio data transmission device 131 sends a link layer (LL) connection request to the data receiving device 110 to request to establish a connection with the data receiving device 110. Once the data receiving device 110 replies with an acknowledgement and setting parameters to the data transmission device 131, a connection is established between the data receiving device 110 and the data transmission device 131. The setting parameters may include but are not limited to the start time of the subsequent event, the offset from the start time to the data slot and the control signal slot in each subsequent event, the physical channel configuration used in this connection, the key, and the transmission mode. The physical channel configuration may include the settings of the channel hopping algorithm, such as the channel map, the constants used in the channel selection equation, etc.
[0034] Any of the audio data transmitting devices 133, 135, and 137 can use the same procedure to connect to the audio data receiving device 110. Since two to four audio data transmitting devices can be connected to the audio data receiving device 110 and more additional delays are generated, in some embodiments, the audio data receiving device 110 enters one of the two receiving modes, and instructs each connected audio data transmitting device to operate in one of the four transmission modes according to the total number of audio data transmitting devices that have been connected to the audio data receiving device 110. The receiving mode includes: normal mode and interleaved mode. The audio data receiving device 110 uses a variable in its memory 244 to record which receiving mode the audio data receiving device 110 is operating in. The transmission mode includes: normal mode, transit mode, extended normal mode, and extended transit mode. Any audio data transmitting device uses a variable in its memory 244 to record which transmission mode the audio data transmitting device is operating in. The following provides multiple scenarios to illustrate the technical details of the two receiving modes and the four transmission modes.
[0035] In the first scenario, if no audio data transmitting device has yet connected to the audio data receiving device 110, the audio data receiving device 110 enters the general mode and instructs the requesting audio data transmitting device to operate in the general mode.
[0036] When establishing a connection for audio data, it is assumed that the audio data transmitting device 131 is the first device to request the audio data receiving device 110. The audio data receiving device 110 indicates that the audio data transmitting device 131 is operating in the normal mode by replying the setting parameters (including the setting of setting the transmission mode to the normal mode) to the audio data transmitting device 131. In the normal mode, the audio data transmitting device 131 occupies all data slots to transmit multiple audio data blocks and associated CRCs (collectively referred to as multiple frames) to the audio data receiving device 110. Each frame is first queued into a first-in first-out buffer (FIFO) in the audio data transmitting device 131 before being sent out. The FIFO can be implemented in the allocated space in the memory 244 in the audio data transmitting device 131.
[0037] In order to limit the number of times the same frame is transmitted, a flush timeout value is attached to each frame. The flush timeout value is a timestamp that indicates the time point when the corresponding frame is generated or pushed into the FIFO plus a default time interval (such as 1.5ms). For each data slot, the audio data transmission device 131 (if any) discards expired frames from the top of the FIFO (i.e., the flush timeout value accompanying the frame is earlier than or equal to the start time of this data slot). The audio data transmission device 131 extracts an available frame from the top of the FIFO (i.e., the flush timeout value accompanying the frame is later than the start time of this data slot) and transmits this available frame to the audio data receiving device 110 in this data slot.
[0038] The media data packet encapsulates the acquired frames. The payload of each media data packet can carry up to three frames. In the first scenario, the payload of each media data packet carries one frame, and the header of this media data packet records the device identification code of the audio data transmission device 131, the frame identification code of the frame carried therein, and the starting bit number of the frame carried therein in the payload. The audio data transmission device 131 is regarded as the data source of the frame carried in the media data packet.
[0039] In order to transmit in each data slot, the audio data transmitting device 131 uses a channel access algorithm to determine a physical channel according to the physical channel configuration set by the audio data receiving device 110, and tunes in to the determined physical channel. Normally, when each data slot can be used to transmit a maximum of 75 bytes of data and the default time interval is set to 1.5 ms, the audio data transmitting device 131 in the general mode transmits each frame to the audio data receiving device 110 three times under the control of the associated refresh timeout value. The audio data receiving device 110 operates in the general mode, uses a channel access algorithm to determine a physical channel according to the same physical channel configuration set to the audio data transmitting device 131, and tunes in to the determined physical channel to listen to data in each data slot.
[0040] In the second scenario, if an audio data transmitting device (such as the audio data transmitting device 131) is already connected to the audio data receiving device 110, the audio data receiving device 110 enters or maintains the general mode and instructs the already connected audio data transmitting device (such as the audio data transmitting device 131) and the requesting audio data transmitting device (such as the audio data transmitting device 133) to operate in the relay mode.
[0041] As shown in the first scenario, it is assumed that the audio data transmitting device 131 has been connected to the audio data receiving device 110, and the audio data transmitting device 133 requests the audio data receiving device 110 to establish a connection for audio data transmission to transmit audio data. The audio data receiving device 110 transmits the latest setting parameters (including the settings of the transmission mode and data slot allocation) to the audio data transmitting device 131 in the control signal slot to change the audio data transmitting device 131 to operate in the relay mode, wherein the transmission mode is set to the relay mode, and the data slot allocation indicates that the even-numbered data slots are allocated to the audio data transmitting device 131 and the odd-numbered data slots are allocated to the audio data transmitting device 133. It should be noted here that the starting data slot in each event is represented as the zeroth data slot (i.e., the even-numbered data slot).
[0042] The audio data receiving device 110 replies the configuration parameters (including the same transmission mode and the same data slot allocation) to the audio data transmitting device 133, so that the audio data transmitting device 133 can be consistent with the audio data transmitting device 131 and operate in the relay mode. The configuration parameters sent to the audio data transmitting device 133 include the same physical channel configuration set to the audio data transmitting device 131, so that the audio data transmitting devices 131 and 133 can share the same connection to tune to the same physical channel in each data slot.
[0043] In the relay mode, the audio data transmission device 131 occupies half of the data slots in an interleaved manner to transmit audio data to the audio data receiving device 110, and the audio data transmission device 133 occupies the other half of the data slots in an interleaved manner to transmit audio data to the audio data receiving device 110. Similarly, each frame is first queued into the FIFO in the audio data transmission device 131 or 133 before being sent out, and a refresh timeout value is attached. The default time interval in the relay mode is the same as the default time interval in the general mode, which is used to calculate the refresh timeout value. For transmission or reception in each data slot, the audio data transmission device 131 or 133 uses a channel access algorithm to determine the physical channel based on the physical channel configuration set by the audio data receiving device 110, and tunes to the determined physical channel. Normally, when each data slot can be used to transmit a maximum of 75 bytes of data and the default time interval is set to 1.5 ms, the audio data transmitting devices 131 and 133 in relay mode cooperate to transmit each frame to the audio data receiving device 110 three times under the control of the associated refresh timeout value.
[0044] In order to make audio data transmission more efficient, each of the audio data transmitting devices 131 and 133, in addition to transmitting the frames created by itself, also relays the frames created by the other audio data transmitting device. The audio data receiving device 110 operates in a general mode, and according to the same physical channel configuration set to the audio data transmitting devices 131 and 133, uses a channel access algorithm to determine a physical channel, and tunes to the determined physical channel to listen to data in each data slot.
[0045] refer to Figure 5 The wireless transmission timing diagram shown is used to allow the audio data transmitting devices 131 and 133 to transmit audio data in the relay mode, and to allow the audio data receiving device 110 to receive audio data in the general mode. Each event occurs at regular time intervals and includes six data slots and one control signal slot. Figure 5 The reference numerals 511, 532, 513, 534 and 550 in the figure are used to indicate the time slots (also called TX slots) used by a specific device to transmit data, but they can also represent the corresponding RX slots. Figure 5 For example, the reference numeral 511 not only indicates the data slot used by the audio data transmission device 131, but also indicates the data slot vertically aligned with the data slot 511 and used by the audio data transmission device 133 and the audio data receiving device 110.
[0046] In the data slot 511, the audio data transmission device 131 transmits an audio data block created by the audio data transmission device 131 and its associated CRC (also called frame A, as shown by the square filled with diagonal lines) to the audio data receiving device 110 for the first time. At the same time, the audio data transmission device 133 and the audio data receiving device 110 jump into the physical channel specified by the data slot 511 to listen to the data, and store the listened data (theoretically including frame A) into the memory in the device. The payload of the media data packet P51 includes frame A. The header of the media data packet P51 records the following information: the device identification code of the audio data transmission device 131, the frame identification code of frame A, the starting bit number of frame A in the payload, and the refresh timeout value attached to frame A.
[0047] In the data slot 532, the audio data transmission device 133 transmits an audio data block created by the audio data transmission device 133 and its associated CRC (also called frame B, as shown by the dotted square) to the audio data receiving device 110 for the first time, and transmits the data heard in the data slot 511 to the audio data receiving device 110 (the audio data receiving device 110 receives frame A for the second time). At the same time, the audio data receiving device 110 jumps into the physical channel specified by the data slot 532 to listen to the data, and stores the heard data (theoretically including frame A and frame B) into the memory in the device. The payload of the media data packet P52 includes frame A and frame B. The header of the media data packet P52 records the following information: the device identification code of the audio data transmission device 131, the frame identification code of frame A, the starting bit number of frame A in the payload, the refresh timeout value attached to frame A, the device identification code of the audio data transmission device 133, the frame identification code of frame B, the starting bit number of frame B in the payload, and the refresh timeout value attached to frame B. The audio data transmission device 131 also jumps into the physical channel specified by the data slot 532 to listen to the data, and stores a portion of the data (theoretically including frame B) heard in the memory of the device. It should be noted here that because frame A is created by itself, the audio data transmission device 131 discards frame A heard in the data slot 532.
[0048] In the data slot 513, the audio data transmission device 131 transmits frame A to the audio data receiving device 110 for the second time (the audio data receiving device 110 receives frame A for the third time), and transmits the data (theoretically including frame B) heard in the data slot 532 to the audio data receiving device 110 (the audio data receiving device 110 receives frame B for the second time). At the same time, the audio data receiving device 110 jumps into the physical channel specified by the data slot 513 to listen to the data, and stores the heard data (theoretically including frame A and frame B) into the memory in the device. The payload of the media data packet P53 includes frame A and frame B, and the header of the media data packet P53 records the information about frame A and frame B as described above. The audio data transmission device 133 also jumps into the physical channel specified by the data slot 513 to listen to the data, and stores a part of the heard data (theoretically including frame A) into the memory in the device. It should be noted here that because frame B is created by itself, the audio data transmission device 133 discards frame B heard in the data slot 513.
[0049] In the data slot 534, the audio data transmitting device 133 transmits frame B for the second time (the audio data receiving device 110 receives frame B for the third time). At the same time, the data receiving device 110 jumps into the physical channel specified by the data slot 534 to listen to data, and stores the listened data (theoretically including frame B) in the memory in the device. In the data slot 534, because the audio data transmitting device 133 finds that the additional refresh timeout value of the listened frame A is earlier than the start time of the data slot 534, the listened frame A can be discarded. The payload of the media data packet P54 includes frame B, and the header of the media data packet P54 records the information about frame B as described above.
[0050] The process performed by the audio data transmitting device 131 or 133 to obtain data created by another audio data transmitting device and transmit the received data to the data receiving device 110 is called a relay process.
[0051] The audio data receiving device 110 may transmit the latest setting parameters of subsequent events to the audio data transmitting devices 131 and 133 in the control signal slot 550, such as a new key, a new physical channel configuration, etc. Figure 3 When the audio data transmission devices 131 and 133 operate in the relay mode, Figure 5 The additional delay in Figure 3 In the design of , the receiving device 110 needs to go through 6 data slots to receive the same frame three times in succession, which takes a total of 3ms; Figure 5 In the design, the receiving device 110 only needs to go through three data slots 511, 532 and 513 to receive the same frame A three times in succession, which takes a total of 1.5 ms).
[0052] The audio data transmitting device 131 regards the data slots 511 and 513 as TX slots for transmitting data in the transit mode, while the audio data receiving device 110 regards the data slots 511 and 513 as RX slots for receiving data in the general mode. The audio data transmitting device 133 regards the data slots 532 and 534 as TX slots for transmitting data in the transit mode, while the audio data receiving device 110 regards the data slots 532 and 534 as RX slots for receiving data in the general mode. The audio data receiving device 110 regards the control signal slot 550 as a TX slot for transmitting the latest setting parameters, while the audio data transmitting devices 131 and 133 regard the control signal slot 550 as an RX slot for receiving the latest setting parameters.
[0053] The audio data collection device includes a microphone and an analog-to-digital converter (ADC) in addition to the audio data transmission device 131. The microphone picks up sound frequencies (analog signals) mainly emitted from people, and the ADC converts the analog signals into digital audio data. The processing unit 242 of the audio data transmission device 131 continuously receives audio data from the ADC when loading and executing the relevant firmware code, software code, or both, collects the audio data into multiple blocks of fixed length, and calculates CRC for each audio data block. A block of audio data and its associated CRC form frame A. Similarly, the audio data collection device includes a microphone and an ADC in addition to the audio data transmission device 133 to continuously generate audio data. The processing unit 242 of the audio data transmission device 133 generates frame B by applying a similar procedure on the audio data created by the ADC of the audio data collection device when loading and executing the relevant firmware code, software code, or both.
[0054] In the third scenario, if two audio data transmitting devices (such as audio data transmitting devices 131 and 133) are already connected to the audio data receiving device 110, the audio data receiving device 110 enters the interleaved mode, instructs the two already connected audio data transmitting devices (such as audio data transmitting devices 131 and 133) to operate in the extended transit mode, and instructs the requesting audio data transmitting device (such as audio data transmitting device 135) to operate in the extended general mode.
[0055] As shown in the second scenario, it is assumed that the audio data transmission devices 131 and 133 are already connected to the audio data receiving device 110, and the audio data transmission device 135 requests the audio data receiving device 110 to establish a connection for audio data transmission to transmit audio data. The audio data receiving device 110 transmits the latest setting parameters (including setting the transmission mode to the extended relay mode) to the audio data transmission devices 131 and 133 in the control signal slot to change the audio data transmission devices 131 and 133 to operate in the extended relay mode. The technical details of the operation performed by the audio data transmission devices 131 and 133 when operating in the extended relay mode will be discussed in the fourth scenario below.
[0056] The audio data receiving device 110 replies the setting parameters (including setting the transmission mode to the extended general mode) to the audio data transmitting device 135, so that the audio data transmitting device 135 can operate in the extended general mode. The setting parameters sent to the audio data transmitting device 135 include different physical channel configurations set to the audio data transmitting devices 131 and 133, so that the audio data receiving device 110 can establish different connections with the audio data transmitting device 135. The audio data receiving device 110 divides the audio data transmitting devices 131 and 133 into group A, and divides the audio data transmitting device 135 into group B. The audio data receiving device 110 ensures that the different physical channel configurations of group A and group B can allow any audio data transmitting device in group A and any audio data transmitting device in group B to tune to different physical channels at the same time interval.
[0057] In the extended normal mode, the audio data transmission device 135 occupies all data slots to transmit the audio data block and the associated CRC to the audio data receiving device 110. Similarly, each frame is first queued into the FIFO in the audio data transmission device 135 before being sent out, and a refresh timeout value is attached. The default time interval in the extended normal mode is twice the default time interval in the relay mode or the normal mode (such as 3ms) for calculating the refresh timeout value. For transmission in each data slot, the audio data transmission device 135 uses a channel access algorithm to determine the physical channel according to the physical channel configuration set by the audio data receiving device 110, and tunes to the determined physical channel. Under normal circumstances, when each data slot can be used to transmit a maximum of 75 bytes of data and the default time interval is set to 3ms, each frame in the extended normal mode can be transmitted to the audio data receiving device 110 six times under the control of the associated refresh timeout value.
[0058] The audio data receiving device 110 operates in an interleaved mode, and uses a channel access algorithm to determine a physical channel according to the physical channel configuration set to the audio data transmitting devices 131 and 133, and tunes to the determined physical channel to listen to data in half of the data slots in an interleaved manner, and uses a channel access algorithm to determine a physical channel according to the physical channel configuration set to the audio data transmitting device 135, and tunes to the determined physical channel to listen to data in the other half of the data slots in an interleaved manner. The operation technical details of the audio data receiving device 110 receiving data from the audio data transmitting devices of group A and group B in an interleaved manner will be discussed in the fourth scenario below.
[0059] In the fourth scenario, if three audio data transmitting devices are already connected to the audio data receiving device 110, the audio data receiving device 110 enters the interleaved mode, instructs the already connected audio data transmitting device (such as the audio data transmitting device 135) to change from the extended general mode to operate in the extended transit mode, and instructs the requested audio data transmitting device (such as the audio data transmitting device 137) to operate in the extended transit mode.
[0060] As shown in the third scenario, it is assumed that the audio data transmitting devices 131, 133 and 135 are already connected to the audio data receiving device 110, and the audio data transmitting device 137 (such as Figure 6 14. As shown in FIG. 14 , in order to establish a connection to transmit audio data, the audio data receiving device 110 is requested. The audio data receiving device 110 transmits the latest setting parameters (including the settings of the transmission mode and the data slot allocation) to the audio data transmitting device 135 in the control signal slot, so as to change the audio data transmitting device 135 to operate in the extended relay mode, wherein the transmission mode is set to the extended relay mode, and the data slot allocation indicates that the even-numbered data slots are allocated to the audio data transmitting device 135 and the odd-numbered data slots are allocated to the audio data transmitting device 137. It should be noted here that the starting data slot in each event is indicated as the zeroth data slot (i.e., the even-numbered data slot).
[0061] The audio data receiving device 110 replies the configuration parameters (including the same transmission mode and the same data slot allocation) to the audio data transmitting device 137, so that the audio data transmitting device 137 can be consistent with the audio data transmitting device 135 and operate in the extended relay mode. The configuration parameters sent to the audio data transmitting device 137 include the same physical channel configuration set to the audio data transmitting device 135, so that the audio data transmitting devices 131 and 133 can share one connection (also referred to as connection A), and the audio data transmitting devices 135 and 137 can share another connection (also referred to as connection B). The audio data receiving device 110 groups the audio data transmitting devices 131 and 133 into group A, and groups the audio data transmitting devices 135 and 137 into group B.
[0062] In the extended relay mode, the audio data transmission device 131 occupies half of the data slots in the connection A in an interleaved manner to transmit audio data to the audio data receiving device 110, and the audio data transmission device 133 occupies the other half of the data slots in the connection A in an interleaved manner to transmit audio data to the audio data receiving device 110. For transmission or reception in each data slot, the audio data transmission device 131 or 133 determines the physical channel using the channel access algorithm according to the physical channel configuration set by the audio data receiving device 110, and tunes to the determined physical channel. Similarly, the audio data transmission device 135 operates in the extended relay mode, occupies half of the data slots in the connection B in an interleaved manner to transmit audio data to the audio data receiving device 110, and the audio data transmission device 133 operates in the extended relay mode, occupies the other half of the data slots in the connection B in an interleaved manner to transmit audio data to the audio data receiving device 110. For transmission or reception in each data slot, the audio data transmitting device 135 or 137 determines the physical channel using the channel access algorithm with the physical channel configuration set by the audio data receiving device 110, and tunes to the determined physical channel. The default time interval in the extended relay mode is twice the default time interval (e.g., 3ms) in the relay mode or the normal mode for calculating the refresh timeout value. Normally, when each data slot can be used to transmit a maximum of 75 bytes of data and the default time interval is set to 3ms, each frame in the extended relay mode can be transmitted to the audio data receiving device 110 six times under the control of the associated refresh timeout value.
[0063] In order to make the audio data transmission more efficient, each of the audio data transmission devices 131, 133, 135 and 137, in addition to transmitting the frames created by itself, also relays the frames created by another audio data transmission device in the same group. The audio data receiving device 110 operates in an interleaved mode, and uses a channel access algorithm to determine a physical channel according to the physical channel configuration set to the audio data transmission devices 131 and 133, and tunes to the determined physical channel to listen to data in half of the data slots in an interleaved manner; and uses a channel access algorithm to determine a physical channel according to the physical channel configuration set to the audio data transmission devices 135 and 137, and tunes to the determined physical channel to listen to data in the other half of the data slots in an interleaved manner.
[0064] refer to Figure 6 The wireless transmission timing diagram shown is used to allow the audio data transmitting devices 131, 133, 135 and 137 to transmit audio data in the extended relay mode, and to allow the audio data receiving device 110 to receive audio data in the interleaved mode. Each event in each connection occurs at regular time intervals and includes six data slots and one control signal slot. Although Figure 6The reference numerals 611, 632, 613, 634, 615, 636, 651, 672, 653, 674, 655, 676 and 690 are used to indicate time slots (also called TX slots) used by a particular device to transmit data, but they can also represent corresponding RX slots. Figure 6 For the sake of simplicity, there are no marks in the figure. For example, the mark 611 not only indicates the data slot used by the audio data transmission device 131, but also indicates the data slot vertically aligned with the data slot 611 and used by the audio data transmission device 133 and the audio data receiving device 110. The mark 651 not only indicates the data slot used by the audio data transmission device 135, but also indicates the data slot vertically aligned with the data slot 651 and used by the audio data transmission device 137.
[0065] Regarding group A, in data slot 611, the audio data transmitting device 131 transmits an audio data block created by the audio data transmitting device 131 and its associated CRC (also called frame A, as shown by the square filled with diagonal lines) to the audio data receiving device 110. At the same time, the audio data transmitting device 133 jumps into the physical channel specified by the data slot 611 to listen to the data, and stores the listened data (theoretically including frame A) into the memory in the device. The payload of the media data packet P621 includes frame A. The header of the media data packet 621 records the following information: the device identification code of the audio data transmitting device 131, the frame identification code of frame A, the starting bit number of frame A in the payload, and the refresh timeout value attached to frame A. Frame A is transmitted to the audio data receiving device 110 for the first time in the data slot 611.
[0066] In the data slot 632, the audio data transmission device 133 transmits an audio data block created by the audio data transmission device 133 and its associated CRC (also called frame B, as shown by the dotted square) to the audio data receiving device 110, and transmits the data heard in the data slot 611 to the audio data receiving device 110. At the same time, the audio data transmission device 131 jumps into the physical channel specified by the data slot 632 to listen to the data, and stores the heard data (theoretically including frame B) into the memory in the device. The payload of the media data packet P622 includes frame A and frame B. The header of the media data packet P622 records the following information: the device identification code of the audio data transmission device 131, the frame identification code of frame A, the starting bit number of frame A in the payload, the refresh timeout value attached to frame A, the device identification code of the audio data transmission device 133, the frame identification code of frame B, the starting bit number of frame B in the payload, and the refresh timeout value attached to frame B. It should be noted here that, because frame A is created by itself, the audio data transmitting device 131 discards frame A heard in data slot 632. Frame A is transmitted to the audio data receiving device 110 for the second time in data slot 632, while frame B is transmitted to the audio data receiving device 110 for the first time in data slot 632.
[0067] In the data slot 613, the audio data transmission device 131 transmits frame A to the audio data receiving device 110, and transmits the data (theoretically including frame B) heard in the data slot 632 to the audio data receiving device 110. At the same time, the audio data transmission device 133 jumps into the physical channel specified by the data slot 613 to listen to the data, and stores the heard data (theoretically including frame A and frame B) in the memory in the device. The payload of the media data packet P623 includes frame A and frame B, and the header of the media data packet P623 records the information about frame A and frame B as described above. It should be noted here that the audio data transmission device 133 discards frame B heard in the data slot 613 because frame B is created by itself. Frame A is transmitted to the audio data receiving device 110 for the third time in the data slot 613, and frame B is transmitted to the audio data receiving device 110 for the second time in the data slot 613. The operations of the audio data transmission devices 131 and 133 in the data slots 634, 615, and 636 can be deduced from the above technical contents and will not be described in detail for the sake of simplicity.
[0068] Frame A is transmitted to the audio data receiving device 110 for the fourth, fifth, and sixth times in the data slots 634, 615, and 636 via media data packets P624, P625, and P626, respectively. Frame B is transmitted to the audio data receiving device 110 for the third, fourth, and fifth times in the data slots 634, 615, and 636 via media data packets P624, P625, and P626, respectively. Frame B is transmitted to the audio data receiving device 110 in the first data slot of the next regular time interval (not shown). Figure 6 ) is transmitted to the audio data receiving device 110.
[0069] The audio data transmitting device 131 regards the data slots 611, 613 and 615 as TX slots for transmitting data in the extended transit mode, while the audio data transmitting device 133 in the extended transit mode and the audio data receiving device 110 in the interleaved mode regard the data slots 611, 613 and 615 as RX slots for receiving data. The audio data transmitting device 133 regards the data slots 632, 634 and 636 as TX slots for transmitting data in the extended transit mode, while the audio data transmitting device 131 regards the data slots 632, 634 and 636 as RX slots for receiving data in the extended transit mode.
[0070] Regarding group B, in data slot 651, the audio data transmission device 135 transmits an audio data block created by the audio data transmission device 135 and its associated CRC (also called frame C, as shown by the square filled with backslashes) to the audio data receiving device 110. At the same time, the audio data transmission device 137 jumps into the physical channel specified by the data slot 651 to listen to the data, and stores the listened data (theoretically including frame C) into the memory in the device. The payload of the media data packet P641 includes frame C. The header of the media data packet P641 records the following information: the device identification code of the audio data transmission device 135, the frame identification code of frame C, the starting bit number of frame C in the payload, and the refresh timeout value attached to frame C. Frame C is transmitted to the audio data receiving device 110 for the first time in data slot 651.
[0071] In the data slot 672, the audio data transmission device 137 transmits an audio data block created by the audio data transmission device 137 and its associated CRC (also called frame D, as shown by the square filled with vertical lines) to the audio data receiving device 110, and transmits the data (including frame C) heard in the data slot 651 to the audio data receiving device 110. At the same time, the audio data transmission device 135 jumps into the physical channel specified by the data slot 672 to listen to the data, and stores the heard data (theoretically including frame D) into the memory in the device. The payload of the media data packet P642 includes frame C and frame D. The header of the media data packet P642 records the following information: the device identification code of the audio data transmission device 135, the frame identification code of frame C, the starting bit number of frame C in the payload, the refresh timeout value attached to frame C, the device identification code of the audio data transmission device 137, the frame identification code of frame D, the starting bit number of frame D in the payload, and the refresh timeout value attached to frame D. It should be noted here that, because frame C is created by itself, the audio data transmitting device 135 discards frame C heard in data slot 672. Frame C is transmitted to the audio data receiving device 110 for the second time in data slot 672, while frame D is transmitted to the audio data receiving device 110 for the first time in data slot 672.
[0072] In the data slot 653, the audio data transmission device 135 transmits frame C to the audio data receiving device 110, and transmits the data (theoretically including frame D) heard in the data slot 672 to the audio data receiving device 110. At the same time, the audio data transmission device 137 jumps into the physical channel specified by the data slot 653 to listen to the data, and stores the heard data (theoretically including frame C and frame D) in the memory in the device. The payload of the media data packet P643 includes frame C and frame D, and the header of the media data packet P643 records the information about frame C and frame D as described above. It should be noted here that because frame D is created by itself, the audio data transmission device 137 discards frame D heard in the data slot 653. Frame C is transmitted to the audio data receiving device 110 for the third time in the data slot 653, and frame D is transmitted to the audio data receiving device 110 for the second time in the data slot 653. The operations of the audio data transmission devices 135 and 137 in the data slots 674, 655, and 676 can be inferred from the above-mentioned technical contents, and will not be described in detail for the sake of simplicity.
[0073] Frame C is transmitted to the audio data receiving device 110 for the fourth, fifth, and sixth times in data slots 674, 655, and 676 via media data packets P644, P645, and P646, respectively. Frame D is transmitted to the audio data receiving device 110 for the third, fourth, and fifth times in data slots 674, 655, and 676 via media data packets P644, P645, and P646, respectively. Frame D is transmitted to the audio data receiving device 110 in the first data slot of the next regular time interval (not shown). Figure 6 ) is transmitted to the audio data receiving device 110.
[0074] The audio data transmitting device 135 regards the data slots 651, 653 and 655 as TX slots for transmitting data in the extended transit mode, while the audio data transmitting device 137 regards the data slots 651, 653 and 655 as RX slots for receiving data in the extended transit mode. The audio data transmitting device 137 regards the data slots 672, 674 and 676 as TX slots for transmitting data in the extended transit mode, while the audio data transmitting device 131 in the extended transit mode and the audio data receiving device 110 in the interleaved mode regard the data slots 672, 674 and 676 as RX slots for receiving data.
[0075] The audio data receiving device 110 may transmit the latest configuration parameters of subsequent events to the audio data transmitting devices 131, 133, 135, and 137 in the control signal slot 690, such as a new key, a new physical channel configuration, etc. The audio data receiving device 110 regards the control signal slot 690 as a TX slot for transmitting the latest configuration parameters, while the audio data transmitting devices 131, 133, 135, and 137 regard the control signal slot 690 as an RX slot for receiving the latest configuration parameters.
[0076] Since the audio data receiving device 110 is equipped with a single RF module to receive data from the four audio data transmitting devices 131, 133, 135 and 137, the audio data receiving device 110 listens to specific physical channels for connections A and B in an interleaved manner. In detail, the audio data receiving device 110 sequentially listens to the physical channel specified by data slot 611 for connection A, the physical channel specified by data slot 672 for connection B, the physical channel specified by data slot 613 for connection A, the physical channel specified by data slot 674 for connection B, and so on. As a result, frame A is received by the audio data receiving device 110 for the first time in data slot 611. Frame C and frame D are received by the audio data receiving device 110 for the first time in data slot 672. Frame B is received by the audio data receiving device 110 for the first time in data slot 613, and frame A is received by the audio data receiving device 110 for the second time in data slot 613. Frame C and frame D are received by the audio data receiving device 110 for the second time in data slot 674. Frame B is received by the audio data receiving device 110 for the second time at data slot 615, and frame A is received by the audio data receiving device 110 for the third time at data slot 615. Frame C and frame D are received by the audio data receiving device 110 for the third time at data slot 676. The process performed by the audio data transmitting devices 131, 133, 135, and 137 for acquiring data created by another audio data transmitting device in the same group and transmitting the received data to the data receiving device 110 is called a relay process.
[0077] Similarly, the audio data collection device includes a microphone and an ADC in addition to the audio data transmission device 135 to continuously generate audio data. The processing unit 242 of the audio data transmission device 135 generates frame C by applying a similar procedure to the audio data created by the ADC of the audio data collection device when loading and executing the relevant firmware code, software code, or both. The audio data collection device includes a microphone and an ADC in addition to the audio data transmission device 137 to continuously generate audio data. The processing unit 242 of the audio data transmission device 137 generates frame D by applying a similar procedure to the audio data created by the ADC of the audio data collection device when loading and executing the relevant firmware code, software code, or both.
[0078] The following is an embodiment of a method for performing tasks in each data slot, which is implemented by the processing unit of the audio data transmission device (such as the processing unit 242 of the audio data transmission device 131, 133, 135 or 137) when loading and executing relevant firmware code, software code or both to perform operations in the transfer mode or extended transfer mode. It should be noted here that, unless otherwise specified, in Figure 7The RF module 220, MODEM 230, processing unit 242 and memory 244 described in the associated paragraphs are installed in the corresponding audio data transmission device (such as the audio data transmission device 131, 133, 135 or 137). Figure 7 Detailed steps shown:
[0079] Step S710: Determine whether the data slot is a TX slot or a RX slot according to the latest setting information obtained from the audio data receiving device 110. If the data slot is a TX slot, the process continues with the processing of step S731; otherwise, the process continues with the processing of step S751.
[0080] Step S731: Get the available frame (i.e., the first available frame) from the top of the FIFO. The first available frame is the frame created by the audio data transmission device. It should be noted here that any expired frame (i.e., the refresh timeout value accompanying the frame is earlier than or equal to the start time of the data slot) will be discarded from the top of the FIFO.
[0081] Step S733: If present, read the available frame (i.e., the second available frame) obtained in the previous RX slot from the memory 244. The second available frame is a frame created by other audio data transmitting devices. It should be noted here that any expired frame (i.e., the refresh timeout value accompanying the frame is earlier than or equal to the start time of this data slot) will be discarded from the memory 244.
[0082] It should be noted that the available frames described in steps S731 and S733 represent frames whose attached refresh timeout values are later than the start time of the data slot.
[0083] Step S735: Drive the MODEM 230 and the RF module 220 to transmit a media data packet on the physical channel specified by the data slot, the media data packet including the first available frame and (if any) the second available frame. For data transmission, the processing unit 242 encapsulates the first available frame and (if any) the second available frame into a payload of a media data packet. The processing unit 242 may fill a guard pattern between the first available frame and the second available frame. The processing unit 242 generates a header of the media data packet to record the following information: the frame identification code of the first available frame and the second available frame, the device identification code of the audio data transmission device that creates the first available frame and the second available frame, the starting bit number of the first available frame and the second available frame in the payload, and the refresh timeout value attached to the first available frame and the second available frame.
[0084] Step S751: Drive the MODEM 230 and the RF module 220 to tune to the physical channel specified by the data slot to obtain data from other audio data transmission devices.
[0085] Step S753: Store the acquired data into the memory 244.
[0086] The following is an embodiment of a method for performing tasks in each data slot, which is implemented by the processing unit 242 of the audio data receiving device 110 when loading and executing relevant firmware code, software code, or both. It should be noted here that, unless otherwise specified, in Figure 8 The RF module 220, MODEM 230, processing unit 242 and memory 244 described in the associated paragraphs are installed in the audio data receiving device 110. Figure 8 Detailed steps shown:
[0087] Step S810: Determine whether the audio data receiving device 110 is operating in the normal mode or the interleaved mode. If the audio data receiving device 110 is operating in the normal mode, the process continues with the processing of step S830. If the audio data receiving device 110 is operating in the interleaved mode, the process continues with the processing of step S851.
[0088] Step S830: According to the physical channel configuration set to the audio data transmission device, the MODEM 230 and the RF module 220 are driven to tune to the physical channel specified by the data slot to obtain data.
[0089] Step S851: Determine whether the data slot corresponds to group A or group B. If the data slot corresponds to group A, the process continues with step S853. If the data slot corresponds to group B, the process continues with step S855.
[0090] Step S853: According to the physical channel configuration set to the audio data transmission device in group A, the MODEM 230 and the RF module 220 are driven to tune to the physical channel specified by the data slot to obtain data.
[0091] Step S855: According to the physical channel configuration set to the audio data transmission device in group B, drive the MODEM 230 and the RF module 220 to tune to the physical channel specified by the data slot to obtain data.
[0092] In each of steps S830, S853 and S855, the processing unit 242 obtains the header and payload of the media data packet from the data listened to on the tuned physical channel. The processing unit 242 parses the header to learn how many frames there are in the media data packet, the refresh timeout value attached to each frame, and the starting bit number of each frame in the payload, and obtains a block of audio data and the associated CRC in each frame.
[0093] In step S870, each frame that passes the error checking algorithm is stored in the memory 244. It should be noted that this step will discard each frame that fails to pass the check. The stored frames can be fed into a specific application (such as a multimedia video recorder, audio player, etc.) for processing.
[0094] All or part of the steps in the method described in the present invention can be implemented by a computer program, such as a hardware driver, a program code of a digital signal processor (DSP) in a specific programming language. In addition, it can also be implemented in other types of programs as shown above. A person skilled in the art can write the method of the embodiment of the present invention into a program code, which will not be described for simplicity. The computer program implemented according to the method of the embodiment of the present invention can be stored in an appropriate computer-readable storage medium, or can be placed on a network server that can be accessed through a network (e.g., the Internet, or other appropriate media).
[0095] Computer-readable storage media include volatile and non-volatile, removable and non-removable media that implement the storage of information, such as computer-readable instructions, data structures, program modules, or other data, in any method or technology. Computer-readable storage media include but are not limited to RAM, ROM, EEPROM, flash memory or other memory, CD-ROM, DVD, Blu-ray disc or other optical storage media, magnetic cards, magnetic tapes, hard disks or other magnetic storage media, or other carriers that can be used to store information required and accessed by the instruction execution system. It should be noted that the computer-readable storage medium can be paper or other suitable media for printing program code so that its program code can be obtained electronically, such as by optically scanning paper or other media, and then, if necessary, compiled, interpreted or processed in other suitable ways, and then stored in the computer's memory.
[0096] Although Figure 2 The components described above are included, but it does not exclude the use of more additional components to achieve better technical effects without violating the spirit of the invention. Figure 7 , Figure 8 The flowchart is executed in a specified order, but without violating the spirit of the invention, a person skilled in the art can modify the order of these steps while achieving the same effect, so the present invention is not limited to using only the order described above. In addition, a person skilled in the art can also integrate several steps into one step, or execute more steps sequentially or in parallel in addition to these steps, and the present invention should not be limited thereto.
[0097] The above description is only a preferred embodiment of the present invention, but it is not intended to limit the scope of the present invention. Any person familiar with the present technology can make further improvements and changes on this basis without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be based on the scope defined by the claims of this application.
Claims
1. A method for transmitting wireless multi-source data packets, executed by a processing unit of a first audio data transmitting device, characterized in that: The method for transmitting wireless multi-source data packets comprises: acquiring a data slot allocation setting for data transmission from an audio data receiving device, wherein the data slot allocation setting indicates that a first data slot is allocated to a second audio data transmitting device and a second data slot is allocated to the first audio data transmitting device; tuning to a first physical channel in the first data slot to acquire a first frame from the second audio data transmitting device, wherein the first frame includes a first audio data block created by the second audio data transmitting device; Acquire a second frame, wherein the second frame includes a second audio data block created by the first audio data transmitting device; encapsulating the first frame and the second frame into a payload of a media data packet; and In the second data slot, the media data packet is transmitted to the audio data receiving device on a second physical channel.
2. The method for transmitting wireless multi-source data packets according to claim 1, characterized in that: Also includes: storing the first frame in a memory; as well as Prior to generating the media data packet, the first frame is read from the memory.
3. The method for transmitting wireless multi-source data packets according to claim 1, characterized in that: The audio data receiving device acts as a master device for controlling the timing and physical channel of data packet transmission performed by the first audio data transmitting device and the second audio data transmitting device, and the first audio data transmitting device and the second audio data transmitting device act as slave devices.
4. The method for transmitting wireless multi-source data packets according to claim 1, characterized in that: The first audio data transmitting device or the second audio data transmitting device is installed in a handheld, head-mounted or collar-type wireless digital microphone.
5. The method for transmitting wireless multi-source data packets according to claim 1, characterized in that: A first refresh timeout value is attached to the first frame, and the first refresh timeout value is later than the start time of the second data slot. A second refresh timeout value is attached to the second frame, and the second refresh timeout value is later than the start time of the second data slot.
6. The method for transmitting wireless multi-source data packets according to claim 5, characterized in that: Also includes: A third frame to which a third refresh timeout value is attached is discarded, wherein the third refresh timeout value is earlier than the start time of the second data slot, so that the third frame cannot be transmitted in the second data slot.
7. The method for transmitting wireless multi-source data packets according to claim 1, characterized in that: The header of the media data packet records the following information: the first device identification code of the first audio data transmission device that initially provides the second frame, the second device identification code of the second audio data transmission device that initially provides the first frame, the first starting bit number of the first frame in the payload of the media data packet, and the second starting bit number of the second frame in the payload of the media data packet.
8. A computer-readable storage medium for storing a computer program executable by a processing unit, characterized in that: When the computer program is executed by the processing unit, the method for transmitting wireless multi-source data packets according to any one of claims 1 to 7 is implemented.
9. A device for transmitting wireless multi-source data packets, arranged in a first audio data transmitting device, characterized in that: The device for transmitting wireless multi-source data packets comprises: Processing unit, set to: acquiring a data slot allocation setting for data transmission from an audio data receiving device, wherein the data slot allocation setting indicates that a first data slot is allocated to a second audio data transmitting device and a second data slot is allocated to the first audio data transmitting device; driving a radio frequency module and a modem to tune to a first physical channel in the first data slot for acquiring a first frame from the second audio data transmitting device, wherein the first frame includes a first audio data block created by the second audio data transmitting device; Acquire a second frame, wherein the second frame includes a second audio data block created by the first audio data transmitting device; encapsulating the first frame and the second frame into a payload of a media data packet; and The RF module and the modem are driven to transmit the media data packet to the audio data receiving device on a second physical channel in the second data slot.
10. The device for transmitting wireless multi-source data packets according to claim 9, characterized in that: The audio data receiving device acts as a master device for controlling the timing and physical channel of data packet transmission performed by the first audio data transmitting device and the second audio data transmitting device, and the first audio data transmitting device and the second audio data transmitting device act as slave devices.
11. The device for transmitting wireless multi-source data packets according to claim 9, characterized in that: The first audio data transmitting device or the second audio data transmitting device is installed in a handheld, head-mounted or collar-type wireless digital microphone.
12. The device for transmitting wireless multi-source data packets according to claim 9, characterized in that: A first refresh timeout value is attached to the first frame, and the first refresh timeout value is later than the start time of the second data slot. A second refresh timeout value is attached to the second frame, and the second refresh timeout value is later than the start time of the second data slot.
13. The device for transmitting wireless multi-source data packets according to claim 12, characterized in that: The processing unit is configured to discard a third frame appended with a third refresh timeout value, wherein the third refresh timeout value is earlier than the start time of the second data slot, so that the third frame cannot be transmitted in the second data slot.
14. The device for transmitting wireless multi-source data packets according to claim 9, characterized in that: The header of the media data packet records the following information: the first device identification code of the first audio data transmission device that initially provides the second frame, the second device identification code of the second audio data transmission device that initially provides the first frame, the first starting bit number of the first frame in the payload of the media data packet, and the second starting bit number of the second frame in the payload of the media data packet.
15. A method for receiving wireless multi-source data packets, executed by a processing unit of an audio data receiving device, characterized in that: The method for receiving wireless multi-source data packets comprises: transmitting a first data slot allocation setting for data transmission to a first audio data transmitting device, wherein the first data slot allocation setting indicates that the first data slot is allocated to the second audio data transmitting device and the second data slot is allocated to the first audio data transmitting device; transmitting a first transmission mode set to a specific mode and a first physical channel configuration to the first audio data transmitting device, so that the first audio data transmitting device can transfer a first frame heard in the first data slot to the audio data receiving device, wherein the first frame includes a first audio data block created by the second audio data transmitting device; and In the second data slot, the first physical channel is tuned to receive a first media data packet from the first audio data transmission device, wherein the first media data packet includes a first payload, the first payload carries the first frame and a second frame, and the second frame includes a second audio data block created by the first audio data transmission device.
16. The method for receiving wireless multi-source data packets according to claim 15, characterized in that: Also includes: Parsing the header of the first media data packet to obtain a first start bit number of the first frame and a second start bit number of the second frame in the first payload of the first media data packet; as well as The first frame and the second frame are obtained from the first payload of the first media data packet.
17. The method for receiving wireless multi-source data packets according to claim 15, characterized in that: Also includes: transmitting a second data slot allocation setting for data transmission to a third audio data transmitting device, wherein the second data slot allocation setting indicates that the third data slot is allocated to a fourth audio data transmitting device and the fourth data slot is allocated to the third audio data transmitting device; transmitting the second transmission mode set to the specific mode and the second physical channel configuration to the third audio data transmitting device, so that the third audio data transmitting device can transfer the third frame heard in the third data slot to the audio data receiving device, wherein the third frame includes the third audio data block created by the fourth audio data transmitting device; and tuning to a second physical channel in the fourth data slot to receive a second media data packet from the third audio data transmitting device, wherein the second media data packet includes a second payload, the second payload carries the third frame and a fourth frame, the fourth frame includes a fourth audio data block created by the third audio data transmitting device, The first physical channel configuration is different from the second physical channel configuration, so as to allow the first audio data transmitting device and the second audio data transmitting device to share a first connection, and allow the third audio data transmitting device and the fourth audio data transmitting device to share a second connection.
18. A computer-readable storage medium for storing a computer program executable by a processing unit, characterized in that: When the computer program is executed by the processing unit, the method for receiving wireless multi-source data packets according to any one of claims 15 to 17 is implemented.
19. A device for receiving wireless multi-source data packets, arranged in an audio data receiving device, characterized in that: The device for receiving wireless multi-source data packets comprises: Processing unit, set to: transmitting a first data slot allocation setting for data transmission to a first audio data transmitting device, wherein the first data slot allocation setting indicates that the first data slot is allocated to the second audio data transmitting device and the second data slot is allocated to the first audio data transmitting device; transmitting a first transmission mode set to a specific mode and a first physical channel configuration to the first audio data transmitting device, so that the first audio data transmitting device can transfer a first frame heard in the first data slot to the audio data receiving device, wherein the first frame includes a first audio data block created by the second audio data transmitting device; and The RF module and the modem are driven to tune to the first physical channel in the second data slot for receiving a first media data packet from the first audio data transmitting device, wherein the first media data packet includes a first payload, the first payload carries the first frame and the second frame, and the second frame includes a second audio data block created by the first audio data transmitting device.
20. The device for receiving wireless multi-source data packets according to claim 19, characterized in that: The processing unit is configured to: Parsing the header of the first media data packet to obtain a first start bit number of the first frame and a second start bit number of the second frame in the first payload of the first media data packet; as well as The first frame and the second frame are obtained from the first payload of the first media data packet.
21. The device for receiving wireless multi-source data packets according to claim 19, characterized in that: The processing unit is configured to: transmitting a second data slot allocation setting for data transmission to a third audio data transmitting device, wherein the second data slot allocation setting indicates that the third data slot is allocated to a fourth audio data transmitting device and the fourth data slot is allocated to the third audio data transmitting device; transmitting the second transmission mode set to the specific mode and the second physical channel configuration to the third audio data transmitting device, so that the third audio data transmitting device can transfer the third frame heard in the third data slot to the audio data receiving device, wherein the third frame includes the third audio data block created by the fourth audio data transmitting device; and driving the RF module and the modem to tune to the second physical channel in the fourth data slot to receive a second media data packet from the third audio data transmitting device, wherein the second media data packet includes a second payload, the second payload carries the third frame and the fourth frame, and the fourth frame includes a fourth audio data block created by the third audio data transmitting device, The first physical channel configuration is different from the second physical channel configuration, so as to allow the first audio data transmitting device and the second audio data transmitting device to share a first connection, and allow the third audio data transmitting device and the fourth audio data transmitting device to share a second connection.