Real-time signal quality monitoring method and system for electric vehicle cloud interaction
Through the combination of multi-dimensional monitoring and machine learning models, the problem of unstable signal quality in the electric vehicle cloud interactive system is solved, real-time and accurate signal quality assessment and monitoring is achieved, and the stability of the system and user experience are improved.
Patent Information
- Application Number
- CN202410884885.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-07-03
AI Technical Summary
In the electric vehicle cloud interaction system, existing technology is difficult to comprehensively monitor and evaluate network bandwidth, delay and packet loss rate, resulting in unstable signal quality and affecting the performance and user experience of electric vehicles.
Real-time signal quality monitoring method is adopted to establish an evaluation space through multi-dimensional monitoring of bandwidth, delay and packet loss rate, set threshold range, use machine learning model to detect anomalies, dynamically adjust thresholds, calculate anomaly scores and variances, and evaluate signal quality.
It achieves stable and reliable monitoring of the quality of electric vehicle cloud interaction signals, improves the real-time and accuracy of monitoring, ensures the high quality and stability of the electric vehicle cloud interaction system, and improves user experience and system reliability.
Smart Images

Figure CN118433071B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electrical communication technology, and in particular to a real-time signal quality monitoring method and system for electric vehicle cloud interaction. Background Art
[0002] In the electric vehicle cloud interaction system, ensuring the stability and reliability of real-time signal quality is a key issue. Specifically, during the operation of electric vehicles, they need to frequently interact with the cloud platform for data, including vehicle status monitoring, navigation, remote diagnosis, etc. The real-time and accuracy of these data interactions directly affect the performance and user experience of electric vehicles. However, in actual applications, the network environment is complex and changeable, and problems such as high bandwidth utilization, increased latency, and packet loss often occur. These problems will lead to a decrease in signal quality, which in turn affects the stability and reliability of the system.
[0003] For example, at a certain moment, the network bandwidth utilization rate in the area where the electric vehicle is located is high, and data transmission may be blocked, resulting in data packet delays or even loss; due to network congestion, the round-trip time (RTT) of the data packet exceeds the threshold, which will cause the real-time data to be updated untimely and affect the response speed of the vehicle status monitoring and navigation system; in long-term continuous data transmission, when the packet loss rate is too large, key data may be lost, affecting the accuracy of remote diagnosis and other important functions.
[0004] In the current monitoring method, each of the above indicators is often judged independently, which can easily lead to one-sided problems. For example, focusing only on bandwidth utilization may ignore the impact of network latency, resulting in sufficient bandwidth but high latency still affecting data transmission efficiency. Similarly, focusing only on latency may ignore the problem of packet loss rate, resulting in data arriving quickly but data packet loss making the information incomplete. This one-sided analysis cannot fully reflect the actual situation of network quality, which may lead to the inability to timely discover and solve comprehensive problems of real-time signal quality, ultimately affecting the overall performance and user experience of electric vehicle cloud interaction. Summary of the invention
[0005] The present invention provides a real-time signal quality monitoring method and system for electric vehicle cloud interaction, which can effectively solve the problems in the background technology.
[0006] In order to achieve the above object, the technical solution adopted by the present invention is:
[0007] The real-time signal quality monitoring method of electric vehicle cloud interaction includes:
[0008] According to the set indicators, the network bandwidth monitoring, delay monitoring and packet loss rate monitoring are carried out respectively;
[0009] Establishing an evaluation space, wherein the evaluation space includes dimensions corresponding to each of the indicators;
[0010] Setting a threshold range for each of the indicators to be monitored;
[0011] Establishing a safe area in the evaluation space, wherein the safe area is an area where each of the dimensions meets the threshold range;
[0012] Continuously collecting the monitoring results of the bandwidth monitoring, delay monitoring and packet loss rate monitoring, and determining the location of the monitoring results in the evaluation space;
[0013] The real-time signal quality is evaluated according to the position correlation between the current location and the safety area.
[0014] Furthermore, the threshold range is obtained based on the prediction result analysis of the anomaly detection model, and the anomaly detection model is obtained by training the monitoring results during normal operation using a machine learning model, and the prediction result is an anomaly score.
[0015] Furthermore, establishing the anomaly detection model includes:
[0016] Collecting the monitoring results of the electric vehicle cloud interaction system when it operates normally within a set time period, wherein the monitoring results are a set of each of the indicators;
[0017] Preprocessing the monitoring results, and dividing them into a training set and a test set after the preprocessing;
[0018] A machine learning model is selected, and the machine learning model is trained using the training set, and the machine learning model is tested based on the test set.
[0019] Furthermore, the threshold range is obtained according to the prediction result analysis of the anomaly detection model, including:
[0020] Determine a data set including the latest several monitoring results, and output the corresponding anomaly score for each of the monitoring results;
[0021] Calculating the variance of each of the anomaly scores;
[0022] Calculate the mean of each of the indicators according to the data set;
[0023] The upper threshold of each indicator is obtained by adding the mean value to the variance times the adjustment value. The adjustment value is set independently for each indicator, and the lower threshold of each indicator is 0.
[0024] Further, evaluating the real-time signal quality according to the position correlation between the location and the safety area includes:
[0025] Traverse all boundary points of the safety area and calculate the sum of distances from the current position to each boundary point; set a quality threshold, and evaluate the real-time signal quality based on a comparison result between the sum of distances and the quality threshold.
[0026] Furthermore, the distance from the location to the boundary point is calculated using the Euclidean distance formula:
[0027] ;
[0028] in,
[0029] di is the distance from the location to the i-th boundary point;
[0030] Pn is the value of the monitoring result in the nth indicator dimension;
[0031] Bin is the value of the i-th boundary point in the n-th index dimension.
[0032] The real-time signal quality monitoring system for electric vehicle cloud interaction includes:
[0033] The network monitoring module monitors the network bandwidth, delay and packet loss rate according to several set indicators;
[0034] A visual evaluation module is provided with an evaluation space, wherein the evaluation space includes dimensions corresponding to each of the indicators;
[0035] A network environment adaptability adjustment module is used to set the threshold range of each of the monitored indicators;
[0036] A safe area is established in the evaluation space, and the safe area is an area where each dimension meets the threshold range;
[0037] The network monitoring module continuously collects the monitoring results of the bandwidth monitoring, delay monitoring and packet loss rate monitoring, and the visual evaluation module determines the location of the monitoring results in the evaluation space;
[0038] It also includes a signal quality evaluation module, which outputs a real-time signal quality evaluation result according to the position correlation between the location and the safety area.
[0039] Furthermore, the network environment adaptability adjustment module is integrated with an anomaly detection model for analyzing the threshold range according to the prediction result;
[0040] The anomaly detection model is obtained by training the monitoring result during normal operation using a machine learning model, and the prediction result is an anomaly score.
[0041] Further, the network environment adaptability adjustment module includes a model training unit for training the anomaly detection model;
[0042] The model training unit comprises:
[0043] A data collection component determines a set time period, and collects the monitoring results of the electric vehicle cloud interaction system when it operates normally during the set time period, wherein the monitoring results are a set of the indicators;
[0044] A preprocessing component, which preprocesses the monitoring results and divides them into a training set and a test set after the preprocessing;
[0045] The model training component selects a machine learning model, trains the machine learning model using the training set, and tests the machine learning model based on the test set.
[0046] Furthermore, the signal quality evaluation module includes:
[0047] The evaluation is based on a calculation unit that traverses all boundary points of the safety area and calculates the sum of the distances from the location to each boundary point;
[0048] A comparison benchmark setting unit sets a quality threshold;
[0049] The evaluation result output unit outputs the evaluation result of the real-time signal quality according to the comparison result between the distance and the quality threshold.
[0050] The technical solution of the present invention can achieve the following technical effects:
[0051] The present invention gradually implements bandwidth monitoring, delay monitoring and packet loss rate monitoring of the network, establishes a comprehensive and integrated multi-dimensional evaluation space, sets the threshold range of various monitoring indicators, creates a safe area, and continuously collects and analyzes data locations, which can ensure that the real-time signal quality of electric vehicle cloud interaction is stable and reliable. Through the above-mentioned technical means, the present invention has significant real-time and accuracy, and can quickly reflect and evaluate the network status, thereby evaluating the real-time signal quality; at the same time, the advantages of multi-dimensional analysis and intuitive display make the evaluation of network quality more comprehensive and more visual, and effectively solve the complex technical problems in real-time signal quality monitoring based on electric vehicle network quality; in summary, it not only ensures the high quality and stability of electric vehicle cloud interaction signals, but also improves the efficiency and reliability of network monitoring, greatly improving the user experience and system reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0053] Figure 1 A flow chart of a real-time signal quality monitoring method for electric vehicle cloud interaction;
[0054] Figure 2 This is a schematic diagram of network monitoring indicators during data interaction between electric vehicles and cloud platforms;
[0055] Figure 3 Schematic diagram of the corresponding relationship between monitoring results and anomaly scores;
[0056] Figure 4 Flowchart for obtaining threshold ranges based on the prediction results of anomaly detection models. DETAILED DESCRIPTION
[0057] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0058] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.
[0059] Embodiment 1
[0060] Real-time signal quality monitoring method for electric vehicle cloud interaction, such as Figure 1 and 2 As shown, including:
[0061] S1: Monitor the bandwidth, delay and packet loss rate of the network according to the set indicators;
[0062] In this step, the network bandwidth usage can be monitored in real time. Network traffic data can be obtained through tools such as NetFlow, sFlow, and Wireshark to calculate bandwidth utilization. Ping, Traceroute and other tools can be used to measure the delay of data packets from the electric vehicle to the cloud platform and record the round-trip time (RTT). Through continuous Ping tests or network monitoring tools, it can be detected whether data packets are lost during transmission and the packet loss rate can be calculated. For example, the MTR (MyTraceroute) tool can monitor the path delay and packet loss rate at the same time to provide a comprehensive network performance report.
[0063] In the above specific method, the determined indicators are bandwidth utilization, delay and packet loss rate. In addition to the above indicators, other indicators that can be used include but are not limited to: jitter, which refers to the change or instability of the arrival time of data packets; signal strength, which refers to the signal power strength received by the receiving end in wireless communication; connection stability, which refers to the stability of network connection, usually evaluated by monitoring the frequency of disconnection and the number of reconnections; network throughput, which refers to the amount of data successfully transmitted per unit time, etc. Real-time monitoring can ensure timely detection of problems and rapid response, and the accuracy of data collection can be ensured by using professional tools;
[0064] S2: Establish an evaluation space, which includes dimensions corresponding to each indicator;
[0065] Referring to the indicators determined above, as a specific method, bandwidth utilization, delay and packet loss rate are respectively used as the three dimensions of the evaluation space. Based on this method, the evaluation space can be expressed as a three-dimensional coordinate system (BU, L, PL), and each point represents the network quality status at a moment, where BU represents bandwidth utilization, L represents delay, and PL represents packet loss rate. For example, the monitoring result at a certain moment is BU=70%, L=30ms, PL=0.5%, corresponding to the point (70,30,0.5) in the evaluation space; through multi-dimensional analysis, multiple indicators can be comprehensively evaluated to avoid the deviation caused by a single indicator. Through the multi-dimensional coordinate system, the relationship between various indicators and the overall network quality can be intuitively displayed;
[0066] S3: Set the threshold range of each monitored indicator; for example, the bandwidth utilization threshold range is 0~80%, the delay threshold range is 0~50ms, and the packet loss rate threshold range is 0~1%. By establishing the above threshold ranges, the network can be ensured to operate within a safe range, thereby ensuring the quality of real-time signals through better network quality;
[0067] S4: Establishing a safe area in the evaluation space, the safe area is an area where all dimensions meet the threshold range; for the above threshold range in this embodiment, the safe area determined in this embodiment is a cube, and its boundary is determined by the threshold range of each indicator;
[0068] S5: Continuously collect the monitoring results of bandwidth monitoring, delay monitoring and packet loss rate monitoring, and determine the location of the monitoring results in the evaluation space; for example, the data collected at a certain moment is BU=75%, L=40ms, PL=0.5%, and the location in the evaluation space is (75,40,0.5);
[0069] S6: Evaluate the real-time signal quality based on the location correlation between the current location and the safety zone. Taking the simplest correlation as an example, if the data point is within the safety zone, it means that the network signal quality is good; if it is outside the safety zone, measures need to be taken; for example: the data point (75,40,0.5) is within the safety zone, indicating that the signal quality is normal; and the point (85,60,1.5) is outside the safety zone, indicating that the signal quality is abnormal.
[0070] The present invention gradually implements network bandwidth monitoring, delay monitoring and packet loss rate monitoring, establishes a comprehensive and integrated multi-dimensional evaluation space, sets the threshold range of each monitoring indicator, creates a safe area, and continuously collects and analyzes data locations, which can ensure that the real-time signal quality of electric vehicle cloud interaction is stable and reliable. Specifically, continuous data collection and real-time updating enable the monitoring data at each moment to determine its specific location in the evaluation space, thereby determining whether it is within the safe area. This location correlation analysis method can not only evaluate the signal quality in real time, but also promptly discover and respond to network anomalies.
[0071] Through the above technical means, the present invention has significant real-time and accuracy, can quickly reflect and evaluate the network status, and thus evaluate the real-time signal quality; at the same time, the advantages of multi-dimensional analysis and intuitive display make the evaluation of network quality more comprehensive and more visual, and effectively solve the complex technical problems in real-time signal quality monitoring based on electric vehicle network quality. In summary, it not only ensures the high quality and stability of the electric vehicle cloud interaction signal, but also improves the efficiency and reliability of network monitoring, greatly improving the user experience and system reliability.
[0072] As a preferred embodiment of the above, the threshold range is obtained based on the prediction result analysis of the anomaly detection model. The anomaly detection model is obtained by using the monitoring results of the normal operation of the machine learning model training, and the prediction result is the anomaly score. In this preferred solution, the threshold range is determined by using a machine learning anomaly detection model, which improves the accuracy and efficiency of real-time signal quality monitoring. The machine learning model can learn and identify complex patterns of normal network behavior, accurately identify abnormal situations through anomaly scores, and improve the accuracy of monitoring. By automatically analyzing and processing a large number of monitoring results, it is more efficient and saves more time and human resources than manually setting thresholds. Through the above optimization method, the flexibility and adaptability of the system are also enhanced, providing a stronger guarantee for electric vehicle cloud interaction. The training model can adapt to network environments of different types and sizes, has good scalability, and is suitable for various electric vehicle cloud interaction systems.
[0073] As a preferred embodiment of the above, establishing an anomaly detection model includes:
[0074] A1: Collect monitoring results of the normal operation of the electric vehicle cloud interaction system within a set time period, where the monitoring results are a set of indicators; according to the above embodiment, a set of monitoring results may specifically include bandwidth utilization, delay, and packet loss rate;
[0075] A2: Preprocess the monitoring results and divide them into training sets and test sets after preprocessing. In the specific implementation process, preprocessing may include: data cleaning, processing missing values, outliers and duplicate data; feature engineering, selecting and extracting important features; data standardization, standardizing the data. In the implementation process, the data set used to train the model usually accounts for 70%-80% of the total data, and the data set used to evaluate the model performance usually accounts for 20%-30% of the total data.
[0076] A3: Select a machine learning model, and use the training set to train the machine learning model, and test the machine learning model according to the test set. In this preferred solution, the machine learning models available for selection may include IsolationForest, One-ClassSVM, Autoencoder, etc. In this step, the training and testing of the model can be carried out in the current conventional manner, which will not be described in detail here.
[0077] As a preferred embodiment of the above, Figure 3 and 4 As shown, the threshold range is obtained based on the prediction results of the anomaly detection model, including:
[0078] B1: Determine a data set including the latest monitoring results, and output a corresponding anomaly score for each monitoring result; Continuing with the above embodiment, the monitoring results include a bandwidth monitoring result, a delay monitoring result, and a packet loss rate monitoring result. The anomaly score is a metric output by the anomaly detection model for a set of data, which is used to measure the degree of deviation of the set of data from the normal behavior pattern. The higher the anomaly score, the more likely the set of data is to be abnormal;
[0079] B2: Calculate the variance of each anomaly score; this variance can reflect the fluctuation of the anomaly score;
[0080] B3: Calculate the mean of each indicator based on the data set; for example, calculate the mean of each indicator such as bandwidth utilization, delay, packet loss rate, etc. in each group of data based on the data set;
[0081] B4: The upper threshold of each indicator is obtained by adding the mean value to the variance times the adjustment value. The adjustment value is set independently for each indicator, and the lower threshold of each indicator is 0.
[0082] Specifically, the threshold calculation formula is: upper threshold = mean + (variance × adjustment value);
[0083] The adjustment value is independently set according to the specific situation of each indicator to ensure that the threshold range of each indicator can effectively reflect its normal operating status and possible abnormal situations. In the above embodiment, by calculating the anomaly score and variance in real time, the system can dynamically adjust the threshold range to adapt to changes in the network environment. The variance reflects the fluctuation of the anomaly score, and the threshold range can be flexibly adjusted to ensure that the system maintains sensitivity and accuracy to abnormal situations of different degrees.
[0084] When the network is in good condition and the fluctuation is small, the variance is small, the threshold range is tightened, and the safety range is narrowed, reducing the probability of normal fluctuations being misreported as abnormalities; when the network fluctuation is large, the variance increases, the threshold range is expanded, and the safety range is expanded to ensure that the real abnormal situation can be captured and avoid missed reports. By dynamically adjusting the threshold, the system can maintain stable signal quality under various network conditions and reduce the impact of network problems on user experience.
[0085] The following are specific examples of implementation scenarios:
[0086] Example 1: Peak network traffic
[0087] During the peak period of network traffic, the network bandwidth utilization and latency fluctuate greatly, and the variance increases. The system dynamically adjusts the threshold range through real-time calculation, so that the threshold is appropriately relaxed to capture real abnormal situations, such as:
[0088] Bandwidth utilization: Assume that the average bandwidth utilization is 60% during normal times, and the variance is 10% through calculation. During peak hours, the variance increases to 20%. After dynamic adjustment, the upper threshold is adjusted from 80% to 100% to ensure that peak hour anomalies can be identified.
[0089] Example 2: Low traffic period at night
[0090] At night when network traffic is low, network bandwidth utilization and latency fluctuations are small and variance is reduced. The system dynamically adjusts the threshold range through real-time calculations to tighten the threshold and improve the ability to detect subtle anomalies. For example:
[0091] Latency: Assume that the latency average is 50ms and the variance is 20ms during normal times. The variance is reduced to 10ms at night. After dynamic adjustment, the upper threshold is adjusted from 90ms to 70ms to ensure that nighttime anomalies can be identified.
[0092] By calculating anomaly scores and variances in real time and dynamically adjusting the threshold range, the system can better adapt to changes in the network environment and improve the sensitivity and accuracy of real-time signal quality monitoring. This dynamic adjustment mechanism not only reduces false alarms and missed alarms, enhances the stability and reliability of the system, but also provides early warning and rapid response, ensuring stable signal quality and improved user experience.
[0093] In the above embodiment, as a specific implementation method, the adjustment value for each indicator can be determined by combining data analysis, experience and business rules to determine a reasonable adjustment value for each indicator. Specifically, by analyzing the mean and variance of historical data, combined with actual business needs and expert opinions, the adjustment value is adjusted to ensure that the monitoring system achieves a balance between sensitivity and accuracy, effectively reflects the normal and abnormal states of network performance, and reasonably sets the adjustment value to dynamically adapt to changes in the network environment and improve the real-time monitoring capability of the system.
[0094] As a preferred embodiment of the above, the real-time signal quality is evaluated based on the positional correlation between the current location and the safety area, including: traversing all boundary points of the safety area and calculating the distance from the current location to each boundary point; setting a quality threshold, and evaluating the real-time signal quality based on the comparison result of the distance sum and the quality threshold.
[0095] Traverse all the boundary points of the safe area. Assuming there are n monitoring indicators (i.e. dimensions), each dimension has upper and lower thresholds, the number of boundary points is 2 n On this basis, as a preferred embodiment, the distance from the location to the boundary point is calculated using the Euclidean distance formula:
[0096] ;
[0097] in,
[0098] di is the distance from the current location to the i-th boundary point;
[0099] Pn is the value of the monitoring result in the nth indicator dimension;
[0100] Bin is the value of the i-th boundary point in the n-th index dimension.
[0101] Sum the distances of all boundary points to get the distance sum 𝐷:
[0102] ;
[0103] In a specific implementation, if the distance and D are less than the quality threshold, the signal quality is considered to be good; if the distance and D are greater than the threshold, the signal quality is considered to be poor.
[0104] In the above optimization scheme, by traversing all boundary points of the safe area and calculating the distance and distance to each boundary point, the multi-dimensional changes of the monitoring indicators can be fully considered. This comprehensiveness ensures the accuracy of signal quality evaluation because it does not rely solely on a single monitoring indicator, but comprehensively considers the impact of multiple indicators. Setting a quality threshold and evaluating based on the comparison of the distance and distance with the quality threshold provides a flexible and adjustable evaluation method. The quality threshold can be adjusted according to specific needs and application scenarios, so that the system can adapt to different operating environments and monitoring requirements.
[0105] During the implementation process, the Euclidean distance formula is used to calculate the distance and D. This method clearly and intuitively describes the relationship between the monitoring results and the boundaries of the safe area. This data processing method is not only effective but also easy to understand and implement, which helps to reduce the complexity of system design and maintenance.
[0106] Embodiment 2
[0107] The real-time signal quality monitoring system for electric vehicle cloud interaction includes:
[0108] The network monitoring module monitors the network bandwidth, delay and packet loss rate according to several set indicators;
[0109] The visual evaluation module establishes an evaluation space, which includes dimensions corresponding to each indicator;
[0110] The network environment adaptability adjustment module sets the threshold range of each monitored indicator;
[0111] Among them, a safe area is established in the evaluation space, and the safe area is the area where each dimension meets the threshold range;
[0112] The network monitoring module continuously collects the monitoring results of bandwidth monitoring, delay monitoring and packet loss rate monitoring, and the visual evaluation module determines the location of the monitoring results in the evaluation space;
[0113] It also includes a signal quality evaluation module, which outputs a real-time signal quality evaluation result based on the position correlation between the current location and the safe area.
[0114] The technical effect achieved by this embodiment is the same as that of the above-mentioned embodiment 1, and will not be repeated here.
[0115] Among them, as a preferred embodiment of this embodiment, the network environment adaptability adjustment module is integrated with an anomaly detection model, which is used to analyze the threshold range according to the prediction result; the anomaly detection model is obtained by using the monitoring results during normal operation of the machine learning model training, and the prediction result is an anomaly score.
[0116] In order to obtain the anomaly detection model, the network environment adaptability adjustment module includes a model training unit for training the anomaly detection model; the model training unit includes:
[0117] The data collection component determines a set time period and collects monitoring results of the normal operation of the electric vehicle cloud interaction system within the set time period. The monitoring results are a set of various indicators.
[0118] A preprocessing component preprocesses the monitoring results and divides them into a training set and a test set after preprocessing;
[0119] The model training component selects a machine learning model, trains the machine learning model using a training set, and tests the machine learning model based on a test set.
[0120] In order to obtain the final evaluation result, as a preferred embodiment of this embodiment, the signal quality evaluation module includes:
[0121] The evaluation is based on the calculation unit, which traverses all boundary points of the safe area and calculates the sum of the distances from the current location to each boundary point;
[0122] A comparison benchmark setting unit sets a quality threshold;
[0123] The evaluation result output unit outputs the evaluation result of the real-time signal quality according to the comparison result between the distance and the quality threshold.
[0124] Similarly, the technical effects achieved by the above-mentioned preferred solutions are also the same as those in Example 1, and will not be repeated here.
[0125] The above shows and describes the basic principles, main features and advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A real-time signal quality monitoring method for electric vehicle cloud interaction, characterized in that: include: According to the set indicators, the network bandwidth monitoring, delay monitoring and packet loss rate monitoring are carried out respectively; Establishing an evaluation space, wherein the evaluation space includes dimensions corresponding to each of the indicators; Setting a threshold range for each of the indicators to be monitored; establishing a safe area in the evaluation space, the safe area being an area where each of the dimensions meets the threshold range; Continuously collecting the monitoring results of the bandwidth monitoring, delay monitoring and packet loss rate monitoring, and determining the location of the monitoring results in the evaluation space; evaluating the real-time signal quality according to the location correlation between the location and the safety area; The threshold range is obtained based on the prediction result analysis of the anomaly detection model, the anomaly detection model is obtained by using the monitoring result during normal operation of the training using the machine learning model, and the prediction result is an anomaly score; Establishing the abnormality detection model includes: collecting the monitoring results of the electric vehicle cloud interaction system when it operates normally within a set time period, the monitoring results being a set of each of the indicators; preprocessing the monitoring results, and dividing them into a training set and a test set after the preprocessing; selecting a machine learning model, and training the machine learning model using the training set, and testing the machine learning model according to the test set; The threshold range is obtained according to the prediction result analysis of the anomaly detection model, including: determining a data set including the latest several monitoring results, and outputting the corresponding anomaly score for each monitoring result; calculating the variance of each anomaly score; calculating the mean of each indicator according to the data set; the upper threshold of each indicator is obtained by adding the mean to the variance times the adjustment value, and the adjustment value is independently set for each indicator, and the lower threshold of each indicator is 0; The real-time signal quality is evaluated according to the positional correlation between the location and the safety area, including: traversing all boundary points of the safety area and calculating the sum of the distances from the location to each boundary point; setting a quality threshold, and evaluating the real-time signal quality according to a comparison result between the sum of the distances and the quality threshold; the distance from the location to the boundary point is calculated using the Euclidean distance formula: ; Wherein, di is the distance from the location to the i-th boundary point; Pn is the value of the monitoring result in the n-th indicator dimension; Bin is the value of the i-th boundary point in the n-th indicator dimension; Sum the distances of all boundary points to get the distance sum D: ; If the distance and D are less than the quality threshold, the signal quality is considered good; if the distance and D are greater than the threshold, the signal quality is considered poor.
2. A real-time signal quality monitoring system for electric vehicle cloud interaction, using the real-time signal quality monitoring method for electric vehicle cloud interaction as claimed in claim 1, characterized in that: include: The network monitoring module monitors the network bandwidth, delay and packet loss rate according to several set indicators; A visual evaluation module is provided with an evaluation space, wherein the evaluation space includes dimensions corresponding to each of the indicators; A network environment adaptability adjustment module is used to set the threshold range of each of the monitored indicators; A safe area is established in the evaluation space, and the safe area is an area where each dimension meets the threshold range; The network monitoring module continuously collects the monitoring results of the bandwidth monitoring, delay monitoring and packet loss rate monitoring, and the visual evaluation module determines the location of the monitoring results in the evaluation space; It also includes a signal quality evaluation module, which outputs a real-time signal quality evaluation result according to the position correlation between the location and the safety area.
3. The real-time signal quality monitoring system for electric vehicle cloud interaction according to claim 2 is characterized in that: The network environment adaptability adjustment module is integrated with an anomaly detection model for analyzing the threshold range according to the prediction result; The anomaly detection model is obtained by training the monitoring result during normal operation using a machine learning model, and the prediction result is an anomaly score.
4. The real-time signal quality monitoring system for electric vehicle cloud interaction according to claim 3 is characterized in that: The network environment adaptability adjustment module includes a model training unit, which is used to train the anomaly detection model; The model training unit comprises: A data collection component determines a set time period, and collects the monitoring results of the electric vehicle cloud interaction system when it operates normally during the set time period, wherein the monitoring results are a set of the indicators; A preprocessing component, which preprocesses the monitoring results and divides them into a training set and a test set after the preprocessing; The model training component selects a machine learning model, trains the machine learning model using the training set, and tests the machine learning model based on the test set.
5. The real-time signal quality monitoring system for electric vehicle cloud interaction according to claim 2 is characterized in that: The signal quality evaluation module comprises: The evaluation is based on a calculation unit that traverses all boundary points of the safety area and calculates the sum of the distances from the location to each boundary point; A comparison benchmark setting unit sets a quality threshold; The evaluation result output unit outputs the evaluation result of the real-time signal quality according to the comparison result between the distance and the quality threshold.
