Terminal control method and system based on SDWAN networking

Optimizing the EMA algorithm through signal decomposition and cluster analysis solves the problem of difficulty in predicting volatile data in SDWAN networking and improves data transmission efficiency and compression effects.

CN118337336BActive Publication Date: 2024-09-24SHENZHEN RUIWANG YUNLIAN TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410762894.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-09-24
Estimated Expiration
2044-06-13

AI Technical Summary

Technical Problem

When the SDWAN network control center handles time series data with large fluctuations and periodic changes, the prediction effect of the traditional EMA algorithm is poor, resulting in poor differential coding compression effects and affecting data transmission efficiency.

Method used

The signal decomposition algorithm is used to obtain the sub-signals of historical networking signal data, determine the local frequency and frequency stability, calculate the local metric distance of the sub-signals, divide the clusters, calculate the EMA period prediction weight based on the cluster center, and optimize the differential encoding algorithm To improve data prediction accuracy and compression effect.

Benefits of technology

Through feature analysis and clustering division, the prediction accuracy of volatile data is improved, the fluctuation of differential coding sequences is reduced, allowing the use of smaller differential thresholds, reducing the amount of data transmission and increasing the transmission speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118337336B
    Figure CN118337336B
Patent Text Reader

Abstract

The present application relates to the technical field of data compression processing, and specifically to a terminal control method and system based on SDWAN networking, the method comprising: obtaining a historical networking signal data vector and a real-time networking signal data vector; obtaining several sub-signals of the historical networking signal data vector; determining the local metric distance of the sub-signal and several clustering clusters based on the frequency domain distribution of any element position of the sub-signal and the positions of the surrounding elements; dividing the real-time data sequence into clustering clusters based on the local metric distance of the sub-signal and the elements in the real-time data sequence; predicting the data at the next moment based on the local metric distance of the sub-signal between the elements in the cluster to which the real-time data sequence belongs and the cluster center, optimizing the differential coding algorithm to obtain the coded data, and realizing data compression and transmission. The present application pre-processes the data before compression through a data prediction method to improve the compression effect, thereby increasing the data transmission speed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data compression processing, and specifically to a terminal control method and system based on SDWAN networking. Background Art

[0002] With the development of cloud network technology, more and more companies are using cloud servers for their office work. As the interactive data flow between cloud networks and local systems continues to increase, the pressure on companies' cloud server systems increases. More and more companies are using SDWAN (Software Defined Wide Area Network) networking solutions based on software-defined network technology to build their own intranets.

[0003] Companies that use SDWAN can manage internal project groups through internal management terminals, and improve the progress of project groups by controlling the allocation of network resources and human resources for collaborative management. The control center of the SDWAN network usually receives a large number of data transmission tasks, and the control center will plan the data transmission paths for different nodes. However, when the data transmission volume is large, the control center's transmission tasks will be completed slowly, so the transmission data needs to be compressed.

[0004] The traditional EMA algorithm uses fixed weights to predict data. It has a small amount of computation and a fast speed, and is suitable for real-time prediction of data streams. However, this prediction method has a better prediction effect on data with small fluctuations, and a poorer prediction effect on time series data with large fluctuations and periodic changes. The data transmitted by the project group controlled by the SDWAN network is usually random data, and most of the intensity values ​​of the data have a large amplitude variation, resulting in a large difference between the predicted data and the actual value, which makes the compression effect of differential coding poor. Summary of the invention

[0005] In order to solve the above technical problems, the present application provides a terminal control method and system based on SDWAN networking, and the technical solutions adopted are as follows:

[0006] In a first aspect, an embodiment of the present application provides a terminal control method based on SDWAN networking, the method comprising the following steps:

[0007] Acquire historical networking signal data vectors and real-time networking signal data vectors, where the real-time networking signal data vectors include several real-time data sequences;

[0008] A signal decomposition algorithm is used to obtain several sub-signals of the historical networking signal data vector; based on the frequency domain distribution of any element position of any sub-signal and its surrounding element positions, the local frequency and local frequency stability of any element position are determined;

[0009] Based on the difference in the size of the local frequency and the local frequency stability, determine the sub-signal local metric distance between any two element positions in the historical networking signal data vector; use the sub-signal local metric distance between all elements in the historical networking signal data vector as the optimized clustering distance to determine a number of clustering clusters;

[0010] Based on the local metric distance between the elements in the real-time data sequence and the cluster center of each cluster, and the size of the elements in the real-time data sequence, the predicted fluctuation state discrimination value of each cluster is determined, and the real-time data sequence is divided into the clusters to which it belongs;

[0011] The EMA cycle prediction weight is calculated based on the local metric distance of the sub-signals between the elements in the cluster to which the real-time data sequence belongs and the cluster center. The next moment data of several real-time data sequences in the real-time networking signal data vector are predicted based on the historical networking signal data vector, and the differential coding algorithm is optimized to obtain the encoded data.

[0012] Preferably, the method for determining the local frequency and the local frequency stability includes:

[0013] Construct a window sequence at any element position of any sub-signal;

[0014] Acquire a frequency spectrum of the window sequence; use the center frequency of the frequency spectrum of the window sequence as the local frequency of any element position;

[0015] The standard deviation and the average value of the local frequencies of all elements in the window sequence are calculated, and the ratio of the standard deviation to the average value is used as the local frequency stability of any element position.

