Audio routing control method, system, storage medium, and electronic device

CN123020528APending Publication Date: 2026-10-30GUANGZHOU SHIZHEN SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510476813.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-16
Publication Date
2026-10-30

AI Technical Summary

Technical Problem

[0005]在实现本发明的过程中,发现在一些应用场景中只是为了实现简单的音频数据转发,例如在会议场景中,通常只是需要将麦克风的音频数据经由音频主机设备转发给扬声器,如若采用手动路由配置的方式,操作复杂,效率低下,而且,手动路由配置方式也可能因误操作导致路由失效,增大了设备使用复杂性与运维成本

Benefits of technology

[0034]当所述音频主机设备接入所述局域网的时间晚于所述音频终端设备接入所述局域网的时间时,响应于所述音频主机设备接入局域网的触发操作,向所述局域网发布终端信息请求;所述音频终端设备根据所述终端信息请求,将所述终端设备信息通过所述局域网发布给音频主机设备。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123020528A_ABST
    Figure CN123020528A_ABST
Patent Text Reader

Abstract

The embodiment of the application provides an audio routing control method, system, storage medium and electronic equipment, the method comprises the following steps: obtaining terminal device information published by a plurality of audio terminal devices in a local area network; the terminal device information comprises a terminal device identifier, a device type identifier and a routing configuration identifier; in the plurality of terminal device identifiers, determining a plurality of candidate terminal device identifiers with the routing configuration identifier being automatic routing configuration, and determining a target terminal device identifier and a target routing channel corresponding to the target terminal device identifier according to the plurality of device type identifiers, the plurality of candidate terminal device identifiers and a plurality of routing channels; without manual configuration of the routing, after the audio terminal device accesses the local area network, an audio communication connection is automatically established with the audio terminal device corresponding to the target terminal device identifier according to the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier, thereby improving the routing configuration efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of audio processing, and in particular to an audio routing control method, system, storage medium, and electronic device. Background Technology

[0002] With the development of technology, network audio systems based on AoIP (Audio over IP, which is a technology for transmitting audio signals over IP networks, where IP is short for Internet Protocol) have been used more and more widely.

[0003] In related technologies, network audio systems typically include an audio control device and several audio devices; these audio devices usually include microphones, speakers, and multiple relay devices, which can be audio host devices. Based on the audio routing relationships on the audio control device, audio data can be transmitted between audio devices over the network even if they pass through multiple relay devices.

[0004] However, audio routing relationships on audio control devices typically require users to manually configure routing channels to establish routing relationships between devices. Specifically, users need to select the transmitter, relay, and receiver from several audio devices one by one, and then manually configure the routing channels between the transmitter, relay, and receiver to establish routing relationships between devices.

[0005] In the process of developing this invention, it was found that in some application scenarios, it is only necessary to achieve simple audio data forwarding. For example, in a conference scenario, it is usually only necessary to forward the microphone's audio data to the speaker via the audio host device. If manual routing configuration is used, the operation is complicated and inefficient. Moreover, manual routing configuration may also cause routing failure due to misoperation, which increases the complexity of device use and maintenance costs. Summary of the Invention

[0006] To overcome the problems existing in related technologies, this application provides an audio routing control method, system, storage medium, and electronic device that eliminates the need for users to manually configure routes, improves routing configuration efficiency, avoids routing failures caused by manual misconfiguration, and reduces the complexity of device use and maintenance costs.

[0007] According to a first aspect of the embodiments of this application, an audio routing control method is provided, applied to an audio host device, the audio host device including a plurality of routing channels; the method includes the following steps:

[0008] Obtain terminal device information published by several audio terminal devices within the local area network; the several audio terminal devices are devices connected to the local area network; the terminal device information includes terminal device identifier, device type identifier, and routing configuration identifier;

[0009] Among several terminal device identifiers, several candidate terminal device identifiers with automatic routing configuration identifiers are identified, and a target terminal device identifier and the target routing channel corresponding to the target terminal device identifier are determined based on several device type identifiers, the several candidate terminal device identifiers and the several routing channels.

[0010] An audio communication connection is established with the audio terminal device corresponding to the target terminal device based on the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier.

[0011] This application embodiment targets several audio terminal devices connected to a local area network (LAN). It obtains terminal device information published by these devices, including a terminal device identifier, a device type identifier, and a routing configuration identifier. From these identifiers, the routing configuration identifier is selected as a candidate for automatic routing configuration. Based on the device type identifier, the candidate terminal device identifiers, and the routing channels, a target terminal device identifier and its corresponding target routing channel are determined. An audio communication connection is established between the target terminal device identifier and its corresponding target routing channel. This eliminates the need for manual routing configuration by the user. After the audio terminal device connects to the LAN, an audio communication connection with the audio host device is automatically established, enabling audio data communication between the audio host device and the audio terminal device. This improves routing configuration efficiency, avoids routing failures caused by manual misconfiguration, and reduces device complexity and maintenance costs.

[0012] In one embodiment, the step of determining the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier based on a plurality of device type identifiers, a plurality of candidate terminal device identifiers, and a plurality of routing channels includes:

[0013] Among the candidate terminal device identifiers, a number of first terminal device identifiers indicating that the audio terminal device is an audio input device are determined, and a number of automatic routing input channels are determined from the number of routing channels.

[0014] Based on the plurality of first terminal device identifiers and the plurality of automatic routing input channels, the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier are determined.

[0015] In this embodiment, among the several candidate terminal device identifiers, a first terminal device identifier is determined, indicating that the audio terminal device is an audio input device. Several automatic routing input channels are selected from several automatic routing channels. Then, based on the first terminal device identifier and the several automatic routing input channels, the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier are determined. This ensures that the audio input signal is accurately transmitted to the appropriate channel, avoiding problems such as signal loss that may occur when the audio signal is transmitted in a mismatched channel, thereby ensuring high-quality transmission of the audio signal.

[0016] In one embodiment, the terminal device information further includes a priority identifier; the step of determining the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier based on the plurality of first terminal device identifiers and the plurality of automatic routing input channels includes:

[0017] When the number of the plurality of first terminal device identifiers is greater than the number of the plurality of automatic routing input channels, according to the priority identifiers corresponding to the plurality of first terminal device identifiers, target terminal device identifiers with the same number as the plurality of automatic routing input channels are determined from the plurality of first terminal device identifiers; the plurality of automatic routing channels are assigned one-to-one to the corresponding number of target terminal device identifiers to obtain the target routing channel corresponding to the target terminal device identifier.

[0018] This application embodiment takes into account that when the number of a plurality of first terminal device identifiers is greater than the number of a plurality of automatic routing input channels, direct allocation may cause some audio terminal devices to be unable to obtain automatic routing input channels. Therefore, by selecting target audio terminal devices according to priority identifiers, it ensures that the limited automatic routing channels are allocated to more important audio terminal devices, avoiding the situation where key audio terminal devices cannot be used due to unreasonable allocation of routing channel resources, and improving the utilization rate of routing channel resources.

[0019] In one embodiment, the terminal device information further includes audio status information; the audio status information includes audio control signals and audio level signals; the step of determining the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier based on the plurality of first terminal device identifiers and the plurality of automatic routing input channels includes:

[0020] When the number of the plurality of first terminal device identifiers is greater than the number of the plurality of automatic routing input channels, a plurality of second terminal device identifiers are determined from the plurality of first terminal device identifiers according to the audio control signal; the second audio terminal identifier is the first terminal device identifier that is determined to be the audio terminal device that has started audio acquisition according to the audio control signal.

[0021] When the number of the plurality of second terminal device identifiers is greater than the number of the plurality of automatic routing input channels, according to the audio level signal, a target terminal device identifier with the same number as the plurality of automatic routing input channels is determined from the plurality of second terminal device identifiers; the plurality of automatic routing channels are assigned one-to-one to the corresponding number of target terminal device identifiers to obtain the target routing channel corresponding to the target terminal device identifier.

[0022] In this embodiment of the application, when the number of the first terminal device identifiers is greater than the number of the plurality of automatic routing input channels, the limited automatic routing channels are allocated to audio terminal devices that need to transmit audio data more, based on the audio control signal and the audio level signal. This avoids the situation where key audio terminal devices cannot be used due to unreasonable allocation of routing channel resources, and improves the utilization rate of routing channel resources.

[0023] In one embodiment, the step of establishing an audio communication connection with the audio terminal device corresponding to the target terminal device identifier based on the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier includes:

[0024] An audio routing subscription request is sent to the audio terminal device corresponding to the target terminal device identifier; the audio routing subscription request includes a target routing channel identifier, so that after receiving the audio routing subscription request, the audio terminal device corresponding to the target terminal device identifier establishes an audio communication connection with the audio host device based on the target routing channel identifier.

[0025] This application embodiment takes into account the wide variety of audio terminal devices, which may be frequently changed or connected to different audio host devices. Through device type identifiers and terminal device identifiers, the audio host device can automatically identify the type and specific identity of the connected audio input device, thereby achieving automatic adaptation. This avoids the tedious process of manually configuring device types and routing parameters, allowing for more efficient management of audio signal transmission paths and preventing audio transmission interruptions due to manual configuration errors. Furthermore, in an audio system, the audio input device needs to accurately transmit audio signals to the designated channel of the audio host device. The audio host device sends an audio routing subscription request containing the target automatic routing channel identifier to the audio input device, clearly informing it which channel to use for communication. This ensures that the audio data from the audio input device is transmitted along the preset path, preventing audio loss or incorrect playback due to incorrect channel selection.

[0026] In one embodiment, the step of determining the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier based on a plurality of device type identifiers, a plurality of candidate terminal device identifiers, and the plurality of routing channels includes:

[0027] Among several candidate terminal device identifiers, a target terminal device identifier is determined that indicates the audio terminal device is an audio output device; among the several routing channels, a preset routing output channel is selected as the target routing channel corresponding to the target terminal device identifier.

[0028] In this embodiment of the application, when the audio terminal device is determined to be an audio output device, a preset routing output channel is directly selected as the target routing channel. This eliminates the need for the user to manually configure the routing output channel, simplifies the operation process, avoids unnecessary channel selection, and allows the audio host device to allocate routing channels more efficiently.

[0029] In one embodiment, after the step of obtaining terminal device information published by several audio terminal devices within the local area network, the process includes:

[0030] Among several terminal device identifiers, several third terminal device identifiers that are manually configured for routing are identified; in response to a trigger operation of the routing configuration interface, the routing configuration interface is displayed; in the routing configuration interface, the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier are received by the user based on the several third terminal device identifiers.

[0031] The audio host device in this application embodiment also provides a routing configuration interface for audio terminal devices with manual routing configuration, allowing users to select target routing channels, thereby meeting users' needs for manual routing configuration and providing various routing configuration methods.

[0032] In one embodiment, the step of obtaining terminal device information published by a plurality of audio terminal devices within a local area network includes:

[0033] When the audio host device accesses the local area network earlier than the audio terminal device accesses the local area network, the terminal device information sent by the audio terminal device is obtained from the local area network.

[0034] When the audio host device accesses the local area network later than the audio terminal device accesses the local area network, in response to the triggering operation of the audio host device accessing the local area network, it publishes a terminal information request to the local area network; the audio terminal device publishes the terminal device information to the audio host device through the local area network according to the terminal information request.

[0035] In this embodiment, when the audio host device connects to the local area network (LAN) first, it directly obtains the terminal device information sent by the audio terminal device from within the LAN. When the audio terminal device connects to the LAN first, and the audio host device connects later, it publishes a terminal information request to the LAN. After receiving the terminal information request, the audio terminal device then publishes the terminal device information to the audio host device through the LAN. This avoids the audio terminal device frequently sending terminal device information when there is no need for it, saving communication resources and reducing the power consumption of the audio terminal device.

[0036] According to a second aspect of the embodiments of this application, an audio routing system is provided, including an audio host device and a plurality of audio terminal devices; the audio host device and the plurality of audio terminal devices are located in the same local area network;

