Method and device for switching audio channels of communication module

By monitoring network bandwidth and predicting user call activities, and dynamically configuring audio channel parameters, it solves the problem of unstable audio switching in traditional technology, achieving more efficient audio channel management and improving user experience.

CN118538247APending Publication Date: 2024-08-23广东铧鸿机电工程有限公司
View PDF 0 Cites 13 Cited by

Patent Information

Application Number
CN202410681200.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Traditional audio switching technology lacks accurate perception and adaptability to real-time network quality, and cannot effectively respond to network load fluctuations and changes in user call needs, resulting in unstable call quality and poor user experience.

Method used

By monitoring real-time network bandwidth and transmission rate data, analyzing network load fluctuations, predicting user call activities, calculating the audio channel buffer size and optimal switching timing, dynamically configuring audio channel parameters, and optimizing the response speed and fluency of audio channel switching, Match users’ real-time needs.

Benefits of technology

It improves the fluency and response speed of audio channel switching, optimizes audio transmission efficiency, and enhances user experience in multi-tasking environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118538247A
    Figure CN118538247A
Patent Text Reader

Abstract

The invention relates to the technical field of audio switching, in particular to a method and device for switching an audio channel of a communication module, and the method comprises the following steps: monitoring data indexes based on collected real-time network bandwidth and transmission rate data, analyzing network load fluctuation, classifying network environments according to fluctuation changes, and obtaining a network quality classification result. According to the method, the network environment is more accurately classified by collecting and monitoring the real-time network bandwidth and transmission rate data and analyzing the network load fluctuation, the call activity is predicted and the call demand is quantified by deeply analyzing the historical call record of the user, the prediction capability of the user behavior is enhanced, and the user experience is improved. According to the method, the resource allocation efficiency is improved, the network load and the user call data are carefully evaluated by dynamically allocating the audio channel parameters, the audio channel can be quickly and effectively adjusted when the user demand changes, and thus the audio channel switching fluency and response speed are optimized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of audio switching, and in particular to a method and a device for switching audio channels of a communication module. Background Art

[0002] The field of audio switching technology focuses on selecting and managing between different audio channels or audio sources. It is widely used in mobile devices, computer systems, home entertainment systems, and in-vehicle communication devices, allowing users to select or change audio inputs and outputs as needed. Audio switching can be based on user input, preset configurations, or external trigger conditions. It involves not only hardware design, but also software algorithms, such as sound enhancement and signal processing technology, to ensure that the quality of the audio is not affected during the switching process.

[0003] Among them, the method of switching the audio channel of the communication module involves the technology of automatically or manually switching different audio input and output channels in the communication module. The main purpose is to optimize the use of audio resources in a multi-tasking environment, such as when answering a call, listening to music, participating in a video conference, or using voice commands to control the device. By effectively managing and switching audio channels, it is ensured that users enjoy a clear and interference-free audio experience in various communication and media consumption activities. Improving the versatility and user satisfaction of the device is particularly important, especially on multi-function devices.

[0004] Traditional methods lack the ability to accurately perceive and adapt to real-time network quality during audio switching, and therefore cannot effectively respond to fluctuations in network load and changes in user call demand. This results in unstable call quality, poor user experience, and even call interruptions or reduced audio quality. For example, during periods of high load, the audio channel cannot be adjusted in time, resulting in reduced call quality; during periods of low load, traditional methods fail to fully utilize network resources, resulting in resource waste, and are insufficient when faced with dynamic network environments and user needs. Summary of the invention

[0005] The purpose of the present invention is to solve the shortcomings of the prior art and to propose a method and device for switching audio channels of a communication module.

[0006] In order to achieve the above object, the present invention adopts the following technical solution, a method for switching the audio channel of a communication module, comprising the following steps: S1: Based on the collected real-time network bandwidth and transmission rate data, monitor data indicators, analyze network load fluctuations, classify the network environment according to the fluctuation changes, and obtain network quality classification results; S2: Based on the network quality classification result, extract the user's historical call records, analyze the call frequency and call duration data, predict the user's call activity, quantify the call demand, and generate a call activity prediction result; S3: Based on the network quality classification result and the call activity prediction result, calculate the buffer size and optimal switching timing for switching the audio channel, set the dynamic configuration parameters of the audio channel, and construct the audio switching parameters; S4: Based on the audio switching parameters, the network load and the user call data are evaluated, and the audio channel is adjusted to match the real-time needs of the user to obtain a real-time audio channel configuration; S5: Based on the real-time audio channel configuration, a communication module is set, and spare channel parameters are configured according to the fluctuation range of the communication network and the changes in user behavior, so as to optimize the response speed and smoothness of audio channel switching and generate a channel switching optimization plan; S6: Based on the channel switching optimization scheme, the priority and capacity of the audio channel are configured, the user communication demand time period is divided, and the resources of the audio channel are allocated to generate an audio transmission efficiency optimization strategy.

[0007] As a further solution of the present invention, the network quality classification results include network stability level, bandwidth utilization level, and transmission delay classification; the call activity prediction results include the predicted average daily number of calls, average call duration, and active call time period; the audio switching parameters include buffer size, switching timing, and dynamically configured parameters; the real-time audio channel configuration includes adjusted channel bandwidth, network load threshold, and priority setting; the channel switching optimization plan includes parameter setting of backup channels, response time optimization, and fluency adjustment parameters; the audio transmission efficiency optimization strategy includes audio channel priority division, communication demand time period division, and resource allocation plan.