[0016] Preferably, the window sequence is constructed by setting a window centered on any element position of any component signal, and forming a window sequence with all elements in the window.

[0017] Preferably, the method for determining the local metric distance of the sub-signals includes:

[0018] Determining a local wavelet fluctuation characteristic index of any element position based on the local frequency stability of any element position;

[0019] For any two element positions in the historical networking signal data vector, the absolute value of the difference between the local frequencies corresponding to the two element positions in any one of the sub-signals is calculated, and recorded as the element frequency difference between the corresponding two element positions in any one of the sub-signals;

[0020] Add the local wavelet fluctuation characteristic indices corresponding to the arbitrary two element positions in any of the sub-signals to obtain the fluctuation characteristic weights between the arbitrary two element positions in any of the sub-signals, and normalize the fluctuation characteristic weights between the arbitrary two element positions in all the sub-signals to obtain the normalized fluctuation characteristic weights of the arbitrary two element positions in any of the sub-signals;

[0021] Taking the normalized weight of the fluctuation characteristics of the arbitrary two element positions in any sub-signal as the weight, the element frequency difference of the arbitrary two element positions in any sub-signal is weightedly summed to obtain the sub-signal local metric distance between the arbitrary two element positions in the historical networking signal data vector.

[0022] Preferably, the method for determining the local wavelet fluctuation characteristic index includes:

[0023] Dividing the element value of any element position by the cumulative sum of the element values ​​of any element position in all the sub-signals to obtain a first multiplier;

[0024] The reciprocal of the local frequency stability of any element position is used as the second multiplier;

[0025] The local wavelet fluctuation characteristic index of any element position is determined based on the first multiplier and the second multiplier; wherein the first multiplier and the second multiplier are both positively correlated with the local wavelet fluctuation characteristic index of any element position.

[0026] Preferably, the method for determining the plurality of clusters includes: taking all elements in the historical networking signal data vector as input of the clustering algorithm, taking the sub-signal local metric distance between all elements as the metric distance, and outputting a plurality of clusters.

[0027] Preferably, the method for dividing the clusters to which the real-time data sequence belongs includes:

[0028] Based on the local metric distance of the sub-signals between any element in the real-time data sequence and each cluster center and the local wavelet fluctuation characteristic index of any element under all sub-signals, the belonging distance between any element in the real-time data sequence and each cluster cluster is determined;

[0029] The standard deviation of the belonging distance between all elements in the real-time data sequence and each cluster center is recorded as the first discriminant multiplier;

[0030] Calculate the normalized value of the absolute value of the difference between any element in the real-time data sequence and the mean of all elements in the real-time data sequence, and record it as the real-time data difference weight;

[0031] Taking the real-time data difference weight as the weight of each element in the real-time data sequence, the weighted cumulative sum of the belonging distances between all elements in the real-time data sequence and each cluster cluster is calculated, which is recorded as the second discriminant multiplier;

[0032] Determining the predicted fluctuation state discrimination value based on a first discrimination multiplier and a second discrimination multiplier; wherein both the first discrimination multiplier and the second discrimination multiplier are positively correlated with the predicted fluctuation state discrimination value;

[0033] The cluster corresponding to the smallest predicted fluctuation state discrimination value among all clusters is taken as the cluster to which the real-time data series belongs.

[0034] Preferably, the method for determining the belonging distance includes:

[0035] The average of the local metric distances of the sub-signals between all elements in each cluster and the cluster center of the cluster to which it belongs is calculated to obtain the cluster width corresponding to each cluster;

[0036] The mean of the local wavelet fluctuation characteristic index of all elements in each cluster under all sub-signals is taken as the fluctuation characteristic error corresponding to each cluster;

[0037] Calculate the difference between the local metric distance of the sub-signal between any element in the real-time data sequence and the cluster center of each cluster cluster and the cluster width, and obtain the maximum value of the difference result and the number 0;

[0038] The ratio of the maximum value to the fluctuation characteristic error is used as the attribution distance.

[0039] Preferably, the process of obtaining the coded data includes:

[0040] For any element in the cluster to which the real-time data sequence belongs, the inverse of the sub-signal local metric distance between any element and the cluster center of the cluster to which it belongs is multiplied by the upward rounded value of a preset value, and recorded as the best predicted position of the any element;

[0041] For any best prediction position value corresponding to an element of the cluster to which the real-time data sequence belongs, obtain the number of elements of the any best prediction position value, obtain the total number of elements in the cluster to which the real-time data sequence belongs, and use the ratio of the number of elements to the total number of elements as the EMA weight of the any best prediction position value;

[0042] Normalizing the EMA weight of any of the best prediction position values ​​to obtain the EMA period prediction weight of any of the best prediction position values;

[0043] For any best prediction position, calculate the element value of any best prediction position before the real-time data sequence, calculate the product of the element value and the EMA cycle prediction weight corresponding to any best prediction position value, and record it as the correction value; the cumulative sum of the correction values ​​of all best prediction position values ​​is used as the network signal weighted EMA prediction value of the real-time data sequence;

[0044] The weighted EMA predicted value of the networking signal of the real-time data sequence is used as the predicted value of the real-time data sequence at the next moment, and the actual value at the next moment minus the predicted value is subtracted to obtain the residual value at the next moment;