[0037] The aforementioned audio terminal devices are used to publish terminal device information within the local area network; the terminal device information includes a terminal device identifier, a device type identifier, and a routing configuration identifier;

[0038] The audio host device is used to obtain terminal device information published by the plurality of audio terminal devices within the local area network; among the plurality of terminal device identifiers, determine a plurality of candidate terminal device identifiers with automatic routing configuration identifiers; determine a target terminal device identifier and a target routing channel corresponding to the target terminal device identifier based on a plurality of device type identifiers, the plurality of candidate terminal device identifiers, and the plurality of routing channels; and establish an audio communication connection with the audio terminal device corresponding to the target terminal device identifier based on the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier.

[0039] According to a third aspect of the embodiments of this application, an electronic device is provided, including a processor and a memory; the memory stores a computer program adapted to be loaded by the processor and executed as described above in the audio routing control method.

[0040] According to a fourth aspect of the embodiments of this application, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the audio routing control method as described above.

[0041] This application embodiment targets several audio terminal devices connected to a local area network (LAN). It obtains terminal device information published by these devices, including a terminal device identifier, a device type identifier, and a routing configuration identifier. From these identifiers, the routing configuration identifier is selected as a candidate for automatic routing configuration. Based on the device type identifier, the candidate terminal device identifier, and the routing channels, a target terminal device identifier and its corresponding target routing channel are determined. An audio communication connection is established between the target terminal device identifier and its corresponding target routing channel. This eliminates the need for manual routing configuration by the user. After the audio terminal device connects to the LAN, an audio communication connection with the audio host device is automatically established, enabling audio data communication between the audio host device and the audio terminal device. This improves routing configuration efficiency, avoids routing failures caused by manual misconfiguration, and reduces device complexity and maintenance costs.

[0042] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application.

[0043] To better understand and implement this invention, the following detailed description is provided in conjunction with the accompanying drawings. Attached Figure Description

[0044] To more clearly illustrate the technical solutions in the embodiments of this application 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 this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0045] Figure 1 This is a flowchart illustrating an embodiment of the audio routing control method of this application;

[0046] Figure 2 This is a flowchart illustrating a method for obtaining terminal device information according to one embodiment of this application;

[0047] Figure 3 This is a flowchart illustrating a method for determining a target terminal device identifier based on a device type identifier, as shown in one embodiment of this application.

[0048] Figure 4 This is a flowchart illustrating a method for determining a target terminal device identifier and the corresponding target routing channel based on audio status information, as shown in one embodiment of this application.

[0049] Figure 5 This is a schematic block diagram illustrating the structure of an audio routing control system according to one embodiment of this application;

[0050] Figure 6 This is a schematic block diagram illustrating the structure of an electronic device according to one embodiment of this application. Detailed Implementation

[0051] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings. Wherein, when the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements.

[0052] It should be understood that the embodiments described below do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without inventive effort are within the scope of protection of this application.

[0053] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms "a" and "the" as used herein are also intended to include the plural forms unless the context clearly indicates otherwise. Furthermore, in the description of this application, unless otherwise stated, "a plurality of" means two or more. It should also be understood that the term "and / or" as used herein refers to and includes any or all possible combinations of one or more associated listed items, for example, A and / or B, which can represent: A alone, A and B together, and B alone; the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0054] It should be understood that although the terms first, second, third, etc., may be used in this application to describe various information, this information should not be limited to these terms, and these terms are only used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence, nor should they be construed as indicating or implying relative importance. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances. Depending on the context, the word "if" as used in this application can be interpreted as "when," "when," or "in response to determination."

[0055] In related technologies, network audio systems typically include an audio control device and several audio devices; these audio devices usually include microphones, speakers, and multiple relay devices, which can be audio host devices. Based on the audio routing relationships on the audio control device, audio data can be transmitted between audio devices over the network even if they pass through multiple relay devices.

[0056] However, audio routing relationships on audio control devices typically require users to manually configure routing channels to establish routing relationships between devices. Specifically, users need to select the transmitter, relay, and receiver from several audio devices one by one, and then manually configure the routing channels between the transmitter, relay, and receiver to establish routing relationships between devices.

[0057] In the process of developing this invention, it was found that in some application scenarios, it is only necessary to achieve simple audio data forwarding. For example, in a conference scenario, it is usually only necessary to forward the microphone's audio data to the speaker via the audio host device. If a manual routing configuration method is used, the operation is complicated and inefficient. Moreover, additional audio control devices need to be configured. The manual routing configuration method may also cause routing failure due to misoperation, which increases the complexity of device use and maintenance costs. In addition, the additional audio control devices required are costly.

[0058] After the audio terminal device of this application is connected to the local area network, it publishes its own terminal device information. Based on the terminal device identifier, routing configuration identifier and device type of several terminal device information, the audio host device automatically configures the routing channel for the audio terminal device, and then automatically establishes an audio communication connection with the audio terminal device. This eliminates the need for users to manually configure the routing, improves routing configuration efficiency, eliminates the need to configure additional audio control devices, avoids routing failure caused by manual misconfiguration, and reduces the complexity of device use and maintenance costs.

[0059] The audio routing control method of this application can be applied to conference or teaching scenarios, and this application is not limited thereto. The technical solution of this application is described below using a conference scenario as an example. The application scenario of the audio routing control method of this application includes an audio host device and several audio terminal devices. All the audio host device and the several audio terminal devices are connected to the same local area network.

[0060] An audio terminal device is a hardware device with audio input or audio output capabilities. An audio terminal device can be a microphone or speaker, or it can be an electronic device with a built-in microphone or speaker, such as an interactive whiteboard.

[0061] An audio host device is a device used to process audio signals, typically possessing multiple functions such as audio acquisition, processing, and transmission. The audio routing control method of this application can be executed by an audio host device, which can be implemented through software and / or hardware. An audio host device can consist of two or more physical entities, or it can be a single physical entity. The hardware referred to by the audio host device essentially refers to computer equipment; for example, the audio host device can be a computer, mobile phone, or interactive whiteboard, or other smart devices.

[0062] The following will be combined with the appendix Figures 1 to 4 This application provides a detailed description of the audio routing control method provided in its embodiments.