[0008] As a further solution of the present invention, based on the collected real-time network bandwidth and transmission rate data, monitoring data indicators, analyzing network load fluctuations, and classifying the network environment according to the fluctuation changes, the steps of obtaining the network quality classification results are specifically as follows: S101: Based on the collected real-time network bandwidth and transmission rate data, the timestamp of the data is recorded, and the network bandwidth usage and rate change are calculated to generate a network data set; S102: Based on the network data set, identify abnormal fluctuations in network bandwidth and rate, locate fluctuation peaks in the data through a preset threshold, and obtain fluctuation analysis results; S103: Based on the fluctuation analysis result, analyze the fluctuation trend of the data, compare the network environment with a preset network stability index, and classify according to the fluctuation frequency to obtain a network quality classification result.

[0009] As a further solution of the present invention, based on the network quality classification result, the steps of extracting the user's historical call records, analyzing the call frequency and call duration data, predicting the user's call activity, quantifying the call demand, and generating the call activity prediction result are specifically as follows: S201: Based on the network quality classification result, filter the historical call records of the specified network quality, including the network environment tag and the call timestamp, and extract the data to generate a filter call record set; S202: Based on the filtered call record set, statistically process the data, calculate the average, median and coefficient of variation of call frequency and duration in the multi-network environment, reflect the user's call behavior under the multi-network conditions according to the indicators, and obtain the user's call behavior characteristics; S203: Based on the user's call behavior characteristics, with reference to historical trends and network environment influences, a call demand prediction model is constructed to predict the user's call frequency and duration, and obtain call activity prediction results.

[0010] As a further solution of the present invention, based on the network quality classification result and the call activity prediction result, the buffer size and the optimal switching time for switching the audio channel are calculated, and the dynamic configuration parameters of the audio channel are set. The steps of constructing the audio switching parameters are specifically as follows: S301: Based on the network quality classification result and the call activity prediction result, analyzing the buffering requirements of the audio data on the audio channel under the load condition, dynamically adjusting the range of the buffer according to the delay difference of the data transmission, and generating a buffer adjustment parameter; S302: Based on the buffer adjustment parameter, the processing time of the audio data and the network delay are calculated, and the optimal timing of audio channel switching is determined, including the switching time points during the peak period and the non-peak period of the audio activity, to obtain a channel switching timing indicator; S303: Based on the channel switching timing indicator, a maximum likelihood estimation algorithm is used to analyze the bandwidth requirements and priority changes in multiple time periods, and the channel bandwidth is dynamically allocated, the bandwidth threshold and priority parameters are adjusted, and audio switching parameters are constructed; The formula of the maximum likelihood estimation algorithm is as follows: ; in, is the probability distribution of bandwidth demand, For bandwidth requirements, is the average bandwidth requirement, is the standard deviation of bandwidth requirements, is a set of parameters, For the newly added parameters, is the total number of samples.

[0011] As a further solution of the present invention, based on the audio switching parameters, the network load and user call data are evaluated, and the audio channel is adjusted to match the real-time needs of the user. The steps of obtaining the real-time audio channel configuration are specifically as follows: S401: Based on the audio switching parameters, recording the bandwidth utilization and call disconnection frequency of the audio channel, collecting channel performance indicators, evaluating channel real-time performance data, and generating channel performance records; S402: Based on the channel performance records, identify abnormal bandwidth utilization data, locate audio channels whose call quality is lower than the standard value, record the performance of the audio channels under various network conditions, and generate a list of channels with abnormal performance; S403: Based on the abnormal performance channel list, adjust the bandwidth allocation and priority of the abnormal audio channel, match the real-time network conditions and user needs, and build a real-time audio channel configuration.

[0012] As a further solution of the present invention, based on the real-time audio channel configuration, a communication module is set, and spare channel parameters are configured according to the fluctuation amplitude of the communication network and the changes in user behavior, so as to optimize the response speed and smoothness of the audio channel switching. The steps of generating the channel switching optimization scheme are specifically as follows: S501: Based on the real-time audio channel configuration, monitor network fluctuations in real time, record fluctuation amplitude and frequency, identify high fluctuation periods of call interruptions and call peaks, and generate network fluctuation monitoring data; S502: Based on the network fluctuation monitoring data, analyzing the audio channels and time points of insufficient bandwidth and communication interruption, setting activation conditions for backup audio channels, and generating startup parameters for backup channels; S503: Based on the backup channel startup parameters, configure the bandwidth and priority of the backup channel, optimize the response speed of the audio channel when the network fluctuates, and establish a channel switching optimization plan.

[0013] As a further solution of the present invention, based on the channel switching optimization scheme, the priority and capacity of the audio channel are configured, the user communication demand time period is divided, and the resources of the audio channel are allocated. The steps of generating an audio transmission efficiency optimization strategy are specifically as follows: S601: Based on the channel switching optimization scheme, the performance of the audio channel in various load periods is evaluated, and according to the network load data in the communication peak period, the priority of the audio channel is set to match the real-time network performance, and priority configuration data is generated; S602: Analyze the user's communication demand pattern based on the priority configuration data, divide the resource usage time period of the audio channel according to the pattern, allocate network resources and channel capacity, and generate a resource allocation plan; S603: Based on the priority configuration data and resource allocation plan, configure and update the communication module, adjust the real-time network bandwidth and processing capacity of the audio channel in the communication module, match the user communication needs in various time periods, balance the allocation of network resources, and generate an audio transmission efficiency optimization strategy.

[0014] A device for switching the audio channel of a communication module, wherein the device for switching the audio channel of a communication module is used to execute the above-mentioned method for switching the audio channel of a communication module, and the device comprises: The network load monitoring module monitors the fluctuation of data based on the collected real-time network bandwidth and transmission rate data, classifies the network quality according to the fluctuation, and generates network quality analysis results; The call data analysis module extracts the user's historical call records based on the network quality analysis results, calculates the call frequency and duration data, predicts the user's call activities in the future time period, and generates call demand prediction results; The buffer configuration module calculates the optimal buffer size and switching timing of the audio channel based on the call demand prediction result and the network quality analysis result, configures the dynamic parameters of the audio channel, and generates audio switching configuration parameters; The real-time channel adjustment module evaluates the network load and user call data in real time based on the audio switching configuration parameters, adjusts the audio channel to match the real-time user needs, and generates a real-time audio channel configuration; The channel optimization execution module reconfigures the priority and capacity of the audio channel based on the real-time audio channel configuration, allocates resources according to the user communication demand time period, and generates an audio transmission efficiency optimization strategy.

