A grouping control method and system for heterogeneous audio devices
Patent Information
- Application Number
- CN202611129453.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-28
- Publication Date
- 2026-10-30
AI Technical Summary
[0002]在专业扩声、会议音频、商业空间和广播系统中,控制终端通常需要同时管理多台音频处理器、数字功放或扬声器处理设备,为提高操作效率,可将多台设备编入同一分组,并在分组层面对相同逻辑通道执行增益、静音、相位或延时控制;然而,现有的异构音频设备分组控制方法依旧存在以下缺陷:(1)异构设备通道地址不兼容,分组调控易出现参数写入错位:不同厂商、不同型号的音频设备内部逻辑通道划分、各类调节参数(增益、延时、相位等)的存储起始地址无统一标准,现有分组控制方式采用全局统一通道偏移地址下发参数,未针对每款设备配置独立的通道总量、参数存储基址映射关系,当对异构设备下发同一套分组调节指令时,会出现部分设备写入错误通道地址,造成音量错乱、延时参数匹配失效,严重时直接损坏功放通道;(2)缺少单通道参数阈值约束,易触发设备硬件保护:每一条逻辑通道具备独立的增益上下限、延时最大阈值,超出限值会触发设备过热、削波失真甚至硬件保护停机,现有分组控制直接将用户输入的原始参数值下发至设备,未依据各通道专属限制信息做数值钳位处理;不同设备通道阈值存在差异,统一参数直传极易出现部分设备参数越界、自动断音保护,分组声场一致性无法保障
[0035]本发明的有益效果是:通过控制端预先存储各型号异构音频设备专属的型号适配配置,配置中区分存储不同通道类型的逻辑通道总数量、各参数类型对应的参数存储起始位置,在接收到统一分组控制指令后,针对分组内每一台目标音频设备单独调取自身型号对应的适配数据,先依据目标通道类型匹配的逻辑通道总数量校验目标逻辑通道在本机是否真实存在,直接过滤不存在的非法通道序号,从源头规避跨型号通道编号不匹配造成的寻址错误,同时为每台设备独立换算存储索引:使用当前设备参数存储起始位置叠加本机逻辑通道序号生成专属设备参数存储索引,同一套用户分组指令,会根据设备型号自动换算出适配本机硬件的真实写入地址,彻底解决多型号异构音频设备通道地址标准不统一、分组调控参数写入错位的问题;其次,构建待控制通道集合阶段,结合功放工作模式识别桥接从通道并直接终止该设备的写入流程,不会为桥接从通道生成写入报文,杜绝桥接模式下双向同步参数冲突导致的通道参数跳变、音频杂音,同时依据通道联调信息与目标参数类型自动扩展同组关联通道、仅在无联调扩展时补充桥接配对通道,通道集合构建逻辑贴合设备实际硬件联动规则,不会出现漏写、错写关联通道的情况,进一步保障分组调控时各通道参数写入位置精准匹配设备硬件逻辑;此外,在计算参数阶段引入各设备上报的通道参数限制信息,针对待控制通道集合内每一条逻辑通道独立执行参数限制处理,依托设备实时上报的专属通道限制数据,对原始目标参数值做钳位修正,每一条通道均采用自身对应的安全阈值约束数值,保证下发至设备的参数始终处于硬件允许区间。
Smart Images