[0063] Please see Figure 1 The audio routing control method provided in this application is applied to an audio host device, which includes several routing channels; the method includes the following steps:

[0064] Step S101: Obtain terminal device information published by several audio terminal devices within the local area network; the several audio terminal devices are devices connected to the local area network; the terminal device information includes terminal device identifier, device type identifier, and routing configuration identifier.

[0065] An audio terminal device is a hardware device with audio input or audio output capabilities. Optionally, an audio terminal device can be a microphone or speaker, etc. An audio terminal device can also be an electronic device with a built-in microphone or speaker, such as an interactive whiteboard.

[0066] After the audio terminal device is connected to the local area network (LAN), it publishes terminal device information within the LAN using a preset communication protocol. The preset communication protocol can be MDNS (multicast DNS, a multicast protocol), Bonjour (zero-configuration networking, a name given to an open zero-configuration network standard based on multicast domain name services, which can automatically discover computers, devices and services on IP networks), or SSDP (Simple Service Discovery Protocol, a protocol used to discover and publish devices and services in a local network), etc., and this application does not limit it.

[0067] Optionally, after the audio terminal device is connected to the local area network, it may publish its information within the local area network through multicast, broadcast, or other means that can be discovered by the audio host device. This application does not impose any restrictions on this.

[0068] In one optional embodiment, after the audio terminal device connects to the local area network (LAN), it publishes terminal device information within the LAN at preset time intervals. In another optional embodiment, after the audio terminal device connects to the LAN, it publishes terminal device information once within the LAN, and then publishes terminal device information again upon receiving a device information request from the audio host device.

[0069] It should be understood that "several audio terminal devices" includes one or more audio terminal devices. Each audio terminal device sends its own terminal device information. That is to say, the audio host device may obtain terminal device information published by one audio terminal device within the local area network, or it may obtain terminal device information published by more than one audio terminal device.

[0070] A terminal device identifier is used to uniquely identify audio terminal devices within a local area network (LAN) to accurately distinguish between different audio terminal devices. The terminal device identifier can be a hardware identifier, such as a MAC address or device serial number. In this case, the terminal device identifier can be obtained by reading the MAC address or device serial number through the device firmware. Alternatively, it can be a network identifier, such as an IP address. In this case, the IP address can be obtained through the communication protocol to obtain the terminal device identifier. Finally, the terminal device identifier can be a user-defined name, such as a main microphone in a conference room. In this case, the terminal device identifier can be obtained by reading the user-defined name set by the user.

[0071] The device type identifier describes the functional role of a device; specifically, it indicates whether the device has audio input or audio output capabilities. The device type identifier is configured at the factory and can be retrieved through the device firmware.

[0072] The routing configuration identifier describes the routing configuration method of the audio host device, indicating whether it is automatic or manual routing configuration.

[0073] Automatic routing configuration instructs the audio host device to automatically configure a routing channel for the audio terminal device. In one optional embodiment, a pre-installed tag can be set to automatic routing configuration on the audio terminal device at the factory. For example, for audio terminal devices capable of automatic routing configuration, the routing configuration tag is set to automatic routing configuration at the factory to instruct the audio host device to automatically configure a routing channel for the audio terminal device. In another optional embodiment, the audio terminal device can perform automatic configuration according to a preset communication strategy. For example, when the audio terminal device detects audio data transmission over a local area network, it sets the routing configuration tag to automatic routing configuration.

[0074] Manual routing configuration indicates that the audio host device needs to receive a routing channel manually configured by the user. In one optional embodiment, a tag can be pre-configured at the factory to set the routing configuration identifier to manual routing configuration. For example, the routing configuration identifier can be configured to manual routing configuration at the factory to indicate that the audio host device needs to receive a routing channel manually configured by the user. In another optional embodiment, the user manually configures the routing configuration identifier to manual routing configuration. In yet another optional embodiment, if the routing configuration identifier is not resolved in the terminal device information, it will also be determined as manual routing configuration.

[0075] Step S102: Among several terminal device identifiers, determine several candidate terminal device identifiers whose routing configuration identifier is automatic routing configuration, and determine the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier based on several device type identifiers, several candidate terminal device identifiers and several routing channels.

[0076] In this embodiment, several candidate terminal device identifiers with automatic routing configuration identifiers are selected from a plurality of terminal device identifiers to achieve automatic routing configuration of audio terminal devices, reducing user configuration operations and improving configuration efficiency. It should be understood that the audio terminal device with an automatic routing configuration identifier in this application is a special device, distinct from manually configured devices in related technologies. In this embodiment, the audio terminal device with an automatic routing configuration identifier is configured to support automatic routing configuration at the factory and can automatically instruct the audio host device to perform automatic routing configuration through the routing configuration identifier, requiring no user operation whatsoever.

[0077] A routing channel is the audio transmission path between audio terminal devices and audio host devices in a network. Audio terminal devices can be either audio input or audio output devices, and several routing channels include routing input channels and routing output channels. Therefore, depending on whether the audio terminal device is an audio input or audio output device, the target automatic routing channel is determined from the routing input channels or routing output channels.

[0078] In addition, considering that the number of audio terminal devices for automatic routing may be greater than the number of audio routing channels, the target terminal device identifier and the target routing channel are determined based on further screening of several candidate terminal device identifiers.

[0079] Step S103: Based on the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier, establish an audio communication connection with the audio terminal device corresponding to the target terminal device identifier.

[0080] It is understandable that the audio communication connection established between the audio terminal device corresponding to the target terminal device identifier and the audio host device can enable audio data transmission between the audio terminal device corresponding to the target terminal device identifier and the audio host device.

[0081] This application embodiment targets several audio terminal devices connected to a local area network (LAN). It obtains terminal device information published by these devices, including a terminal device identifier, a device type identifier, and a routing configuration identifier. From these identifiers, the routing configuration identifier is selected as a candidate for automatic routing configuration. Based on the device type identifier, the candidate terminal device identifiers, and the routing channels, a target terminal device identifier and its corresponding target routing channel are determined. An audio communication connection is established between the target terminal device identifier and its corresponding target routing channel. This eliminates the need for manual routing configuration by the user. After the audio terminal device connects to the LAN, an audio communication connection with the audio host device is automatically established, enabling audio data communication between the audio host device and the audio terminal device. This improves routing configuration efficiency, avoids routing failures caused by manual misconfiguration, and reduces the complexity of device use and maintenance costs.