[0045] Calculate the residual values ​​of all real-time data sequences in the real-time networking signal data vector at the next moment to form a residual value sequence; stop the calculation when the result of subtracting the minimum value from the maximum value in the residual value sequence is greater than the preset differential threshold, obtain the minimum value of the residual value sequence, record it as the basic residual value, subtract the basic residual value from each element in the residual value sequence to obtain a differential coding sequence; compress the differential coding sequence to obtain the coded data.

[0046] In the second aspect, an embodiment of the present application also provides a terminal control system based on SDWAN networking, including a memory, a processor, and a computer program stored in the memory and running on the processor, and when the processor executes the computer program, it implements the steps of any one of the above-mentioned terminal control methods based on SDWAN networking.

[0047] This application has at least the following beneficial effects:

[0048] The present application obtains historical networking signal data vectors and real-time networking signal data vectors, and its beneficial effect is to determine the category of the real-time data sequence by performing feature analysis on the historical data, and to achieve better prediction results based on the prediction method of the category.

[0049] The present application adopts a signal decomposition algorithm to obtain several sub-signals of the historical networking signal data vector; based on the frequency domain distribution of any element position of any sub-signal and the element positions around it, the local frequency and local frequency stability of any element position are determined. The beneficial effect is that the historical networking signal data vector is relatively complex and there may be multiple trend changes. The sequence after signal decomposition is analyzed, which is more helpful to identify fluctuation characteristics, analyze the local numerical distribution characteristics in the decomposed sequence, and explore the local frequency and stability of each element in the decomposed sequence, so as to better identify the fluctuation differences between elements.

[0050] This application determines the local metric distance of sub-signals between any two element positions in the historical networking signal data vector based on the size difference of the local frequency and the local frequency stability. Its beneficial effect is to consider the different fluctuation performances of any element position in different sub-signals, thereby judging the energy proportion of any element position in the original signal, and accurately evaluating the amount of predictable periodic information contained in the sub-signal. The better the effect is in characterizing the data fluctuation characteristics, the more conducive it is to predicting data. The local metric distance of sub-signals between all elements in the historical networking signal data vector is used as the optimized clustering distance to determine several clustering clusters. Its beneficial effect is that the output results of the optimized clustering algorithm are more combined with the actual SDWAN networking data for classification, which can assist in the prediction of real-time data and obtain better prediction results.

[0051] The present application determines the predicted fluctuation state discrimination value of each clustering cluster based on the size of the local metric distance of the sub-signal between the elements in the real-time data sequence and the clustering center of each clustering cluster, as well as the size of the elements in the real-time data sequence, and divides the real-time data sequence into clustering clusters. The beneficial effect lies in calculating the fluctuation characteristic error of the clustering cluster, analyzing the dispersion and concentration of the data distribution in the clustering cluster, obtaining the degree to which the signal exceeds the clustering width that is allowable when judging data classification, and identifying the high-intensity fluctuation part in the real-time data sequence in combination with the characteristics of each cluster itself, thereby improving the clustering discrimination effect.

[0052] The present application calculates the EMA cycle prediction weight based on the local metric distance of the sub-signal between the elements in the cluster to which the real-time data sequence belongs and the cluster center, predicts the next moment data of several real-time data sequences in the real-time networking signal data vector in combination with the historical networking signal data vector, optimizes the differential coding algorithm to obtain the coded data, and realizes data compression and transmission. Its beneficial effect is that EMA is used to predict the data for each data in the cluster to which the real-time data sequence belongs, and better prediction effect can be obtained by predicting the elements at the previous best prediction position, thereby reducing the data fluctuation of the differential coding, and being able to use a smaller differential threshold to form a differential coding sequence, thereby reducing the proportion of single numerical values ​​in the differential coding sequence, reducing the amount of data transmission, and optimizing the data transmission speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0054] Figure 1A flowchart of a terminal control method based on SDWAN networking provided in one embodiment of the present application;

[0055] Figure 2 A schematic diagram of a historical networking data signal vector with a length of 500 provided for one embodiment of the present application;

[0056] Figure 3 A schematic diagram of detail signals of each layer after Haar wavelet decomposition provided in one embodiment of the present application;

[0057] Figure 4 A spectrum diagram of a window sequence provided for one embodiment of the present application. DETAILED DESCRIPTION

[0058] In order to further explain the technical means and effects adopted by the present application to achieve the predetermined invention purpose, the terminal control method and system based on SDWAN networking proposed in the present application, its specific implementation method, structure, features and effects are described in detail as follows in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0059] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.

[0060] The specific scheme of the terminal control method and system based on SDWAN networking provided by the present application is described in detail below with reference to the accompanying drawings.

[0061] An embodiment of the present application provides a terminal control method and system based on SDWAN networking.

[0062] Specifically, the following terminal control method based on SDWAN networking is provided, please refer to Figure 1 , the method comprises the following steps:

[0063] The first step is to obtain historical networking signal data vectors and real-time networking signal data vectors, where the real-time networking signal data vectors include several real-time data sequences.

[0064] Get the real-time data of the SDWAN networking transmission signal data, the data form is a vector, recorded as the networking signal data vector, the value of the tth element position in the networking signal data vector represents the value of the transmission data at time t. Set the value range of the transmission data to [0, 255], which can be set by the implementer according to the actual situation in other embodiments of the present application.