[0015] Compared with the prior art, the advantages and positive effects of the present invention are: In the present invention, by collecting and monitoring real-time network bandwidth and transmission rate data, the network load fluctuation is analyzed to make the classification of the network environment more accurate. By in-depth analysis of the user's historical call records, call activities are predicted and call needs are quantified, which not only enhances the ability to predict user behavior, but also improves the efficiency of resource allocation. The steps of calculating the buffer size and the optimal switching time for switching audio channels improve the response speed of the module and the flexibility of resource use. By dynamically configuring the audio channel parameters, a detailed evaluation of the network load and user call data is achieved, ensuring that the audio channel can be adjusted quickly and effectively when user needs change, thereby optimizing the smoothness and response speed of audio channel switching. By configuring the priority and capacity of the audio channel and reasonably dividing the user's communication demand time period, this strategy significantly improves the efficiency of audio transmission and enhances the user experience in a multi-tasking environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1It is a schematic diagram of the workflow of the present invention; Figure 2 This is a detailed flow chart of S1 of the present invention; Figure 3 This is a detailed flow chart of S2 of the present invention; Figure 4 This is a detailed flow chart of S3 of the present invention; Figure 5 This is a detailed flow chart of S4 of the present invention; Figure 6 This is a detailed flow chart of S5 of the present invention; Figure 7 This is a detailed flow chart of S6 of the present invention; Figure 8 It is a flow chart of the device of the present invention. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0018] In the description of the present invention, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, in the description of the present invention, "multiple" means two or more, unless otherwise clearly and specifically defined.

[0019] Embodiment 1 See also Figure 1 The present invention provides a technical solution, a method for switching the audio channel of a communication module, comprising the following steps: S1: Based on the collected real-time network bandwidth and transmission rate data, the data indicators are continuously monitored, the network load fluctuation is analyzed, the network environment is classified according to the numerical changes of the network fluctuation, and the network quality classification results are obtained; S2: Based on the network quality classification results, extract the user's historical call records in various network environments, analyze the call frequency and call duration data, predict the user's call activities in the future time period, quantify the user's call needs, and generate call activity prediction results; S3: Based on the network quality classification results and call activity prediction results, calculate the buffer size and optimal switching timing required for switching audio channels, set dynamic configuration parameters of audio channels, and build audio switching parameters; S4: Based on the audio switching parameters, the network load and user behavior data are evaluated, and the selection of the audio channel is adjusted in real time according to the evaluation results to match the real-time needs of the user and obtain the real-time audio channel configuration; S5: Based on the real-time audio channel configuration, the communication module is set up, and according to the fluctuation range of the communication network and the changes in user behavior, the backup channel parameters are configured to optimize the response speed and smoothness of the audio channel switching, and generate a channel switching optimization plan; S6: Based on the channel switching optimization plan, reconfigure the priority and capacity of the audio channel, divide the time periods of user communication needs, allocate network resources for the audio channel according to the time periods, and generate an audio transmission efficiency optimization strategy.

[0020] The network quality classification results include network stability level, bandwidth utilization level, and transmission delay classification. The call activity prediction results include the predicted average daily number of calls, average call duration, and active call time period. Audio switching parameters include buffer size, switching timing, and dynamically configured parameters. Real-time audio channel configuration includes adjusted channel bandwidth, network load threshold, and priority setting. Channel switching optimization plan includes parameter setting of backup channels, response time optimization, and fluency adjustment parameters. Audio transmission efficiency optimization strategy includes audio channel priority division, communication demand time period division, and resource allocation plan.

[0021] See also Figure 2 ,Based on the collected real-time network bandwidth and transmission rate data, ,monitoring data indicators, analyzing network load fluctuations, ,classifying the network environment according to the fluctuation changes, ,the steps to obtain the network quality classification results are as follows: S101: Based on the collected real-time network bandwidth and transmission rate data, the timestamp of the data is recorded, and the network bandwidth usage and rate change are calculated to generate a network data set; Based on the collected real-time network bandwidth and transmission rate data, sub-step S101 sets the data collection node, automatically records the bandwidth and rate values ​​through the network monitoring tool every 5 minutes, and records the specific time of each data collection to ensure that each data point is timestamped. In order to calculate the network bandwidth usage, the collected data includes the upstream and downstream bandwidth utilization, and the bandwidth usage at each time point is calculated by simple arithmetic average. At the same time, in order to monitor the network status and prevent potential congestion, the rate of change between each bandwidth record is collected. The rate is calculated by dividing the bandwidth change between two consecutive data points by the time interval. Considering the accuracy and practicality of the data, data verification is performed on each record of bandwidth and rate to eliminate data deviations caused by network anomalies or collection errors. Mark the bandwidth usage records that are too high or too low as key data for network performance analysis to generate a network data set. The formula is: ,in, represents the bandwidth usage at the i-th time point, represents the time interval between the ith time point and the previous time point, Represents the total number of data points, Represents average bandwidth usage.

