A method for adaptively and dynamically adjusting FIFO throughput rate
By identifying the available channels and predicting the total throughput, dynamically adjusting the FIFO throughput rate, the problem of inability to predict changes in wireless signal data in the prior art is solved, the FIFO throughput rate balance is achieved, and the communication quality of the wireless communication system is improved.
Patent Information
- Application Number
- CN202510822753.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-19
- Publication Date
- 2025-08-22
- Estimated Expiration
- 2045-06-19
AI Technical Summary
The existing FIFO throughput rate adjustment method cannot predict future changes in wireless signal data in advance, resulting in excess or insufficient throughput rate, affecting the communication quality of wireless communication systems.
By collecting the signal delay rate and signal passing rate of the wireless component, identifying the available channels, and dividing the dynamic adjustment period, predicting the total throughput of the next dynamic interval, selecting the corresponding dynamic adjustment instructions, and dynamically adjusting the FIFO throughput to achieve a balanced state.
It realizes advance prediction of the throughput rate at the future moment, avoids the lag of the throughput rate, ensures that the FIFO throughput rate is always balanced, and improves the communication quality of the wireless communication system.
Smart Images

Figure CN120358540B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technology, and more particularly to a method for adaptively and dynamically adjusting FIFO throughput rate. Background Art
[0002] The core function of FIFO is to manage data flow according to the "first-in, first-out" principle to ensure rate matching for asynchronous communications in wireless communications. With the rapid development of wireless communication networks, network traffic has become bursty, high-density, and diverse. The increase in communication nodes has led to intensified competition for spectrum resources. Therefore, the FIFO throughput rate needs to be dynamically adjusted to ensure that the FIFO throughput rate remains at an optimal state.
[0003] Patent application with reference publication number CN109462860A discloses a throughput optimization method, apparatus, electronic device, and computer-readable storage medium, including detecting a current received signal strength indicator value, querying a pre-stored throughput adjustment table to obtain a target bandwidth and target rate level corresponding to the current received signal strength indicator value, the throughput adjustment table including the bandwidths and rate levels required to achieve optimal throughput for different received signal strength indicator values, the optimal throughput at each received signal strength indicator value being pre-determined through programmable attenuation testing, and adjusting the current bandwidth and current rate level to the target bandwidth and target rate level;
[0004] When adjusting the throughput rate of existing FIFOs, the real-time throughput of wireless signal data is obtained and compared with the standard throughput to determine the throughput rate and then adjust the throughput rate. For example, in the above-mentioned patent application, the bandwidth and rate level required to achieve optimal throughput under different communication conditions are obtained, and the bandwidth and rate level are adjusted in real time according to a throughput adjustment table. Due to the continuous transmission of wireless signal data in wireless communication systems, the FIFO throughput rate needs to be kept in a balanced state. Therefore, the real-time throughput rate adjustment method cannot predict in advance the situation of a sharp increase in wireless signal data at a certain time in the future, nor can the FIFO throughput rate be dynamically adjusted in advance. As a result, the FIFO throughput rate is prone to excess or insufficient in the future, thereby reducing the communication quality of the wireless communication system.
[0005] In view of this, the present invention proposes a method for adaptively and dynamically adjusting FIFO throughput rate to solve the above problem. Summary of the Invention
[0006] In order to overcome the above-mentioned defects of the prior art and to achieve the above-mentioned objectives, the present invention provides the following technical solution: a method for adaptively and dynamically adjusting FIFO throughput rate, applied to a wireless communication server, comprising:
[0007] S01: collecting the signal delay rate and signal qualification rate of the original channel of the wireless component, and identifying the available channel from the original channel based on the state recognition criterion;
[0008] S02: collecting signal transmission parameters of available channels, formulating a dynamic adjustment period, and dividing the dynamic adjustment period into dynamic intervals based on an interval division criterion, wherein the interval division criterion is that the last moment of the previous dynamic interval and the first moment of the next dynamic interval are adjacent moments;
[0009] S03: Collect comprehensive throughput data of available channels within the dynamic interval, aggregate the comprehensive throughput data, and predict the total throughput of the next dynamic interval using a throughput prediction model;
[0010] S04: securely identifying the total throughput of the next predicted dynamic interval and selecting a corresponding dynamic adjustment instruction;
[0011] S05: Dynamically adjust the throughput rate of the FIFO according to the dynamic adjustment instruction until the throughput rate of the FIFO reaches a balanced state.
[0012] Furthermore, the signal delay rate is collected by:
[0013] Query the transmission performance value of the original channel in real time, starting from the moment when the transmission performance value of the original channel first reaches the calibrated transmission performance threshold and ending at the current moment, and record the period between the start and end points as the query period;
[0014] During the query period, the wireless signal data with a transmission status of successful transmission in the A original channels are marked one by one and recorded as valid signals. The valid signals are numbered in ascending order according to the order of transmission time.
[0015] The transmission duration of the valid signals is queried one by one through the timestamps, and the valid signals whose transmission duration is longer than the calibration duration are recorded as delayed signals, and the corresponding number of the delayed signal is recorded as the delay number;
[0016] Delay signals with consecutive delay numbers are recorded as a delay group, and the number of delayed signals in each delay group in A original channels is added together to obtain A delay values;
[0017] Compare the A delay values with the corresponding number of valid signals to obtain A signal delay rates.
[0018] Furthermore, the signal qualification rate is collected by:
[0019] In A original channels, the interpretation of the valid signal before and after transmission is queried one by one to obtain the original data and demodulated data respectively;
[0020] The valid signals whose original data and demodulated data are completely consistent are recorded as complete signals, and the number of complete signals is counted;
[0021] After comparing the number of A complete signals with the number of A valid signals, the qualified rate of A signals is obtained.
[0022] Furthermore, the state identification criterion is: the original channel without unavailable parameters is recorded as an available channel;
[0023] Available channels are identified by:
[0024] Compare the signal delay rate of the original channel with the signal delay threshold; when the signal delay rate is greater than or equal to the signal delay threshold, record the signal delay amount as an unusable parameter;
[0025] Compare the signal qualification rate of the original channel with the signal qualification threshold. When the signal qualification rate is less than or equal to the signal qualification threshold, record the signal qualification rate as an unusable parameter.
[0026] The number of unavailable parameters in the A original channels is counted, and the original channels with 0 unavailable parameters are recorded as available channels, thereby obtaining B available channels.
[0027] Furthermore, signal transmission parameters include intensity range, channel resource occupancy, and maximum transmission volume;
[0028] The channel resource utilization rate is collected as follows:
[0029] Based on the preset self-check time, plan out consecutive and equal sub-periods, and mark them one by one All self-check moments within a sub-period;
[0030] Query B available channels one by one The sub-occupancy rates of all self-test moments in a sub-period are calculated, and the number of self-test moments corresponding to the sub-occupancy rates is counted to obtain C self-test values;
[0031] The sub-occupancy corresponding to the maximum value of the self-test value is recorded as the effective occupancy, and the effective occupancy rate, and The effective occupancy rates are accumulated and averaged to obtain B channel resource occupancy rates.
[0032] Furthermore, the method for formulating the dynamic adjustment cycle is as follows:
[0033] Assign corresponding proportional coefficients to the intensity extreme difference values, channel resource occupancy rates, and maximum transmission amounts of B available channels, and then add them together to obtain B periodic coefficients;
[0034] The expression of the periodic coefficient is:
[0035] ;
[0036] Where, For the The periodic coefficient of the available channels, =1,2,...,B, For the The strength range of available channels, For the The channel resource occupancy rate of available channels, For the The maximum transmission capacity of available channels, 、 、 All are proportional coefficients greater than 0;
[0037] Query the standard cycle length of the wireless component, calculate B channel cycles based on the standard cycle length and B cycle coefficients, and record the maximum value of the channel cycle as the dynamic adjustment period;
[0038] The expression of channel period is:
[0039] ;
[0040] Where, For the The channel period of available channels, This is the standard cycle length.
[0041] Furthermore, the comprehensive throughput data includes interval throughput value, data loss rate and intensity fluctuation value;
[0042] The data loss rate is collected as follows:
[0043] Use the traffic monitoring tool to query the number of wireless signal data entering E dynamic intervals in B available channels one by one, and obtain E entry value;
[0044] The wireless signal data of the E dynamic intervals are recorded as exported data, the attribute status of the exported data is marked, and the number of exported data with the attribute status being correctly exported is counted to obtain E exported value values;
[0045] After subtracting E incoming values from the corresponding E derived values, the E differences are compared with the corresponding incoming values to obtain E data loss rates;
[0046] The expression of data loss rate is:
[0047] ;
[0048] Where, For the The first available channel The data loss rate of the dynamic interval, =1,2,...,E, For the The first available channel The entry value of a dynamic interval, For the The first available channel The derived value of the dynamic interval.
[0049] Furthermore, the intensity fluctuation value is collected as follows:
[0050] Query the signal strength values of B available channels at all times within E dynamic intervals one by one, and record the maximum signal strength and the minimum signal strength as the strength peak and strength valley, respectively, to obtain E strength peaks and E strength valleys;
[0051] After subtracting E intensity peaks from the corresponding E intensity valleys, the E differences are combined with the calibrated signal intensity to obtain E intensity fluctuation values;
[0052] The expression of intensity fluctuation value is:
[0053] ;
[0054] Where, For the The first available channel The intensity fluctuation value of the dynamic interval, For the The first available channel The peak intensity of the dynamic range, For the The first available channel The intensity valley of the dynamic range, is the calibrated signal strength.
[0055] Furthermore, the dynamic adjustment instructions include a maintain throughput rate instruction, an increase throughput rate instruction, and a decrease throughput rate instruction;
[0056] The selection method for the maintain throughput rate instruction, increase throughput rate instruction, and decrease throughput rate instruction is:
[0057] Query the maximum capacity of the FIFO data buffer, record it as the buffer calibration value, and compare the predicted total throughput of the next dynamic interval with the buffer calibration value;
[0058] When the predicted total throughput of the next dynamic interval is greater than the buffer calibration value, the throughput rate increase instruction is selected;
[0059] When the total throughput of the next dynamic interval is predicted to be less than the buffer calibration value, a throughput rate reduction instruction is selected;
[0060] When the predicted total throughput of the next dynamic interval is equal to the buffer calibration value, the maintain throughput rate instruction is selected.
[0061] Furthermore, the FIFO throughput rate is dynamically adjusted as follows:
[0062] When the throughput increase instruction is selected, the FIFO buffer capacity is first increased until the FIFO throughput reaches a balanced state;
[0063] If the buffer capacity increases to the maximum value and the dynamic adjustment instruction is still the throughput increase instruction, then the number of read and write ports is increased until the FIFO throughput reaches a balanced state;
[0064] When the throughput rate reduction instruction is selected, the FIFO buffer capacity is first reduced until the FIFO throughput rate reaches a balanced state;
[0065] If the buffer capacity is reduced to a minimum value and the dynamic adjustment instruction is still an instruction to reduce the throughput rate, then the number of read and write ports is reduced until the throughput rate of the FIFO reaches a balanced state.
[0066] The technical effects and advantages of the method for adaptively and dynamically adjusting FIFO throughput rate of the present invention are as follows:
[0067] 1: By establishing a dynamic adjustment cycle for available channels, dividing the dynamic adjustment cycle into dynamic intervals, and collecting comprehensive throughput data for available channels within the dynamic intervals, it is possible to meet the duration of all available channels in transmitting wireless signal data and also to divide dynamic adjustment cycles with larger duration spans into dynamic intervals with smaller duration spans, thus achieving continuous and refined collection of comprehensive throughput data within each dynamic interval.
[0068] 2: After aggregating the comprehensive throughput data, the throughput prediction model is used to predict the total throughput of the next dynamic interval. The predicted total throughput of the next dynamic interval is securely identified, and the corresponding dynamic adjustment instructions are selected. The total throughput of wireless signal data in the available channel at a future time can be predicted based on the throughput prediction model. This serves as the basis for determining the throughput rate of the FIFO at a future time. Therefore, the excess or shortage of the FIFO throughput at a future time can be predicted in advance, avoiding the lag in real-time throughput prediction.
[0069] 3: By dynamically adjusting the FIFO throughput rate according to dynamic adjustment instructions until the FIFO throughput rate reaches a balanced state, specific measures can be taken in advance to adjust the throughput rate when it is found that the FIFO throughput rate at a future moment is too large or too small. This ensures that the FIFO can adaptively and dynamically adjust the FIFO throughput rate according to the specific transmission volume of wireless signal data of the available channel at a future moment, avoiding the negative situation of slow data processing congestion or waste of space resources in the FIFO, ensuring that the FIFO throughput rate can always be maintained in a balanced state, greatly improving the communication quality of the wireless communication system. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] Figure 1 A schematic flow chart of a method for adaptively and dynamically adjusting FIFO throughput rate provided in the first embodiment of the present invention;
[0071] Figure 2 A schematic diagram of the architecture of a system for adaptively and dynamically adjusting FIFO throughput rate provided in the second embodiment of the present invention. DETAILED DESCRIPTION
[0072] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0073] Example 1: Please refer to Figure 1 As shown, the method for adaptively and dynamically adjusting FIFO throughput rate described in this embodiment is applied to a wireless communication server, including:
[0074] S01: collecting basic parameters of the original channel of the wireless component and identifying available channels from the original channel based on a state recognition criterion;
[0075] The original channel refers to the channel where wireless signal data is effectively transmitted. The basic parameters are used to comprehensively represent the real-time wireless signal data transmission status of the original channel. They can fully represent the situation of the original channel during wireless signal data transmission and serve as the basis for subsequent identification and screening of the original channel.
[0076] Basic parameters include signal delay rate and signal qualification rate;
[0077] The signal delay rate refers to the percentage of excessive data transmission durations during wireless signal data transmission. This indicates the transmission duration of the original channel for wireless signal data. A higher signal delay rate indicates a higher percentage of excessive data transmission durations in the original channel, and thus indicates a worse wireless signal data transmission status in the original channel.
[0078] The signal delay rate is collected as follows:
[0079] The transmission performance value of the original channel is queried in real time, with the time when the transmission performance value of the original channel first reaches the calibrated transmission performance threshold as the starting point and the current time as the end point. The period between the starting point and the end point is recorded as the query period. The transmission performance value is used to numerically represent the performance index of wireless signal data transmission in the original channel, and is used to provide a numerical basis for judging the transmission performance of the original channel.
[0080] During the query period, wireless signal data in the A original channels with a transmission status of successfully transmitted are marked one by one and recorded as valid signals. The valid signals are numbered in ascending order according to the order of transmission time. The transmission status is used to specifically indicate whether the wireless signal data is successfully transmitted in the original channel. The transmission status includes successful transmission and failed transmission. Successful transmission indicates that the wireless signal data is successfully transmitted in the original channel, and failed transmission indicates that the wireless signal data is not successfully transmitted in the original channel.
[0081] The transmission duration of valid signals is queried one by one through the timestamp. Valid signals with a transmission duration longer than the calibration duration are recorded as delayed signals, and the corresponding number of the delayed signal is recorded as the delay number. The calibration duration is used to represent the maximum transmission duration of the valid signal marked as delayed signal, so as to distinguish whether the transmission duration of the valid signal exceeds the standard.
[0082] Delay signals with consecutive delay numbers are recorded as a delay group. The number of delayed signals in the delay group in A original channels is added together to obtain A delay values. The continuous delay number specifically means that the delay number has two or more consecutive values. For example, if the delay numbers are 1, 2, and 3, the delayed signals corresponding to the delay numbers 1, 2, and 3 are recorded as a delay group.
[0083] Compare the A delay values with the corresponding number of valid signals to obtain A signal delay rates;
[0084] The expression of signal delay rate is:
[0085] ;
[0086] Where, For the The signal delay rate of the original channel, =1,2,...,A, No. The delay value of the original channel, For the The number of valid signals in the original channel.
[0087] The signal qualification rate refers to the ratio of the number of wireless signal data that are transmitted normally and completely to the total number of wireless signal data. It can be used to indicate the transmission integrity performance of the original channel. The higher the signal qualification rate, the stronger the original channel's performance in transmitting wireless signal data completely, and the better the wireless signal data transmission status of the original channel.
[0088] The signal qualification rate is collected as follows:
[0089] In A original channels, the signal interpretations of the valid signals before and after transmission are retrieved one by one to obtain the original data and demodulated data respectively. The signal interpretations are used to explain the true meaning of the valid signals and serve as a reference for determining whether the valid signals have been fully transmitted.
[0090] Compare the original data and demodulated data for consistency, record the valid signals that are completely consistent with the demodulated data as complete signals, and count the number of complete signals;
[0091] After comparing the number of A complete signals with the number of A valid signals, the qualified rate of A signals is obtained;
[0092] The expression of signal qualification rate is:
[0093] ;
[0094] Where, For the The signal qualification rate of the original channel, For the The number of complete signals of the original channel.
[0095] After collecting the signal delay rate and signal qualification rate of the original signal, the wireless signal data transmission status of the A original channels can be analyzed based on the signal delay rate and signal qualification rate. Based on the analysis results, the original channels are identified and screened, so that the original channels whose wireless signal data transmission status can meet the subsequent adaptive dynamic adjustment of the throughput rate are selected as analysis objects;
[0096] The state identification criterion is used to determine whether the original channel can be used as the object of subsequent analysis and calculation, so as to ensure the accuracy of the identification of available channels;
[0097] The state identification criterion is to record the original channel without unavailable parameters as an available channel. This ensures that the identified available channel can maintain good wireless signal data transmission performance and provides a solid foundation for subsequent adaptive dynamic adjustment of throughput rate.
[0098] Available channels are identified by:
[0099] First, the signal delay rate of the original channel is compared with the signal delay threshold. The signal delay threshold is used to represent the minimum value of the signal delay rate when it is recorded as an unavailable parameter, so as to determine whether the signal delay rate is normal or abnormal.
[0100] When the signal delay rate is greater than or equal to the signal delay threshold, it means that the wireless signal data transmission time of the original channel is too long, and the signal delay amount is recorded as an unusable parameter;
[0101] Compare the signal pass rate of the original channel with the signal pass threshold; the signal pass threshold is used to represent the maximum value of the signal pass rate when the parameter is recorded as unavailable, so as to determine whether the signal pass rate is normal or abnormal;
[0102] When the signal qualification rate is less than or equal to the signal qualification threshold, it indicates that the normal and complete transmission performance of the original channel is poor, and the signal qualification rate is recorded as an unusable parameter;
[0103] The number of unavailable parameters in the A original channels is counted, and the original channels with 0 unavailable parameters are recorded as available channels, thereby obtaining B available channels.
[0104] S02: collecting signal transmission parameters of available channels, formulating a dynamic adjustment period, and dividing the dynamic adjustment period into dynamic intervals based on an interval division criterion;
[0105] Signal transmission parameters are parameters that can represent the changes in wireless signal data during wireless transmission within an available channel, thereby comprehensively representing the performance strength of each available channel in the wireless signal data transmission process;
[0106] Signal transmission parameters include intensity range, channel resource occupancy rate and maximum transmission volume;
[0107] The strength range value refers to the difference between the maximum signal strength value and the minimum signal strength value of the available channel during the query period, which can represent the stability of the signal strength of the available channel. When the strength range value is larger, the signal strength stability of the available channel is worse. The strength range value is obtained by taking the difference between the maximum signal strength value and the minimum signal strength value of B available channels one by one.
[0108] The channel resource occupancy rate refers to the ratio of the channel space occupied by an available channel during wireless signal data transmission to the total channel space. This indicates the degree of spatial resource occupancy of the available channel. A higher channel resource occupancy rate indicates a more serious degree of spatial resource occupancy of the available channel.
[0109] The channel resource utilization rate is collected as follows:
[0110] Based on the preset self-check time, plan out consecutive and equal sub-periods, and mark them one by one All self-test moments within a sub-period; the preset self-test duration is used to specifically represent the duration of each sub-period to ensure that the duration of each sub-period can remain consistent, and at the same time, it can ensure that the signal transmission parameters can have sufficient and collectible changes within the duration of the sub-period to ensure effective collection of signal transmission parameters;
[0111] Query B available channels one by one The sub-occupancy rates of all self-test moments in a sub-period are calculated, and the number of self-test moments corresponding to the sub-occupancy rates is counted to obtain C self-test values;
[0112] The sub-occupancy corresponding to the maximum value of the self-test value is recorded as the effective occupancy, and the effective occupancy rate, and The effective occupancy rates are accumulated and averaged to obtain the resource occupancy rates of B channels;
[0113] The expression of channel resource occupancy is:
[0114] ;
[0115] Where, For the The channel resource occupancy rate of available channels, =1,2,...,B, For the The first available channel The effective occupancy rate of each sub-period.
[0116] The maximum transmission capacity refers to the maximum amount of wireless signal data that can be achieved by an available channel during wireless signal transmission, which can be used to represent the maximum transmission performance of the available channel. The larger the maximum transmission capacity, the more wireless signal data that can be transmitted through the available channel. The maximum transmission capacity is obtained by querying the maximum amount of wireless signal data transmitted by B available channels during the query period.
[0117] After the strength extreme difference value, channel resource occupancy rate and maximum transmission amount of the available channels are collected, the channel period of each available channel can be calculated based on the strength extreme difference value, channel resource occupancy rate and maximum transmission amount, so that the channel period represents the comprehensive adjustment time length of each available channel when transmitting wireless signal data;
[0118] After calculating the channel period, the corresponding duration for adjusting wireless signal data transmission during wireless communication can be formulated based on the channel period, while ensuring that the dynamic adjustment period can maximize the duration requirements for dynamic adjustment of all available channels.
[0119] The method for formulating the dynamic adjustment cycle is as follows:
[0120] Assign corresponding proportional coefficients to the intensity extreme difference values, channel resource occupancy rates, and maximum transmission amounts of B available channels, and then add them together to obtain B periodic coefficients;
[0121] The expression of the periodic coefficient is:
[0122] ;
[0123] Where, For the The periodic coefficient of the available channels, For the The strength range of available channels, For the The maximum transmission capacity of available channels, 、 、 All are proportional coefficients greater than 0;
[0124] Query the standard cycle length of the wireless component, calculate B channel cycles based on the standard cycle length and B cycle coefficients, and record the maximum value of the channel cycle as the dynamic adjustment period;
[0125] The expression of channel period is:
[0126] ;
[0127] Where, For the The channel period of available channels, The standard cycle length.
[0128] After the dynamic adjustment period is formulated, it can meet the data collection, analysis, and calculation operations of all available channels during the query period. The amount of data contained in the dynamic adjustment period is huge, and the duration of the dynamic adjustment period is also long. In order to achieve accurate and refined analysis of available channels, it is necessary to divide the dynamic adjustment period with a longer duration into dynamic intervals with shorter durations.
[0129] At the same time, when dividing the dynamic interval, it is necessary to ensure that the divided dynamic interval maintains a continuous state on the timeline under the accurate limitation of the interval division;
[0130] The interval division criterion is: the last moment of the previous dynamic interval and the first moment of the next dynamic interval are adjacent moments; this ensures that the two adjacent dynamic intervals are in a continuous state on the timeline without any interruption on the timeline, thus achieving the full stage division effect of the dynamic adjustment cycle;
[0131] When dividing the dynamic interval, specifically, the first moment of the dynamic adjustment period is used as the starting moment of the division, and the last moment of the dynamic adjustment period is used as the ending moment of the division. F non-adjacent division moments are marked within the dynamic adjustment period, and the period between any two adjacent division moments is recorded as the dynamic interval, obtaining E dynamic intervals, and the first division moment is used as the last moment of the first dynamic interval to ensure that the last moment of the previous dynamic interval and the first moment of the next dynamic interval are continuous and adjacent.
[0132] S03: Collect comprehensive throughput data of available channels within the dynamic interval, aggregate the comprehensive throughput data, and predict the total throughput of the next dynamic interval using a throughput prediction model;
[0133] Comprehensive throughput data refers to data that can affect the amount of wireless signal data transmitted by an available channel within a dynamic interval. This data can provide a basis for analyzing and calculating the changes in the amount of wireless signal data transmitted by the available channel within each dynamic interval, and provide data support for the overall wireless signal data transmission amount of the subsequent available channels.
[0134] Comprehensive throughput data includes interval throughput value, data loss rate and intensity fluctuation value;
[0135] The interval throughput value refers to the total amount of wireless signal data transmitted by the available channel within each dynamic interval, which can be used to represent the data transmission capacity of each dynamic interval. When the interval throughput value is larger, the data transmission capacity of the available channel within the dynamic interval is stronger, and the total throughput of the available channel is greater. The interval throughput value is obtained by querying the amount of wireless signal data transmitted by B available channels within E dynamic intervals one by one through the traffic monitoring tool.
[0136] The data loss rate refers to the ratio of the amount of wireless signal data lost to the amount of wireless signal data transmitted within each dynamic interval of an available channel. A higher data loss rate indicates a greater amount of wireless signal data lost during transmission of the available channel, and a lower total throughput of the available channel.
[0137] The data loss rate is collected as follows:
[0138] Use the traffic monitoring tool to query the number of wireless signal data entering E dynamic intervals in B available channels one by one, and obtain E entry value;
[0139] The wireless signal data of the E dynamic intervals is recorded as the exported data, the attribute status of the exported data is marked, and the number of exported data with the attribute status of correctly exported is counted to obtain E export values. The attribute status is used to specifically indicate whether the exported data is correctly and effectively exported, which can provide data support for the calculation of the data loss rate. The attribute status includes correct export and incorrect export. Correct export indicates that the exported data has not been lost, and incorrect export indicates that the exported data has been lost.
[0140] After subtracting E incoming values from the corresponding E derived values, the E differences are compared with the corresponding incoming values to obtain E data loss rates;
[0141] The expression of data loss rate is:
[0142] ;
[0143] Where, For the The first available channel The data loss rate of the dynamic interval, =1,2,...,E, For the The first available channel The entry value of a dynamic interval, For the The first available channel The derived value of the dynamic interval.
[0144] The strength fluctuation value refers to the fluctuation range of the signal strength when the available channel transmits wireless signal data within each dynamic interval. It can be used to represent the signal strength performance of the available channel in each dynamic interval. When the strength fluctuation value is larger, it means that the signal strength fluctuation range of the available channel within the dynamic interval is larger, and the total throughput of the available channel is smaller.
[0145] The method for collecting intensity fluctuation values is:
[0146] Query the signal strength values of B available channels at all times within E dynamic intervals one by one, and record the maximum signal strength and the minimum signal strength as the strength peak and strength valley, respectively, to obtain E strength peaks and E strength valleys;
[0147] After subtracting E intensity peaks from the corresponding E intensity valleys, the E differences are combined with the calibrated signal intensity to obtain E intensity fluctuation values;
[0148] The expression of intensity fluctuation value is:
[0149] ;
[0150] Where, For the The first available channel The intensity fluctuation value of the dynamic interval, For the The first available channel The peak intensity of the dynamic range, For the The first available channel The intensity valley of the dynamic range, is the calibrated signal strength.
[0151] After obtaining the comprehensive throughput data of B available channels within E dynamic intervals, the total amount of wireless signal data transmitted by the B available channels within E dynamic intervals is calculated based on the obtained comprehensive throughput data and recorded as the total throughput. The total throughput can be used as the basis for the FIFO to make an overall judgment and adjustment on the wireless signal data throughput. Therefore, the total throughput is obtained by counting the total amount of wireless signal data transmitted within the E dynamic intervals of the B available channels.
[0152] The throughput prediction model uses artificial intelligence technology and a neural network model based on the collected comprehensive throughput data to predict the time series model of the total throughput corresponding to the comprehensive throughput data. This allows the total throughput of future dynamic intervals to be predicted based on the comprehensive throughput data of the existing dynamic intervals.
[0153] To obtain a throughput prediction model, it is necessary to collect a large amount of historical comprehensive throughput data of different types and values, summarize and integrate the comprehensive throughput data, and then import it into a neural network model for multiple rounds of optimization training to obtain the model.
[0154] The training method of the throughput prediction model is:
[0155] Collecting comprehensive throughput data and total throughput of multiple sets of available channels in each dynamic range in advance, and aggregating the multiple sets of comprehensive throughput data to generate multiple sets of throughput data sets;
[0156] Multiple throughput datasets are converted into multiple feature vectors using a sliding window method. Based on the sliding step size, the total throughput is converted into labels corresponding to the throughput datasets. One feature vector corresponds to one label, and these labels form a set of training data. Multiple sets of training data constitute a training set. The throughput datasets are arranged in chronological order of collection time, and the prediction time step size T, sliding step size Z, and sliding window length N are preset.
[0157] The feature vector is used as the input of the neural network model, and the total throughput of the next dynamic interval after time step T is predicted as the output. The subsequent total throughput of each training set is used as the prediction target. The neural network model is trained with the minimum sum of prediction errors as the training goal. A throughput prediction model is trained to predict the total throughput of the next dynamic interval based on the throughput dataset.
[0158] Specifically, an example of the sliding window method is as follows: To use the throughput dataset (10, 11, 12, 13, 14) to train a neural network model and predict the value of the next time step, a sliding window of length 4 and a sliding step of length 1 can be used to generate a training set and prediction target for the next dynamic interval. For example, the training sets are (10, 11, 12, 13) and (11, 12, 13, 14), and the prediction targets are (Y4) and (Y5). Y4 is the total throughput corresponding to the throughput dataset of the dynamic interval next to the dynamic interval where 13 is located, and Y5 is the total throughput corresponding to the throughput dataset of the dynamic interval next to the dynamic interval where 14 is located.
[0159] S04: securely identifying the total throughput of the next predicted dynamic interval, and selecting a corresponding dynamic adjustment instruction based on the identification result;
[0160] After the total throughput of the next dynamic interval is predicted, the predicted total throughput can be safely identified. Based on the safety identification, the predicted total throughput of the next dynamic interval is analyzed and compared with the maximum amount of wireless signal data that the FIFO can process in the next dynamic interval, thereby determining the dynamic adjustment state of the FIFO.
[0161] After the predicted total throughput is securely identified, a corresponding dynamic adjustment instruction needs to be selected based on the identification result, so that the dynamic adjustment instruction can serve as a specific instruction for subsequent adaptive dynamic adjustment of the FIFO throughput rate.
[0162] Dynamic adjustment instructions include throughput rate maintenance instructions, throughput rate increase instructions, and throughput rate reduction instructions; the throughput rate maintenance instruction refers to an instruction that needs to maintain the FIFO throughput rate unchanged, and appears when the total throughput of the next dynamic interval predicted is equal to the maximum throughput rate of the FIFO; the throughput rate increase instruction refers to an instruction that needs to increase the FIFO throughput rate, and appears when the total throughput of the next dynamic interval predicted exceeds the maximum throughput rate of the FIFO; the throughput rate reduction instruction refers to an instruction that needs to reduce the FIFO throughput rate, and appears when the total throughput of the next dynamic interval predicted is much lower than the FIFO throughput rate;
[0163] The selection method for the maintain throughput rate instruction, increase throughput rate instruction, and decrease throughput rate instruction is:
[0164] Query the maximum capacity of the FIFO data buffer, record it as the buffer calibration value, and compare the predicted total throughput of the next dynamic interval with the buffer calibration value;
[0165] When the predicted total throughput of the next dynamic interval is greater than the buffer calibration value, it means that the FIFO data buffer cannot process all the wireless signal data of the available channels in the next dynamic interval, and the FIFO will be overloaded, which will cause communication delays, errors, etc. in the wireless communication system. In this case, the throughput increase instruction is selected;
[0166] When the predicted total throughput of the next dynamic interval is less than the buffer calibration value, it means that in the next dynamic interval, the FIFO data buffer can process excessive wireless signal data of the available channels, resulting in a waste of FIFO space resources and causing inefficiency of the wireless communication system. In this case, a throughput reduction instruction is selected;
[0167] When the predicted total throughput of the next dynamic interval is equal to the buffer calibration value, it means that within the next dynamic interval, the FIFO data buffer can just process all the wireless signal data of the available channels, and there will be no FIFO overload, waste of space resources, low efficiency, etc., and no communication delays, errors, etc. will occur in the wireless communication system. In this case, the maintain throughput rate instruction is selected.
[0168] S05: dynamically adjusting the throughput rate of the FIFO according to the dynamic adjustment instruction until the throughput rate of the FIFO reaches a balanced state;
[0169] After selecting the corresponding dynamic adjustment instruction, it is necessary to adaptively and dynamically adjust the FIFO throughput rate based on the dynamic adjustment instruction through specific throughput rate adjustment measures so that the FIFO throughput rate reaches a balanced state. The balanced state means that the predicted total throughput of the next dynamic interval is equal to the buffer calibration value, that is, the FIFO can just and completely process all wireless signal data.
[0170] When adjusting the FIFO throughput rate, it is necessary to consider two aspects: the FIFO buffer capacity and the parallel processing performance. That is, by increasing or decreasing the FIFO buffer capacity and the parallel processing performance, the FIFO throughput rate can be dynamically adjusted.
[0171] The dynamic adjustment method of FIFO throughput rate is:
[0172] When the throughput increase instruction is selected, the FIFO cannot effectively handle the wireless signal data brought by the next dynamic interval. It is necessary to increase the FIFO's transmission and processing capacity for wireless signal data. First, increase the FIFO buffer capacity until the FIFO throughput reaches a balanced state.
[0173] If the buffer capacity increases to the maximum value and the dynamic adjustment instruction is still the throughput increase instruction, then the number of read and write ports is increased until the FIFO throughput reaches a balanced state; the increase of the buffer capacity to the maximum value means that the FIFO buffer capacity increases by the maximum capacity value under its safe operation state, and serves as the upper limit of the buffer size adjustment when the throughput is adjusted;
[0174] When the throughput reduction instruction is selected, the FIFO can now handle the wireless signal data brought by the next dynamic interval. It is necessary to reduce the FIFO's transmission and processing capacity for wireless signal data. First, the FIFO buffer capacity is reduced until the FIFO throughput rate reaches a balanced state.
[0175] If the buffer capacity is reduced to a minimum value and the dynamic adjustment instruction is still an instruction to reduce the throughput rate, then the number of read and write ports is reduced until the throughput rate of the FIFO reaches a balanced state.
[0176] It should be noted that by converting dynamic adjustment instructions into throughput maintenance instructions, the available channels can process the wireless signal data at the maximum throughput, thereby ensuring the high quality of wireless communication of the wireless components and avoiding the phenomenon of data delay congestion caused by the inability of wireless signal data in the wireless components to be transmitted to the FIFO in time. At the same time, it can also avoid the phenomenon of idle space resources in the FIFO being wasted, thereby reducing the queuing time for throughput processing of wireless signal data in the wireless communication system and greatly improving the overall efficiency of the wireless communication system.
[0177] In this embodiment, by collecting the signal delay rate and signal qualification rate of the original channel and identifying the available channels from the original channel, the available channels that are suitable for use by the wireless communication system can be accurately screened out in the wireless component, thereby avoiding low-quality channels that do not meet the subsequent dynamic adjustment of the throughput rate, and improving the timeliness and effectiveness of the subsequent dynamic adjustment of the throughput rate.
[0178] By formulating a dynamic adjustment cycle for available channels, dividing the dynamic adjustment cycle into dynamic intervals, and collecting comprehensive throughput data of available channels within the dynamic intervals, it is possible to meet the time required for all available channels to transmit wireless signal data, and to divide dynamic adjustment cycles with larger time spans into dynamic intervals with smaller time spans, thereby achieving continuous and uninterrupted refined collection of comprehensive throughput data within each dynamic interval.
[0179] By aggregating the comprehensive throughput data, predicting the total throughput of the next dynamic interval through a throughput prediction model, and securely identifying the predicted total throughput of the next dynamic interval, and selecting the corresponding dynamic adjustment instruction, the total throughput of wireless signal data in the available channel at a future time can be predicted according to the throughput prediction model, and used as a basis for determining the throughput rate of the FIFO at a future time. In this way, the excess or shortage of the FIFO throughput rate at a future time can be predicted in advance, avoiding the lag in real-time throughput rate prediction.
[0180] By dynamically adjusting the FIFO throughput rate according to dynamic adjustment instructions until the FIFO throughput rate reaches a balanced state, specific measures can be taken in advance to adjust the throughput rate when it is found that the FIFO throughput rate at a future moment is too large or too small. This ensures that the FIFO can adaptively and dynamically adjust the FIFO throughput rate according to the specific transmission volume of wireless signal data of the available channel at a future moment, avoiding the negative situations of slow data processing congestion or waste of space resources in the FIFO, ensuring that the FIFO throughput rate can always be maintained in a balanced state, and greatly improving the communication quality of the wireless communication system.
[0181] Example 2: Please refer to Figure 2 As shown, for the parts not described in detail in this embodiment, please refer to the description of embodiment 1. A system for adaptively and dynamically adjusting FIFO throughput rate is provided, which is applied to a wireless communication server, wherein the wireless communication server includes a control unit, a wireless component and a FIFO, and is used to implement a method for adaptively and dynamically adjusting FIFO throughput rate. The control unit includes a channel identification module, an interval division module, an intelligent prediction module, an instruction selection module and a dynamic adjustment module, wherein the modules are connected via a wired or wireless network.
[0182] A channel identification module is used to collect the signal delay rate and signal qualification rate of the original channel of the wireless component and identify the available channel from the original channel based on the state identification criterion;
[0183] An interval division module is used to collect signal transmission parameters of available channels, formulate a dynamic adjustment period, and divide the dynamic adjustment period into dynamic intervals based on an interval division criterion. The interval division criterion is that the last moment of the previous dynamic interval and the first moment of the next dynamic interval are adjacent moments.
[0184] The intelligent prediction module is used to collect comprehensive throughput data of available channels within the dynamic range, summarize the comprehensive throughput data, and predict the total throughput of the next dynamic range through the throughput prediction model;
[0185] An instruction selection module, configured to safely identify the total throughput of the next predicted dynamic interval and select the corresponding dynamic adjustment instruction;
[0186] A dynamic adjustment module, configured to dynamically adjust the throughput rate of the FIFO according to a dynamic adjustment instruction until the throughput rate of the FIFO reaches a balanced state;
[0187] Among them, signal transmission parameters include intensity range value, channel resource occupancy rate and maximum transmission volume; comprehensive throughput data includes interval throughput value, data loss rate and intensity fluctuation value; dynamic adjustment instructions include maintain throughput rate instruction, increase throughput rate instruction and decrease throughput rate instruction;
[0188] The training method of the throughput prediction model is:
[0189] Collecting comprehensive throughput data and total throughput of multiple sets of available channels in each dynamic range in advance, and aggregating the multiple sets of comprehensive throughput data to generate multiple sets of throughput data sets;
[0190] Multiple throughput datasets are converted into multiple feature vectors using a sliding window method. Based on the sliding step size, the total throughput is converted into labels corresponding to the throughput datasets. One feature vector corresponds to one label, and these labels form a set of training data. Multiple sets of training data constitute a training set. The throughput datasets are arranged in chronological order of collection time.
[0191] The feature vector is used as the input of the neural network model, and the total throughput of the next dynamic interval after the predicted time step is used as the output. The subsequent total throughput of each training set is used as the prediction target. The neural network model is trained with the minimum sum of prediction errors as the training goal. A throughput prediction model is trained to predict the total throughput of the next dynamic interval based on the throughput dataset.
[0192] The above description is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any technician familiar with this technical field can easily think of changes or replacements within the technical scope disclosed by the present invention, which should be covered by the scope of protection of the present invention.
Claims
1. A method for adaptively and dynamically adjusting FIFO throughput rate, applied to a wireless communication server, characterized in that: include: S01: collecting the signal delay rate and signal qualification rate of the original channel of the wireless component, and identifying the available channel from the original channel based on the state recognition criterion; The signal delay rate is collected by: Query the transmission performance value of the original channel in real time, starting from the moment when the transmission performance value of the original channel first reaches the calibrated transmission performance threshold and ending at the current moment, and record the period between the start and end points as the query period; During the query period, the wireless signal data with a transmission status of successful transmission in the A original channels are marked one by one and recorded as valid signals. The valid signals are numbered in ascending order according to the order of transmission time. The transmission duration of the valid signals is queried one by one through the timestamps, and the valid signals whose transmission duration is longer than the calibration duration are recorded as delayed signals, and the corresponding number of the delayed signal is recorded as the delay number; Delay signals with consecutive delay numbers are recorded as a delay group, and the number of delayed signals in each delay group in A original channels is added together to obtain A delay values; Compare the A delay values with the corresponding number of valid signals to obtain A signal delay rates; The signal qualification rate is collected as follows: In A original channels, the interpretation of the valid signal before and after transmission is queried one by one to obtain the original data and demodulated data respectively; The valid signals whose original data and demodulated data are completely consistent are recorded as complete signals, and the number of complete signals is counted; After comparing the number of A complete signals with the number of A valid signals, the qualified rate of A signals is obtained; The state identification criterion is: the original channel without unavailable parameters is recorded as an available channel; Available channels are identified by: Compare the signal delay rate of the original channel with the signal delay threshold; when the signal delay rate is greater than or equal to the signal delay threshold, record the signal delay amount as an unusable parameter; Compare the signal qualification rate of the original channel with the signal qualification threshold. When the signal qualification rate is less than or equal to the signal qualification threshold, record the signal qualification rate as an unusable parameter. Count the number of unavailable parameters in A original channels, and mark the original channels with 0 unavailable parameters as available channels, to obtain B available channels; S02: collecting signal transmission parameters of available channels, formulating a dynamic adjustment period, and dividing the dynamic adjustment period into dynamic intervals based on an interval division criterion, wherein the interval division criterion is that the last moment of the previous dynamic interval and the first moment of the next dynamic interval are adjacent moments; Signal transmission parameters include intensity range, channel resource occupancy rate and maximum transmission volume; The method for formulating the dynamic adjustment cycle is as follows: Assign corresponding proportional coefficients to the intensity extreme difference values, channel resource occupancy rates, and maximum transmission amounts of B available channels, and then add them together to obtain B periodic coefficients; The expression of the periodic coefficient is: ; Where, For the The periodic coefficient of the available channels, =1,2,...,B, For the The strength range of available channels, For the The channel resource occupancy rate of available channels, For the The maximum transmission capacity of available channels, 、 、 All are proportional coefficients greater than 0; Query the standard cycle length of the wireless component, calculate B channel cycles based on the standard cycle length and B cycle coefficients, and record the maximum value of the channel cycle as the dynamic adjustment period; The expression of channel period is: ; Where, For the The channel period of available channels, is the standard cycle length; S03: Collect comprehensive throughput data of available channels within the dynamic interval, aggregate the comprehensive throughput data, and predict the total throughput of the next dynamic interval using a throughput prediction model; S04: securely identifying the total throughput of the next predicted dynamic interval and selecting a corresponding dynamic adjustment instruction; S05: Dynamically adjust the throughput rate of the FIFO according to the dynamic adjustment instruction until the throughput rate of the FIFO reaches a balanced state.
2. The method for adaptively and dynamically adjusting FIFO throughput rate according to claim 1, wherein: The channel resource utilization rate is collected as follows: Based on the preset self-check time, plan out consecutive and equal sub-periods, and mark them one by one All self-check moments within a sub-period; Query B available channels one by one The sub-occupancy rates of all self-test moments in a sub-period are calculated, and the number of self-test moments corresponding to the sub-occupancy rates is counted to obtain C self-test values; The sub-occupancy corresponding to the maximum value of the self-test value is recorded as the effective occupancy, and the effective occupancy rate, and The effective occupancy rates are accumulated and averaged to obtain B channel resource occupancy rates.
3. The method for adaptively and dynamically adjusting FIFO throughput rate according to claim 2, wherein: Comprehensive throughput data includes interval throughput value, data loss rate and intensity fluctuation value; The data loss rate is collected as follows: Use the traffic monitoring tool to query the number of wireless signal data entering E dynamic intervals in B available channels one by one, and obtain E entry value; The wireless signal data of the E dynamic intervals are recorded as exported data, the attribute status of the exported data is marked, and the number of exported data with the attribute status being correctly exported is counted to obtain E exported value values; After subtracting E incoming values from the corresponding E derived values, the E differences are compared with the corresponding incoming values to obtain E data loss rates; The expression of data loss rate is: ; Where, For the The first available channel The data loss rate of the dynamic interval, =1,2,...,E, For the The first available channel The entry value of a dynamic interval, For the The first available channel The derived value of the dynamic interval.
4. The method for adaptively and dynamically adjusting FIFO throughput rate according to claim 3, wherein: The method for collecting intensity fluctuation values is: Query the signal strength values of B available channels at all times within E dynamic intervals one by one, and record the maximum signal strength and the minimum signal strength as the strength peak and strength valley, respectively, to obtain E strength peaks and E strength valleys; After subtracting E intensity peaks from the corresponding E intensity valleys, the E differences are combined with the calibrated signal intensity to obtain E intensity fluctuation values; The expression of intensity fluctuation value is: ; Where, For the The first available channel The intensity fluctuation value of the dynamic interval, For the The first available channel The peak intensity of the dynamic range, For the The first available channel The intensity valley of the dynamic range, is the calibrated signal strength.
5. The method for adaptively and dynamically adjusting FIFO throughput rate according to claim 4, characterized in that: The dynamic adjustment instructions include a throughput rate maintenance instruction, a throughput rate increase instruction, and a throughput rate reduction instruction; The selection method for the maintain throughput rate instruction, increase throughput rate instruction, and decrease throughput rate instruction is: Query the maximum capacity of the FIFO data buffer, record it as the buffer calibration value, and compare the predicted total throughput of the next dynamic interval with the buffer calibration value; When the predicted total throughput of the next dynamic interval is greater than the buffer calibration value, the throughput rate increase instruction is selected; When the total throughput of the next dynamic interval is predicted to be less than the buffer calibration value, a throughput rate reduction instruction is selected; When the predicted total throughput of the next dynamic interval is equal to the buffer calibration value, the maintain throughput rate instruction is selected.
6. The method for adaptively and dynamically adjusting FIFO throughput rate according to claim 5, characterized in that: The dynamic adjustment method of FIFO throughput rate is: When the throughput increase instruction is selected, the FIFO buffer capacity is first increased until the FIFO throughput reaches a balanced state; If the buffer capacity increases to the maximum value and the dynamic adjustment instruction is still the throughput increase instruction, then the number of read and write ports is increased until the FIFO throughput reaches a balanced state; When the throughput rate reduction instruction is selected, the FIFO buffer capacity is first reduced until the FIFO throughput rate reaches a balanced state; If the buffer capacity is reduced to a minimum value and the dynamic adjustment instruction is still an instruction to reduce the throughput rate, then the number of read and write ports is reduced until the throughput rate of the FIFO reaches a balanced state.
Citation Information
Patent Citations
Data transmission rate regulation method, device and wireless access point
CN103532669A
Throughput capacity optimization method and device, electronic device and computer readable storage medium
CN109462860A