[0065] For the real-time networking signal data vector being transmitted, when data transmission starts, obtain the D real-time data at the current time and thereafter in the real-time networking signal data vector, and record it as a real-time data sequence. In this embodiment, D is set to 30, and the implementer can set it according to the actual situation.

[0066] Further, the historical data of the SDWAN network transmission signal data is obtained, and the historical data is a vector of length N, which is recorded as the historical networking signal data vector, wherein the value of the nth element position represents the value of the transmission data at time n. In this embodiment, the length N of the historical networking signal data vector is set to 4000, and the implementer can set it according to the actual situation.

[0067] In one embodiment of the present application, the historical networking data signal vector with a length of 500 is as follows: Figure 2 shown. Figure 2 is a historical networking signal data vector with a length of 500. Its data usually changes randomly, but in some parts of the data, the data may fluctuate back and forth within a small numerical range. At this time, the data is suitable for differential encoding.

[0068] At this point, the historical networking signal data vector and the real-time networking signal data vector can be obtained through the above method, and the real-time networking signal data vector includes several real-time data sequences.

[0069] The second step is to use a signal decomposition algorithm to obtain several sub-signals of the historical networking signal data vector; based on the frequency domain distribution of any element position of any sub-signal and its surrounding element positions, determine the local frequency and local frequency stability of any element position.

[0070] Since this embodiment uses a predictive coding method to preprocess the data, and uses a predicted data sequence to replace the fixed basic value of the traditional differential coding, the better the prediction effect of the predicted data sequence on the original data sequence, the smaller the numerical value range of the differential coding sequence will be, and a better data compression effect can be obtained.

[0071] This embodiment uses an EMA (moving exponential average) algorithm to predict data. The traditional EMA algorithm uses fixed weights to predict data. It has a small amount of calculation and a fast speed, and is suitable for real-time prediction of data streams. However, this prediction method has a better prediction effect for data with small fluctuations, and a poorer prediction effect for time series data with large fluctuations and periodic changes. That is, EMA is very effective in capturing trend changes in the short term. However, for data with obvious periodicity, such as sine waves, EMA may not provide the best prediction results because it tends to smooth out high-frequency fluctuations in the data, and these high-frequency fluctuations are precisely the important characteristics of periodic data. It is impossible to directly predict the SDWAN network transmission signal data with complex fluctuations. Therefore, an embodiment of the present application is improved as follows:

[0072] This embodiment divides the SDWAN networking transmission signal data into different categories by performing feature analysis on historical data, and uses the same moving exponential average prediction method for each category of SDWAN networking transmission signal data to determine the category to which the real-time data sequence belongs, and achieves a better prediction effect based on the prediction method of the category. Therefore, an embodiment of the present application first extracts features from the historical networking signal data vector, specifically:

[0073] In one embodiment of the present application, when transmitting different types of data, the characteristics of the value changes in the historical networking signal data vector are different, so different prediction models need to be used according to the type of data transmitted. In order to classify the transmission type of the historical networking signal data vector, its fluctuation characteristics need to be analyzed.

[0074] Since the historical networking signal data vector is relatively complex and may have multiple trend changes, analyzing the sequence after signal decomposition is more helpful in identifying fluctuation characteristics. An embodiment of the present application analyzes the local numerical distribution characteristics in the decomposed sequence, and mines the local frequency and stability of each element in the decomposed sequence, so as to better identify the fluctuation differences between elements.

[0075] Based on this, this embodiment uses the historical networking signal data vector as input and adopts a signal decomposition algorithm. This embodiment sets the decomposition times M=5, and outputs M sub-signals.

[0076] In one embodiment of the present application, a Haar wavelet decomposition algorithm is used to decompose the historical networking signal data vector. The Haar wavelet decomposition algorithm is a well-known technology in the art and will not be described in detail. In other embodiments of the present application, other signal decomposition algorithms may also be used to decompose the historical networking signal data vector.

[0077] In one embodiment of the present application, the detail signals of each layer after Haar wavelet decomposition are as follows: Figure 3 shown.

[0078] Furthermore, at the nth element position of the mth sub-signal, a window of length G is constructed with the element position as the center, and the elements in the window are recorded as the first window sequence. Further, any element in the first window sequence is used as the new window center, and a data sequence of length G is intercepted with the window of length G, which is recorded as the second window sequence. In this way, 1 first window sequence and G second window sequences can be obtained at the nth element position of the mth sub-signal. The first window sequence and the second window sequence are collectively referred to as window sequences.

[0079] Preferably, this embodiment uses the window sequence as input, adopts the fast Fourier transform algorithm, outputs the corresponding spectrum, and calculates the center frequency of the spectrum, that is, each window sequence can obtain a corresponding center frequency. The center frequency corresponding to the first data sequence of the nth element of the mth sub-signal is recorded as the local frequency of the nth element of the mth sub-signal; the standard deviation and average value of the center frequencies of the G second data sequences of the nth element of the mth sub-signal are calculated, and the standard deviation divided by the average value is recorded as the local frequency stability.

[0080] In one embodiment of the present application, the spectrum diagram of the window sequence is as follows: Figure 4 shown.