[0022] S102: Based on the network data set, identify abnormal fluctuations in network bandwidth and rate, locate the fluctuation peak in the data through a preset threshold, and obtain fluctuation analysis results; Sub-step S102 identifies abnormal fluctuations in network bandwidth and rate based on the network data set, sets preset thresholds, namely, bandwidth abnormality threshold and rate abnormality threshold, checks each data point in the network data set, and compares whether the bandwidth and rate values ​​exceed the corresponding preset thresholds. The average bandwidth and rate within a certain time range before and after each data point are calculated through the sliding window averaging algorithm, smoothing short-term fluctuations and highlighting long-term abnormal fluctuations. For each point exceeding the threshold, the occurrence time and duration are recorded, and classified and marked to distinguish whether it is a continuous high load state or a short-term spike fluctuation. The fluctuation events that exceed the threshold in the data are compared with historical events, and the frequency and severity of the abnormal fluctuations are analyzed to obtain the fluctuation analysis results. The formula is: ,in, Representative The bandwidth or rate value at a point in time, represents the average value of the corresponding data, represents the weighting function, Represents the total number of data points, Indicates the abnormal fluctuation analysis results of bandwidth and rate.

[0023] S103: Based on the fluctuation analysis result, analyzing the fluctuation trend of the data, comparing the network environment with the preset network stability index, and classifying according to the fluctuation frequency to obtain a network quality classification result; Based on the results of the fluctuation analysis, sub-step S103 analyzes the fluctuation trend of the data, defines the network stability index, establishes the network delay index, the packet loss rate index and the bandwidth stability index, and identifies the time period or data point with a large deviation from the network stability by comparing with the preset index. Perform statistical analysis on the fluctuation frequency, calculate the number of fluctuations in each time window, and use statistical methods such as standard deviation and coefficient of variation to quantify the intensity and frequency of the fluctuations. For each type of fluctuation, it is classified according to the frequency and degree of impact. Each classification is defined based on the frequency of the fluctuation and the impact on network performance. The situation with high fluctuation frequency and large amplitude is classified as high risk, and the situation with low fluctuation frequency and small amplitude is classified as low risk, and the network quality classification result is obtained. The formula is: ,in, Representative The fluctuation value at a time point, represents the expected threshold of fluctuation, represents the standard deviation of the fluctuation data, Represents the frequency of fluctuation The weighting coefficient of the point, Represents the total number of data points, Represents a comprehensive score of network quality.

[0024] See also Figure 3 ,Based on the network quality classification results, extract the user's historical call records, analyze the call frequency and call duration data, predict the user's call activity, quantify the call demand, and generate the call activity prediction results in the following steps: S201: based on the network quality classification result, filter the historical call records of the specified network quality, including the network environment tag and the call timestamp, and extract the data to generate a filter call record set; Sub-step S201 filters historical call records of specified network quality based on the network quality classification results, defines the specific categories of network quality, assigns corresponding network environment tags to each call record according to the classification results, and traverses all call records in the database after determining the network quality category to be filtered based on the network quality score when the call occurs, and checks the corresponding network environment tag for each record. For records that meet the specified network quality category, extract relevant data, including call timestamp, call duration, identification of both parties to the call, and network performance indicators during the call, such as bandwidth usage, delay, and packet loss rate. Data is extracted from the call record database on demand and sorted according to the call timestamp to ensure the time sequence correctness of the data set. Further data processing is performed on the filtered call records to generate a filtered call record set.

[0025] S202: Based on the screening call record set, statistical processing is performed on the data to calculate the average, median and coefficient of variation of call frequency and duration in the multi-network environment, and the user call behavior under the multi-network conditions is reflected according to the indicators to obtain the user call behavior characteristics; Sub-step S202 performs statistical processing on the data based on the filtered call record set, classifies the call records according to the network environment label, and calculates the statistical indicators of call frequency and call duration for each category, including the mean, median and coefficient of variation. It will provide a quantitative description of user call behavior under different network environments. For call frequency, the total number of calls in each network quality category is calculated, and then divided by the time span of the category to obtain the average call frequency. Using the same data set, the median of the call frequency is calculated, and the coefficient of variation is calculated using the standard deviation and mean. The coefficient of variation is a statistical indicator that measures the degree of discreteness of the call frequency distribution. For call duration, the duration of each call is calculated, and the mean and median of the call duration are calculated in each network quality category. The coefficient of variation of call duration is also calculated by the same method to evaluate the consistency of call duration under different network conditions, reflecting the call behavior characteristics of users under different network conditions, and obtaining the call behavior characteristics of users. The formula is: , , , ,in, and Represent the average values ​​of call frequency and call duration, and Respectively represent The frequency and duration of calls, Represents the number of call records. and Represent the standard deviation of call frequency and call duration, and represents the corresponding coefficient of variation.

[0026] S203: Based on the user's call behavior characteristics, with reference to historical trends and network environment influences, a call demand prediction model is constructed to predict the user's call frequency and duration, and obtain call activity prediction results; Sub-step S203 builds a call demand prediction model based on user call behavior characteristics, with reference to historical trends and network environment impacts, and collects and organizes historical call data and network environment data. This includes call frequency, call duration, and corresponding network quality information. Analyze the relationship between call behavior and network environment, determine the key network factors that affect call frequency and duration, use time series analysis and multivariate regression methods, and use call frequency and duration as dependent variables to build a model. Introduce network quality labels and statistical characteristics of historical call data as independent variables in the model. Statistical characteristics help the model capture the specific impact of changes in the network environment on call behavior and obtain call activity prediction results. The formula is: , ,in, and Represent the predicted call frequency and call duration, respectively. Represents the network quality label, and Represent the mean and coefficient of variation of call behavior, and represents the regression coefficient, and Represents the error term of the model.