Figure CN123021034A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of heterogeneous audio device control technology, and in particular to a group control method and system for heterogeneous audio devices. Background Technology
[0002] In professional sound reinforcement, conference audio, commercial space and broadcasting systems, control terminals usually need to manage multiple audio processors, digital power amplifiers or speaker processing devices at the same time. In order to improve operational efficiency, multiple devices can be grouped into the same group and the same logical channel can be controlled at the group level for gain, mute, phase or delay. However, the existing heterogeneous audio device group control method still has the following defects: (1) The channel addresses of heterogeneous devices are incompatible and the parameter writing is prone to misalignment in group control: There is no unified standard for the internal logical channel division and storage starting address of various adjustment parameters (gain, delay, phase, etc.) of audio devices of different manufacturers and different models. The existing group control method uses a globally unified channel offset address to send parameters, without configuring independent channels for each device. The total number of channels and the parameter storage base address mapping relationship, when the same set of group adjustment instructions is issued to heterogeneous devices, some devices will write the wrong channel address, causing volume disorder, delay parameter matching failure, and in severe cases, directly damaging the power amplifier channel; (2) Lack of single channel parameter threshold constraints, which easily triggers device hardware protection: Each logical channel has independent upper and lower limits of gain and maximum delay threshold. Exceeding the limit will trigger device overheating, clipping distortion, or even hardware protection shutdown. The existing group control directly sends the user's input original parameter value to the device without performing numerical clamping processing based on the exclusive limit information of each channel; different device channel thresholds are different. Direct transmission of unified parameters is very likely to cause some device parameters to exceed the limit and automatic sound cut-off protection. The consistency of group sound field cannot be guaranteed. Summary of the Invention
[0003] In view of this, the present invention proposes a group control method and system for heterogeneous audio devices, which can effectively solve the defects of the prior art, such as incompatibility of channel addresses of heterogeneous devices, easy occurrence of parameter writing misalignment in group control, lack of single-channel parameter threshold constraints, and easy triggering of device hardware protection.
[0004] The technical solution of this invention is implemented as follows:
[0005] A group control method for heterogeneous audio devices, specifically including:
[0006] The control terminal pre-stores model adaptation configurations for heterogeneous audio devices that support control. The model adaptation configurations include the total number of logical channels corresponding to each channel type and the parameter storage start position corresponding to each parameter type in the device parameter storage area.
[0007] The system acquires device status information reported by the target audio device and unified group control commands issued by external devices. The device status information includes channel parameter limitation information, channel integration information, and power amplifier operating mode. The group control commands include target channel type, target logical channel, target parameter type, and target parameter value.
[0008] Based on the total number of logic channels, the target logic channels, channel integration information, and power amplifier operating mode, construct a set of channels to be controlled;
[0009] Based on the parameter storage start position, channel parameter restriction information, target channel type, target parameter type, and target parameter value, and combined with the set of channels to be controlled, generate the device parameter storage index and the target parameter value after restriction processing;
[0010] Based on the device parameter storage index and the target parameter value after restriction processing, generate an independent device write item adapted to the current target audio device;
[0011] The individual device write entries corresponding to each target audio device are sent to the corresponding target audio device for parameter updates.
[0012] As a further optional solution to the group control method for heterogeneous audio devices, the step of constructing a set of channels to be controlled based on the total number of logical channels, the target logical channels, channel integration information, and power amplifier operating mode specifically includes:
[0013] Retrieve the model adaptation configuration of the target heterogeneous audio device, and verify whether the target logical channel of the target heterogeneous audio device exists based on the total number of logical channels; if the target logical channel exists, determine whether the target logical channel is a bridged slave channel based on the power amplifier working mode; if it is determined to be a bridged slave channel, stop generating write entries for the target heterogeneous audio device and end the current device processing flow.
[0014] If it is determined to be a non-bridged slave channel, the set of channels to be controlled is initialized with the target logic channel; the channel joint debugging information and target parameter type are combined to determine whether joint debugging expansion is triggered. If triggered, the other target logic channels in the same joint debugging group are added to the set of channels to be controlled; if joint debugging expansion is not triggered, it is then determined whether the target logic channel is a bridged master channel. If so, the paired logic channel is added to the set of channels to be controlled according to the power amplifier working mode.
[0015] As a further optional solution to the group control method for heterogeneous audio devices, the step of generating a device parameter storage index and the restricted target parameter value based on the parameter storage start position, channel parameter restriction information, target channel type, target parameter type, target parameter value, and the set of channels to be controlled, specifically includes:
[0016] Traverse each target logical channel in the set of channels to be controlled. For the target logical channel being traversed, retrieve the corresponding parameter storage start position from the model adaptation configuration of the current target heterogeneous audio device according to the target channel type and target parameter type. Add the parameter storage start position to the sequence number of the current target logical channel to calculate the device parameter storage index corresponding to the target logical channel.
[0017] Based on the channel parameter constraint information, match the parameter constraint rules corresponding to the target parameter type, and use the matched parameter constraint rules to restrict the target parameter value to obtain the restricted target parameter value.
[0018] As a further alternative to the group control method for heterogeneous audio devices, the target channel type includes at least one of an input channel, an output channel, and a speaker channel, and the target parameter type includes at least one of gain, mute, phase, and delay.
[0019] As a further optional embodiment of the group control method for heterogeneous audio devices, the step of using matched parameter constraint rules to restrict the target parameter value specifically includes:
[0020] If the target parameter type is gain, the corresponding parameter constraint rule is to limit the target parameter value to between the lower and upper limits of the gain of the corresponding target logic channel;
[0021] If the target parameter type is delay, the corresponding parameter constraint rule is to limit the target parameter value to no more than the delay limit of the corresponding target logic channel;
[0022] If the target parameter type is mute or phase, then there is no need to impose numerical restrictions on the target parameter value.
[0023] As a further optional solution to the group control method for heterogeneous audio devices, before obtaining the device status information reported by the target audio device and the unified group control command issued by the external device, the control terminal further includes determining at least two target heterogeneous audio devices in the same device group according to a preset filtering rule. The preset filtering rule specifically includes:
[0024] The device model falls into the set of supported models on the control terminal, the device has completely returned the group data, the device user sequence identifier is consistent with the current user sequence identifier on the control terminal, and the device group identifier is the same as the group identifier to be operated.
[0025] As a further optional scheme of the group control method for heterogeneous audio devices, each target heterogeneous audio device locally stores three types of group information: group identifier, group number, and group name. The control terminal aggregates all target audio devices by group identifier. Devices within the same group are sorted in ascending order according to the group number. When the group numbers are the same, they are sorted deterministically according to the device network address value from smallest to largest.
[0026] A group control system for heterogeneous audio devices, comprising:
[0027] A model adaptation configuration storage module is used to pre-store the model adaptation configuration of the heterogeneous audio devices that support control on the control terminal. The model adaptation configuration includes the total number of logical channels corresponding to each channel type and the parameter storage start position corresponding to each parameter type in the device parameter storage area.
[0028] The information acquisition module is used to acquire device status information reported by the target audio device and unified group control instructions issued by external devices. The device status information includes channel parameter limitation information, channel integration information, and power amplifier operating mode. The group control instructions include target channel type, target logical channel, target parameter type, and target parameter value.
[0029] The module for constructing the set of channels to be controlled is used to construct the set of channels to be controlled based on the total number of logical channels, the target logical channels, channel integration information, and power amplifier operating mode.
[0030] The index and limit calculation module is used to generate the device parameter storage index and the target parameter value after limit processing based on the parameter storage start position, channel parameter limit information, target channel type, target parameter type, target parameter value, and the set of channels to be controlled.
[0031] The device write item generation module is used to generate independent device write items adapted to the current target audio device based on the device parameter storage index and the target parameter values after restriction processing.
[0032] The message delivery module is used to send the independent device write items corresponding to each target audio device to the corresponding target audio device for parameter update.
[0033] A computing device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the steps of any of the above-described group control methods for heterogeneous audio devices.
[0034] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of any of the above-described group control methods for heterogeneous audio devices.
[0035] The beneficial effects of this invention are as follows: By pre-storing model-specific adaptation configurations for each type of heterogeneous audio device in the control terminal, the configuration distinguishes the total number of logical channels for different channel types and the starting position of parameter storage corresponding to each parameter type. Upon receiving a unified group control command, the system retrieves the adaptation data corresponding to its own model for each target audio device within the group. First, it verifies whether the target logical channel actually exists on the local machine based on the total number of logical channels matching the target channel type, directly filtering out non-existent illegal channel serial numbers. This avoids addressing errors caused by mismatched channel numbers across models from the source. Simultaneously, it independently calculates the storage index for each device: using the current device parameter storage starting position superimposed with the local logical channel serial number to generate a dedicated device parameter storage index. The same set of user group commands will automatically calculate the actual write address adapted to the local hardware based on the device model, completely solving the problems of inconsistent channel address standards and misaligned group control parameters for multiple heterogeneous audio devices. Secondly, it constructs... During the channel set-up phase, the system identifies bridged slave channels based on the power amplifier's operating mode and directly terminates the write process for those channels. No write messages are generated for bridged slave channels, preventing channel parameter jumps and audio noise caused by bidirectional synchronization parameter conflicts in bridged mode. Simultaneously, it automatically expands associated channels within the same group based on channel integration information and target parameter types, supplementing bridged paired channels only when no integration expansion is available. The channel set construction logic closely aligns with the actual hardware linkage rules of the devices, preventing missed or incorrect writes of associated channels. This further ensures that the write position of each channel parameter accurately matches the device's hardware logic during group control. Furthermore, during the parameter calculation phase, channel parameter limitation information reported by each device is introduced. Parameter limitation processing is performed independently for each logical channel within the channel set to be controlled. Based on the dedicated channel limitation data reported by the devices in real time, the original target parameter values are clamped and corrected. Each channel uses its own corresponding safety threshold constraint value, ensuring that the parameters sent to the devices are always within the hardware-allowed range. Attached Figure Description
[0036] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0037] Figure 1 This is a flowchart illustrating a group control method for heterogeneous audio devices according to the present invention.
[0038] Figure 2 This is a schematic diagram of the composition of a group control system for heterogeneous audio devices according to the present invention. Detailed Implementation
[0039] The technical solutions in the embodiments of the present invention will be clearly and completely described below. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0040] refer to Figures 1 to 2 A group control method for heterogeneous audio devices, specifically including:
[0041] The control terminal pre-stores model adaptation configurations for heterogeneous audio devices that support control. The model adaptation configurations include the total number of logical channels corresponding to each channel type and the parameter storage start position corresponding to each parameter type in the device parameter storage area.
[0042] Specifically, the control unit is a professional audio central control host, and the network group contains two heterogeneous audio power amplifiers: model M1 (8 output channels) and model M2 (16 output channels). The hardware register layouts of the two devices are completely different.
[0043] Two independent model adaptation configurations for the two devices are pre-entered into the local storage area of the control terminal. The configurations are stored using structured data tables and contain two types of core data:
[0044] Total number of logic channels for each channel type: The output channel is a unique control channel. The total number of output logic channels for model M1 is 8, and the total number of output logic channels for model M2 is 16.
[0045] The starting location for storing parameters (device register base address) for each parameter type: starting location for storing output channel gain parameter, M1 is register offset 0x0000, M2 is register offset 0x0300; starting location for storing output channel delay parameter, M1 is 0x0090, M2 is 0x0390.
[0046] After the device is powered on, it automatically reports its own model code. The control terminal can receive the model code and quickly retrieve the corresponding complete set of adaptation configuration cached in memory for real-time calculation of group control.
[0047] In this way, by pre-storing the total number of logic channels and the starting position of parameter storage for each model, an independent address mapping relationship is established for heterogeneous devices with different hardware layouts. After the unified user group command is issued, the control end calculates the hardware storage index for each device based on the adaptation configuration. The register addresses written by different models of devices are isolated from each other, completely eliminating the defects of parameter writing to irrelevant channels and volume disorder caused by traditional unified offset addressing. At the same time, the total number of logic channels is used to intercept illegal channel numbers that exceed the device hardware range in advance, so as not to generate invalid write messages and reduce network communication redundancy. Secondly, after the model adaptation configuration completes accurate addressing, each device independently constrains the original parameters based on its own hardware channel limitation information. The same adjustment value will be adaptively corrected according to the device hardware safety threshold, ensuring that the parameters sent to the device are always within the hardware allowable range, and eliminating clipping distortion and power amplifier automatic protection cutoff problems caused by gain exceeding the limit.
[0048] The control terminal determines at least two target audio devices in the same device group based on preset filtering rules, which specifically include:
[0049] The device model falls into the set of supported models on the control terminal, the device has completely returned the group data, the device user sequence identifier is consistent with the current user sequence identifier on the control terminal, and the device group identifier is the same as the group identifier to be operated.
[0050] Specifically, the locally pre-stored supported model set is {M1, M2}, which is only compatible with the two heterogeneous power amplifiers mentioned above; there are a total of 4 online audio devices in the network: M1-01, M2-02, and the old and incompatible models T4 and M1-03;
[0051] After each device is powered on, it continuously uploads its own four-element identification data to the control terminal: device model, complete packet data, user sequence identifier, and packet identifier;
[0052] The user sequence identifier for the operator logging into the control terminal this time is UID001, and the identifier of the group to be operated is specified as GROUP_A when issuing group control commands.
[0053] The control unit has a built-in pre-group filtering subroutine. Before reading the device status and performing channel adaptation calculations, it checks all online devices in the network against four filtering conditions. All four conditions must be met simultaneously to be considered a target audio device. If a single condition is not met, the device is directly removed. The step-by-step verification logic is as follows:
[0054] Verification condition 1: The device model falls into the set of models supported by the control terminal;
[0055] The outdated model T4 is not within the supported set {M1, M2} and is therefore removed; the remaining devices to be verified are: M1-01, M2-02, and M1-03.
[0056] Verification condition 2: The device has completely returned the packet data. Device M1-03 has a poor network cable connection and only uploaded a half-segment incomplete packet message with missing packet fields. It is determined that the packet data was not completely returned and is therefore removed. The remaining devices to be verified are: M1-01 and M2-02.
[0057] Verification condition 3: The device user sequence identifier is consistent with the current user sequence identifier on the control terminal. The user identifiers bound to M1-01 and M2-02 are both UID001, which matches the currently logged-in user, and the verification passes. If there are devices in the same group bound to UID002, they will be directly filtered to prevent cross-user misoperation.
[0058] Verification condition 4: The device group identifier is the same as the group identifier to be operated. The local group identifiers of M1-01 and M2-02 are both GROUP_A, which matches the group specified in the instruction. All four conditions are met, and M1-01 and M2-02 are finally determined to be the target audio devices for this round of group control.
[0059] In this way, the system simultaneously verifies four dimensions: device compatibility, data integrity, operation permissions, and group affiliation; incompatible models like T4 are directly blocked to prevent network errors caused by devices being unable to parse commands; incomplete M1-03 packets are filtered to prevent addressing calculation errors caused by missing channel status data; multiple operator permissions are isolated by user sequence identifiers to prevent unauthorized modification of other user group parameters; and only GROUP_A group devices are matched for control, without interfering with the sound field of other groups on site.
[0060] The system acquires device status information reported by the target audio device and unified group control commands issued by external devices. The device status information includes channel parameter limitation information, channel integration information, and power amplifier operating mode. The group control commands include target channel type, target logical channel, target parameter type, and target parameter value.
[0061] Specifically, the target audio devices M1-01 and M2-02 have built-in status reporting subroutines. After the devices are powered on, they continuously push real-time device status data packets to the control terminal via a WebSocket long connection. The data packets always contain three types of information: channel parameter limitation information, channel integration information, and amplifier operating mode.
[0062] Channel parameter limitation information: Store the hardware safety threshold of a single channel according to the output channel number; M1-01 Channel 3: gain range -20dB~12dB, maximum delay limit 200ms; M2-02 Channel 3: gain range -30dB~18dB, maximum delay limit 500ms;
[0063] Channel integration information: Records the integration group to which each channel belongs and the type of parameters enabled by the integration group; output channels 1, 2, 3, and 4 of M1 and M2 belong to integration group 1, and the gain parameter synchronization of this integration group is enabled.
[0064] Power amplifier operating mode: Mark the output channel bridging pairing status; both devices' output channels 1 and 2 are enabled in bridging power amplifier mode, with channel 1 as the bridging master channel and channel 2 as the bridging slave channel;
[0065] The control terminal sets up a status cache memory area to receive and persistently cache the complete status information of the two devices in real time, for subsequent channel set construction and parameter limiting logic calls.
[0066] The local touch interface on the control terminal serves as the entry point for issuing commands. Operators manually input adjustment parameters on the interface and generate standardized and unified group control command messages after clicking confirmation. The messages carry four fixed parameters: target channel type, target logic channel, target parameter type, and target parameter value. In this embodiment, the complete parameters of the group control command generated are: target channel type = output channel, target logic channel = 3, target parameter type = gain, and target parameter value = 15dB.
[0067] The control terminal instruction receiving module captures the message, extracts four parameters and stores them in global calculation variables for subsequent full-process calculations.
[0068] The control terminal retrieves the cached status information of devices M1-01 and M2-02, combines it with the four parameters of the group control command, and constructs a set of channels to be controlled with the pre-stored model adaptation configuration; it traverses the channel in the set to calculate the dedicated device parameter storage index, and performs a limiting correction on the original 15dB gain value based on the channel parameter limitation information (M1 is corrected to 12dB, M2 is retained to 15dB); it generates two independent write entries for each device and sends them out point-to-point to complete the parameter update.
[0069] In this way, the target device actively and completely reports three types of status information: relying on the power amplifier's working mode to identify and intercept the bridging channel; relying on the channel joint debugging information and the target parameter type of the instruction to automatically expand and synchronize the channel; and relying on the channel parameter limit information to match the single channel threshold to complete the parameter limiting. These three types of status information respectively address the three major defects of bridging redundant messages, joint debugging synchronization loss, and parameter out-of-bounds hardware protection. Secondly, the group control instruction only requires the operator to input a set of general adjustment parameters, without distinguishing between M1 and M2 hardware differences. After the control terminal uniformly parses the four-element parameters, it autonomously performs differentiated adaptation calculations for each heterogeneous device. The operator does not need to remember the channel addresses and hardware limits of different models of devices. One set of operation instructions can complete the synchronous group adjustment of multiple models of power amplifiers, which greatly reduces the threshold of professional audio field operation and reduces human operation errors.
[0070] In some embodiments, the target channel type includes at least one of an input channel, an output channel, and a speaker channel, and the target parameter type includes at least one of gain, mute, phase, and delay.
[0071] Specifically, the hardware channel is defined as follows:
[0072] Input channel: M2-02 exclusive, used to adjust the audio source input signal;
[0073] Output channels: M1-01 and M2-02 are both configured for power amplifier external signal control;
[0074] Speaker channel: Built-in in M2-02, used for independent correction of speaker phase and delay.
[0075] The control unit parses the target channel type field within the group control command and accurately indexes the corresponding level of model adaptation configuration:
[0076] If the target channel type of the instruction is an output channel: retrieve the total number of output channels M1 (8) and M2 (16), and match the starting address of the parameter storage corresponding to the output channel;
[0077] If the target channel type of the instruction is an input channel: only device M2 can be matched, and the total number of input channels of M2 (12) is retrieved; if M1 has no input channels, skip this device directly.
[0078] If the target channel type of the instruction is a speaker channel: only M2 devices support it, M1 has no corresponding channel type, so M1 devices are filtered out.
[0079] In this embodiment, the operator issues an instruction to select the target channel type = output channel, and the control terminal automatically retrieves the exclusive adaptation configuration of the output channels of the two power amplifiers and performs subsequent channel verification and index conversion.
[0080] Four types of adjustable parameters: gain, mute, phase, and delay. Each type of parameter is bound to a specific hardware constraint rule and register address.
[0081] Gain: Limited by a numerical range; different channels have upper and lower dB limits.
[0082] Delay: With maximum delay threshold limit, unit: ms;
[0083] Phase: Only two fixed settings, 0° and 180°, with no risk of numerical values exceeding limits;
[0084] Mute: Only two states are available: on / off, with no numerical range limit;
[0085] In the model adaptation configuration, for each channel type, the starting position of the parameter storage for each of the four types of parameters is stored independently; the channel parameter restriction information reported by the device is also uploaded according to the hardware security threshold for each of the four types of parameters.
[0086] In this way, the target channel types are divided into three categories, and the model-adaptive configuration stores the total number of channels and parameter base addresses in a hierarchical manner according to channel type. When issuing commands, the corresponding hardware channel resources are accurately matched based on the target channel type. Devices without the corresponding channel type are directly filtered, eliminating the problem of address confusion and control failure between different functional channels from the root. A single control logic covers the needs of the entire scenario, including audio source input, power amplifier output, and speaker calibration. Secondly, gain and delay have upper and lower limits for hardware values. Directly issuing raw values can easily exceed the limits and trigger device protection. Mute and phase are only state switching and do not require value trimming. By distinguishing four types of target parameters, differentiated processing logic is matched: threshold limiting is applied to gain and delay to ensure hardware safety, while values are directly issued to mute and phase to simplify calculations. At the same time, different parameter types are independently allocated storage start addresses, avoiding defects such as gain parameters being written into delay registers and parameter function disorder. This enables precise and safe group control of multiple types of audio parameters.
[0087] Based on the total number of logic channels, the target logic channels, channel integration information, and power amplifier operating modes, a set of channels to be controlled is constructed, specifically including:
[0088] Retrieve the model adaptation configuration of the target heterogeneous audio device, and verify whether the target logical channel of the target heterogeneous audio device exists based on the total number of logical channels; if the target logical channel exists, determine whether the target logical channel is a bridged slave channel based on the power amplifier working mode; if it is determined to be a bridged slave channel, stop generating write entries for the target heterogeneous audio device and end the current device processing flow.
[0089] If it is determined to be a non-bridged slave channel, the set of channels to be controlled is initialized with the target logic channel; the channel joint debugging information and target parameter type are combined to determine whether joint debugging expansion is triggered. If triggered, the other target logic channels in the same joint debugging group are added to the set of channels to be controlled; if joint debugging expansion is not triggered, it is then determined whether the target logic channel is a bridged master channel. If so, the paired logic channel is added to the set of channels to be controlled according to the power amplifier working mode.
[0090] Specifically, the execution process for device M1-01 is as follows:
[0091] Step 1: Retrieve the M1 model adapter configuration, extract the total number of output channel logic channels (8), the target logic channel (3≤8), and determine that the channel actually exists;
[0092] Step 2: Read the operating mode of M1 amplifier. Channel 3 is not a bridged slave channel. Proceed to the assembly construction process.
[0093] Step 3: Initialize the set of channels to be controlled with target logic channel 3. Initial set: {3};
[0094] Step 4: Read the channel integration information. Channel 3 belongs to integration group #1. The integration group enables the target parameter type "gain" and triggers the integration expansion. Add the remaining logical channels 1, 2, and 4 in the same group to the set and update the set: {1,2,3,4}.
[0095] Step 5: The joint debugging extension has been triggered, and the bridging main channel pairing judgment will no longer be executed. The channel set construction is complete.
[0096] Comparison of replacement instruction scenarios:
[0097] If the modified instruction is: Target logic channel = 1, Target parameter type = Delay (Group 1# only enables gain debugging, delay is not linked):
[0098] Step 1: Channel 1 is verified to exist;
[0099] Step 2: The power amplifier operating mode is determined to be the bridging main channel, but the target parameter type is delay, which does not meet the joint debugging and expansion conditions;
[0100] Step 3: Initialize set {1} with only channel 1;
[0101] Step 4: No joint debugging expansion was triggered. Channel 1 was identified as the bridging master channel. Based on the power amplifier's operating mode, a pairing slave channel 2 was added, resulting in a final set of {1,2}.
[0102] Bridge connection terminates directly from channel:
[0103] If the instruction target logic channel = 2 and the target parameter type = gain:
[0104] Step 1: Channel 2 is verified to exist;
[0105] Step 2: The power amplifier determines that channel 2 is a bridged slave channel, and directly stops generating write entries for M1-01, skipping all subsequent processes such as index conversion and parameter limiting.
[0106] The processing logic of device M2-02 is completely consistent with that of M1.
[0107] Thus, by relying on the total number of dedicated logical channels for each device to verify the validity of the target logical channel, if the instruction channel number exceeds the device's hardware channel limit, the channel is directly determined to be non-existent and will not proceed to subsequent calculations. This avoids the defects of inconsistent total number of channels for different models of heterogeneous devices, and the writing of non-existent hardware channels and parameter errors when issuing unified logical channel numbers. Secondly, the bridged slave channel is identified by the power amplifier's working mode. Once identified, the entire device process is terminated directly without generating any write messages. This solves the problem of audio noise and parameter jumps caused by bidirectional synchronization conflicts when parameters are issued to the bridged master and slave channels at the same time, which is common in traditional solutions. It also reduces redundant data packets in the network and lowers the bus communication load. In addition, the joint debugging extension only takes effect when the target parameter type matches the joint debugging group's enabled type. It accurately identifies the associated channels that need to be adjusted synchronously, eliminating the need for multiple manual issuance of multiple instructions. A single group instruction can complete the synchronous adjustment of the entire group of channels, ensuring consistent sound field balance.
[0108] Based on the parameter storage start position, channel parameter restriction information, target channel type, target parameter type, and target parameter value, combined with the set of channels to be controlled, a device parameter storage index and the restricted target parameter values are generated, specifically including:
[0109] Traverse each target logical channel in the set of channels to be controlled. For the target logical channel being traversed, retrieve the corresponding parameter storage start position from the model adaptation configuration of the current target heterogeneous audio device according to the target channel type and target parameter type. Add the parameter storage start position to the sequence number of the current target logical channel to calculate the device parameter storage index corresponding to the target logical channel.
[0110] Based on the channel parameter constraint information, match the parameter constraint rules corresponding to the target parameter type, and use the matched parameter constraint rules to restrict the target parameter value to obtain the restricted target parameter value.
[0111] In some embodiments, the process of restricting the target parameter value using the matched parameter constraint rules specifically includes:
[0112] If the target parameter type is gain, the corresponding parameter constraint rule is to limit the target parameter value to between the lower and upper limits of the gain of the corresponding target logic channel;
[0113] If the target parameter type is delay, the corresponding parameter constraint rule is to limit the target parameter value to no more than the delay limit of the corresponding target logic channel;
[0114] If the target parameter type is mute or phase, then there is no need to impose numerical restrictions on the target parameter value.
[0115] Specifically, the four logical channels 1, 2, 3, and 4 within the set of channels to be controlled are traversed one by one, and the calculation rule is unified: Device parameter storage index = parameter storage start position + logical channel number × single channel register length.
[0116] Preset parameter constraint rules: Gain parameters are matched to the upper and lower limits of the corresponding channel gain for numerical clamping; delay is matched to the maximum delay threshold; mute and phase have no numerical constraints. In this embodiment, the target parameter type is gain, and the original target parameter value is 15dB.
[0117] For all channels of M1-01, the channel parameter limit information shows a gain limit of 12dB. 15dB exceeds the threshold. After unified limitation processing, the value is corrected to 12dB.
[0118] For all channels of M2-02, the channel parameter limitation information shows a gain limit of 18dB, with 15dB being within the safe range. After limitation processing, the value remains unchanged at 15dB.
[0119] Each of the four logic channels 1, 2, 3, and 4 within the set performs the limiting process independently once, and there is no case of missing the limiting in the linked channels.
[0120] In this way, relying on the differentiated parameter storage starting position within the model adaptation configuration, and combining the target channel type and target parameter type to accurately match the register base address, each logical channel within the set calculates its own dedicated storage index. M1 and M2 generate completely isolated hardware write addresses, ensuring that the same set of user group instructions will not have cross-model addressing misalignment. At the same time, all linked channels extended by joint debugging and bridging calculate their indices independently, avoiding some channel address matching errors and sound field imbalance during synchronous adjustment. Secondly, the channel parameter limit information reported by the device in real time is retrieved, and dedicated constraint rules are matched according to the target parameter type to perform adaptive clamping correction on the original parameters. Even if multiple linked channels are controlled synchronously, each channel executes amplitude limiting independently, eliminating the vulnerability of linked channel values exceeding limits. The parameters sent to the device are always within the hardware allowable range, ensuring the stable operation of the audio system for a long time and reducing equipment failure downtime.
[0121] In some embodiments, each target audio device locally stores three types of group information: group identifier, group sequence number, and group name. The control terminal aggregates all target audio devices by group identifier. Devices within the same group are sorted in ascending order based on their group sequence number. If the group sequence numbers are the same, they are sorted deterministically according to the device network address values from smallest to largest.
[0122] Specifically, the implementation of group information reporting and aggregation:
[0123] Local storage implementation: Each audio device has a built-in independent non-volatile storage partition, which is divided into three fixed storage bits, and a group identifier string, a numeric group sequence number, and a group name string are written to it respectively; During the device network handshake phase, the three types of group information and the local IP address are uploaded at once through TCP packets, and the control end opens a group information cache table to store all reported data in a unified manner;
[0124] Aggregation by group identifier: The control terminal traverses all online devices in the cache table, uses the group identifier GROUP_A as the search keyword, selects three devices in the same group, and aggregates M1-01, M2-02, and M1-03 into the dedicated GROUP_A device list. The remaining devices with different group identifiers are stored in other group lists, realizing multi-group data isolation storage.
[0125] For deterministic sorting of devices within the same group, first compare the serial numbers within the group; if the serial numbers are the same, compare the numerical values of the IP addresses.
[0126] Step 1: First-level sorting - sort by group number in ascending order. M2-02 has the highest priority as its group number is 1; M1-01 and M1-03 both have the highest priority as their group numbers are 2, so they proceed to the second-level sorting.
[0127] Step 2: Secondary sorting – When the serial numbers within a group are the same, convert the IP addresses to 32-bit decimal values and sort them from smallest to largest; M1-01 IP value: 192.168.1.10 → 3232235786; M1-03 IP value: 192.168.1.15 → 3232235791; Comparing the values, 192.168.1.10 < 192.168.1.15, therefore M1-01 is ranked before M1-03;
[0128] Step 3: Final GROUP_A grouped ordered device list: [M2-02, M1-01, M1-03].
[0129] In this way, each device persistently stores the group identifier, group sequence number, and group name locally, ensuring that group ownership data is not lost due to control terminal restarts or temporary network disconnections. Devices automatically report the complete set of group information upon power-on, eliminating the need for manual reconfiguration of group relationships on the control terminal. This significantly reduces the workload of group configuration and maintenance when networking dozens of audio devices in large venues. The group name field allows operators to intuitively distinguish different groups, improving human-computer interaction. Secondly, the control terminal uses the group identifier as the sole aggregation dimension to divide amplifier devices from different stages and areas into independent lists for storage. When issuing group control commands, only the device list under the corresponding group identifier is retrieved, completely preventing the mixing of devices from other groups. This eliminates cross-group sound field misadjustment from a data storage perspective, adapting to the synchronous management needs of large-scale audio projects with multiple zones and groups. Furthermore, a two-layer sorting rule is set: priority is given to sorting according to manually preset group sequence numbers, and engineers can customize device processing priorities based on the sound field layout. When multiple devices have the same sequence number, a fixed IP address is used for priority handling. The numerical values are sorted in two stages. Regardless of whether the device goes online or offline or the network is reconnected, the sorting result of the device in the same group is always unique and fixed. The processing timing of the device is completely consistent each time the group is adjusted, and the consistency of sound field synchronization is greatly improved.
[0130] Based on the device parameter storage index and the target parameter value after restriction processing, an independent device write entry adapted to the current target audio device is generated.
[0131] The individual device write entries corresponding to each target audio device are sent to the corresponding target audio device for parameter updates.
[0132] Specifically, generate independent device write entries:
[0133] For a single device, the device parameter storage index of all channels of the device is paired and encapsulated with the target parameter value after the amplitude limit to generate an independent binary write message (i.e., independent device write item) that is only compatible with the local hardware. The message structure has three fixed segments: device identity verification code, multiple sets of index-parameter key-value pairs, and verification CRC code.
[0134] Point-to-point distribution and device parameter updates:
[0135] The control unit maintains a long-lived TCP connection with each audio device and stores a unique network IP mapping for each device: M1-01 corresponds to 192.168.1.10, and M2-02 corresponds to 192.168.1.20; it executes a one-to-one delivery logic.
[0136] The M1-specific independent write item is sent separately to IP192.168.1.10 via TCP link; after receiving it, the M1 device parses each group of storage indexes in the message, writes 12dB gain to the corresponding hardware register, and completes the synchronous update of parameters for 4 channels.
[0137] The M2-specific independent write entry is sent separately to IP192.168.1.20; the M2 device parses the message, writes 15dB gain to the corresponding register on its own device, and completes the synchronous update of parameters for 4 channels;
[0138] The messages between the two devices are isolated from each other, so there will be no issues with message cross-transmission or incorrect reception; after the device completes the update, it returns an update success response message to the control terminal, and the control terminal records the control log.
[0139] In this way, each device is matched with a dedicated storage index, amplitude limiting parameters, and model check code, and the write item is independently encapsulated. The M1 and M2 message address systems are completely isolated. Even in broadcast transmission, the device filters out non-local messages through the built-in identity check code, completely solving the core defects of parameter misalignment and volume disorder when heterogeneous devices are networked together. Secondly, instead of using a group-wide broadcast method, the corresponding write item is sent point-to-point, eliminating the situation of sending redundant data packets to incompatible or filtered devices, and significantly reducing invalid communication traffic in the audio LAN. At the same time, the message length of a single device only contains the control channel data required by the local device, which is faster than global broadcast short message transmission, and the response speed is significantly improved in large-scale multi-device group control scenarios. One-to-one links can be retransmitted after timeout, and the failure of communication of a single device does not affect the parameter updates of other devices, resulting in stronger fault tolerance.
[0140] A group control system for heterogeneous audio devices, comprising:
[0141] A model adaptation configuration storage module is used to pre-store the model adaptation configuration of the heterogeneous audio devices that support control on the control terminal. The model adaptation configuration includes the total number of logical channels corresponding to each channel type and the parameter storage start position corresponding to each parameter type in the device parameter storage area.
[0142] The information acquisition module is used to acquire device status information reported by the target audio device and unified group control instructions issued by external devices. The device status information includes channel parameter limitation information, channel integration information, and power amplifier operating mode. The group control instructions include target channel type, target logical channel, target parameter type, and target parameter value.
[0143] The module for constructing the set of channels to be controlled is used to construct the set of channels to be controlled based on the total number of logical channels, the target logical channels, channel integration information, and power amplifier operating mode.
[0144] The index and limit calculation module is used to generate the device parameter storage index and the target parameter value after limit processing based on the parameter storage start position, channel parameter limit information, target channel type, target parameter type, target parameter value, and the set of channels to be controlled.
[0145] The device write item generation module is used to generate independent device write items adapted to the current target audio device based on the device parameter storage index and the target parameter values after restriction processing.
[0146] The message delivery module is used to send the independent device write items corresponding to each target audio device to the corresponding target audio device for parameter update.
[0147] A computing device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the steps of any of the above-described group control methods for heterogeneous audio devices.
[0148] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of any of the above-described group control methods for heterogeneous audio devices.
[0149] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A group control method for heterogeneous audio devices, characterized in that, Specifically, it includes: The control terminal pre-stores model adaptation configurations for heterogeneous audio devices that support control. The model adaptation configurations include the total number of logical channels corresponding to each channel type and the parameter storage start position corresponding to each parameter type in the device parameter storage area. The system acquires device status information reported by the target audio device and unified group control commands issued by external devices. The device status information includes channel parameter limitation information, channel integration information, and power amplifier operating mode. The group control commands include target channel type, target logical channel, target parameter type, and target parameter value. Based on the total number of logic channels, the target logic channels, channel integration information, and power amplifier operating mode, construct a set of channels to be controlled; Based on the parameter storage start position, channel parameter restriction information, target channel type, target parameter type, and target parameter value, and combined with the set of channels to be controlled, generate the device parameter storage index and the target parameter value after restriction processing; Based on the device parameter storage index and the target parameter value after restriction processing, generate an independent device write item adapted to the current target audio device; The individual device write entries corresponding to each target audio device are sent to the corresponding target audio device for parameter updates.
2. The group control method for heterogeneous audio devices according to claim 1, characterized in that, Based on the total number of logic channels, the target logic channels, channel integration information, and power amplifier operating modes, a set of channels to be controlled is constructed, specifically including: Retrieve the model adaptation configuration of the target heterogeneous audio device, and verify whether the target logical channel of the target heterogeneous audio device exists based on the total number of logical channels; if the target logical channel exists, determine whether the target logical channel is a bridged slave channel based on the power amplifier working mode; if it is determined to be a bridged slave channel, stop generating write entries for the target heterogeneous audio device and end the current device processing flow. If it is determined to be a non-bridged slave channel, the set of channels to be controlled is initialized with the target logic channel; the channel joint debugging information and target parameter type are combined to determine whether joint debugging expansion is triggered. If triggered, the other target logic channels in the same joint debugging group are added to the set of channels to be controlled; if joint debugging expansion is not triggered, it is then determined whether the target logic channel is a bridged master channel. If so, the paired logic channel is added to the set of channels to be controlled according to the power amplifier working mode.
3. The group control method for heterogeneous audio devices according to claim 1, characterized in that, The process of generating a device parameter storage index and the restricted target parameter values based on the parameter storage start position, channel parameter restriction information, target channel type, target parameter type, and target parameter value, combined with the set of channels to be controlled, specifically includes: Traverse each target logical channel in the set of channels to be controlled. For the target logical channel being traversed, retrieve the corresponding parameter storage start position from the model adaptation configuration of the current target heterogeneous audio device according to the target channel type and target parameter type. Add the parameter storage start position to the sequence number of the current target logical channel to calculate the device parameter storage index corresponding to the target logical channel. Based on the channel parameter constraint information, match the parameter constraint rules corresponding to the target parameter type, and use the matched parameter constraint rules to restrict the target parameter value to obtain the restricted target parameter value.
4. The group control method for heterogeneous audio devices according to claim 1, characterized in that, The target channel type includes at least one of input channel, output channel, and speaker channel, and the target parameter type includes at least one of gain, mute, phase, and delay.
5. The group control method for heterogeneous audio devices according to claim 4, characterized in that, The process of applying the matched parameter constraint rules to restrict the target parameter value specifically includes: If the target parameter type is gain, the corresponding parameter constraint rule is to limit the target parameter value to between the lower and upper limits of the gain of the corresponding target logic channel; If the target parameter type is delay, the corresponding parameter constraint rule is to limit the target parameter value to no more than the delay limit of the corresponding target logic channel; If the target parameter type is mute or phase, then there is no need to impose numerical restrictions on the target parameter value.
6. The group control method for heterogeneous audio devices according to claim 1, characterized in that, Before acquiring the device status information reported by the target audio device and the unified group control command issued by the external device, the control terminal further includes determining at least two target heterogeneous audio devices in the same device group according to a preset filtering rule. The preset filtering rule specifically includes: The device model falls into the set of supported models on the control terminal, the device has completely returned the group data, the device user sequence identifier is consistent with the current user sequence identifier on the control terminal, and the device group identifier is the same as the group identifier to be operated.
7. The group control method for heterogeneous audio devices according to claim 1, characterized in that, Each target heterogeneous audio device locally stores three types of group information: group identifier, group sequence number, and group name. The control terminal aggregates all target audio devices based on the group identifier. Devices within the same group are sorted in ascending order according to their group sequence number. If the group sequence numbers are the same, they are sorted deterministically according to the device network address values from smallest to largest.
8. A group control system for heterogeneous audio devices, characterized in that, include: A model adaptation configuration storage module is used to pre-store the model adaptation configuration of the heterogeneous audio devices that support control on the control terminal. The model adaptation configuration includes the total number of logical channels corresponding to each channel type and the parameter storage start position corresponding to each parameter type in the device parameter storage area. The information acquisition module is used to acquire device status information reported by the target audio device and unified group control instructions issued by external devices. The device status information includes channel parameter limitation information, channel integration information, and power amplifier operating mode. The group control instructions include target channel type, target logical channel, target parameter type, and target parameter value. The module for constructing the set of channels to be controlled is used to construct the set of channels to be controlled based on the total number of logical channels, the target logical channels, channel integration information, and power amplifier operating mode. The index and limit calculation module is used to generate the device parameter storage index and the target parameter value after limit processing based on the parameter storage start position, channel parameter limit information, target channel type, target parameter type, target parameter value, and the set of channels to be controlled. The device write item generation module is used to generate independent device write items adapted to the current target audio device based on the device parameter storage index and the target parameter values after restriction processing. The message delivery module is used to send the independent device write items corresponding to each target audio device to the corresponding target audio device for parameter update.
9. A computing device, characterized in that, The method includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the steps of the group control method for heterogeneous audio devices as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the steps of the group control method for heterogeneous audio devices as described in any one of claims 1 to 7.