[0081] It should be noted that the fast Fourier transform algorithm is a well-known technology in the art and will not be described in detail. In this embodiment, the window length G is set to 11, and the implementer can set it according to the actual situation.

[0082] The third step is to determine the sub-signal local metric distance between any two element positions in the historical networking signal data vector based on the size difference between the local frequency and the local frequency stability; the sub-signal local metric distance between all elements in the historical networking signal data vector is used as the optimized clustering distance to determine several clustering clusters.

[0083] For any element position of any sub-signal, due to the different fluctuation performances of any element position in different sub-signals, the energy proportion of any element position in the original signal can be judged, and the amount of predictable periodic information contained in the sub-signal can be accurately evaluated. The better the effect is in characterizing the data fluctuation characteristics, the more conducive it is to predicting data.

[0084] Accordingly, the local wavelet fluctuation characteristic index of any element position is determined based on the local frequency stability of any element position, and the method for determining the local wavelet fluctuation characteristic index is specifically as follows: the element value of any element position is divided by the cumulative sum of the element values ​​of any element position in all sub-signals to obtain a first multiplier; the inverse of the local frequency stability of any element position is used as the second multiplier; the local wavelet fluctuation characteristic index of any element position is positively correlated with the first multiplier and the second multiplier.

[0085] It should be understood that the larger the first multiplier here, the greater the proportion of energy that the sub-signal takes away from the original signal at the element position, and the better the effect in characterizing the data fluctuation characteristics; the larger the second multiplier here, the more stable the fluctuation state of the sub-signal at the element position, the more predictable periodic information contained in the sub-signal, and the better the effect in characterizing the data fluctuation characteristics. Finally, the local wavelet fluctuation characteristic index is obtained. The larger the value, the more conducive to predicting the data.

[0086] In one embodiment of the present application, the product of the first multiplier and the second multiplier is used as the local wavelet fluctuation characteristic index of any element position. In other embodiments of the present application, the local wavelet fluctuation characteristic index of any element position can also be calculated by other suitable positive correlations such as the sum of the first multiplier and the second multiplier.

[0087] According to the local wavelet fluctuation characteristic index and local frequency difference of all extracted sub-signals between any two element positions in the historical networking signal data vector, the sub-signal local metric distance between any two element positions in the historical networking signal data vector is calculated, specifically:

[0088] The local wavelet fluctuation characteristic index of any element position is determined based on the local frequency stability of any element position; for any two element positions in the historical networking signal data vector, the absolute value of the difference between the local frequencies corresponding to the any two element positions in the any sub-signal is calculated, and recorded as the element frequency difference between the corresponding any two element positions in the any sub-signal; the local wavelet fluctuation characteristic indexes corresponding to the any two element positions in the any sub-signal are added to obtain the fluctuation characteristic weight between the corresponding any two element positions in the any sub-signal, and the fluctuation characteristic weight between the any two element positions in all sub-signals is normalized to obtain the normalized weight of the fluctuation characteristics of the any two element positions in the any sub-signal; the element frequency difference between the any two element positions in the any sub-signal is weighted and summed to obtain the sub-signal local metric distance between the any two element positions in the historical networking signal data vector.

[0089] It should be understood that the greater the difference in element frequency, the more dissimilar the periodic fluctuation characteristics between the two element positions, and the worse their mutual prediction effect; the greater the normalized weight of the fluctuation characteristics, the more obvious the periodic fluctuation characteristics of the two elements on the sub-signal, and therefore the greater the difference weight on the sub-signal during calculation; the smaller the value of the local metric distance of the sub-signal is finally obtained, the more similar the periodic fluctuation characteristics between any two element positions in the historical networking signal data vector are, and the better the mutual prediction effect is.

[0090] Further, each element in the historical networking signal data vector is used as input, and the local metric distance of the sub-signal is used as the metric distance in the optimized clustering algorithm. The K-means++ algorithm is used for calculation, and the necessary parameter is the minimum number of clusters in the field K=20. The output is K clusters, and each cluster contains multiple elements in the historical networking signal data vector. The K-means++ algorithm is a well-known technology in the art and will not be described in detail.

[0091] It should be noted that the output results of the optimized clustering algorithm are more combined with the actual SDWAN networking data for classification, which can assist in the prediction of real-time data and obtain better prediction results.

[0092] The fourth step is to determine the predicted fluctuation state discrimination value of each clustering cluster based on the local metric distance between the elements in the real-time data sequence and the cluster center of each clustering cluster, as well as the size of the elements in the real-time data sequence, and to divide the real-time data sequence into the clustering clusters to which it belongs.

[0093] Furthermore, it is necessary to determine to which cluster the current data belongs, that is, to identify the category of each data, in order to make better predictions for it.

[0094] Therefore, this embodiment constructs a predicted fluctuation state discrimination value for each clustering cluster, which is used to discriminate the clustering cluster to which the real-time data sequence belongs, specifically:

[0095] Based on the size of the sub-signal local metric distance between any element in the real-time data sequence and each cluster center and the size of the local wavelet fluctuation characteristic index of any element under all sub-signals, the belonging distance between any element in the real-time data sequence and each cluster cluster is determined; the standard deviation of the belonging distance between all elements in the real-time data sequence and each cluster center is recorded as the first discriminant multiplier; the normalized value of the absolute value of the difference between any element in the real-time data sequence and the mean of all elements in the real-time data sequence is calculated, which is recorded as the real-time data difference weight; the real-time data difference weight is used as the weight of each element in the real-time data sequence, and the weighted cumulative sum of the belonging distance between all elements in the real-time data sequence and each cluster cluster is calculated, which is recorded as the second discriminant multiplier; the predicted fluctuation state discrimination values ​​are all positively correlated with the first discriminant multiplier and the second discriminant multiplier; the cluster cluster corresponding to the smallest predicted fluctuation state discrimination value in all cluster clusters is taken as the cluster cluster to which the real-time data sequence belongs.

[0096] In one embodiment of the present application, the first discrimination value multiplier and the second discrimination value multiplier are multiplied to obtain the predicted fluctuation state discrimination value.

[0097] In other embodiments of the present application, the first discrimination value multiplier and the second discrimination value multiplier may be added together or the predicted fluctuation state discrimination value may be obtained according to other appropriate positive correlation relationships.

[0098] Among them, the method for determining the belonging distance includes: averaging the local metric distances of the sub-signals between all elements in each cluster cluster and the cluster center of the cluster cluster to which they belong, to obtain the cluster width corresponding to each cluster cluster; taking the mean of the local wavelet fluctuation characteristic indexes of all elements in each cluster cluster under all sub-signals as the fluctuation characteristic error corresponding to each cluster cluster; calculating the difference between the local metric distance of the sub-signal between any element in the real-time data sequence and the cluster center of each cluster cluster and the cluster width, and obtaining the maximum value of the difference result and the number 0; taking the ratio of the maximum value to the fluctuation characteristic error as the belonging distance.

[0099] It should be noted that the greater the excess of the cluster width, the less the current data belongs to the cluster; the reason for dividing the excess of the cluster width by the fluctuation characteristic error of the cluster is that the greater the fluctuation characteristic error of the cluster, the more dispersed the data distribution in the cluster, and the greater the tolerable signal excess of the cluster width when judging data classification; the smaller the final belonging distance, the more similar any element is to the data characteristics in the cluster.

[0100] Furthermore, the larger the first discriminant multiplier is, the worse the overall similarity between the real-time data sequence and the cluster cluster is, and the less the current data belongs to the cluster cluster; the normalized value of the difference between any data in the real-time data sequence and the element mean of the real-time data sequence is recorded as the real-time data difference weight. The larger the real-time data difference weight is, the more the any data is a high-intensity fluctuation part in the real-time data sequence, the greater the weight assigned to it when discriminating the cluster to which the current data belongs, and the better the final cluster discrimination effect.

[0101] It should be understood that the smaller the predicted fluctuation state discrimination value is, the more the current data belongs to the cluster corresponding to the predicted fluctuation state discrimination value. Finally, K predicted fluctuation state discrimination values ​​are obtained, and the cluster corresponding to the predicted fluctuation state discrimination value with the smallest value is selected as the cluster to which the real-time data sequence belongs.

[0102] The fifth step is to calculate the EMA cycle prediction weight based on the local metric distance between the elements in the cluster to which the real-time data sequence belongs and the cluster center, and predict the next moment data of several real-time data sequences in the real-time networking signal data vector in combination with the historical networking signal data vector, optimize the differential coding algorithm to obtain the encoded data, and realize data compression and transmission.

[0103] Since the sub-signal local metric distance represents the frequency difference between two data points, for any element in the cluster to which the real-time data sequence belongs, the inverse of the sub-signal local metric distance between any element and the cluster center of the cluster to which it belongs is multiplied by The rounded-up value of is recorded as the best predicted position of any element.

[0104] It should be noted that the local metric distance of the sub-signals is the frequency difference. Dividing by the frequency gives a period, which represents the data period of any element, indicating that at this time any element has a similar value to the element at the previous best prediction position, so using the element at the previous best prediction position can obtain a better prediction effect.

[0105] Furthermore, when EMA is used to predict each data in the cluster to which the real-time data sequence belongs, better prediction results can be obtained by predicting the element at the previous best prediction position.

[0106] First, a best prediction position is calculated for each element in the cluster to which the real-time data sequence belongs, and statistics are performed only for the elements of the best prediction position that also belong to the cluster to which the real-time data sequence belongs. This embodiment can obtain R best prediction positions; for any best prediction position value, the number of elements of any best prediction position value is obtained, the total number of elements in the cluster to which the real-time data sequence belongs is obtained, and the ratio of the number of elements to the total number of elements is used as the EMA weight of any best prediction position value.

[0107] Finally, R EMA weights are obtained, and the R EMA weights are normalized to obtain the EMA cycle prediction weight of any optimal prediction position value.

[0108] Furthermore, for the real-time data sequence, the network signal weighted EMA prediction value of the real-time data sequence is calculated according to the elements in the cluster to which it belongs and the element values ​​before the best prediction position, specifically:

[0109] For any optimal prediction position, calculate the element value of any optimal prediction position before the real-time data sequence, calculate the product of the element value and the EMA period prediction weight corresponding to any optimal prediction position value, and record it as the corrected value; the cumulative sum of the corrected values ​​of all optimal prediction position values ​​is used as the networking signal weighted EMA prediction value of the real-time data sequence.