[0027] See also Figure 4 , based on the network quality classification results and call activity prediction results, calculate the buffer size and optimal switching time for switching audio channels, set the dynamic configuration parameters of the audio channel, and the steps for constructing audio switching parameters are as follows: S301: Based on the network quality classification result and the call activity prediction result, analyze the buffering requirements of the audio channel under the load condition of the audio data, dynamically adjust the range of the buffer according to the delay difference of the data transmission, and generate the buffer adjustment parameter; Based on the network quality classification results and call activity prediction results, sub-step S301 needs to dynamically adjust the audio data buffer to meet the needs of audio calls under different network load conditions. Analyze the delay differences caused by changes in network quality during data transmission, adjust the buffer range according to the real-time network status to maintain the continuity and quality of the call, and determine the real-time monitoring mechanism of network delay, including regular checks of the network's transmission rate, delay, and packet loss rate. Calculate the deviation of the current network status from the historical average performance, and adjust the buffer size accordingly to adapt to fluctuations in network quality, and generate buffer adjustment parameters. The formula is: ,in, Represents the adjusted buffer size, represents the base buffer size, Represents the current real-time measured network delay, Represents the average delay in the past time. Represents the delay sensitivity coefficient.

[0028] S302: Calculate the processing time and network delay of the audio data based on the buffer adjustment parameters, determine the optimal timing for audio channel switching, including the switching time points during the peak period and non-peak period of the audio activity, and obtain a channel switching timing indicator; Sub-step S302 is a key step to calculate the processing time of audio data and network delay based on the buffer adjustment parameters to determine the optimal time for audio channel switching, especially during peak and non-peak periods of audio activity. The actual time of audio data processing and network delay are continuously monitored, and the channel switching timing is set accordingly. The current network conditions and buffer settings are analyzed to calculate the total delay time from the audio data being sent to being received. This includes the waiting time of the data in the buffer and the network transmission time. The buffer adjustment parameters are dynamically determined to reflect the impact of network conditions on the audio processing time and obtain the channel switching timing indicator.

[0029] S303: Based on the channel switching timing indicator, a maximum likelihood estimation algorithm is used to analyze the bandwidth requirements and priority changes in multiple time periods, and the channel bandwidth is dynamically allocated, the bandwidth threshold and priority parameters are adjusted, and audio switching parameters are constructed; The formula for the maximum likelihood estimation algorithm is as follows: ; in, is the probability distribution of bandwidth demand, For bandwidth requirements, is the average bandwidth requirement, is the standard deviation of bandwidth requirements, is a set of parameters, For the newly added parameters, is the total number of samples.

[0030] The execution flow is as follows: Calculate the average bandwidth demand for each time period and standard deviation , using the maximum likelihood estimation algorithm, estimate the unknown parameters by maximizing the likelihood function to obtain the optimal parameter set , add parameters and the total number of samples , by adjusting the parameters To control the effect of sample size on the likelihood function, according to the parameter set , calculate the probability distribution of bandwidth requirements and obtain the optimal bandwidth allocation solution.

[0031] See also Figure 5, based on the audio switching parameters, evaluate the network load and user call data, and adjust the audio channel to match the user's real-time needs. The steps to obtain the real-time audio channel configuration are as follows: S401: Based on the audio switching parameters, record the bandwidth utilization and call disconnection frequency of the audio channel, collect channel performance indicators, evaluate the real-time performance data of the channel, and generate a channel performance record; Substep S401 defines a calculation formula for bandwidth utilization based on audio switching parameters, calculates bandwidth consumption for each call by real-time monitoring of the start and end time of each call, sets a recording mechanism for disconnection frequency, and increases the disconnection frequency whenever a call is disconnected. Then, performance indicators of the channel are collected, including latency, packet loss rate, and error rate. Combined with data to evaluate the real-time performance of the channel, a weighted formula is used to comprehensively score the channel performance and generate a channel performance record. The formula is: ,in, Representative Bandwidth consumption per call, Represents the number of calls. Represents the total bandwidth capacity Represents the call disconnection frequency. They represent delay, packet loss rate and error rate respectively. Represents the weight parameter.

[0032] S402: Based on the channel performance records, identify abnormal bandwidth utilization data, locate the audio channels whose call quality is lower than the standard value, record the performance of the audio channels under various network conditions, and generate a list of channels with abnormal performance; Sub-step S402 establishes a detection mechanism for abnormal bandwidth utilization based on channel performance records. By setting the upper and lower thresholds of bandwidth utilization, if the bandwidth utilization of a channel exceeds the threshold, the bandwidth utilization of the channel is considered abnormal, and all abnormal data are screened. All channels are checked using the set minimum standard for call quality. If the call quality of a channel is lower than the standard, the channel is marked as having low call quality. At the same time, the bandwidth utilization, delay, and error rate of each channel under different network conditions are recorded to evaluate the impact of the network status on channel performance and generate a list of channels with abnormal performance.

[0033] S403: Based on the abnormal performance channel list, adjust the bandwidth allocation and priority of the abnormal audio channel, match the real-time network conditions and user needs, and build a real-time audio channel configuration; Sub-step S403 adjusts the bandwidth allocation and priority of abnormal audio channels according to the list of performance abnormal channels to ensure matching under real-time network conditions and user needs, and builds real-time audio channel configuration. Determine the number and type of channels that need to be adjusted based on the channel conditions in the abnormal channel list. Perform bandwidth allocation and priority adjustment for each abnormal audio channel. Bandwidth allocation is adjusted according to the real-time performance requirements and network conditions of the channel to ensure that each channel can obtain sufficient bandwidth to ensure the stability and quality of audio transmission. Priority adjustment is determined based on the importance of the channel and user needs to ensure that important channels can obtain bandwidth resources first and build real-time audio channel configuration. The formula is: ,in, Representative channel bandwidth allocation, Representative channel The original bandwidth, Representative channel The priority of Representative channel network conditions, Representative channel Real-time performance requirements, Representative channel The importance of Representative channel user needs.

