A method, system and storage medium for automatic voice selection and switching control
By collecting the operating status parameters of the voice terminal in real time, automatically selecting the sound source and scheduling the switching according to the pre-configured preferred strategy, the problems of voice transmission complexity and high-density tasks are solved, and the automation and efficiency improvement of voice switching are achieved.
Patent Information
- Application Number
- CN202210495326.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-07
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2042-05-07
AI Technical Summary
The transmission process of voice from reception to output to sound reinforcement system is complex, requiring multiple professionals to operate together, with high task density and long cycles.
It provides a voice automatic selection control method, by collecting the operating status parameters of the voice terminal in real time, selecting the sound source from the voice channel according to the pre-configured preferred strategy, and performing automatic scheduling switching through the high-fidelity scheduling system.
It realizes the automation of voice switching, simplifies the operation process, reduces human intervention, and improves efficiency.
Smart Images

Figure CN115079991B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of audio control, and particularly relates to a method, a system and a storage medium for automatically selecting and switching voices. Background Art
[0002] Voices are transmitted downwards through a measuring station, and then forwarded to a voice terminal through a target forwarding server for decoding, and an analog voice signal is output and enters a high-fidelity dispatching system. Among them, both the voice channel and the sound reinforcement system are dispatching users of the high-fidelity dispatching system. At present, from the reception of voices to the output to the sound reinforcement system, it requires the cooperation of multiple professionals, the transmission link is complex, there are many manual operations, and the subsequent task density is high, the types are diverse, and the cycle is long and other characteristics are more prominent. Therefore, it is urgent to design an automatic voice selection and switching scheme. Summary of the Invention
[0003] In view of the above problems, the purpose of the present invention is to provide a method for automatically selecting and switching voices, which preferably selects corresponding sound sources from voice channels, and then through a high-fidelity dispatching system, schedules and switches the selected sound sources, so as to realize automatic voice switching.
[0004] To achieve the above invention purpose, the present invention provides the following technical solutions:
[0005] A method for automatically selecting and switching voices, which includes the following steps:
[0006] Collect the operating state parameters of each voice terminal corresponding to a specified target in real time;
[0007] According to the collected operating state parameters of each voice terminal, determine whether there is a voice in the voice channel, and select a sound source from the voice channels with voices according to a pre-configured voice preference strategy;
[0008] According to the mapping relationship between the voice terminal users of the specified target and the voice channels pre-configured, unshield the voice terminal users corresponding to the selected sound source and shield other voice terminal users of the specified target; and, according to the mapping relationship between the voices of the specified target and the audio network users during a pre-planned specified task period, control the corresponding audio network users to be separated or unseparated.
[0009] According to a specific implementation manner, in the method for automatically selecting and switching voices of the present invention, according to the operating state parameters of the voice terminal, it is judged whether the packet frequency is greater than zero, and whether the channel local synchronization state, the encoding and decoding state, the downlink channel local synchronization state and the local frame synchronization state are all normal. If the packet frequency is greater than zero and the channel local synchronization state, the encoding and decoding state, the downlink channel local synchronization state and the local frame synchronization state are all normal, it is determined that the voice channel has a voice.
[0010] According to a specific embodiment, in the voice automatic selection and switching control method of the present invention, the voice preference strategy includes: determining the voice quality level of the voice channel according to the average packet frequency, packet loss rate, and out-of-order rate of the voice within the selected time period, and taking the sound source with the optimal voice quality level as the selected sound source; wherein, the smaller the deviation of the average packet frequency of the voice within the selected time period from the preset packet frequency reference value, the better the voice quality; the smaller the packet loss rate and out-of-order rate of the voice within the selected time period, the better the voice quality. If the packet loss rate or out-of-order rate exceeds the corresponding preset threshold, the corresponding voice channel is abandoned.
[0011] According to a specific embodiment, in the voice automatic selection and switching control method of the present invention, the voice preference strategy includes: if the voice in the voice channel is low-speed voice, determining the voice quality level of the voice channel according to the average packet frequency of the voice within the selected time period; if the voice in the voice channel is high-speed voice, determining the voice quality level of the voice channel according to the average packet frequency, packet loss rate, and out-of-order rate of the voice within the selected time period.
[0012] According to a specific embodiment, in the voice automatic selection and switching control method of the present invention, the voice preference strategy further includes: when the voice quality levels of each voice channel determined according to the average packet frequency, packet loss rate, and out-of-order rate of the voice within the selected time period are all the same, taking the sound source in the voice channel with the earliest priority order as the selected sound source according to the preset priority order of each voice channel.
[0013] On the other hand of the specific implementation of the present invention, a voice automatic selection and switching control system is further provided, which includes:
[0014] An acquisition module, configured to acquire the operating state parameters of each voice terminal corresponding to a specified target in real time;
[0015] A voice detection module, configured to determine whether there is voice in the voice channel according to the acquired operating state parameters of each voice terminal;
[0016] A voice preference module, configured to select a sound source from the voice channels with voice according to a pre-configured voice preference strategy;
[0017] A scheduling module, configured to cancel the shielding of the voice terminal user corresponding to the selected sound source and shield other voice terminal users of the specified target according to the mapping relationship between the voice terminal users of the specified target and the voice channels pre-configured; and control the separation or cancellation of separation of the corresponding audio network users according to the mapping relationship between the voice of the specified target and the audio network users during the pre-planned specified task period.
[0018] According to a specific embodiment, in the voice automatic selection and switching control system of the present invention, the voice detection module is configured to determine whether the packet frequency is greater than zero, and whether the channel local synchronization status, encoding / decoding status, downlink channel local synchronization status, and local frame synchronization status are all normal according to the operating state parameters of the voice terminal. If the packet frequency is greater than zero and the channel local synchronization status, encoding / decoding status, downlink channel local synchronization status, and local frame synchronization status are all normal, it is determined that there is voice in the voice channel.
[0019] According to a specific embodiment, in the voice automatic selection and switching control system of the present invention, the voice optimization module is configured to determine the voice quality level of the voice channel according to the average packet frequency, packet loss rate, and out-of-order rate of the voice within the selected time period, and use the sound source with the best voice quality level as the selected sound source. Among them, if the average packet frequency of the voice within the selected time period deviates less from the preset packet frequency reference value, the voice quality is better; if the packet loss rate and out-of-order rate of the voice within the selected time period are smaller, the voice quality is better. If the packet loss rate or out-of-order rate exceeds the corresponding preset threshold, the corresponding voice channel is abandoned.
[0020] According to a specific embodiment, in the voice automatic selection and switching control system of the present invention, when the voice in the voice channel is low-speed voice, the voice optimization module is configured to determine the voice quality level of the voice channel according to the average packet frequency of the voice within the selected time period; and when the voice in the voice channel is high-speed voice, the voice optimization module is configured to determine the voice quality level of the voice channel according to the average packet frequency, packet loss rate, and out-of-order rate of the voice within the selected time period.
[0021] According to a specific embodiment, in the voice automatic selection and switching control system of the present invention, when the voice quality levels of all voice channels determined according to the average packet frequency, packet loss rate, and out-of-order rate of the voice within the selected time period are the same, the voice optimization module is further configured to use the sound source in the voice channel with the earliest priority order as the selected sound source according to the preset priority order of each voice channel.
[0022] On the other hand of the specific implementation of the present invention, a computer-readable storage medium is further provided, on which one or more programs are stored. When the one or more programs are executed by one or more processors, the voice automatic selection and switching control method of the present invention is implemented.
[0023] Compared with the prior art, the beneficial effects of the present invention are:
[0024] The voice automatic selection and switching control method of the present invention pre-configures a voice optimization strategy, selects the corresponding sound source from the voice channels, and then schedules and switches the selected sound source through a high-fidelity scheduling system, thereby realizing automatic voice switching. Therefore, by using the voice automatic selection and switching control method of the present invention, the logic is simple, easy to implement in software, and can be applied to multi-target space-ground voice automatic selection and switching in the form of a general control interface. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a schematic diagram of the voice optimization strategy configuration process;
[0026] Figure 2 It is the processing flow for configuring high-fidelity scheduling group users;
[0027] Figure 3 It is the processing flow for planning the sound source output sound reinforcement system.
[0028] Figure 4 It is a schematic diagram of the low-speed voice selection and switching control process;
[0029] Figure 5 It is a schematic diagram of the high-speed voice selection and switching control process;
[0030] Figure 6 It is a schematic diagram of the architecture of the voice selection and switching control system of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0031] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. However, this should not be construed as limiting the scope of the above-mentioned subject matter of the present invention to the following embodiments. Any technology implemented based on the content of the present invention belongs to the scope of the present invention.
[0032] Before the voice automatic selection and switching control method of the present invention works, it is necessary to pre-configure a voice optimization strategy. As Figure 1 shown, by verifying the user's login account, it is determined whether the user has the operation authority. If the user has the operation authority, the user logs in to the voice optimization strategy configuration interface, and then configures the voice optimization strategies of each voice terminal corresponding to different targets by operating in the voice optimization strategy configuration interface. The specific configuration operations include: configuring the voice terminal operation parameter strategy, configuring the voice terminal preference order, and configuring the channel sound source type of the voice terminal.
[0033] Among them, the configuration of the voice terminal operation parameter strategy includes: configuring the preset thresholds corresponding to the packet frequency reference value, packet loss rate, and out-of-order rate. The configuration of the voice terminal preference order includes: sorting various voice terminals of the target, and when the voice terminal operation parameter strategy cannot optimize the sound source, the sound source is optimized through the voice terminal preference order. The configuration of the channel sound source type of the voice terminal is to distinguish whether the sound source transmitted by each channel is a low-speed sound source or a high-speed sound source.
[0034] After the configuration is completed, the configuration data is sent to the web background for data processing and written into the database; then the policy information is displayed through the voice preference policy configuration interface.
[0035] In addition, before the voice automatic selection and switching control method of the present invention works, the high-fidelity dispatching system also needs to be configured, such as Figure 2 shown, by verifying the user's login account, it is determined whether the user has the operation authority. If the user has the operation authority, then log in to the high-fidelity dispatching system configuration interface, and then through operations on the high-fidelity dispatching system configuration interface, configure the mapping relationship between each voice terminal user corresponding to different targets and the voice channel, and the classification of dispatching users (including ordinary dispatching users, audio network users, and voice terminal users). In addition, the high-fidelity dispatching system can also monitor the user status such as the online status, shielding status, and separation status of dispatching users, and display the voice terminal channel and the name of the sound reinforcement system corresponding to the voice terminal user.
[0036] After the configuration is completed, the configuration data is sent to the web background for data processing and written into the database; then the configuration information is displayed through the high-fidelity dispatching system configuration interface.
[0037] Before the voice automatic selection and switching control method of the present invention works, the sound source output sound reinforcement system also needs to be configured, such as Figure 3 shown, by verifying the user's login account, it is determined whether the user has the operation authority. If the user has the operation authority, then log in to the sound source and sound reinforcement system planning interface, and then through operations on the sound source and sound reinforcement system planning interface, configure the relationship between different target voices and the sound reinforcement system users, that is, the mapping relationship between the voice of the specified target and the audio network user during the specified task period planned.
[0038] After the configuration is completed, the configuration data is sent to the web background for data processing and written into the database; then the configuration information is displayed through the sound source and sound reinforcement system planning interface.
[0039] After the above configuration work is completed, the voice reception and preprocessing work starts. First, load the voice terminal of the target and the sound source configuration of the voice terminal channel. Then, from the terminal data reported by the receiving monitoring system in real time, find the real-time operation data of the target forwarding server, and obtain the data source information of the voice terminal in real time. At the same time, from the terminal data reported by the receiving monitoring system in real time, find the real-time operation data of the corresponding voice terminal, and match the destination IP and destination port of the downstream channel according to the local IP address of the terminal and the destination port (receiving) to find the corresponding channel. By analyzing the power-on state of the voice terminal, the packet frequency, the local synchronization state of the channel, the codec module state, and the local synchronization state and local frame synchronization state of the corresponding downstream channel, determine whether it is powered on. If it is powered on, start to execute the steps of the voice automatic selection and switching control method of the present invention.
[0040] As Figure 4 shown, for the low-speed voice selection and switching control process, it includes:
[0041] Collect the operation state parameters of each voice terminal corresponding to the specified target in real time (such as packet frequency, local synchronization state, packet loss, out-of-order, codec module state, etc.);
[0042] According to the operation state parameters of the voice terminal, judge whether the packet frequency is greater than zero, and whether the local synchronization state of the channel, the codec state, the local synchronization state of the downstream channel, and the local frame synchronization state are all normal. If the packet frequency is greater than zero and the local synchronization state of the channel, the codec state, the local synchronization state of the downstream channel, and the local frame synchronization state are all normal, then determine that the voice channel has voice.
[0043] Then, according to the pre-configured voice optimization strategy, select the sound source from the voice channels with voice. Specifically, determine the voice quality level of the voice channel according to the average packet frequency of the voice within the selected time period, and use the sound source with the best voice quality level as the selected sound source. Among them, if the average packet frequency of the voice within the selected time period deviates less from the preset packet frequency reference value, the voice quality is better. In implementation, multiple ranges can be set according to the size of the deviation of the average packet frequency from the preset packet frequency reference value, and each range corresponds to a corresponding voice quality level.
[0044] If the determined voice quality levels of all voice channels are the same, according to the preset priority order of each voice channel, use the sound source in the voice channel with the highest priority as the selected sound source.
[0045] After selecting the sound source, according to the mapping relationship between the voice terminal users of the specified target and the voice channels pre-configured, unshield the voice terminal users corresponding to the selected sound source and shield other voice terminal users of the specified target; and, according to the mapping relationship between the voice of the specified target and the audio network users during the pre-planned specified task period, control the corresponding audio network users to be separated or unseparated, so that different target sound sources are output to the specified sound reinforcement system.
[0046] As Figure 5 shown, for the high-speed voice selection and switching control process, it includes:
[0047] Real-time collect the operating state parameters of each voice terminal corresponding to the specified target (such as packet frequency, local synchronization status, packet loss, out-of-order, codec module status, etc.);
[0048] According to the operating state parameters of the voice terminal, judge whether the packet frequency is greater than zero, and whether the channel local synchronization status, codec status, downlink channel local synchronization status, and local frame synchronization status are all normal. If the packet frequency is greater than zero and the channel local synchronization status, codec status, downlink channel local synchronization status, and local frame synchronization status are all normal, then determine that the voice channel has voice.
[0049] Then, according to the pre-configured voice optimization strategy, select a sound source from the voice channels with voice; specifically, according to the average packet frequency, packet loss rate, and out-of-order rate of the voice within the selected time period, determine the voice quality level of the voice channel, and use the sound source with the best voice quality level as the selected sound source. Among them, if the average packet frequency of the voice within the selected time period deviates less from the preset packet frequency reference value, the voice quality is better; if the packet loss rate and out-of-order rate of the voice within the selected time period are smaller, the voice quality is better. If the packet loss rate or out-of-order rate exceeds the corresponding preset threshold, then abandon the corresponding voice channel.
[0050] During implementation, by calculating the increment of the number of lost packets (i.e., the packet loss rate) within a specified time period and comparing it with the set threshold, the smaller the packet loss rate, the better the voice quality. When the packet loss rate is less than the threshold, set the voice quality level according to the ratio of the packet loss rate to the threshold; when the packet loss rate exceeds the threshold, it is considered that the voice quality of this channel is very poor, and the voice output from this channel is abandoned.
[0051] The formula for calculating the packet loss rate: lostRate = ΔlostCount / Δt, where Δt is the time difference and ΔlostCount is the increment of the number of lost packets within the time period of Δt.
[0052] Quality level: LQlevel = Math.floor((lostRate) / lostThreshold / n)), where Math.floor() represents the floor function, n represents the number of segments into which the threshold is divided, which is the number of levels of the quality level, and n is configurable. When lostRate > lostThreshold, LQlevel is set to -1, indicating that the voice quality of this channel is very poor and it is abandoned for use.
[0053] Moreover, by calculating the increment of the out-of-order number (i.e., the out-of-order rate) within a specified time period and comparing it with the set threshold, the smaller the out-of-order rate, the better the voice quality. When the out-of-order rate is less than the threshold, the voice quality level is set according to the ratio of the out-of-order rate to the threshold; when the out-of-order rate exceeds the threshold, it is considered that the voice quality of this channel is very poor and the voice output by this channel is abandoned.
[0054] Formula for calculating the out-of-order rate: disorderRate = ΔdisorderCount / Δt, where Δt is the time difference and ΔdisorderCount is the increment of the out-of-order number within the time period of Δt.
[0055] Quality level: DQlevel = Math.floor((disorderRate) / (disorderThreshold / n)), where Math.floor() represents the floor function, n represents the number of segments into which the threshold is divided, which is the number of levels of the quality level, and n is configurable. When disorderRate > disorderThreshold, DQlevel is set to -1, indicating that the voice quality of this channel is very poor and it is abandoned for use.
[0056] In the specific implementation of the present invention, different weight coefficients are assigned to the quality levels corresponding to the average packet frequency, packet loss rate, and out-of-order rate respectively, and then the sum is calculated. According to the magnitude of the obtained sum, the voice quality level of the voice channel that comprehensively combines the three evaluation indicators of the average packet frequency, packet loss rate, and out-of-order rate of the voice is determined.
[0057] If the determined voice quality levels of all voice channels are the same, according to the preset priority order of each voice channel, the sound source in the voice channel with the highest priority is used as the selected sound source.
[0058] After the selected sound source is determined, according to the mapping relationship between the voice terminal users of the specified target and the voice channels configured in advance, the shielding of the voice terminal users corresponding to the selected sound source is cancelled and the other voice terminal users of the specified target are shielded; and, according to the mapping relationship between the voice of the specified target and the audio network users during the pre-planned specified task period, the corresponding audio network users are controlled to be separated or the separation is cancelled, so that different target sound sources are output to the specified sound reinforcement system.
[0059] As Figure 6 shown, the present invention also provides a voice automatic selection and switching control system, which includes:
[0060] An acquisition module, configured to acquire the operating state parameters of each voice terminal corresponding to a specified target in real time;
[0061] A voice detection module, configured to determine whether there is voice in the voice channel according to the operating state parameters of each voice terminal acquired;
[0062] A voice optimization module, configured to select a sound source from the voice channels with voice according to a pre-configured voice optimization strategy;
[0063] A scheduling module, configured to cancel the shielding of the voice terminal user corresponding to the selected sound source and shield other voice terminal users of the specified target according to the mapping relationship between the voice terminal users of the specified target and the voice channels pre-configured; and, control the separation or cancellation of separation of the corresponding audio network users according to the mapping relationship between the voice of the specified target and the audio network users during a pre-planned specified task period.
[0064] In the voice automatic selection and switching control system of the present invention, the voice detection module is configured to judge whether the packet frequency is greater than zero according to the operating state parameters of the voice terminal, and whether the channel local synchronization state, the codec state, the downlink channel local synchronization state, and the local frame synchronization state are all normal. If the packet frequency is greater than zero and the channel local synchronization state, the codec state, the downlink channel local synchronization state, and the local frame synchronization state are all normal, it is determined that the voice channel has voice.
[0065] In the voice automatic selection and switching control system of the present invention, the voice optimization module is configured to determine the voice quality level of the voice channel according to the average packet frequency, packet loss rate, and out-of-order rate of the voice within the selected time period, and use the sound source with the optimal voice quality level as the selected sound source; wherein, if the average packet frequency of the voice within the selected time period deviates less from the preset packet frequency reference value, the voice quality is better; if the packet loss rate and out-of-order rate of the voice within the selected time period are smaller, the voice quality is better. If the packet loss rate or out-of-order rate exceeds the corresponding preset threshold, the corresponding voice channel is abandoned.
[0066] In the voice automatic selection and switching control system of the present invention, when the voice in the voice channel is low-speed voice, the voice optimization module is configured to determine the voice quality level of the voice channel according to the average packet frequency of the voice within the selected time period; and when the voice in the voice channel is high-speed voice, determine the voice quality level of the voice channel according to the average packet frequency, packet loss rate, and out-of-order rate of the voice within the selected time period.
[0067] In the voice automatic selection and switching control system of the present invention, the voice preference module is further configured to, when it is determined that the voice quality levels of all voice channels are the same, use the sound source in the voice channel with the highest priority according to the preset priority order of each voice channel as the selected sound source.
[0068] In another aspect of the specific implementation of the present invention, a computer-readable storage medium is further provided, on which one or more programs are stored, and when the one or more programs are executed by one or more processors, the voice automatic selection and switching control method of the present invention is implemented.
[0069] It should be understood that the system disclosed by the present invention can be implemented in other ways. For example, the division of the modules is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the communication connection between the modules can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be in an electrical or other form.
[0070] In addition, in each embodiment of the present invention, the functional modules can be integrated in a processing unit, or each module can exist physically alone, or two or more modules can be integrated in a processing unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0071] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: USB flash drives, read-only memories (ROMs), random access memories (RAMs), mobile hard disks, magnetic disks, or optical disks, etc., which can store program codes.
[0072] The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, and improvements made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. An automatic voice selection and switching control method, characterized in that, It includes the following steps: Collect the operating state parameters of each voice terminal corresponding to a specified target in real time; Based on the collected operating state parameters of each voice terminal, determine whether there is voice in the voice channel, and select a sound source from the voice channels with voice according to the pre-configured voice preference strategy; According to the mapping relationship between the voice terminal users of the specified target and the voice channels pre-configured, unblock the voice terminal users corresponding to the selected sound source and block other voice terminal users of the specified target; and, according to the mapping relationship between the voice and audio network users of the specified target during the pre-planned specified task period, control the separation or cancellation of separation of the corresponding audio network users; Among them, according to the operating state parameters of the voice terminal, judge whether the packet frequency is greater than zero, and whether the channel local synchronization state, codec state, downlink channel local synchronization state, and local frame synchronization state are all normal. If the packet frequency is greater than zero and the channel local synchronization state, codec state, downlink channel local synchronization state, and local frame synchronization state are all normal, then determine that the voice channel has voice; The voice preference strategy includes: determining the voice quality level of the voice channel according to the average packet frequency, packet loss rate, and out-of-order rate of the voice within the selected time period, and taking the sound source with the best voice quality level as the selected sound source; among them, if the average packet frequency of the voice within the selected time period deviates less from the preset packet frequency reference value, the voice quality is better; if the packet loss rate and out-of-order rate of the voice within the selected time period are smaller, the voice quality is better. If the packet loss rate or out-of-order rate exceeds the corresponding preset threshold, the corresponding voice channel is abandoned.
2. The voice automatic selection and switching control method according to claim 1, wherein The voice preference strategy includes: if the voice in the voice channel is low-speed voice, determine the voice quality level of the voice channel according to the average packet frequency of the voice within the selected time period; if the voice in the voice channel is high-speed voice, determine the voice quality level of the voice channel according to the average packet frequency, packet loss rate, and out-of-order rate of the voice within the selected time period.
3. The voice automatic selection and switching control method according to claim 2, wherein The voice preference strategy further includes: when it is determined that the voice quality levels of all voice channels are the same, take the sound source in the voice channel with the earliest priority as the selected sound source according to the preset priority order of each voice channel.
4. An automatic voice selection and switching control system, characterized in that, It includes: A collection module for collecting the operating state parameters of each voice terminal corresponding to a specified target in real time; A voice detection module for determining whether there is voice in the voice channel according to the collected operating state parameters of each voice terminal; A voice preference module for selecting a sound source from the voice channels with voice according to the pre-configured voice preference strategy; A scheduling module for unblocking the voice terminal users corresponding to the selected sound source and blocking other voice terminal users of the specified target according to the mapping relationship between the voice terminal users of the specified target and the voice channels pre-configured; and, controlling the separation or cancellation of separation of the corresponding audio network users according to the mapping relationship between the voice and audio network users of the specified target during the pre-planned specified task period; Among them, the voice detection module is used to determine whether the packet frequency is greater than zero, and whether the channel local synchronization status, encoding / decoding status, downlink channel local synchronization status, and local frame synchronization status are all normal according to the operating state parameters of the voice terminal. If the packet frequency is greater than zero and the channel local synchronization status, encoding / decoding status, downlink channel local synchronization status, and local frame synchronization status are all normal, it is determined that there is voice in the voice channel. The voice optimization module is used to determine the voice quality level of the voice channel according to the average packet frequency, packet loss rate, and out-of-order rate of the voice within the selected time period, and use the sound source with the best voice quality level as the selected sound source. Among them, if the average packet frequency of the voice within the selected time period deviates less from the preset packet frequency reference value, the voice quality is better; if the packet loss rate and out-of-order rate of the voice within the selected time period are smaller, the voice quality is better. If the packet loss rate or out-of-order rate exceeds the corresponding preset threshold, the corresponding voice channel is abandoned.
5. The voice automatic selection and switching control system according to claim 4, wherein, The voice optimization module is used to determine the voice quality level of the voice channel according to the average packet frequency of the voice within the selected time period when the voice in the voice channel is low-speed voice; and when the voice in the voice channel is high-speed voice, determine the voice quality level of the voice channel according to the average packet frequency, packet loss rate, and out-of-order rate of the voice within the selected time period.
6. The voice automatic selection and switching control system according to claim 5, characterized in that, The voice optimization module is further used to, when it is determined that the voice quality levels of all voice channels are the same, use the sound source in the voice channel with the earliest priority order as the selected sound source according to the preset priority order of each voice channel.
7. A computer-readable storage medium having one or more programs stored thereon, characterized in that, When the one or more programs are executed by the one or more processors, the voice automatic selection and switching control method according to any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
Audio frequency output channel switching device and method
CN1753316A