[0082] Please see Figure 2 In an optional embodiment, step S101, which involves obtaining terminal device information published by several audio terminal devices within the local area network, includes:

[0083] Step S1011: When the audio host device accesses the local area network earlier than the audio terminal device accesses the local area network, obtain the terminal device information from the local area network.

[0084] Step S1012: When the audio host device accesses the local area network later than the audio terminal device accesses the local area network, in response to the triggering operation of the audio host device accessing the local area network, a terminal information request is sent to the local area network; the audio terminal device sends its terminal information to the audio host device through the local area network according to the terminal information request.

[0085] Optionally, the audio host device is equipped with a device discovery module. When the audio host device is connected to the local area network (LAN), it will use the device discovery module to discover whether there are any audio terminal devices connected to the LAN at preset time intervals. After the audio terminal device is connected to the LAN, it will automatically publish its terminal device information within the LAN. However, in order to reduce energy consumption and avoid network congestion, the audio terminal device will not publish its terminal device information within the LAN again after publishing it once.

[0086] Therefore, when the audio host device connects to the local area network (LAN) earlier than the audio terminal device, the audio host device can directly obtain the terminal device information initially published by the audio terminal device from within the LAN through the device discovery module. When the audio host device connects to the LAN later than the audio terminal device, the audio host device, after connecting, will also publish a terminal information request to the LAN through the device discovery module; upon receiving the terminal information request, the audio terminal device will then publish its terminal device information to the audio host device through the LAN.

[0087] In this embodiment, when the audio host device connects to the local area network (LAN) first, the audio host device directly obtains the terminal device information sent by the audio terminal device from within the LAN. When the audio terminal device connects to the LAN first, and the audio host device connects later, the audio host device publishes a terminal information request to the LAN. After receiving the terminal information request, the audio terminal device then publishes the terminal device information to the audio host device through the LAN. This avoids the audio terminal device frequently sending terminal device information within the LAN when the audio host device is not connected to the LAN, saving communication resources and reducing the power consumption of the audio terminal device.

[0088] Please see Figure 3 In an optional embodiment, step S102, which involves determining the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier based on a plurality of device type identifiers, a plurality of candidate terminal device identifiers, and a plurality of routing channels, includes:

[0089] Step S1021: Among a number of candidate terminal device identifiers, determine a number of first terminal device identifiers that indicate that the audio terminal device is an audio input device; determine a number of automatic routing input channels from a number of routing channels.

[0090] Several routing channels include several routing input channels and several routing output channels.

[0091] In an alternative embodiment, all routing input channels are configured as automatic routing input channels to achieve fully automatic routing input channel configuration for the audio host device.

[0092] In another alternative embodiment, some, but not all, of the routing input channels of the audio host device are designated as automatic routing input channels, while the other routing channels of the audio host device are designated as manual routing channels. This allows the audio host device to perform automatic routing input configuration based on the automatic routing input channels, as well as to receive user-manual routing configurations for the manual routing channels.

[0093] Step S1022: Determine the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier based on several first terminal device identifiers and several automatic routing input channels.

[0094] Understandably, considering that when accessing a local area network, the number of audio input devices used as audio terminal devices may not match the number of automatic routing input channels in the audio host device, it is necessary to further determine the target terminal device identifier from the number of first terminal device identifiers and the target routing channel from the number of automatic routing input channels, based on several first terminal device identifiers and several automatic routing input channels.

[0095] In this embodiment, among several candidate terminal device identifiers, several first terminal device identifiers are determined, indicating that the audio terminal device is an audio input device. Several automatic routing input channels are selected from several automatic routing channels. Then, based on the several first terminal device identifiers and the several automatic routing input channels, the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier are determined. This ensures that the audio input signal is accurately transmitted to the appropriate channel, avoiding problems such as data loss that may occur when audio data is transmitted in mismatched channels, thereby ensuring high-quality transmission of audio data.

[0096] In an optional embodiment, the terminal device information further includes a priority identifier; step S1022, which involves determining the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier based on a plurality of first terminal device identifiers and a plurality of automatic routing input channels, includes:

[0097] Step 12211: When the number of several first terminal device identifiers is greater than the number of several automatic routing input channels, according to the priority identifiers corresponding to the several first terminal device identifiers, determine the target terminal device identifiers that are the same as the number of several automatic routing input channels from the several first terminal identifiers; assign the several automatic routing channels one by one to the corresponding number of target terminal device identifiers to obtain the target routing channels corresponding to the target terminal device identifiers.

[0098] The priority identifier is used to indicate the priority order of configuring routing channels for audio terminal devices. The higher the priority, the higher the priority for configuring routing channels for that audio terminal device. In one optional embodiment, the priority identifier can be a pre-set tag when the audio terminal device leaves the factory. For example, if the audio terminal device is a dedicated chairman device, the priority identifier is configured to the highest level when the audio terminal device leaves the factory to indicate that the audio host device should prioritize configuring routing channels for that audio terminal device. In another optional embodiment, the priority identifier can also be automatically configured by the audio terminal device based on the scene device identifier. For example, in a conference scenario, when the audio terminal device is set as the host device identifier, the priority identifier is automatically configured to the highest level.

[0099] This application embodiment takes into account that when the number of a number of first terminal device identifiers is greater than the number of automatic routing input channels, direct allocation may cause some audio terminal devices to be unable to obtain automatic routing input channels. Therefore, by selecting target audio terminal devices according to priority identifiers, it ensures that the limited automatic routing channels are allocated to more important audio terminal devices, avoiding the situation where key audio terminal devices cannot be used due to unreasonable allocation of routing channel resources, and improving the utilization rate of routing channel resources.

[0100] Please see Figure 4 In an optional embodiment, the terminal device information further includes audio status information; the audio status information includes audio control signals and audio level signals; step S1022, which determines the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier based on a plurality of first terminal device identifiers and a plurality of automatic routing input channels, includes:

[0101] Step S12221: When the number of a number of first terminal device identifiers is greater than the number of a number of automatic routing input channels, a number of second terminal device identifiers are determined from the number of first terminal device identifiers according to the audio control signal; the second audio terminal identifier is the first terminal device identifier of the corresponding audio terminal device that has started audio acquisition according to the audio control signal.

[0102] It should be understood that, since terminal device information consists of signals with small data volume and low real-time requirements, audio terminal devices and audio host devices connected to the same local area network actually transmit terminal device information through existing communication protocols such as TCP / IP or dedicated control protocols. When the terminal device information includes audio control signals and audio level signals, the audio host device can further determine the target terminal device based on the audio control information and audio level information.

[0103] The audio control signal is used to indicate the operating status of the audio terminal device. Specifically, the audio terminal device is an audio input device. When the user disables the audio input device (e.g., when the microphone is muted), the audio control signal indicates that the audio terminal device has not enabled audio acquisition and does not need to transmit audio data. When the user enables the audio input device (e.g., when the microphone is enabled), the audio control signal indicates that the audio terminal device enables audio acquisition and needs to acquire audio data. Thus, the audio host device can quickly know which audio terminal devices need to transmit audio data based on the audio control signal and assign the corresponding routing channel to the audio terminal devices that need to transmit audio data.

[0104] Audio level signals refer to the intensity or amplitude of audio data, reflecting the power or voltage level of the audio signal. By transmitting audio level signals, audio terminal devices enable audio host devices to quickly ascertain the intensity or amplitude of the audio data transmitted by each audio terminal device.

[0105] Step S12222: When the number of several second terminal device identifiers is greater than the number of several automatic routing input channels, based on the audio level signal, determine the target terminal device identifiers from the several second terminal device identifiers that are the same number as the number of several automatic routing input channels; assign the several automatic routing channels one by one to the corresponding number of target terminal device identifiers to obtain the target routing channels corresponding to the target terminal device identifiers.

[0106] Considering that several audio terminal devices have started audio acquisition, the actual amount of audio data they acquire varies, and the acquisition time differs. The amount and timing of the acquired audio data reflect, to some extent, the urgency of transmitting the audio data. Therefore, when the number of second terminal device identifiers exceeds the number of several automatic routing input channels, based on the audio level signal, the target terminal device identifiers, which are the same number as the number of several automatic routing input channels, can be identified from the second terminal device identifiers. This allows for the further identification of audio terminal devices that more urgently need to transmit audio data.

[0107] It is understandable that when the number of second terminal device identifiers is less than or equal to the number of automatic routing input channels, the second terminal device identifier is used as the target terminal device identifier, and the target routing channel corresponding to the target terminal device identifier is determined from the number of automatic routing input channels.

[0108] Optionally, when determining the target routing channel corresponding to the target terminal device identifier from a plurality of automatic routing input channels, one may randomly select a plurality of automatic routing input channels corresponding to the number of target terminal device identifiers from a plurality of automatic routing input channels, and assign the corresponding target terminal device identifier to each one to obtain the target routing channel corresponding to the target terminal device identifier; or, based on the audio transmission capability of a plurality of automatic routing input channels, determine a plurality of automatic routing input channels corresponding to the number of target terminal device identifiers from a plurality of automatic routing input channels, and assign the corresponding target terminal device identifier to each one to obtain the target routing channel automatic routing input channel corresponding to the target terminal device identifier; or, based on the pre-configured priority of a plurality of automatic routing input channels, determine a plurality of automatic routing input channels corresponding to the number of target terminal device identifiers from a plurality of automatic routing input channels, and assign the corresponding target terminal device identifier to each one to obtain the target routing channel automatic routing input channel corresponding to the target terminal device identifier.

[0109] In this embodiment of the application, when the number of a plurality of first terminal device identifiers is greater than the number of a plurality of automatic routing input channels, the limited automatic routing channels are allocated to audio terminal devices that need to transmit audio data more, based on the audio control signal and the audio level signal. This avoids the situation where key audio terminal devices cannot be used due to unreasonable allocation of routing channel resources, and improves the utilization rate of routing channel resources.

[0110] In an optional embodiment, when the number of a plurality of first terminal device identifiers is less than or equal to the number of a plurality of automatic routing input channels, the first terminal device identifier is used as the target terminal device identifier, and the target routing channel corresponding to the target terminal device identifier is determined from the plurality of automatic routing input channels.

[0111] Optionally, when determining the target routing channel corresponding to the target terminal device identifier from a plurality of automatic routing input channels, one may randomly select a plurality of automatic routing input channels corresponding to the number of target terminal device identifiers from a plurality of automatic routing input channels, and assign the corresponding target terminal device identifier to each one to obtain the target routing channel corresponding to the target terminal device identifier; or, based on the audio transmission capability of a plurality of automatic routing input channels, determine a plurality of automatic routing input channels corresponding to the number of target terminal device identifiers from a plurality of automatic routing input channels, and assign the corresponding target terminal device identifier to each one to obtain the target routing channel automatic routing input channel corresponding to the target terminal device identifier; or, based on the pre-configured priority of a plurality of automatic routing input channels, determine a plurality of automatic routing input channels corresponding to the number of target terminal device identifiers from a plurality of automatic routing input channels, and assign the corresponding target terminal device identifier to each one to obtain the target routing channel automatic routing input channel corresponding to the target terminal device identifier.

[0112] In an optional embodiment, step S102, which involves determining the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier based on a plurality of device type identifiers, a plurality of candidate terminal device identifiers, and a plurality of routing channels, includes:

[0113] Step S1023: Among several candidate terminal device identifiers, determine the target terminal device identifier that indicates the audio terminal device is an audio output device; among several routing channels, select a preset routing output channel as the target routing channel corresponding to the target terminal device identifier.

[0114] It is understandable that in some application scenarios, such as conferencing applications, audio data from several audio input devices, such as several microphones, is usually received, mixed by an audio host device, and then sent to all audio output devices, such as speakers, so that all audio output devices can obtain the audio data. In this case, there is no need to distinguish the output audio data. Therefore, in this application embodiment, when the device type identifier indicates that the audio terminal device is an audio output device, a preset routing output channel is directly used as the target automatic routing channel to achieve quick configuration of the routing channel and save routing channels.