[0034] See also Figure 6 , based on the real-time audio channel configuration, the communication module is set, and the backup channel parameters are configured through the fluctuation range of the communication network and the changes in user behavior, and the response speed and smoothness of the audio channel switching are optimized. The specific steps for generating the channel switching optimization plan are as follows: S501: Based on the real-time audio channel configuration, monitor network fluctuations in real time, record the fluctuation amplitude and frequency, identify the high fluctuation periods of call interruptions and call peaks, and generate network fluctuation monitoring data; Sub-step S501 is based on the real-time audio channel configuration. By continuously collecting network fluctuation data, the monitoring parameters of network fluctuations are set, including fluctuation amplitude and fluctuation frequency. These two parameters are calculated once in each data collection cycle. A data buffer is established to store continuously collected network status data. For each collection cycle, the maximum network fluctuation amplitude and fluctuation frequency within the cycle are calculated by analyzing the information in the data buffer. The fluctuation frequency is determined by calculating the number of times the fluctuation exceeds the preset threshold per unit time. The device monitors call interruptions and call peak periods to generate network fluctuation monitoring data.

[0035] S502: Based on the network fluctuation monitoring data, the audio channels and time points of insufficient bandwidth and communication interruption are analyzed, and activation conditions of the backup audio channels are set to generate startup parameters of the backup channels; Sub-step S502 analyzes the audio channels with insufficient bandwidth and communication interruptions and the time points when they occur based on the network fluctuation monitoring data. In the case of insufficient bandwidth, the audio channels with insufficient bandwidth and the time points when they occur are identified by monitoring the bandwidth utilization and audio transmission conditions in the data. In the case of communication interruption, the audio channels and the time of communication interruption are determined by monitoring the communication connection status and audio transmission records in the data. According to the analysis results, the activation conditions of the backup audio channel are set, including the bandwidth utilization threshold and the communication interruption duration threshold. When insufficient bandwidth is detected, the activation of the backup audio channel must meet the condition that the bandwidth utilization is lower than the set threshold; when a communication interruption occurs, the activation of the backup audio channel must meet the condition that the communication interruption duration exceeds the set threshold, and the backup channel startup parameters are generated. The formula is: ,in, Standby channel The activation conditions, Representative channel Bandwidth utilization, Represents the bandwidth utilization threshold. Representative channel The duration of the communication interruption, Represents the communication interruption duration threshold, Representative channel Communication interruption, Represents the backup channel switching strategy.

[0036] S503: Based on the backup channel startup parameters, configure the bandwidth and priority of the backup channel, optimize the response speed of the audio channel when the network fluctuates, and establish a channel switching optimization plan; Sub-step S503 determines the startup conditions of the backup channel according to the backup channel startup parameters, the bandwidth utilization threshold and the communication interruption duration threshold set in the backup channel startup parameters. Set the bandwidth allocation and priority of the backup channel according to the startup conditions of the backup channel. When the network fluctuates, monitor the network status and adjust the bandwidth allocation of the backup channel in real time to ensure that the backup channel can respond in time when the network fluctuates. At the same time, according to the priority of the backup channel, adjust the switching plan of the audio channel, and switch to the backup channel first to ensure the continuity and stability of communication. Consider different situations of network fluctuations and the impact of channel switching, and establish a channel switching optimization plan. The formula is: ,in, Standby channel bandwidth allocation, Standby channel The original bandwidth, Standby channel The priority of Standby channel network conditions, Standby channel Real-time performance requirements, Standby channel The importance of Standby channel user needs.

[0037] See also Figure 7 ,Based on the channel switching optimization scheme, configure the priority and capacity of the audio channel, divide the user communication demand time period, and allocate the resources of the audio channel. The specific steps of generating the audio transmission efficiency optimization strategy are as follows: S601: Based on the channel switching optimization solution, evaluate the performance of the audio channel in various load periods, set the priority of the audio channel to match the real-time network performance according to the network load data in the communication peak period, and generate priority configuration data; Sub-step S601 determines the performance indicators of the audio channel in different load periods based on the channel switching optimization plan, including the data transmission rate and delay of the channel. A performance evaluation module is established, which is responsible for collecting and analyzing the performance data of the audio channel in each time period. For each time period, the average data transmission rate and average delay are calculated, and the data is automatically collected through real-time monitoring facilities. The priority of the audio channel is set according to the network load data in the communication peak time period. The network load in a specific time period is analyzed, and the priority setting of each channel is adjusted according to the load size. Generate priority configuration data. The formula is: ,in, Represents a dynamic factor that is adjusted in real time based on network status. Represents the average data transfer rate, represents the average delay, represents the network load, and Represents the weight coefficient in the model.

[0038] S602: Analyze the user's communication demand pattern based on the priority configuration data, divide the resource usage time period of the audio channel according to the pattern, allocate network resources and channel capacity, and generate a resource allocation plan; Sub-step S602 conducts an in-depth analysis of the user's communication demand pattern based on the priority configuration data, including identifying the frequency and type of communication activities of users in different time periods. By collecting and analyzing historical communication data, the peak and trough periods of communication can be determined. The time periods are obtained based on the statistical analysis of communication activities. According to the user's communication demand pattern, the resource usage of the audio channel is divided into different time periods. The communication demand in each time period is quantified, and the resource usage priority of the audio channel is set according to the quantification results. More network resources and channel capacity are allocated during peak communication periods, while during periods with lower communication demand, resource allocation is reduced to generate a resource allocation plan. The formula is: ,in, Represents a coefficient that is dynamically adjusted based on the actual availability and demand intensity of the channel. Represents the intensity of user activity, Represents priority, and Represent the total network resources and channel capacity respectively.

