Time slot allocation method of wireless microphone system, audio equipment and storage medium

CN123021379APending Publication Date: 2026-10-30HENGXUAN TECH (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611302358.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-26
Publication Date
2026-10-30

AI Technical Summary

Technical Problem

[0005]鉴于此,本申请提供一种无线麦克风系统的时隙分配方法及音频设备、存储介质,至少可以改善音频时隙长度固定及系统资源紧张时可支持的活跃态发射端数量受限的问题

Benefits of technology

[0025]如上所述,本申请通过在保留时隙区中设置长音频时隙(即第一时隙)和短音频时隙(即第二时隙),并根据资源压力选择不同类型的音频时隙,使系统能够在资源宽松时提供较高音质或较强冗余保护,以提升音频传输质量,在资源紧张时提高可支持的活跃态发射端的数量。同时,通过将音频时隙设计为长音频时隙和短音频时隙这两个固定类别(例如可以满足整数倍数关系),有利于降低资源管理复杂度,改善音频时隙碎片化分配,并简化时隙切换控制。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123021379A_ABST
    Figure CN123021379A_ABST
Patent Text Reader

Abstract

The application provides a time slot allocation method of a wireless microphone system, an audio device and a storage medium. The method comprises the following steps: configuring a reserved time slot area in each cycle of audio transmission; acquiring the state of a transmitting end of an established wireless link, including an active state and an inactive state; acquiring the resource pressure of the reserved time slot area; allocating an audio time slot to the transmitting end in the active state in the reserved time slot area according to the resource pressure, wherein the audio time slot comprises a first time slot and a second time slot, and the time length of the first time slot is greater than that of the second time slot; and switching the audio time slot allocated to the transmitting end in the active state between the first time slot and the second time slot according to the resource pressure. Based on the method, the length of the audio time slot occupied by the transmitting end in the active state can be flexibly adjusted, so as to balance the audio transmission quality and the number of the transmitting end in the active state that can be supported by the system, and it is beneficial to avoid the fragmentation of the audio time slot allocation and the global disturbance to all the transmitting ends in the active state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless microphone systems and audio transmission technology, specifically to a time slot allocation method for a wireless microphone system, as well as audio devices and storage media. Background Technology

[0002] A wireless microphone system consists of a receiver and a transmitter, which transmit audio data via a wireless link. For example, audio data collected by the transmitter is sent to the receiver via the wireless link. For applications such as stage performances, conference sound reinforcement, and program production, wireless microphone services typically require real-time audio transmission, low latency, periodic transmission, and high requirements for transmission continuity and stability. To meet these requirements, wireless microphone systems usually employ a periodic time-slot transmission mechanism. Within each recurring cycle, a reserved time slot is allocated for the transmitter, allowing it to transmit audio data according to predetermined time slots (also known as audio time slots) within the reserved time slot, rather than relying entirely on random contention for access.

[0003] In multi-transmitter scenarios, if a fixed-length dedicated audio time slot is reserved for each transmitter in the long term, even if some transmitters are muted or not speaking, they will still continuously occupy time slot resources within the reserved time slot area, thus reducing overall resource utilization. Therefore, existing solutions typically allocate audio time slots only to active transmitters, while not reserving dedicated audio time slots for inactive transmitters in the long term, thereby reducing the waste of idle resources. However, even when allocating audio time slots only to active transmitters, the length and configuration of audio time slots in existing solutions are usually still relatively fixed. When time slot resources are plentiful, fixed-length audio time slots, while providing higher audio quality or stronger redundancy, consume more time domain resources; and when multiple transmitters may activate successively or the available time slots gradually decrease, fixed-length audio time slots limit the number of active transmitters the system can support. On the other hand, for real-time audio services such as wireless microphones, audio time slots are generally not suitable for excessive fragmentation. Splitting the audio time slots of the same transmitter into multiple non-contiguous small segments may lead to problems such as increased guard interval occupancy, synchronization switching complexity, control signaling length, RF switching and baseband scheduling complexity, and receiver buffer splicing and timing control complexity. It may also increase jitter risk and affect the stability of real-time audio services. In addition, if all active transmitters are globally reconfigured simultaneously when system resources change, new scheduling information needs to be sent to multiple transmitters at the same time, which not only increases control overhead but also increases the risk of service disturbances caused by wireless transmission failures or inconsistencies in understanding.

[0004] Therefore, it is evident that, under the premise of minimizing fragmented allocation of audio time slots and global perturbation of all active transmitters, the length of audio time slots occupied by active transmitters can be flexibly adjusted to balance audio transmission quality and the number of active transmitters that the system can support, which has become an urgent technical problem to be solved. Summary of the Invention

[0005] In view of this, this application provides a time slot allocation method for a wireless microphone system, as well as an audio device and storage medium, which can at least improve the problems of fixed audio time slot length and limited number of active transmitters that can be supported when system resources are tight.

[0006] This application provides a time slot allocation method for a wireless microphone system, the wireless microphone system including a receiver and multiple transmitters, wherein the receiver and transmitters transmit audio via a wireless link; the method includes: Configure reserved time slots in each cycle of audio transmission; Obtain the status of the transmitter with an established wireless link, including active and inactive states; Obtain the resource pressure of the reserved time slot region; According to the resource pressure, audio time slots are allocated to transmitters active in the reserved time slot region to allow them to transmit audio data within the allocated audio time slots. The audio time slots include a first time slot and a second time slot, with the duration of the first time slot being greater than the duration of the second time slot. Based on the resource pressure, the audio time slot allocated to the active transmitter is switched between the first time slot and the second time slot.

[0007] Optionally, the duration of the first time slot is an integer multiple of the duration of the second time slot.

[0008] Optionally, the first time slot is used to carry more audio data and / or more redundant protection data compared to the second time slot. Optionally, the redundant protection data includes at least one of duplicated data, forward error correction data, and redundant copies of the main audio data.

[0009] Optionally, obtaining the resource pressure of the reserved time slot region includes at least one of the following: The number of currently available audio slots; The percentage of currently available audio slots; The number of active transmitters currently; The number of transmitters to be activated, wherein the transmitters to be activated are transmitters that have sent an activation request to the receiver but have not received resource authorization information containing audio time slots from the receiver.

[0010] Optionally, the resource pressure is divided into multiple levels; the allocation of audio time slots to the active transmitters in the reserved time slot region according to the resource pressure includes: When the resource pressure is at least at the lowest level, the first time slot is allocated to the active transmitter within the reserved time slot area; Alternatively, when the resource pressure is at at least the highest level, the second time slot is allocated to the active transmitter within the reserved time slot region.

[0011] Optionally, the method further includes: Detect the number of transmitters to be activated; When the number of transmitters to be activated reaches a first preset threshold, the resource pressure level is increased by one level.

[0012] Optionally, switching the audio time slot allocated to the active transmitter between the first time slot and the second time slot based on the resource pressure includes: When the resource pressure meets the first switching condition, the audio time slot of one or more active transmitters is switched from the first time slot to the second time slot; When the resource pressure meets the second switching condition, the audio time slot of one or more active transmitters is switched from the second time slot to the first time slot.

[0013] Optionally, when the receiving end receives a new activation request and the currently available audio time slots are insufficient to allocate audio time slots to the transmitting end that issued the activation request, the receiving end selects at least one transmitting end that is already active and currently using the first time slot, and adjusts its corresponding first time slot to the second time slot to release time slot resources.

[0014] Optionally, the receiving end selects the active transmitter currently using the first time slot in turn, and adjusts its corresponding first time slot to the second time slot in turn, until the released time slot resources meet the allocation requirements corresponding to the activation request.

[0015] Optionally, the first switching condition includes at least one of the following: The level of resource pressure has increased. The number of currently idle audio slots is lower than the second preset threshold; The percentage of currently idle audio slots is lower than the third preset threshold; Upon receiving a new activation request from the transmitter, the currently available audio time slots are insufficient to allocate audio time slots to the transmitter. The number of transmitters to be activated has reached the fourth preset threshold.

[0016] Optionally, the second switching condition includes at least one of the following: The level of resource pressure has been reduced. The number of currently idle audio time slots is higher than a fifth preset threshold, which is greater than the second preset threshold; The proportion of currently idle audio slots is higher than a sixth preset threshold, and the sixth preset threshold is greater than the third preset threshold; Upon receiving a new activation request from the transmitter, the currently available audio time slots are sufficient to allocate audio time slots to the transmitter; The number of transmitters to be activated is less than the seventh preset threshold, which is less than the fourth preset threshold.

[0017] Optionally, when the resource pressure meets the first switching condition or the second switching condition, audio time slot switching is performed sequentially for each transmitter. After switching each transmitter, the resource pressure of the reserved time slot area is reacquired, and the audio time slot switching is performed for the next active transmitter based on the reacquired resource pressure.

[0018] Optionally, the active transmitter is selected according to preset information, and the audio time slot is switched for the selected active transmitter. The preset information includes at least one of link quality and service priority.

[0019] Optionally, switching the audio time slot allocated to the active transmitter between the first time slot and the second time slot includes: Within the current cycle, information indicating the switching of audio time slots is sent out so that the active transmitter can complete the switching of audio time slots in the next cycle or the nth subsequent cycle; If the active transmitter fails to receive the information, the active transmitter continues to perform audio transmission for at least one cycle using the audio time slot indicated by the previous valid resource grant information until a new valid resource grant information is received.

[0020] Optionally, the audio time slots allocated to transmitters in the same active state within one cycle are continuous time-domain resources.

[0021] This application provides a time slot allocation method for a wireless microphone system, the wireless microphone system including a receiver and multiple transmitters, wherein the receiver and transmitters transmit audio via a wireless link, and the method includes: Receive resource authorization information sent by the receiving end; Identify the type of audio time slot indicated by the resource authorization information, wherein the audio time slot includes a first time slot and a second time slot, and the duration of the first time slot is greater than the duration of the second time slot; Audio data transmission is performed based on the type of audio slot indicated by the resource authorization information.

[0022] This application provides an audio device, including a first processor and a first memory, wherein the first memory stores a first program, and when the first processor executes the first program, it implements the steps of the time slot allocation method of the wireless microphone system as described in any of the preceding claims.

[0023] This application provides an audio device including a second processor and a second memory. The second memory stores a second program, which, when executed by the second processor, implements the steps of the time slot allocation method of the wireless microphone system described above.

[0024] This application provides a storage medium storing a computer program, which, when executed by a processor, implements the steps of the time slot allocation method for the wireless microphone system as described in any of the preceding claims.

[0025] As described above, this application, by setting long audio time slots (i.e., the first time slot) and short audio time slots (i.e., the second time slot) in the reserved time slot area, and selecting different types of audio time slots according to resource pressure, enables the system to provide higher sound quality or stronger redundancy protection when resources are abundant, thereby improving audio transmission quality, and increasing the number of active transmitters that can be supported when resources are scarce. Simultaneously, by designing the audio time slots into two fixed categories—long audio time slots and short audio time slots (e.g., satisfying an integer multiple relationship)—it helps reduce resource management complexity, improves the fragmented allocation of audio time slots, and simplifies time slot switching control.

[0026] In addition, this application can allocate audio time slots of continuous time domain resources to transmitters in the same active state within one cycle, so that transmitters in the same active state can occupy continuous time domain resources within one cycle, which can reduce the number of guard intervals and cross-segment synchronization control overhead, and improve the stability of real-time audio transmission.

[0027] Furthermore, when resource pressure meets the switching conditions, this application switches the audio time slots of at least one active transmitter in a sequential manner. For example, when resources are scarce, the audio time slot of only one active transmitter is switched from a long audio time slot to a short audio time slot at a time. After the switch, the resource pressure of the reserved time slot area is reacquired, and the decision on whether to switch the audio time slot of the next active transmitter from a long audio time slot to a short audio time slot is made based on the reacquired resource pressure, instead of uniformly reconfiguring all active transmitters. This reduces control overhead and reduces service disturbance. Attached Figure Description

[0028] Figure 1 This is a schematic flowchart of a time slot allocation method according to an embodiment of this application; Figure 2 This is a schematic diagram illustrating the interaction between the receiving end and the transmitting end in an embodiment of this application; Figure 3 This is a comparative schematic diagram of a long audio time slot and a short audio time slot according to an embodiment of this application; Figure 4 This is a flowchart illustrating a time slot allocation method according to another embodiment of this application; Figure 5 This is a schematic diagram of the receiver end of a wireless microphone system according to an embodiment of this application; Figure 6 This is a schematic diagram of the transmitter of a wireless microphone system according to an embodiment of this application. Detailed Implementation

[0029] To address the aforementioned technical problems, this application provides a time slot allocation method for a wireless microphone system, as well as an audio device and a storage medium. These protected subjects are based on the same concept, and the principles for solving the problems are basically the same or similar. The implementation methods of each protected subject can be referred to mutually, and repeated details will not be elaborated.

[0030] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly described below in conjunction with specific embodiments and corresponding drawings. Obviously, the embodiments described below are only a part of the embodiments of this application, and not all of them. Unless otherwise specified, the following embodiments and their technical features can be combined with each other, and also belong to the technical solutions of this application.

[0031] Figure 1This is a flowchart illustrating a time slot allocation method according to an embodiment of this application. The time slot allocation method can also be called a "method" or "allocation method," and it is applicable to a wireless microphone system including a receiver and multiple transmitters (also referred to as "microphone transmitters"). Audio transmission between the receiver and any transmitter occurs via a wireless link; for example, audio data collected by each transmitter is sent to the receiver via the wireless link. The receiver is the core of the wireless microphone system, responsible for receiving and processing audio signals from at least one transmitter. Depending on the application scenario, the receiver can be any of the following specific physical devices: a dedicated wireless receiver, such as various "wireless receivers" or "desktop receivers"; a portable / mobile device receiver, such as a mini receiver or compact receiver that can be directly plugged into a mobile phone (e.g., USB Type-C or Lightning interface); or a device with an integrated audio interface, such as a professional mixing console, camera, or computer sound card. The transmitter is responsible for picking up sound and sending it to the receiver. The transmitter can be any of the following specific physical devices: a handheld transmitter, a waist bag transmitter, a desktop / stand transmitter, a clip-on transmitter, etc.

[0032] The wireless link can be a time-division multiplexing (TDM) wireless link. In some examples, the wireless link can be based on WiFi, but not using the usual contention-based WiFi audio transmission method. Instead, it is adapted so that different transmitters send audio data according to predetermined time slots configured by the receiver. In other words, some physical layer capabilities or protocol mechanisms of WiFi can be reused to implement the wireless link, but the transmitter access method adopts a time-slotted transmission method for real-time audio services of wireless microphones. In addition, the wireless link can also use other wireless methods suitable for real-time audio transmission, such as wireless links based on dedicated short-range technologies, time-division multiplexing wireless audio links, or other wireless communication methods that support reserved time-slot transmission mechanisms. This application does not limit this.

[0033] Figure 2 This is a schematic diagram illustrating the interaction between the receiving end and the transmitting end in an embodiment of this application. It should be noted that... Figure 2 The example shown here is a single transmitter interacting with a receiver. In real-world scenarios, multiple transmitters and receivers may interact, and the interaction process between each transmitter and receiver may be the same or similar. Figure 1 The receiving end can be the entity executing each step of the time slot allocation method. Please refer to the following: Figure 1 and Figure 2 As shown, the time slot allocation method includes at least the following steps S1 to S5.

[0034] S1: Configure reserved time slots in each cycle of audio transmission; S2: Obtain the status of the transmitter with the established wireless link, including active and inactive states; S3: Acquire the resource pressure of the reserved time slot area; S4: Based on the resource pressure, allocate audio time slots to transmitters that are active in the reserved time slot area to allow them to transmit audio data within the allocated audio time slots. The audio time slots include a first time slot and a second time slot, and the duration of the first time slot is greater than the duration of the second time slot; and S5: Based on the resource pressure, the audio time slot allocated to the active transmitter is switched between the first time slot and the second time slot.

[0035] It should be noted that although this article uses step numbers such as S1 and S2, their purpose is to more clearly and concisely describe the corresponding content, and does not constitute a substantial restriction on the order. In specific implementation, those skilled in the art may execute some steps with larger numbers first and then some steps with smaller numbers according to actual needs. For example, when this method is executed for the first time, step S4 is executed first to allocate audio time slots to the active transmitter. Then, as audio transmission proceeds, the resource pressure of the reserved time slot area will change, so step S3 needs to be executed again to obtain the resource pressure again. Then, step S5 is executed according to the obtained resource pressure to perform audio time slot switching. In this process, once a new transmitter establishes a wireless link with the receiver, step S2 will be executed again for the new transmitter. After determining that it is an active transmitter, step S4 will be executed to allocate audio time slots to the new active transmitter. All of these are within the protection scope of this application.

[0036] In the example of this application, the receiver and each transmitter communicate wirelessly according to a recurring cycle. This cycle, also known as a "transmission cycle," refers to a recurring time unit in the wireless microphone system. Each cycle includes at least a reserved time slot area, also known as a "deterministic reserved time slot area." This reserved time slot area is a pre-planned time-domain resource region controlled uniformly by the receiver within each cycle. Active transmitters are authorized or allocated time slots within this reserved time slot area to transmit audio data, rather than accessing through random contention. That is, the receiver organizes and distributes time slot configurations within each cycle, and the transmitters transmit audio data according to their allocated time slots within the corresponding cycle. The cycle can be set according to the latency requirements, control overhead, audio frame encapsulation length, and implementation complexity of the wireless microphone system. In some examples, the period can be 5ms, 10ms, 20ms or other preset durations; for example, when using a 5ms period, the receiver can perform time slot updates and resource adjustments more frequently, which is beneficial to reducing access latency and audio transmission latency; when using a 10ms period, a better balance can be achieved between control overhead and latency; when using a 20ms period, the control scheduling frequency of the receiver is lower, which is convenient for simplifying implementation, but the latency between the receiver and the transmitter may increase accordingly.

[0037] In some examples, each cycle also includes a receiver control information area and a feedback information area, wherein the receiver control information area is used to send synchronization information, resource allocation information and time slot type adjustment information, and the feedback information area is used to send acknowledgment information or other control information.

[0038] In step S2, the transmitters that establish a wireless link with the receiver are categorized into active and inactive transmitters based on their state. An active transmitter is one that has received resource authorization information from the receiver and obtained a time slot available for transmitting audio data (i.e., the audio time slot described in step S4). The resource authorization information is control information sent by the receiver to the transmitter, indicating that the transmitter can use a time slot (i.e., an audio time slot) to perform audio data transmission. This resource authorization information includes at least the location of the audio time slot and may further include at least one of the following: the authorized transmission period or effective period, and the audio time slot type (i.e., the first and second time slots described in step S4). An inactive transmitter is one that has not obtained audio time slot authorization or whose obtained audio time slots have been released. When an inactive transmitter meets the activation conditions, it sends an activation request. Upon successfully receiving the activation request, the receiver sends resource authorization information to the corresponding transmitter. This resource authorization information sets the audio time slot allocated to the transmitter, thereby enabling the transmitter to enter an active state and transmit audio data using the allocated audio time slot. The activation conditions refer to preset conditions that trigger the transmitter to request to enter an active state, including but not limited to any one of the following: user-triggered button press, detection of voice input reaching a threshold, or external control command activation. In practical scenarios, the activation request can be sent through a shared contention time slot within a period, through a reserved command time slot, or through a control link independent of the audio transmission link.

[0039] Any transmitter can switch between an active state and an inactive state, i.e., state transition: the transmitter is initially in an inactive state, enters a waiting-to-activate state after meeting the activation conditions and successfully sending an activation request, and enters an active state after receiving resource authorization information sent by the receiver; furthermore, when the receiver releases its reserved resources or its work ends, it returns from the active state to the inactive state.

[0040] In some implementations, the receiving end of this application may further define an activation state. The transmitting end in the activation state refers to the transmitting end that has sent an activation request but has not yet obtained resource authorization information. The activation state can be regarded as a transitional state or a subdivided state under an inactive state.

[0041] In step S3, the resource pressure refers to the time slots within the currently reserved time slot area that can be allocated to the transmitter for audio data transmission. Since resources can be equated to time slots, the resource pressure can also be called "time slot pressure." The receiver can obtain the resource pressure of the reserved time slot area based on at least one of the following: the number of currently idle audio time slots; the percentage of currently idle audio time slots; the number of currently active transmitters; and the number of transmitters to be activated. Wherein, currently idle audio time slots refer to audio time slots that are not currently performing audio data transmission tasks within the period.

[0042] For example, the total number of audio time slots obtained by the reserved time slot region division is N. total The number of occupied audio time slots is N. used The number of currently idle audio slots is N. free =N total -N used The percentage of currently idle audio time slots is ρ=N free / N total The receiver can base its decisions on the number N of currently available audio time slots. free And / or the percentage of currently idle audio slots ρ is used to determine resource pressure.

[0043] In step S4, the receiving end determines to allocate the first and second time slots to the active transmitting end based on the resource pressure within the currently reserved time slot area, combined with... Figure 3 As shown, since the duration of the first time slot is longer than that of the second time slot, the first time slot can also be called a long audio time slot, and the second time slot can also be called a short audio time slot. Optionally, the audio time slots allocated to the same active transmitter within one cycle are continuous time-domain resources, that is, both the first and second time slots are continuous time-domain resources. This continuous time-domain resource means that the audio time slots obtained by the same transmitter within one transmission cycle are temporally adjacent, or are composed of consecutive adjacent short audio time slots, without being interspersed or divided by the audio time slots of other transmitters.

[0044] The first time slot is used to carry more audio data and / or more redundant protection data compared to the second time slot. The redundant protection data includes at least one of retransmitted data, forward error correction data, and redundant copies of the main audio data. For example, a long audio time slot can be used to carry higher quality audio data, such as coded audio frames with a higher bit rate, or data with stronger protection capabilities, such as main audio data plus redundant copies, forward error correction data, or retransmitted data. The retransmitted data refers to audio data or part of the data that is repeatedly transmitted in the same transmission cycle or adjacent transmission cycles to improve the success rate of reception, and is not limited to feedback-triggered retransmission mechanisms. On the other hand, a short audio time slot occupies less time domain resources and is suitable for increasing the overall number of active transmitters that can be served when system resource pressure is high.

[0045] The long and short audio time slots are predefined, fixed categories, rather than time slot types obtained through continuous optimization of arbitrary lengths. Because the long and short audio time slots use fixed categories, the receiver does not need to recalculate combinations of non-contiguous segments of arbitrary length when time slot type switching occurs, thus reducing scheduling complexity. Furthermore, since the same transmitter occupies continuous time-domain resources within one cycle, the number of guard intervals and cross-segment synchronization control overhead can be reduced, and the jitter risk in real-time audio transmission can be mitigated.

[0046] In some examples, the duration of the first time slot is an integer multiple of the duration of the second time slot, such as twice. In this case, the receiver can use short audio time slots as the basic unit for currently reserved time slot statistics and convert long audio time slots into multiple short audio time slots for unified statistics. For example, when the duration of a long audio time slot is twice the duration of a short audio time slot, one long audio time slot can be converted into two short audio time slots, facilitating unified statistics of currently idle audio time slots by the receiver.

[0047] In some examples of step S4, such as in the initial stage of the system, the number of active transmitters is small, and the number and proportion of currently idle audio time slots are large. The receiver can consider the resource pressure to be low and prioritize the allocation of the first time slot (i.e., long audio time slot) to the currently active transmitters, so that each transmitter can obtain high sound quality and strong redundancy protection. However, as new transmitters are activated one after another, the number and proportion of currently idle audio time slots gradually decrease and when they reach a certain threshold, the receiver considers the resource pressure to be high and prioritizes the allocation of the second time slot (i.e., short audio time slot) to the newly activated transmitters to save reserved resources.

[0048] In some other examples of step S4, the receiving end can divide resource pressure into multiple levels. When the resource pressure is at least the lowest level, a first time slot is allocated to the active transmitter within the reserved time slot area; and when the resource pressure is at least the highest level, a second time slot is allocated to the active transmitter within the reserved time slot area. For example, the resource pressure can be divided into two, three, or more levels. Taking three levels as an example: when ρ > T1, it is determined to be low pressure; when T2 < ρ ≤ T1, it is determined to be medium pressure; and when ρ ≤ T2, it is determined to be high pressure, where T1 > T2.

[0049] Optionally, the receiver will detect the number of transmitters to be activated. When the number of transmitters to be activated reaches a first preset threshold, the resource pressure level will be increased by one level. That is, when the number of transmitters to be activated reaches the first preset threshold K, even if the current resource pressure has not yet entered a higher pressure range, the resource pressure can be increased by one level to release reserved resources in advance.

[0050] Of course, after allocating audio time slots to all transmitters awaiting activation according to the current allocation strategy, the receiving end can also reassess the resource pressure using a resource gap approach and reallocate resources based on the reassessed resource pressure. For example, if the required time slots exceed the number of currently available audio time slots after allocating audio time slots to all transmitters awaiting activation according to the current allocation strategy, then the resource pressure is determined to be high, and at least one transmitter can be changed from the originally planned first time slot to the second time slot.

[0051] In some examples of step S5, when the resource pressure meets the first switching condition, the audio time slots of one or more active transmitters are switched from the first time slot to the second time slot; and when the resource pressure meets the second switching condition, the audio time slots of one or more active transmitters are switched from the second time slot to the first time slot. Therefore, the first switching condition can be considered as a resource contraction condition triggering the switch from a long audio time slot to a short audio time slot, and the second switching condition can be considered as a resource recovery condition triggering the switch from a short audio time slot to a long audio time slot.

[0052] These two switching conditions can be determined based on at least one of the following: the current resource pressure level, the number of currently idle audio slots, the proportion of currently idle audio slots, and the number of transmitters to be activated. Based on this, the first switching condition includes at least one of the following: the current resource pressure level increases; the number of currently idle audio slots is lower than a second preset threshold; the proportion of currently idle audio slots is lower than a third preset threshold; after receiving a new activation request from a transmitter, the currently idle audio slots are insufficient to allocate audio slots to the transmitter; the number of transmitters to be activated reaches a fourth preset threshold. The second switching condition includes at least one of the following: the current resource pressure level decreases; the number of currently idle audio slots is higher than a fifth preset threshold, wherein the fifth preset threshold is greater than the second preset threshold; the proportion of currently idle audio slots is higher than a sixth preset threshold, wherein the sixth preset threshold is greater than the third preset threshold; after receiving a new activation request from a transmitter, the currently idle audio slots are sufficient to allocate audio slots to the transmitter; the number of transmitters to be activated is less than a seventh preset threshold, wherein the seventh preset threshold is less than the fourth preset threshold.

[0053] For example, when the receiving end receives a new activation request and the currently available audio time slots are insufficient to allocate audio time slots to the transmitter that issued the activation request, the receiving end selects at least one transmitter that is already active and currently using the first time slot, and adjusts its corresponding first time slot to the second time slot to release time slot resources. Alternatively, the receiving end sequentially selects active transmitters currently using the first time slot, one by one, and sequentially adjusts their corresponding first time slots to the second time slot, until the released time slot resources meet the allocation requirements corresponding to the activation request.

[0054] In this example, the receiving end can use different thresholds for resource contraction and resource recovery conditions. For example, when the proportion of currently idle audio time slots is lower than a third preset threshold, a switch from long audio time slots to short audio time slots is triggered; when the proportion of currently idle audio time slots is higher than a larger sixth preset threshold, a recovery from short audio time slots to long audio time slots is triggered, thereby forming a hysteresis interval, which can avoid frequent switching of audio time slot types caused by fluctuations in resource pressure in the critical interval.

[0055] When the resource pressure meets either the first or second switching condition, the receiving end preferably performs audio time slot switching sequentially, one transmitter at a time. After switching each transmitter, it re-acquires the resource pressure of the reserved time slot area and determines whether to perform audio time slot switching on the next active transmitter based on the re-acquired resource pressure. In other words, the switching is implemented one transmitter at a time, rather than uniformly reconfiguring all active transmitters. For example, after adjusting each transmitter, the receiving end can recalculate the number of currently idle audio time slots; if the adjusted resources already meet the new activation request, further adjustment stops; if not, it continues to select the next candidate transmitter for adjustment. Through this sequential adjustment method, the receiving end only needs to send adjustment information to a small number of transmitters without changing the original time slot allocation of other active transmitters that were not selected, thereby reducing control signaling overhead and mitigating the risk of service disruptions due to wireless notification failures, untimely configuration changes, or inconsistent understanding.

[0056] In practical scenarios, the receiving end can select active transmitters based on preset information and perform audio time slot switching for each selected active transmitter. The preset information includes at least one of link quality and service priority. For example, a transmitter with better link quality can be selected first, because it may still maintain acceptable audio quality in short audio time slots. Alternatively, a transmitter currently in a lower priority service state can be selected first to ensure the execution of high-priority services.

[0057] The receiving end can indicate the effective transmission cycle number of the time slot type adjustment in the control information area or resource authorization information. As an example, the receiving end can issue information indicating the switching of audio time slots within the current cycle and make the adjustment effective from the next cycle, that is, the transmitting end completes the switching of audio time slots in the next cycle; in other examples, the adjustment can also be made effective from the nth subsequent transmission cycle. If the active transmitting end fails to receive the information indicating the switching, the active transmitting end continues to use the audio time slot indicated by the previous valid resource authorization information to perform audio transmission for at least one cycle until new valid resource authorization information is received; for example, if the active transmitting end failed to receive the information indicating the switching when the previous switching existed, the active transmitting end continues to use the audio time slot after the previous switching to perform audio transmission for at least one cycle until new valid resource authorization information is received.

[0058] Through the above steps S1 to S5, the receiver can flexibly adjust the length of the audio time slot occupied by the active transmitter to balance the audio transmission quality and the number of active transmitters that the system can support. This helps to avoid fragmented allocation of audio time slots and to perform global perturbation on all active transmitters.

[0059] The following example illustrates the entire time slot allocation scheme of this application.

[0060] Assuming a transmission period of 10ms, the reserved time slot area can be converted into 12 short audio time slots. The duration of each short audio time slot is 250μs, and the duration of each long audio time slot is 500μs. That is, each long audio time slot occupies 2 short audio time slots.

[0061] In the initial stage of a wireless microphone system, there are relatively few active transmitters and a large number of currently idle time slots. For example, if there are at least four currently idle audio time slots, the receiver can determine that the current resource pressure is low and prioritize allocating longer audio time slots to the currently active transmitters, so that each transmitter can obtain higher sound quality and stronger redundancy protection.

[0062] As new transmitters are activated, the number of currently available time slots gradually decreases. For example, when there are two or three currently available audio time slots, the receiver can determine the current resource pressure as medium and prioritize allocating short audio time slots to newly activated transmitters.

[0063] As the number of currently available audio time slots continues to decrease, for example, when there are no more than one, the receiver can determine the current resource pressure as high. At this point, if a new activation request is received and the currently available audio time slots are insufficient to accommodate the new transmitter, the receiver can select an active transmitter that has already used a long audio time slot and adjust it to a short audio time slot. If the resources released after one adjustment are sufficient, further adjustments stop; if still insufficient, the next active transmitter is adjusted until the new access requirement is met. For example, in a specific scenario, the wireless microphone system could originally support 6 active transmitters using long audio time slots, occupying a total of 12 short audio time slots. When the 7th transmitter requests activation, the receiver can adjust the long audio time slot of one active transmitter to a short audio time slot, thereby freeing up one short audio time slot; if still insufficient, another active transmitter is further adjusted from a long audio time slot to a short audio time slot to accommodate the new transmitter.

[0064] When several transmitters re-enter the inactive state and release their respective occupied audio time slots, the resource pressure decreases. For example, if the number of currently idle audio time slots is no less than 5 for 3 consecutive cycles or the proportion is higher than the preset recovery threshold for 3 consecutive cycles, the receiver can restore some transmitters that have used short audio time slots to long audio time slots to improve their audio transmission guarantee capability.

[0065] It should be understood that the threshold division, number of resource pressure levels, transmission cycle structure, and time slot length setting methods in the above examples are merely illustrative descriptions and can be flexibly adjusted according to specific product requirements without affecting the basic idea of ​​the technical solution of this application.

[0066] As can be seen, this application, by setting long audio time slots (i.e., the first time slot) and short audio time slots (i.e., the second time slot) in the reserved time slot area, and selecting different types of audio time slots according to resource pressure, enables the system to provide higher sound quality or stronger redundancy protection when resources are abundant, thereby improving audio transmission quality, and increasing the number of active transmitters that can be supported when resources are scarce. At the same time, by designing the audio time slots into two fixed categories, long audio time slots and short audio time slots (e.g., satisfying an integer multiple relationship), it is beneficial to reduce the complexity of resource management, improve the fragmented allocation of audio time slots, and simplify time slot switching control.

[0067] In addition, this application can allocate audio time slots of continuous time domain resources to transmitters in the same active state within one cycle, so that transmitters in the same active state can occupy continuous time domain resources within one cycle, which can reduce the number of guard intervals and cross-segment synchronization control overhead, and improve the stability of real-time audio transmission.

[0068] Furthermore, when resource pressure meets the switching conditions, this application switches the audio time slots of at least one active transmitter in a sequential manner. For example, when resources are scarce, the audio time slot of only one active transmitter is switched from a long audio time slot to a short audio time slot at a time. After the switch, the resource pressure of the reserved time slot area is reacquired, and the decision on whether to switch the audio time slot of the next active transmitter from a long audio time slot to a short audio time slot is made based on the reacquired resource pressure, instead of uniformly reconfiguring all active transmitters. This reduces control overhead and reduces service disturbance.

[0069] Figure 4 This is a flowchart illustrating a time slot allocation method according to another embodiment of this application. Figure 4 The transmitter can be the entity executing each step of the time slot allocation method. Please refer to the following: Figure 4 and Figure 2 As shown, the time slot allocation method includes at least the following steps S21 to S23.

[0070] S21: Receive resource authorization information sent by the receiving end; S22: Identify the type of audio time slot indicated by the resource authorization information, wherein the audio time slot includes a first time slot and a second time slot, and the duration of the first time slot is greater than the duration of the second time slot; S23: Audio data transmission is performed based on the type of audio slot indicated by the resource authorization information.

[0071] Regarding this embodiment and Figure 1 Technical features with the same names in the embodiments can be found in the foregoing and will not be repeated here. In this embodiment, the transmitting end can allocate and switch audio time slots through communication with the receiving end, and achieve the same technical effects as described above.

[0072] Figure 5 This is a schematic diagram of the receiver end of a wireless microphone system according to an embodiment of this application. Figure 5 As shown, the receiver 50 includes the following modules: Resource configuration module 51 is used to configure reserved time slots in each cycle of audio transmission; The status maintenance module 52 is used to maintain and acquire the status of the transmitter of the established wireless link, the status including active state and inactive state; Reserved resource allocation module 53 is used to allocate audio time slots to active transmitters; Resource pressure determination module 54 is used to obtain the resource pressure of the reserved time slot area; The time slot type control module 55 is configured to allocate a first time slot or a second time slot to an active transmitter in a reserved time slot area according to resource pressure, so as to allow it to transmit audio data within the allocated audio time slot; and to switch the audio time slot allocated to the active transmitter between the first time slot and the second time slot according to resource pressure. That is, the time slot type control module 55 is configured to allocate short or long audio time slots to the active transmitter according to the resource pressure, and when the resource pressure meets a preset switching condition, adjust the audio time slot type used by at least one active transmitter to switch between the long audio time slot and the short audio time slot.

[0073] Through the cooperation of the above modules, the time slot allocation and switching of audio transmission services are completed.

[0074] Figure 6 This is a schematic diagram of the transmitter of a wireless microphone system according to an embodiment of this application. Figure 6 As shown, the transmitter 60 includes the following modules: The authorization receiving module 61 is used to receive resource authorization information sent by the receiving end; The time slot type identification module 62 is used to identify the type of audio time slot indicated by the resource authorization information, specifically whether it is the first time slot or the second time slot; The audio transmission module 63 is used to transmit audio data based on the type of audio time slot indicated by the resource authorization information.

[0075] This application also provides a wireless microphone system, including the aforementioned receiver and transmitter, which cooperate to allocate time slots to complete audio transmission services.

[0076] It should be understood that the various modules of the receiver 50 and transmitter 60 described above can be represented as physical devices or virtual modules (i.e., commonly referred to as logical modules) in actual scenarios. A single module can be implemented by a single physical device or by two or more physical devices working together. Similarly, the function performed by a single module can be implemented by a single physical device or by two or more physical devices working together. Furthermore, the functions corresponding to each module can be implemented by the corresponding steps of the time slot allocation method in any of the foregoing embodiments.

[0077] For example, this application may also provide an example audio device as a receiver for other examples, including a first processor and a first memory. The first memory stores a first program, which, when executed by the first processor, cooperates with the transmitter to implement the steps of the time slot allocation method of the wireless microphone system as described in any of the above examples. As another example, this application may also provide an example audio device as a transmitter for other examples, including a second processor and a second memory. The second memory stores a second program, which, when executed by the second processor, cooperates with the receiver to implement the steps of the time slot allocation method of the wireless microphone system as described in any of the above examples.

[0078] This application embodiment also provides a storage medium storing a time slot allocation program, which is essentially a computer program, and when executed by a processor, the time slot allocation program implements the steps of the time slot allocation method of the wireless microphone system of any of the foregoing examples.

[0079] The storage medium includes, but is not limited to, any one of read-only memory (ROM), random access memory (RAM), magnetic disk, and optical disk.

[0080] Since the time slot allocation program stored in the storage medium can execute the steps in the time slot allocation method of any embodiment provided in this application, it can achieve the beneficial effects that the time slot allocation method of any of the foregoing embodiments can achieve. For details, please refer to the foregoing embodiments, which will not be repeated here.

[0081] This application also provides a time slot allocation device or chip, including a memory and a processor. The memory stores a time slot allocation program, which, when executed by the processor, implements the steps of the time slot allocation method of any of the foregoing embodiments; and / or, the time slot allocation device or chip is provided with a storage medium as shown in the above example, and the processor loads the storage medium to execute the steps of the time slot allocation method, thereby achieving the beneficial effects that the time slot allocation method of the corresponding embodiment can achieve.

[0082] The above are only some embodiments of this application and do not limit the patent scope of this application. For those skilled in the art, any equivalent structural transformations made using the content of this specification and drawings are similarly included within the patent protection scope of this application.

[0083] Although this document uses terms such as "first," "second," etc., to describe various types of information, this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. Furthermore, the singular forms "a," "an," and "the" are intended to also include the plural forms. The terms "or" and "and / or" are interpreted as inclusive, or meaning either one or any combination thereof. Exceptions to this definition only arise when combinations of elements, functions, steps, or operations are inherently mutually exclusive in some way.

Claims

1. A time slot allocation method for a wireless microphone system, the wireless microphone system comprising a receiver and multiple transmitters, wherein the receiver and transmitters transmit audio via a wireless link; Its features are, The method includes: Configure reserved time slots in each cycle of audio transmission; Obtain the status of the transmitter with an established wireless link, including active and inactive states; Obtain the resource pressure of the reserved time slot region; According to the resource pressure, audio time slots are allocated to transmitters active in the reserved time slot region to allow them to transmit audio data within the allocated audio time slots. The audio time slots include a first time slot and a second time slot, with the duration of the first time slot being greater than the duration of the second time slot. Based on the resource pressure, the audio time slot allocated to the active transmitter is switched between the first time slot and the second time slot.

2. The method according to claim 1, characterized in that, The duration of the first time slot is an integer multiple of the duration of the second time slot.

3. The method according to claim 1, characterized in that, The process of obtaining the resource pressure of the reserved time slot region includes at least one of the following: The number of currently available audio slots; The percentage of currently available audio slots; The number of active transmitters currently; The number of transmitters to be activated, wherein the transmitters to be activated are transmitters that have sent an activation request to the receiver but have not received resource authorization information containing audio time slots from the receiver.

4. The method according to claim 3, characterized in that, The resource pressure is divided into multiple levels; the allocation of audio time slots to active transmitters in the reserved time slot region according to the resource pressure includes: When the resource pressure is at least at the lowest level, the first time slot is allocated to the active transmitter within the reserved time slot area; Alternatively, when the resource pressure is at at least the highest level, the second time slot is allocated to the active transmitter within the reserved time slot region.

5. The method according to claim 4, characterized in that, The method further includes: Detect the number of transmitters to be activated; When the number of transmitters to be activated reaches a first preset threshold, the resource pressure level is increased by one level.

6. The method according to claim 1, characterized in that, The step of switching the audio time slot allocated to the active transmitter between the first time slot and the second time slot based on the resource pressure includes: When the resource pressure meets the first switching condition, the audio time slot of one or more active transmitters is switched from the first time slot to the second time slot; When the resource pressure meets the second switching condition, the audio time slot of one or more active transmitters is switched from the second time slot to the first time slot.

7. The method according to claim 6, characterized in that, The first switching condition includes at least one of the following: The level of resource pressure has increased. The number of currently idle audio slots is lower than the second preset threshold; The percentage of currently idle audio slots is lower than the third preset threshold; Upon receiving a new activation request from the transmitter, the currently available audio time slots are insufficient to allocate audio time slots to the transmitter. The number of transmitters to be activated has reached the fourth preset threshold; The second switching condition includes at least one of the following: The level of resource pressure has been reduced. The number of currently idle audio time slots is higher than a fifth preset threshold, which is greater than the second preset threshold; The proportion of currently idle audio slots is higher than a sixth preset threshold, and the sixth preset threshold is greater than the third preset threshold; Upon receiving a new activation request from the transmitter, the currently available audio time slots are sufficient to allocate audio time slots to the transmitter; The number of transmitters to be activated is less than the seventh preset threshold, which is less than the fourth preset threshold.

8. The method according to claim 6, characterized in that, When the resource pressure meets the first switching condition or the second switching condition, audio time slot switching is performed sequentially for each transmitter. After switching each transmitter, the resource pressure of the reserved time slot area is reacquired, and the decision on whether to perform audio time slot switching for the next active transmitter is made based on the reacquired resource pressure.

9. The method according to claim 6, characterized in that, Select the active transmitter based on the preset information, and switch the audio time slot for the selected active transmitter; The preset information includes at least one of link quality and service priority.

10. The method according to claim 1, characterized in that, Switching the audio time slot allocated to the active transmitter between the first time slot and the second time slot includes: Within the current cycle, information indicating the switching of audio time slots is sent out so that the active transmitter can complete the switching of audio time slots in the next cycle or the nth subsequent cycle; If the active transmitter fails to receive the information, the active transmitter continues to perform audio transmission for at least one cycle using the audio time slot indicated by the previous valid resource grant information until a new valid resource grant information is received.

11. The method according to claim 1, characterized in that, The audio time slots allocated to the transmitter in the same active state within one cycle are continuous time-domain resources.

12. A time slot allocation method for a wireless microphone system, the wireless microphone system comprising a receiver and multiple transmitters, wherein the receiver and transmitters transmit audio via a wireless link; Its features are, The method includes: Receive resource authorization information sent by the receiving end; Identify the type of audio time slot indicated by the resource authorization information, wherein the audio time slot includes a first time slot and a second time slot, and the duration of the first time slot is greater than the duration of the second time slot; Audio data transmission is performed based on the type of audio slot indicated by the resource authorization information.

13. An audio device, characterized in that, It includes a first processor and a first memory, wherein the first memory stores a first program, and when the first program is executed by the first processor, it implements the steps of the time slot allocation method of the wireless microphone system as described in any one of claims 1 to 11.

14. An audio device, characterized in that, It includes a second processor and a second memory, the second memory storing a second program, which, when executed by the second processor, implements the steps of the time slot allocation method of the wireless microphone system as described in claim 12.

15. A storage medium, characterized in that, The system contains a computer program that, when executed by a processor, implements the steps of the time slot allocation method for the wireless microphone system as described in any one of claims 1 to 12.