[0115] In this embodiment of the application, when the audio terminal device is determined to be an audio output device, a preset routing output channel is directly selected as the target routing channel. This eliminates the need for the user to manually configure the routing output channel, simplifies the operation process, avoids unnecessary channel selection, and allows the audio host device to allocate routing channels more efficiently.

[0116] In an optional embodiment, after step S101, which involves obtaining terminal device information published by several audio terminal devices within the local area network, the method further includes:

[0117] Step S121: Among several terminal device identifiers, determine several third terminal device identifiers whose routing configuration identifiers are manually configured; in response to the trigger operation of the routing configuration interface, display the routing configuration interface; in the routing configuration interface, receive the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier determined by the user based on the several third terminal device identifiers.

[0118] It is understandable that among several third-terminal device identifiers, there are third-terminal device identifiers that indicate the audio terminal device is an audio input device, and / or third-terminal device identifiers that indicate the audio terminal device is an audio output device. Users can select the sending end and the receiving end one by one from several third-terminal device identifiers, and then manually configure the routing channel between the sending end and the receiving end to obtain the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier.

[0119] It should be understood that the embodiments of this application support both automatic and manual routing configuration. Audio data received by audio input devices with automatic and manual routing configurations can be mixed using a mixing matrix and then output to individual audio output devices through the same routing output channel. Optionally, audio data received by audio input devices with automatic and manual routing configurations can be mixed using a mixing matrix, output to the automatically routing-configured audio output device through one routing output channel, and output to the manually routing-configured audio output device through another routing output channel.

[0120] The audio host device in this application embodiment also provides a routing configuration interface for audio terminal devices with manual routing configuration, allowing users to select target routing channels, thereby meeting users' needs for manual routing configuration and providing various routing configuration methods.

[0121] In an optional embodiment, step S103, which involves establishing an audio communication connection with the audio terminal device corresponding to the target terminal device identifier based on the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier, includes:

[0122] Step S1031: Send an audio routing subscription request to the audio terminal device corresponding to the target terminal device identifier; the audio routing subscription request includes the target routing channel identifier, so that after receiving the audio routing subscription request, the audio terminal device corresponding to the target terminal device identifier establishes an audio communication connection with the audio host device based on the target routing channel identifier.

[0123] This application embodiment takes into account the wide variety of audio terminal devices, which may be frequently changed or connected to different audio host devices. Through device type identifiers and terminal device identifiers, the audio host device can automatically identify the type and specific identity of the connected audio input device, thereby achieving automatic adaptation. This avoids the tedious process of manually configuring device types and routing parameters, allowing for more efficient management of audio signal transmission paths and preventing audio transmission interruptions due to manual configuration errors. Furthermore, in an audio system, the audio input device needs to accurately transmit audio signals to the designated channel of the audio host device. The audio host device sends an audio routing subscription request containing the target automatic routing channel identifier to the audio input device, clearly informing it which channel to use for communication. This ensures that the audio data from the audio input device is transmitted along the preset path, preventing audio loss or incorrect playback due to incorrect channel selection.

[0124] Please see Figure 5 This is a schematic block diagram of the audio routing control system provided in this application embodiment. The audio routing control system in this application embodiment includes an audio host device 100 and a plurality of audio terminal devices 200; the audio host device 100 and the plurality of audio terminal devices 200 are located in the same local area network.

[0125] Several audio terminal devices 200 are used to publish terminal device information within the local area network; the terminal device information includes terminal device identifier, device type identifier, and routing configuration identifier;

[0126] The audio host device 100 is used to obtain terminal device information published by several audio terminal devices 100 within the local area network; among several terminal device identifiers, it determines several candidate terminal device identifiers with automatic routing configuration identifiers; based on several device type identifiers, several candidate terminal device identifiers, and several routing channels, it determines the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier; and based on the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier, it establishes an audio communication connection with the audio terminal device 100 corresponding to the target terminal device identifier.

[0127] It should be noted that the audio routing control system provided in this application embodiment and the audio routing control method provided in this application embodiment belong to the same concept, and the implementation process can be found in the method embodiment, which will not be repeated here.

[0128] Please see Figure 6 This is a schematic block diagram of the structure of the electronic device provided in the embodiments of this application. Figure 6As shown, the electronic device 300 can specifically be a computer, mobile phone, tablet computer, interactive flat panel, etc. The electronic device 300 may include: at least one processor 310, at least one memory 320, at least one display 330, at least one network interface 340, user interface 350 and at least one communication bus 360.

[0129] The communication bus 360 is used to enable communication between these components.

[0130] The user interface 350 may include a display screen and a camera; the user interface 350 may also include standard wired and wireless interfaces.

[0131] The network interface 340 may optionally include a standard wired interface and a wireless interface (such as a Wi-Fi interface).

[0132] The processor 310 may include one or more processing cores. The processor 310 connects to various parts within the electronic device 300 using various interfaces and lines, and performs various functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 320, and by calling data stored in the memory 320. Optionally, the processor 310 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 310 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also be implemented as a separate chip without being integrated into the processor 310.

[0133] The memory 320 may include random access memory (RAM) or read-only memory. Optionally, the memory 320 may include a non-transitory computer-readable storage medium. The memory 320 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 320 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 320 may also be at least one storage device located remotely from the aforementioned processor 310. Figure 6 As shown, the memory 320, which serves as a computer storage medium, may include an operating system, a network communication module, and a user.

[0134] exist Figure 6 In the electronic device 300 shown, the user interface 350 is mainly used to provide an input interface for the user and to obtain the user input data; while the processor 310 can be used to call the operation application stored in the memory 320, such as the audio routing control program; and execute the relevant operations of any audio routing control method in the above embodiments, and has the corresponding functions and beneficial effects.