[0039] S603: Based on the priority configuration data and resource allocation plan, configure and update the communication module, adjust the real-time network bandwidth and processing capacity of the audio channel in the communication module, match the user communication needs in various time periods, balance the allocation of network resources, and generate an audio transmission efficiency optimization strategy; S603 sub-step is based on priority configuration data and resource allocation plan, carries out configuration update of communication module, to adjust the real-time network bandwidth and processing power of audio channel in communication module, ensures that can match the user communication demand of multiple time periods, and balances the distribution of network resources, according to priority configuration data, determines the priority of each audio channel, and according to resource allocation plan, determines the bandwidth and processing power demand of each channel in different time periods. According to the different time period characteristics of user communication demand, carries out the distribution balance of network resources, adjusts the bandwidth and processing power of each audio channel in communication module, ensures that can meet the communication demand of user in peak time and off-peak time. In the configuration update process, consider the mutual influence between channels inside communication module, try to avoid waste of resources and conflict, according to the adjusted configuration, generate audio transmission efficiency optimization strategy.

[0040] A device for switching the audio channel of a communication module, the device for switching the audio channel of a communication module is used to execute the above-mentioned method for switching the audio channel of a communication module, and the device comprises: The network load monitoring module monitors the fluctuation of data based on the collected real-time network bandwidth and transmission rate data, calculates the deviation between the fluctuation amplitude and the average value to obtain the fluctuation index, classifies the network quality according to the fluctuation index, and generates network quality analysis results; The call data analysis module extracts the user's historical call records based on the network quality analysis results, builds a call pattern map for each user based on the historical data, calculates the call frequency and duration data, predicts the user's call activities in the future time period, and generates call demand prediction results; The buffer configuration module calculates the optimal buffer size and switching timing of the audio channel based on the call demand prediction results and network quality analysis results, adjusts the buffer size in real time, configures the dynamic parameters of the audio channel, and generates audio switching configuration parameters; The real-time channel adjustment module evaluates the network load and user call data in real time based on the audio switching configuration parameters, adjusts the audio channel to match the real-time user needs, including the bandwidth allocation and buffer size of the audio channel, and generates the real-time audio channel configuration; The channel optimization execution module reconfigures the priority and capacity of the audio channel based on the real-time audio channel configuration, allocates resources according to the user's communication demand time period, and generates an audio transmission efficiency optimization strategy.

[0041] The above are only preferred embodiments of the present invention and are not intended to limit the present invention in other forms. Any technician familiar with the profession may use the technical contents disclosed above to change or modify them into equivalent embodiments with equivalent changes and apply them to other fields. However, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention without departing from the technical solution of the present invention still falls within the protection scope of the technical solution of the present invention.

Claims

1. A method for switching the audio channel of a communication module, characterized in that: The following steps are involved: Based on the collected real-time network bandwidth and transmission rate data, data indicators are monitored, network load fluctuations are analyzed, and network environments are classified according to fluctuations to obtain network quality classification results; Based on the network quality classification results, extract the user's historical call records, analyze call frequency and call duration data, predict the user's call activity, quantify call demand, and generate call activity prediction results; Based on the network quality classification result and the call activity prediction result, calculating the buffer size and optimal switching timing for switching the audio channel, setting dynamic configuration parameters of the audio channel, and establishing audio switching parameters; Based on the audio switching parameters, the network load and user call data are evaluated, and the audio channel is adjusted to match the user's real-time needs to obtain a real-time audio channel configuration; Based on the real-time audio channel configuration, a communication module is set up, and backup channel parameters are configured according to the fluctuation range of the communication network and changes in user behavior, so as to optimize the response speed and smoothness of audio channel switching and generate a channel switching optimization plan; Based on the channel switching optimization scheme, the priority and capacity of the audio channel are configured, the time periods of user communication needs are divided, and the resources of the audio channel are allocated to generate an audio transmission efficiency optimization strategy.

2. The method for switching the audio channel of a communication module according to claim 1, characterized in that: The network quality classification results include network stability level, bandwidth utilization level, and transmission delay classification; the call activity prediction results include the predicted average daily number of calls, average call duration, and active call time period; the audio switching parameters include buffer size, switching timing, and dynamically configured parameters; the real-time audio channel configuration includes adjusted channel bandwidth, network load threshold, and priority setting; the channel switching optimization plan includes parameter setting of the backup channel, response time optimization, and fluency adjustment parameters; the audio transmission efficiency optimization strategy includes audio channel priority division, communication demand time period division, and resource allocation plan.

3. The method for switching the audio channel of a communication module according to claim 1, characterized in that: Based on the collected real-time network bandwidth and transmission rate data, data indicators are monitored, network load fluctuations are analyzed, and the network environment is classified according to the fluctuations. The specific steps to obtain the network quality classification results are as follows: Based on the collected real-time network bandwidth and transmission rate data, the timestamp of the data is recorded, and the network bandwidth usage and rate changes are calculated to generate a network dataset; Based on the network data set, identifying abnormal fluctuations in network bandwidth and rate, locating fluctuation peaks in the data using a preset threshold, and obtaining fluctuation analysis results; Based on the fluctuation analysis results, the fluctuation trend of the data is analyzed, the network environment is compared with the preset network stability index, and classification is performed according to the fluctuation frequency to obtain the network quality classification result.

4. The method for switching the audio channel of a communication module according to claim 1, characterized in that: Based on the network quality classification results, extract the user's historical call records, analyze call frequency and call duration data, predict the user's call activity, quantify call demand, and generate call activity prediction results in the following steps: Based on the network quality classification result, filter historical call records of specified network quality, including network environment tags and call timestamps, and perform data extraction to generate a filtered call record set; Based on the filtered call record set, statistical processing is performed on the data to calculate the average, median, and coefficient of variation of call frequency and duration in multiple network environments, and the user call behavior characteristics are obtained based on the indicators reflecting the user call behavior under multiple network conditions; Based on the user's call behavior characteristics, with reference to historical trends and network environment impacts, a call demand prediction model is constructed to predict the user's call frequency and duration, and obtain call activity prediction results.