[0110] Set the differential coding threshold U, and store the above data locally and in the control center. In this embodiment, the differential threshold U=16 is set, and the implementer can set it according to the actual situation.

[0111] Furthermore, for the real-time data sequence when data transmission starts, the weighted EMA prediction value of the networking signal of the real-time data sequence is used as the prediction value of the real-time data sequence at the next moment, and the actual value at the next moment is subtracted from the prediction value to obtain the residual value at the next moment.

[0112] Similarly, the residual values ​​of all real-time data sequences in the real-time networking signal data vector at the next moment are calculated to form a residual value sequence. When the result of subtracting the maximum value from the minimum value in the residual value sequence is greater than the differential threshold U, the calculation is stopped, and then the minimum value of the residual value sequence is obtained, recorded as the basic residual value, and each element in the residual value sequence is subtracted from the basic residual value to obtain a differential coding sequence.

[0113] Furthermore, the transmission data position where the calculation stops is regarded as a new data transmission start position, and the calculation is repeated.

[0114] Finally, the differential coding sequence is compressed to obtain the coded data. When the network is further formed for data transmission, the transmitting party in the project group sends the coded data to the terminal control center, and the control center sends it to the receiving party, and then plans a communication network for the transmitting party and the receiving party to transmit the compressed data.

[0115] When traditional differential coding compresses data, a larger differential threshold is required for the original data sequence with large data fluctuations, resulting in a larger proportion of single values ​​in the sequence and poor compression effect. However, this embodiment improves the differential coding process by using data prediction, first predicting the data, and then performing differential coding by subtracting the predicted data from the original data, so that the fluctuation of the data to be differentially encoded becomes smaller, and a smaller differential threshold can be used to form a differential coding sequence, thereby reducing the proportion of single values ​​in the differential coding sequence, reducing the amount of data transmission, and enabling the control center to complete the data transmission task faster, thereby optimizing the data transmission speed.

[0116] Based on the same inventive concept as the above method, an embodiment of the present application also provides a terminal control system based on SDWAN networking, including a memory, a processor, and a computer program stored in the memory and running on the processor, and when the processor executes the computer program, it implements the steps of any one of the above-mentioned terminal control methods based on SDWAN networking.

[0117] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

[0118] It should be noted that, unless otherwise specified and limited, terms such as "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a circuit structure, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such article or device. In the absence of further restrictions, an element defined by the sentence "including one..." does not exclude the existence of other identical elements in the article or device including the element. In addition, the term "and\or" used herein includes any and all combinations of one or more related listed items.

[0119] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not invented by the present application.

[0120] It should be understood that the present application is not limited to the exact construction that has been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof.

Claims

1. A terminal control method based on SDWAN networking, characterized in that: The method comprises the following steps: Acquire historical networking signal data vectors and real-time networking signal data vectors, where the real-time networking signal data vectors include several real-time data sequences; A signal decomposition algorithm is used to obtain several sub-signals of the historical networking signal data vector; based on the frequency domain distribution of any element position of any sub-signal and its surrounding element positions, the local frequency and local frequency stability of any element position are determined; Based on the difference in the size of the local frequency and the local frequency stability, determine the sub-signal local metric distance between any two element positions in the historical networking signal data vector; use the sub-signal local metric distance between all elements in the historical networking signal data vector as the optimized clustering distance to determine a number of clustering clusters; Based on the local metric distance between the elements in the real-time data sequence and the cluster center of each cluster, and the size of the elements in the real-time data sequence, the predicted fluctuation state discrimination value of each cluster is determined, and the real-time data sequence is divided into the clusters to which it belongs; The EMA cycle prediction weight is calculated based on the local metric distance of the sub-signals between the elements in the cluster to which the real-time data sequence belongs and the cluster center. The next moment data of several real-time data sequences in the real-time networking signal data vector are predicted based on the historical networking signal data vector, and the differential coding algorithm is optimized to obtain the encoded data.

2. The terminal control method based on SDWAN networking according to claim 1, characterized in that: The method for determining the local frequency and the local frequency stability includes: Construct a window sequence at any element position of any component signal; Acquire a frequency spectrum of the window sequence; use the center frequency of the frequency spectrum of the window sequence as the local frequency of any element position; The standard deviation and the average value of the local frequencies of all elements in the window sequence are calculated, and the ratio of the standard deviation to the average value is used as the local frequency stability of any element position.

3. The terminal control method based on SDWAN networking according to claim 2, characterized in that: The window sequence is constructed by setting a window centered on any element position of any component signal, and forming a window sequence with all elements in the window.

4. The terminal control method based on SDWAN networking according to claim 1, characterized in that: The method for determining the local metric distance of the sub-signals includes: Determining a local wavelet fluctuation characteristic index of any element position based on the local frequency stability of any element position; For any two element positions in the historical networking signal data vector, the absolute value of the difference between the local frequencies corresponding to the two element positions in any one of the sub-signals is calculated, and recorded as the element frequency difference between the corresponding two element positions in any one of the sub-signals; Add the local wavelet fluctuation characteristic indices corresponding to the arbitrary two element positions in any of the sub-signals to obtain the fluctuation characteristic weights between the arbitrary two element positions in any of the sub-signals, and normalize the fluctuation characteristic weights between the arbitrary two element positions in all the sub-signals to obtain the normalized fluctuation characteristic weights of the arbitrary two element positions in any of the sub-signals; Taking the normalized weight of the fluctuation characteristics of the arbitrary two element positions in any sub-signal as the weight, the element frequency difference of the arbitrary two element positions in any sub-signal is weightedly summed to obtain the sub-signal local metric distance between the arbitrary two element positions in the historical networking signal data vector.