[0135] This application also provides a computer-readable storage medium storing a computer program, the instructions of which are adapted to be loaded by a processor and executed by the steps of the audio routing control method described above. For details of the execution process, please refer to the specific descriptions in the embodiments, which will not be repeated here. The device containing the storage medium can be an electronic device such as a personal computer, laptop computer, smartphone, or tablet computer.

[0136] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative, wherein the components described as separate parts may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this application according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0137] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0138] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 The computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function selected in one or more boxes.

[0139] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function selected in one or more boxes.

[0140] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0141] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0142] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0143] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0144] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. An audio routing control method, characterized in that, The method is applied to an audio host device, which includes several routing channels; the method includes the following steps: Obtain terminal device information published by several audio terminal devices within the local area network; the several audio terminal devices are devices connected to the local area network; the terminal device information includes terminal device identifier, device type identifier, and routing configuration identifier; Among several terminal device identifiers, several candidate terminal device identifiers with automatic routing configuration identifiers are identified, and a target terminal device identifier and the target routing channel corresponding to the target terminal device identifier are determined based on several device type identifiers, the several candidate terminal device identifiers and the several routing channels. An audio communication connection is established with the audio terminal device corresponding to the target terminal device based on the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier.

2. The audio routing control method according to claim 1, characterized in that: The step of determining the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier based on a plurality of device type identifiers, a plurality of candidate terminal device identifiers, and a plurality of routing channels includes: Among the candidate terminal device identifiers, a number of first terminal device identifiers indicating that the audio terminal device is an audio input device are determined, and a number of automatic routing input channels are determined from the number of routing channels. Based on the plurality of first terminal device identifiers and the plurality of automatic routing input channels, the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier are determined.

3. The audio routing control method according to claim 2, characterized in that: The terminal device information further includes a priority identifier; the step of determining the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier based on the plurality of first terminal device identifiers and the plurality of automatic routing input channels includes: When the number of the plurality of first terminal device identifiers is greater than the number of the plurality of automatic routing input channels, according to the priority identifiers corresponding to the plurality of first terminal device identifiers, target terminal device identifiers with the same number as the plurality of automatic routing input channels are determined from the plurality of first terminal device identifiers; the plurality of automatic routing channels are assigned one-to-one to the corresponding number of target terminal device identifiers to obtain the target routing channel corresponding to the target terminal device identifier.

4. The audio routing control method according to claim 2, characterized in that: The terminal device information further includes audio status information; the audio status information includes audio control signals and audio level signals; the step of determining the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier based on the plurality of first terminal device identifiers and the plurality of automatic routing input channels includes: When the number of the plurality of first terminal device identifiers is greater than the number of the plurality of automatic routing input channels, a plurality of second terminal device identifiers are determined from the plurality of first terminal device identifiers according to the audio control signal; the second audio terminal identifier is the first terminal device identifier that is determined to be the audio terminal device that has started audio acquisition according to the audio control signal. When the number of the plurality of second terminal device identifiers is greater than the number of the plurality of automatic routing input channels, according to the audio level signal, a target terminal device identifier with the same number as the plurality of automatic routing input channels is determined from the plurality of second terminal device identifiers; the plurality of automatic routing channels are assigned one-to-one to the corresponding number of target terminal device identifiers to obtain the target routing channel corresponding to the target terminal device identifier.

5. The audio routing control method according to claim 2, characterized in that: The step of establishing an audio communication connection with the audio terminal device corresponding to the target terminal device identifier based on the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier includes: An audio routing subscription request is sent to the audio terminal device corresponding to the target terminal device identifier; the audio routing subscription request includes a target routing channel identifier, so that after receiving the audio routing subscription request, the audio terminal device corresponding to the target terminal device identifier establishes an audio communication connection with the audio host device based on the target routing channel identifier.

6. The audio routing control method according to claim 1, characterized in that: The step of determining the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier based on a plurality of device type identifiers, a plurality of candidate terminal device identifiers, and a plurality of routing channels includes: Among several candidate terminal device identifiers, a target terminal device identifier is determined that indicates the audio terminal device is an audio output device; among the several routing channels, a preset routing output channel is selected as the target routing channel corresponding to the target terminal device identifier.

7. The audio routing control method according to any one of claims 1 to 6, characterized in that: After the step of obtaining terminal device information published by several audio terminal devices within the local area network, the following steps are included: Among several terminal device identifiers, several third terminal device identifiers that are manually configured for routing are identified; in response to a trigger operation of the routing configuration interface, the routing configuration interface is displayed; in the routing configuration interface, the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier are received by the user based on the several third terminal device identifiers.

8. The audio routing control method according to any one of claims 1 to 6, characterized in that: The step of obtaining terminal device information published by several audio terminal devices within the local area network includes: When the audio host device accesses the local area network earlier than the audio terminal device accesses the local area network, the terminal device information published by the audio terminal device is obtained from the local area network. When the audio host device accesses the local area network later than the audio terminal device accesses the local area network, in response to the triggering operation of the audio host device accessing the local area network, it publishes a terminal information request to the local area network; the audio terminal device publishes the terminal device information to the audio host device through the local area network according to the terminal information request.

9. An audio routing system, characterized in that, It includes an audio host device and several audio terminal devices; the audio host device and the several audio terminal devices are located within the same local area network; The aforementioned audio terminal devices are used to publish terminal device information within the local area network; The terminal device information includes the terminal device identifier, device type identifier, and routing configuration identifier; The audio host device is used to obtain terminal device information published by the plurality of audio terminal devices within the local area network; among the plurality of terminal device identifiers, determine a plurality of candidate terminal device identifiers with automatic routing configuration identifiers; and determine a target terminal device identifier and the target routing channel corresponding to the target terminal device identifier based on a plurality of device type identifiers, the plurality of candidate terminal device identifiers, and the plurality of routing channels. And based on the target terminal device identifier and the target routing channel corresponding to the target terminal device identifier, establish an audio communication connection with the audio terminal device corresponding to the target terminal device identifier.

10. An electronic device comprising a processor and a memory; characterized in that, The memory stores a computer program adapted to be loaded by the processor and executed as the audio routing control method as described in any one of claims 1 to 8.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the audio routing control method as described in any one of claims 1 to 8.