5. The method for switching the audio channel of a communication module according to claim 1, characterized in that: Based on the network quality classification result and the call activity prediction result, the buffer size and optimal switching timing for switching the audio channel are calculated, and the dynamic configuration parameters of the audio channel are set. The steps of constructing the audio switching parameters are specifically as follows: Based on the network quality classification result and the call activity prediction result, analyzing the buffering requirements of the audio channel under the load condition of the audio data, dynamically adjusting the range of the buffer according to the delay difference of the data transmission, and generating a buffer adjustment parameter; Based on the buffer adjustment parameters, the processing time of the audio data and the network delay are calculated to determine the optimal timing for audio channel switching, including the switching timing points during peak and off-peak periods of audio activity, thereby obtaining a channel switching timing indicator; Based on the channel switching timing indicator, a maximum likelihood estimation algorithm is used to analyze bandwidth requirements and priority changes in multiple time periods, dynamically allocate channel bandwidth, adjust bandwidth thresholds and priority parameters, and construct audio switching parameters; The formula of the maximum likelihood estimation algorithm is as follows: ; in, is the probability distribution of bandwidth requirements, For bandwidth requirements, is the average bandwidth requirement, is the standard deviation of bandwidth requirements, is a set of parameters, For the newly added parameters, is the total number of samples.

6. The method for switching the audio channel of a communication module according to claim 1, characterized in that: Based on the audio switching parameters, network load and user call data are evaluated, and the audio channel is adjusted to match the user's real-time needs. The steps of obtaining the real-time audio channel configuration are as follows: Based on the audio switching parameters, record the bandwidth utilization and call disconnection frequency of the audio channel, collect channel performance indicators, evaluate the real-time performance data of the channel, and generate a channel performance record; Based on the channel performance records, identify abnormal bandwidth utilization data, locate audio channels with call quality below standard values, record the performance of audio channels under various network conditions, and generate a list of channels with abnormal performance; Based on the performance abnormality channel list, the bandwidth allocation and priority of the abnormal audio channels are adjusted to match the real-time network conditions and user needs, and a real-time audio channel configuration is constructed.

7. The method for switching the audio channel of a communication module according to claim 1, characterized in that: Based on the real-time audio channel configuration, the communication module is set up, and the backup channel parameters are configured according to the fluctuation range of the communication network and the changes in user behavior to optimize the response speed and smoothness of the audio channel switching. The steps of generating the channel switching optimization plan are as follows: Based on the real-time audio channel configuration, network fluctuations are monitored in real time, the amplitude and frequency of fluctuations are recorded, call interruptions and high-fluctuation periods of call peaks are identified, and network fluctuation monitoring data is generated; Based on the network fluctuation monitoring data, analyzing the audio channels and time points of insufficient bandwidth and communication interruption, setting activation conditions for backup audio channels, and generating backup channel startup parameters; Based on the backup channel startup parameters, the bandwidth and priority of the backup channel are configured, the response speed of the audio channel is optimized when the network fluctuates, and a channel switching optimization solution is established.

8. The method for switching the audio channel of a communication module according to claim 1, characterized in that: Based on the channel switching optimization scheme, the steps of configuring the priority and capacity of the audio channel, dividing the time period according to the user's communication needs, and allocating the resources of the audio channel to generate the audio transmission efficiency optimization strategy are as follows: Based on the channel switching optimization scheme, the performance of the audio channel under various load periods is evaluated, and according to the network load data during the communication peak period, the priority of the audio channel is set to match the real-time network performance to generate priority configuration data; Analyzing the user's communication demand pattern based on the priority configuration data, dividing the resource usage time period of the audio channel according to the pattern, allocating network resources and channel capacity, and generating a resource allocation plan; Based on the priority configuration data and resource allocation plan, the communication module is configured and updated, the real-time network bandwidth and processing capacity of the audio channel in the communication module are adjusted to match the user communication needs in various time periods, balance the allocation of network resources, and generate an audio transmission efficiency optimization strategy.

9. The device for switching the audio channel of the communication module is characterized in that: The method for switching the audio channel of a communication module according to any one of claims 1 to 8, wherein the device comprises: The network load monitoring module collects real-time network bandwidth and transmission rate data, monitors data fluctuations, classifies network quality according to fluctuations, and generates network quality analysis results; The call data analysis module extracts the user's historical call records based on the network quality analysis results, calculates call frequency and duration data, predicts the user's call activities in the future time period, and generates call demand prediction results; The buffer configuration module calculates the optimal buffer size and switching timing of the audio channel based on the call demand prediction result and the network quality analysis result, configures the dynamic parameters of the audio channel, and generates audio switching configuration parameters; The real-time channel adjustment module evaluates the network load and user call data in real time based on the audio switching configuration parameters, adjusts the audio channel to match the real-time user needs, and generates a real-time audio channel configuration; The channel optimization execution module reconfigures the priority and capacity of the audio channel based on the real-time audio channel configuration, allocates resources according to the user communication demand time period, and generates an audio transmission efficiency optimization strategy.

Citation Information

Cited By

  • Intelligent multi-frequency adaptive interphone system

    CN118804168A

  • An intelligent multi-frequency adaptive intercom system

    CN118804168B

  • Multi-channel collaborative acceleration method for data processing and transmission of set top box

    CN119172571A

  • Multi-channel collaborative acceleration method for set-top box data processing and transmission

    CN119172571B

  • Tiantong satellite voice data transmission terminal device and data transmission method

    CN119945535A