5. The terminal control method based on SDWAN networking according to claim 4, characterized in that: The method for determining the local wavelet fluctuation characteristic index includes: Dividing the element value of any element position by the cumulative sum of the element values ​​of any element position in all the sub-signals to obtain a first multiplier; The reciprocal of the local frequency stability of any element position is used as the second multiplier; The local wavelet fluctuation characteristic index of any element position is determined based on the first multiplier and the second multiplier; wherein the first multiplier and the second multiplier are both positively correlated with the local wavelet fluctuation characteristic index of any element position.

6. The terminal control method based on SDWAN networking according to claim 4, characterized in that: The method for determining the plurality of clusters includes: taking all elements in the historical networking signal data vector as input of a clustering algorithm, taking the sub-signal local metric distance between all elements as the metric distance, and outputting a plurality of clusters.

7. The terminal control method based on SDWAN networking according to claim 5, characterized in that: The method for dividing the clusters to which the real-time data sequence belongs includes: Based on the local metric distance of the sub-signals between any element in the real-time data sequence and each cluster center and the local wavelet fluctuation characteristic index of any element under all sub-signals, the belonging distance between any element in the real-time data sequence and each cluster cluster is determined; The standard deviation of the belonging distance between all elements in the real-time data sequence and each cluster center is recorded as the first discriminant multiplier; Calculate the normalized value of the absolute value of the difference between any element in the real-time data sequence and the mean of all elements in the real-time data sequence, and record it as the real-time data difference weight; Taking the real-time data difference weight as the weight of each element in the real-time data sequence, the weighted cumulative sum of the belonging distances between all elements in the real-time data sequence and each cluster cluster is calculated, which is recorded as the second discriminant multiplier; Determining the predicted fluctuation state discrimination value based on a first discrimination multiplier and a second discrimination multiplier; wherein both the first discrimination multiplier and the second discrimination multiplier are positively correlated with the predicted fluctuation state discrimination value; The cluster corresponding to the smallest predicted fluctuation state discrimination value among all clusters is taken as the cluster to which the real-time data series belongs.

8. The terminal control method based on SDWAN networking according to claim 7, characterized in that: The method for determining the belonging distance includes: The average of the local metric distances of the sub-signals between all elements in each cluster and the cluster center of the cluster to which it belongs is calculated to obtain the cluster width corresponding to each cluster; The mean of the local wavelet fluctuation characteristic index of all elements in each cluster under all sub-signals is taken as the fluctuation characteristic error corresponding to each cluster; Calculate the difference between the local metric distance of the sub-signal between any element in the real-time data sequence and the cluster center of each cluster cluster and the cluster width, and obtain the maximum value of the difference result and the number 0; The ratio of the maximum value to the fluctuation characteristic error is used as the attribution distance.

9. The terminal control method based on SDWAN networking according to claim 1, characterized in that: The process of obtaining the encoded data includes: For any element in the cluster to which the real-time data sequence belongs, the inverse of the sub-signal local metric distance between any element and the cluster center of the cluster to which it belongs is multiplied by the upward rounded value of a preset value, and recorded as the best predicted position of the any element; For any best prediction position value corresponding to an element of the cluster to which the real-time data sequence belongs, obtain the number of elements of the any best prediction position value, obtain the total number of elements in the cluster to which the real-time data sequence belongs, and use the ratio of the number of elements to the total number of elements as the EMA weight of the any best prediction position value; Normalizing the EMA weight of any of the best prediction position values ​​to obtain the EMA period prediction weight of any of the best prediction position values; For any best prediction position, calculate the element value of any best prediction position before the real-time data sequence, calculate the product of the element value and the EMA cycle prediction weight corresponding to any best prediction position value, and record it as the correction value; the cumulative sum of the correction values ​​of all best prediction position values ​​is used as the network signal weighted EMA prediction value of the real-time data sequence; The weighted EMA predicted value of the networking signal of the real-time data sequence is used as the predicted value of the real-time data sequence at the next moment, and the actual value at the next moment minus the predicted value is subtracted to obtain the residual value at the next moment; Calculate the residual values ​​of all real-time data sequences in the real-time networking signal data vector at the next moment to form a residual value sequence; stop the calculation when the result of subtracting the minimum value from the maximum value in the residual value sequence is greater than the preset differential threshold, obtain the minimum value of the residual value sequence, record it as the basic residual value, subtract the basic residual value from each element in the residual value sequence to obtain a differential coding sequence; compress the differential coding sequence to obtain the coded data.

10. A terminal control system based on SDWAN networking, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of the terminal control method based on SDWAN networking as described in any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Network coverage detection method and device and storage medium

    CN115835262A

  • Data sending method and device, equipment and storage medium

    CN116132220A

  • QoS dynamic resource allocation strategy based on mean shift clustering algorithm

    CN117857476A

  • System, method, and computer program product for connecting or coupling audio communications systems over a software defined wide area network

    US20180227394A1