Communication mode switching method, electronic equipment and storage medium

By dynamically adjusting weights based on terminal environment parameters and using machine learning to predict communication quality scores, the problem of inaccurate terminal communication quality assessment is solved, enabling timely switching of communication modes when the environment changes, thus ensuring communication stability.

CN122028131APending Publication Date: 2026-05-12CHINA MOBILE GRP BEIJING +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA MOBILE GRP BEIJING
Filing Date
2026-01-26
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

In existing technologies, the accuracy of terminal communication quality assessment is low, resulting in poor communication mode switching performance, especially in the inability to respond in a timely manner when environmental factors change.

Method used

By acquiring the temperature, humidity, and air pressure of the terminal's environment, an environmental score is determined based on these parameters. The weights of target indicators such as transmission latency and packet loss rate are dynamically adjusted, and a machine learning model is used to predict the communication quality score, enabling timely switching to satellite communication mode.

Benefits of technology

It improves the accuracy and response speed of communication quality assessment, ensures timely switching of communication modes when the environment changes, avoids communication interruption, and guarantees the stability and reliability of communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122028131A_ABST
    Figure CN122028131A_ABST
Patent Text Reader

Abstract

The invention discloses a communication mode switching method, electronic equipment and a storage medium, and belongs to the field of communication. The method comprises the steps of obtaining temperature, humidity and air pressure of an environment where the terminal is located; determining an environment score of the environment where the terminal is located based on the temperature, humidity and air pressure of the environment where the terminal is located; under the condition that the environment score of the environment where the terminal is located is larger than an environment score threshold value, a target index and the weight of the target index are determined, and the target index comprises transmission time delay and packet loss probability; determining a first communication quality score based on the transmission time delay, the weight of the transmission time delay, the packet loss rate and the weight of the packet loss rate; determining a second communication quality score based on the first communication quality score, the second communication quality score being a predicted communication quality score; and under the condition that the second communication quality score is smaller than a communication quality threshold value, switching the communication mode of the terminal to a satellite communication mode. The method and the device are used for communication mode switching.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of communications, specifically relating to a communication mode switching method, an electronic device, and a storage medium. Background Technology

[0002] When the communication quality of the terminal's current communication mode is poor and cannot meet the communication requirements, the terminal's communication mode is often switched.

[0003] In related technologies, the communication quality of the terminal may be assessed before switching communication modes. However, the methods used in these technologies to assess the communication quality of the terminal are often inaccurate, resulting in poor performance during communication mode switching. Summary of the Invention

[0004] This application provides a communication mode switching method, an electronic device, and a storage medium, which can solve the problem that the methods for evaluating the communication quality of terminals in related technologies are often inaccurate, resulting in poor communication mode switching effects.

[0005] In a first aspect, embodiments of this application provide a communication mode switching method, including: Obtain the temperature, humidity, and air pressure of the environment in which the terminal is located; Based on the temperature, humidity, and air pressure of the environment in which the terminal is located, an environmental score is determined for the environment in which the terminal is located. If the environment score of the environment where the terminal is located is greater than the environment score threshold, the target indicators and the weights of the target indicators are determined. The target indicators include transmission latency and packet loss rate. A first communication quality score is determined based on the transmission delay, the weight of the transmission delay, the packet loss rate, and the weight of the packet loss rate. Based on the first communication quality score, a second communication quality score is determined, and the second communication quality score is the predicted communication quality score; If the second communication quality score is less than the communication quality threshold, the communication mode of the terminal will be switched to satellite communication mode.

[0006] Secondly, a communication mode switching device is provided, comprising: The acquisition module is used to acquire the temperature, humidity, and air pressure of the environment in which the terminal is located. The determination module is used to determine an environment score for the environment in which the terminal is located based on the temperature, humidity, and air pressure of the environment in which the terminal is located; if the environment score of the environment in which the terminal is located is greater than an environment score threshold, determine a target indicator and a weight for the target indicator, wherein the target indicator includes transmission latency and packet loss rate; determine a first communication quality score based on the transmission latency, the weight of the transmission latency, the packet loss rate, and the weight of the packet loss rate; and determine a second communication quality score based on the first communication quality score, wherein the second communication quality score is a predicted communication quality score. The switching module is used to switch the communication mode of the terminal to satellite communication mode when the second communication quality score is less than the communication quality threshold.

[0007] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, wherein the memory stores programs or instructions executable on the processor, and the programs or instructions, when executed by the processor, implement the steps of the method described in the first aspect.

[0008] Fourthly, embodiments of this application provide a computer-readable storage medium on which a program or instructions are stored, which, when executed, implement the steps of the method described in the first aspect.

[0009] Fifthly, embodiments of this application provide a computer program product comprising a computer program that, when executed by a processor, implements the steps of the method described in the first aspect.

[0010] The at least one technical solution provided in the embodiments of this application can achieve the following technical effects: In this embodiment, the temperature, humidity, and air pressure of the terminal's environment are acquired; an environmental score is determined based on the temperature, humidity, and air pressure of the terminal's environment; if the environmental score of the terminal's environment is greater than an environmental score threshold, a target indicator and its weight are determined, the target indicator including transmission latency and packet loss rate; a first communication quality score is determined based on the transmission latency, its weight, the packet loss rate, and its weight; a second communication quality score is determined based on the first communication quality score, the second communication quality score being a predicted communication quality score; if the second communication quality score is less than a communication quality threshold, the terminal's communication mode is switched to satellite communication mode. Thus, by fully considering the environment in which the terminal is located, an environmental score is obtained. When the environmental score of the terminal's environment is greater than the environmental score threshold, it indicates that environmental factors have a significant impact on communication quality. At this point, the weight of the target indicator can be determined. Since the weight of the target indicator is adapted to the environment, the first communication quality score can be ensured to be relatively accurate. This, in turn, ensures that the second communication quality score (predicted communication quality score) obtained based on the first communication quality score is relatively accurate. Finally, when the second communication quality score is less than the communication quality threshold, the communication mode of the terminal can be switched to satellite communication mode in a timely manner. This achieves a better communication mode switching effect and solves the problem that the methods for evaluating the communication quality of the terminal in related technologies are often inaccurate, resulting in poor communication mode switching effects. Attached Figure Description

[0011] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0012] Figure 1 This is a flowchart of a communication mode switching method provided in an embodiment of this application; Figure 2 This is a flowchart of another communication mode switching method provided in the embodiments of this application; Figure 3 This is a flowchart of another communication mode switching method provided in the embodiments of this application; Figure 4 This is a structural block diagram of the communication mode switching device provided in the embodiments of this application; Figure 5 This is a structural block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0013] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0014] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0015] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.

[0016] The communication quality assessment methods in related technologies fail to adequately consider the impact of environmental factors on communication quality, leading to inaccurate assessment results and a lack of real-time monitoring and adaptive adjustment mechanisms, making it difficult to cope with communication interruptions in emergency situations. For example, high humidity increases signal absorption, reducing transmission efficiency. While humidity generally has less impact on lower frequencies than rainfall, increased humidity can still cause signal attenuation in the high-frequency microwave range, affecting the clarity and stability of voice or data transmission. Although air pressure has less of a significant impact on satellite communications than other factors, changes in air pressure at high altitudes can affect the performance of terminal equipment, thus indirectly affecting communication quality. Strong winds can cause physical damage to ground facilities, especially the alignment of satellite antennas. If the antenna is misaligned due to wind, it may lead to a decrease in the strength of the received signal. In addition, wind-borne particulate matter can also affect the physical condition or cleanliness of equipment, potentially reducing equipment performance in the long term.

[0017] Furthermore, the predictive models in related technologies rely solely on simple trend analysis based on historical data, lacking the ability to respond to real-time data and environmental changes, and thus failing to identify risks of communication quality degradation in advance. For example, if signal quality in a specific area has consistently been good in past communication records, the technology might predict that the signal will remain good in the future. However, in actual use, environmental changes can lead to sudden signal deterioration, such as newly constructed buildings blocking the signal path or temporary large-scale events interfering with communication. In such cases, simple trend predictions based on historical data cannot identify these sudden risks, preventing the navigation system from taking proactive measures, such as adjusting signal frequency bands or issuing warnings to users about potential signal interruptions.

[0018] This application's embodiments improve the accuracy and reliability of evaluation results by introducing environmental factors and adjusting the weights of evaluation parameters; enhance the system's monitoring capabilities and response speed for communication status through real-time monitoring and adaptive adjustment mechanisms, thereby increasing the system's adaptability and reliability; and improve the predictability of future communication quality changes by introducing machine learning models for prediction, enabling the system to take preventative measures before communication quality deteriorates, avoiding communication interruptions and ensuring service continuity and reliability.

[0019] The communication mode switching method provided in this application can be applied to the communication mode switching of a terminal. In emergency situations, such as sudden extreme weather (heavy rain, lightning) or temporary signal interference (such as the activation of nearby high-power equipment), the communication quality of the terminal may deteriorate rapidly. Related technologies, lacking the ability to respond to real-time data and environmental changes, cannot issue warnings or make adjustments in the early stages of communication quality degradation. The communication mode switching method provided in this application solves the problem of accurate communication quality assessment in the terminal's communication environment through environment-based dynamic weight adjustment technology, avoiding risks caused by the inability to identify communication quality degradation in advance. For example, during driving, sudden thunderstorms cause signal instability; if the system cannot quickly identify and respond, the vehicle may lose navigation information support at critical moments.

[0020] The communication mode switching method provided in this application is described below with reference to specific embodiments. The communication mode switching method provided in this application can be executed by an electronic device.

[0021] Figure 1 This is a flowchart illustrating a communication mode switching method provided in an embodiment of this application. (Refer to...) Figure 1 The communication mode switching method provided in this application embodiment may include: Step 110: Obtain the temperature, humidity, and air pressure of the environment where the terminal is located.

[0022] In step 110, environmental information of the terminal's environment can be obtained, including temperature, humidity, and air pressure.

[0023] Step 120: Determine the environmental score of the environment in which the terminal is located based on the temperature, humidity and air pressure of the environment in which the terminal is located.

[0024] In step 120, after obtaining the environmental information of the terminal's environment, an environmental score for the terminal's environment can be determined based on the obtained environmental information. Specifically, in this embodiment, the environmental score of the terminal's environment can be calculated by constructing a function formula.

[0025] Step 130: If the environment score of the environment where the terminal is located is greater than the environment score threshold, determine the target indicators and the weights of the target indicators. The target indicators include transmission latency and packet loss rate.

[0026] In step 130, the target indicator can be determined based on at least a portion of the environmental information obtained about the terminal's environment. Specifically, in one embodiment, the target indicator can be determined based on the humidity and air pressure of the terminal's environment. In another embodiment, the target indicator can be determined based on the humidity, air pressure, and wind speed of the terminal's environment.

[0027] In this embodiment of the application, the target metric may include, in addition to transmission latency and packet loss rate, at least one of frame byte count, error probability, and operating cost. The error probability can be the probability of a calculated result, such as the probability of calculating transmission latency or the probability of calculating packet loss rate.

[0028] Step 140: Determine a first communication quality score based on the transmission delay, the weight of the transmission delay, the packet loss rate, and the weight of the packet loss rate.

[0029] In step 140, in one embodiment, the first communication quality score can be determined solely based on the transmission delay, the weight of the transmission delay, the packet loss rate, and the weight of the packet loss rate. In another embodiment, the first communication quality score can also be determined based on the transmission delay, the weight of the transmission delay, the packet loss rate, the weight of the packet loss rate, operating costs, and the weight of the operating costs. In yet another embodiment, the target metrics include not only transmission delay and packet loss rate, but also frame byte count, error probability, and operating costs; the first communication quality score can be calculated based on the frame byte count, the error probability, the operating costs, the transmission delay, the packet loss rate, the weight of the frame byte count, the weight of the error probability, the weight of the operating costs, the weight of the transmission delay, and the weight of the packet loss rate.

[0030] Step 150: Based on the first communication quality score, determine the second communication quality score, which is the predicted communication quality score.

[0031] In this embodiment, the first communication quality score can be the communication quality score of the terminal at the current time point, or it can be the communication quality score of the terminal at a historical time point before the current time point. The second communication quality score can be the communication quality score of the terminal at a future time point. In the process of determining the second communication quality score based on the first communication quality score, the second communication quality score can be determined directly using a mathematical formula, or it can be determined based on a machine learning model.

[0032] Step 160: If the second communication quality score is less than the communication quality threshold, switch the communication mode of the terminal to satellite communication mode.

[0033] Where the second communication quality score is greater than or equal to the communication quality threshold, the communication mode of the terminal can be kept unchanged, for example, it can remain in the base station communication mode without switching to the satellite communication mode.

[0034] In this embodiment, the temperature, humidity, and air pressure of the terminal's environment are acquired; an environmental score is determined based on the temperature, humidity, and air pressure of the terminal's environment; if the environmental score of the terminal's environment is greater than an environmental score threshold, a target indicator and its weight are determined, the target indicator including transmission latency and packet loss rate; a first communication quality score is determined based on the transmission latency, its weight, the packet loss rate, and its weight; a second communication quality score is determined based on the first communication quality score, the second communication quality score being a predicted communication quality score; if the second communication quality score is less than a communication quality threshold, the terminal's communication mode is switched to satellite communication mode. Thus, by fully considering the environment in which the terminal is located, an environmental score is obtained. When the environmental score of the terminal's environment is greater than the environmental score threshold, it indicates that environmental factors have a significant impact on communication quality. At this time, the weight of the target indicator can be dynamically determined based on the environmental factors. Since the weight of the target indicator is adapted to the environment, the first communication quality score can be ensured to be relatively accurate, thereby ensuring that the second communication quality score (predicted communication quality score) obtained based on the first communication quality score is relatively accurate. Finally, when the second communication quality score is less than the communication quality threshold, the communication mode of the terminal can be switched to satellite communication mode in a timely manner, achieving a better communication mode switching effect. This solves the problem that the methods for evaluating the communication quality of the terminal in related technologies are often inaccurate, resulting in poor communication mode switching effects.

[0035] In some embodiments of this application, step 120, which involves determining the environmental score of the environment in which the terminal is located based on the temperature, humidity, and air pressure of the environment in which the terminal is located, includes: Based on the temperature, humidity, and air pressure of the environment in which the terminal is located, the environmental score of the environment is determined using the following formula:

[0036] in, This is a function used to evaluate environmental scores. The value is the environmental score, where H represents humidity and P represents air pressure. For temperature, is the temperature adjustment coefficient, used to control the adjustment range of the intensity of temperature's impact on the overall environment; exp is an exponential function.

[0037] In some embodiments of this application, determining the weight of the target indicator in step 130 includes: Obtain the wind speed, transmission delay weight adjustment ratio factor, and packet loss rate weight adjustment ratio factor of the environment in which the terminal is located; The weight of the transmission delay is determined based on the wind speed, humidity, air pressure of the environment in which the terminal is located, and the proportional factor for adjusting the transmission delay weight. The weight of the packet loss rate is determined based on the wind speed, humidity, air pressure of the environment in which the terminal is located, and the proportional factor for adjusting the packet loss rate weight.

[0038] In this embodiment of the application, the weight of the transmission delay is determined based on the wind speed, humidity, air pressure, and the proportional factor for adjusting the transmission delay weight in the environment where the terminal is located. This includes determining the weight of the transmission delay using the following formula, based on the wind speed, humidity, air pressure, and the proportional factor for adjusting the transmission delay weight in the environment where the terminal is located: ; The weight of the packet loss rate is determined based on the wind speed, humidity, air pressure, and the proportional factor for adjusting the packet loss rate in the environment where the terminal is located. This includes determining the weight of the packet loss rate using the following formula: , in, As a weight for transmission delay, The weight of packet loss rate, where H is humidity. Where W is air pressure and W is wind speed. This is a proportional factor used to adjust the packet loss rate weights. F is the proportional factor for adjusting the transmission delay weight, and F is the environmental score threshold.

[0039] In some embodiments of this application, the target metrics further include frame byte count, error probability, and operating costs. Step 140, which determines the first communication quality score based on the transmission delay, the weight of the transmission delay, the packet loss rate, and the weight of the packet loss rate, includes: A first communication quality score is calculated based on the number of frame bytes, the error probability, the operating cost, the transmission delay, the packet loss rate, the weight of the number of frame bytes, the weight of the error probability, the weight of the operating cost, the weight of the transmission delay, and the weight of the packet loss rate.

[0040] In some embodiments of this application, calculating the first communication quality score based on the number of frame bytes, the error probability, the operating cost, the transmission delay, the packet loss rate, the weight of the number of frame bytes, the weight of the error probability, the weight of the operating cost, the weight of the transmission delay, and the weight of the packet loss rate may include: Based on the number of frame bytes, the error probability, the operating cost, the transmission delay, the packet loss rate, the weight of the number of frame bytes, the weight of the error probability, the weight of the operating cost, the weight of the transmission delay, and the weight of the packet loss rate, the first communication quality score is calculated using the following formula:

[0041] Where Q is the first communication quality score. Weighted by frame byte count. As a weight for transmission delay, The weight of packet loss rate Error probability weights Operating expenses weighting, and + + + + =1; F is the number of bytes per frame, D is the transmission delay, L is the packet loss rate, E is the error probability, and C is the operating cost; This is an adjustment factor for operating expenses.

[0042] In some embodiments of this application, step 150, determining the second communication quality score based on the first communication quality score, includes: Based on the first communication quality score, the second communication quality score is determined using the following formula:

[0043] in, Indicates the distance from the current time point No. The second communication quality score at a future point in time. The distance from the current time point The +1 historical time point communication quality score weight, The distance from the current time point The +1 weighted composite feature value from historical time points, For constant terms, For at a certain point in time The comprehensive characteristic quantity at the location, This represents the average of the comprehensive characteristic quantities within the historical time window. For at a certain point in time The first communication quality score at the location, Here, is the traversal index of historical comprehensive features within the historical time window, and is the index of the prediction time point. The length of the historical time window. The length of the future time window. This refers to the current time.

[0044] Figure 2 This is a flowchart of the communication mode switching method provided in an embodiment of this application. (Refer to...) Figure 2 The communication mode switching method provided in this application embodiment may include: Step 210: Obtain the temperature, humidity, air pressure, and wind speed of the environment in which the terminal is located.

[0045] Step 220: Determine the environmental score of the environment in which the terminal is located based on the temperature, humidity and air pressure of the environment in which the terminal is located.

[0046] In step 220, after obtaining the environmental information of the terminal's environment, an environmental score for the terminal's environment can be determined based on the obtained environmental information. Specifically, in this embodiment, the environmental score of the terminal's environment can be calculated by constructing a function formula.

[0047] Step 230: If the environment score of the environment where the terminal is located is greater than the environment score threshold, obtain the target indicators, which include transmission latency and packet loss rate. Step 240: Determine the weight of the transmission delay based on the wind speed, humidity, air pressure, and the proportional factor for adjusting the transmission delay weight in the environment where the terminal is located; determine the weight of the packet loss rate based on the wind speed, humidity, air pressure, and the proportional factor for adjusting the packet loss rate weight in the environment where the terminal is located.

[0048] In this embodiment of the application, the target metric may include, in addition to transmission latency and packet loss rate, at least one of frame byte count, error probability, and operating cost. The error probability can be the probability of a calculated result, such as the probability of calculating transmission latency or the probability of calculating packet loss rate.

[0049] Step 250: Determine a first communication quality score based on the transmission delay, the weight of the transmission delay, the packet loss rate, and the weight of the packet loss rate.

[0050] In one embodiment of this application, the target metrics further include frame byte count, error probability, and operating cost. Step 250, which determines the first communication quality score based on the transmission delay, the weight of the transmission delay, the packet loss rate, and the weight of the packet loss rate, includes: calculating the first communication quality score based on the frame byte count, the error probability, the operating cost, the transmission delay, the packet loss rate, the weight of the frame byte count, the weight of the error probability, the weight of the operating cost, the weight of the transmission delay, and the weight of the packet loss rate.

[0051] Step 260: Based on the first communication quality score, determine the second communication quality score, where the second communication quality score is the predicted communication quality score; Step 270: If the second communication quality score is less than the communication quality threshold, switch the communication mode of the terminal to satellite communication mode.

[0052] The communication mode switching method provided in this application fully considers the environment in which the terminal is located and obtains an environment score. When the environment score of the terminal's environment is greater than the environment score threshold, it indicates that environmental factors have a significant impact on communication quality. At this time, the weight of the target indicator can be dynamically determined based on the environmental factors. Since the weight of the target indicator is adapted to the environment, the first communication quality score obtained can be guaranteed to be relatively accurate, thereby ensuring that the second communication quality score (predicted communication quality score) obtained based on the first communication quality score is relatively accurate. Finally, when the second communication quality score is less than the communication quality threshold, the communication mode of the terminal can be switched to satellite communication mode in a timely manner, achieving a better communication mode switching effect. This solves the problem that the methods for evaluating the communication quality of the terminal in related technologies are often inaccurate, resulting in poor communication mode switching effects.

[0053] Figure 3 This is a flowchart of the communication mode switching method provided in the embodiments of this application. The following is in conjunction with... Figure 3 The communication mode switching method provided in the embodiments of this application will be further explained. Figure 3The communication mode switching method comprises six steps, from steps 310 to 360, each of which is explained in detail below. Specifically, step 320 addresses the accuracy of communication quality assessment due to environmental changes through multi-dimensional environmental data fusion and real-time data calibration techniques; step 330 addresses the dynamic assessment of satellite communication quality for commercial terminals through dynamic weight adjustment and multi-factor comprehensive evaluation techniques; step 340 addresses satellite communication quality trend prediction and mode switching decisions through a machine learning model combining a long short-term memory network and a prediction function G; step 350 addresses the real-time performance and reliability of communication quality assessment results through user feedback mechanisms and continuous monitoring techniques; and step 360 addresses the commercial terminal satellite communication quality trend prediction and mode switching decisions through machine learning and prediction function techniques. (Refer to...) Figure 3 The communication mode switching method provided in this application embodiment may include: Step 310: Collect relevant parameters of the communication module quality and environmental data within the terminal and perform preliminary processing.

[0054] Step 310 may include the following: Start the terminal, initialize the communication modules, including the BeiDou positioning and communication module and the satellite communication module, and configure the collection indicators of communication quality parameters, including frame byte count, transmission latency, packet loss rate, error probability and operating cost; The environmental sensing module, including temperature, humidity and air pressure sensors, is activated to collect environmental data, including temperature, wind speed, humidity and air pressure readings, and uploads this data to the terminal's internal processor in real time. The processor performs preliminary processing on the collected communication quality parameters and environmental data, including at least one of noise removal, missing value filling, and standardization.

[0055] In one embodiment, the processor removes noise, fills in missing values, and standardizes the collected communication quality parameters and environmental data. The processor then fuses the standardized data and combines it with the communication quality parameters to form a dataset, which is then uploaded to a memory buffer.

[0056] Step 320: Construct a communication quality assessment model, analyze the impact of the current environment on communication quality, adjust the weights of the assessment parameters, and update the communication quality assessment model.

[0057] Step 320 may include the following: the processor reads the pre-processed dataset from the memory buffer, including standardized communication quality parameters and fused environmental data; a communication quality assessment model is constructed based on temperature, humidity and air pressure, and the impact of the current environment on communication quality is analyzed through the composite function f(H,P,R).

[0058] The expression for the composite function can be:

[0059] Where H represents humidity and P represents air pressure. For temperature, This is the temperature modulation coefficient, used to control the adjustment range of the intensity of temperature's impact on the overall environment; exp is an exponential function used to evaluate the quality of communication in a specific environment; The advantages of this solution compared to existing technologies are as follows: ① Accuracy: Compared to the traditional method with fixed weights, the method of dynamically adjusting weights can more accurately reflect the impact of environmental changes on communication quality. ② Adaptability: The model can automatically adjust with changes in the environment, improving the system's flexibility and response speed. ③ Reliability: Through continuous data collection and model updates, the consistency and validity of the evaluation results are ensured. Set an environmental score threshold F to determine the impact of current environmental humidity H and air pressure P on communication quality, and compare it with the environmental score threshold F. When... The current environment causes significant interference to signal production, so the weights for packet loss rate and transmission delay are increased. The formula for weight adjustment is as follows: , , Where H represents humidity. Where F is air pressure, F is the environmental score threshold, and W is wind speed. This is a proportional factor for adjusting the package rate weight. The scaling factor for adjusting transmission delay weights. The weight of packet loss rate Weights for transmission delay; Using the adjusted weights and The weights of packet loss rate and transmission delay in the communication quality assessment model are updated to obtain the updated communication quality assessment model.

[0060] Calculating the weights of packet loss rate and transmission delay using the above method achieves the following effects: First, higher accuracy: Because the weight adjustment formula includes multiple environmental variables and uses nonlinear functions (such as logarithmic, exponential, sine, and cosine functions), it can more accurately reflect the impact of the actual environment on communication quality. Second, stronger adaptability: Dynamically adjusting the weights allows the system to quickly adapt to environmental changes, maintaining high accuracy in communication quality assessment even under complex and volatile conditions. Third, finer control: The introduction of scaling factors α and β allows system administrators to adjust the importance of packet loss rate and transmission delay according to actual conditions, thereby achieving a better balance. Step 330: Use the updated communication quality assessment model to assess the current communication quality and calculate the communication quality score; The processor inputs the standardized communication quality parameters into the updated evaluation model, and the formula for calculating the communication quality score is as follows: ; in, Weighted by frame byte count. Error probability weights Operating cost weighting, where F is the number of frames in bytes, D is the transmission latency, L is the packet loss rate, E is the error probability, and C is the operating cost. This is an adjustment factor for operating expenses.

[0061] Step 340: Build a machine learning model to predict the trend of communication quality in the future and make a switching decision based on the communication quality score.

[0062] Based on the communication quality score calculated by the communication quality assessment model, a machine learning model is constructed. The read data undergoes feature engineering. Based on the extracted features, a long short-term memory network is used to build the machine learning model. A complex prediction function G is introduced. The formula for predicting the communication quality score over a future period using the prediction function G is as follows:

[0063] in, Indicates the distance from the current time point No. Predicted communication quality score for each future time point The distance from the current time point The +1 historical time point communication quality score weight, The distance from the current time point The +1 weighted composite feature value from historical time points, For constant terms, For at a certain point in time The comprehensive characteristic quantity at the location, This represents the average of the comprehensive characteristic quantities within the historical time window. For at a certain point in time The communication quality score at the location, Here, is the traversal index of historical comprehensive features within the historical time window, and is the index of the prediction time point. The length of the historical time window. The length of the future time window. This refers to the current time point; In calculating the predicted communication quality score First, select the current time point. The previous length was The historical time window to traverse variables Process each historical time point within the historical time window; in the numerator, divide the historical time points... Communication quality score at the location Multiply by the corresponding communication quality score weight Then, the historical time points Comprehensive characteristic quantity at the location Multiply by the corresponding comprehensive feature weight The weighted results are summed over the entire historical window; in the denominator, variables are iterated over. The comprehensive characteristic quantity within the historical time window is processed by calculating the square of the difference between the comprehensive characteristic quantity and the historical average comprehensive characteristic quantity, summing the results, and then taking the square root to reflect the degree of fluctuation of the historical comprehensive characteristic quantity. This is then compared with a constant term. The sums form a normalization factor; the predicted time point is obtained by dividing the weighted cumulative contribution of the numerator by the stability normalization factor in the denominator. Predicted communication quality score .

[0064] For example, suppose the current time is =100, select the historical time window length. =5 and prediction time window length =3, at this point in time =(100,99,98,97,96) sequentially obtains 5 communication quality scores. 100, 99, 98, 97, 96) and simultaneously acquire 5 comprehensive feature quantities 100, 99, 98 97 96, and the predicted communication quality score for the (1,2,3)th predicted time point is calculated using the corresponding weights in the formula. (101), (102), (103)) to infer the trend of communication quality changes in the future and to serve as the basis for communication mode switching decisions.

[0065] The comprehensive feature is a single scalar feature formed by denoising, standardizing and feature fusion processing of communication quality parameters and environmental data collected at the same time point.

[0066] To calculate For example, (101) assumes that the communication quality scores and comprehensive feature quantities at the five historical time points are respectively 100 = 75 99 = 80 98 = 78 97 = 70 96 = 72 100 = 0.50 99 = 0.60 98 = 0.55 97 = 0.52 96 = 0.58, weights and constants are =0.30, =0.25, =0.20, =0.15, =0.10, =0.20, =0.20, =0.20, =0.20, =0.20, c=1.0, the formula is, = =0.55 ; =

[0067] =

[0068] =70.53 The prediction function G primarily addresses the following technical issues: First, the utilization of historical data: By considering historical data from multiple time points, the prediction function can capture the trend of communication quality changes over time, thereby more accurately predicting future communication quality scores. Second, the prediction function incorporates weights, allowing for weighted calculation of communication quality scores and historical data at different time points, adjusting the contribution of different data points according to the importance of the actual communication environment.

[0069] Subsequently, switching decisions can be made based on communication quality scores, and standard communication quality thresholds can be set. and fluctuation judgment threshold When there is at least one prediction time point within the prediction time window Communication quality score Below the standard communication quality threshold And the predicted communication quality score is relative to the mean. The fluctuation intensity exceeds the fluctuation determination threshold. If it is determined that the future communication quality is insufficient and unstable, a communication mode switch will be triggered, and the decision variable for the switch will be changed. Set to 1; otherwise, determine that the current communication mode can still meet the communication needs within the prediction time window, and switch the decision variable. Set to 0 for ; in, This represents the average of historical communication quality scores. For switching decisions; The threshold for determining fluctuations. The standard communication quality threshold, Indicates the future number Each time step Communication quality score, where T is the length of the time window.

[0070] It should be understood that, in some embodiments, it is also possible to only... In this case, a communication mode switch is triggered, switching the terminal to satellite communication mode.

[0071] Step 350: Based on the switching decision, control the communication module to perform mode switching.

[0072] when =1, the processor selects the satellite communication mode according to the current application scenario and uses it as the new communication mode; it sends a notification to the user equipment to inform the user that the communication mode is about to be switched. If the user confirms, the switching operation continues; if the user does not confirm, the switching is temporarily suspended and the need for switching is reassessed. When the user confirms the switch, the processor performs the switch operation. The processor first suspends data transmission in the current communication mode, activates the new communication mode, and monitors the communication quality.

[0073] Step 360: Continuously monitor the communication quality under the new communication mode, evaluate the communication quality after the switch, and provide feedback on the evaluation results to the user.

[0074] The updated evaluation model is used to evaluate the communication quality after the switch. The processor inputs the communication parameters after the switch into the evaluation model, and the model calculates a new communication quality score based on the adjusted weights. The calculated communication quality score is stored, and the evaluation results are fed back to the user.

[0075] During the evaluation process, after the communication module switches to a new mode, it continues to collect communication quality parameters. The newly collected data is preprocessed, including noise reduction, missing value filling, and standardization. The processed data is then fused with the communication quality parameters to form a new dataset. Using the updated communication quality evaluation model, the switched communication parameters are input into the model, and the calculated communication quality score is stored for subsequent analysis or historical query.

[0076] Actual scene effect description Suppose we are in a remote mountainous area where, due to the complex terrain, conventional terrestrial base stations struggle to provide stable service. In this situation, the system detects that the communication quality score in the current environment is below a preset threshold T and decides to switch from terrestrial base station mode to satellite communication mode. After the switch is complete, the system continuously monitors various parameters under the new communication mode.

[0077] Monitoring data: In the next half hour, the system recorded data such as an average packet loss rate of 2%, an average transmission latency of 100ms, and a frame byte count of 1000B.

[0078] Data processing: The processed data shows no obvious noise or outliers.

[0079] Evaluation result: Using the updated evaluation model, a new communication quality score of 75 (out of 100) was calculated based on the adjusted weights.

[0080] User feedback: Users received a notification via the app on their mobile devices: "Your communication has been switched to satellite mode, and the current communication quality is good."

[0081] The communication mode switching method provided in this application improves the accuracy and adaptability of the evaluation by analyzing the impact of the current environment on communication quality and dynamically adjusting the weights of the evaluation parameters. This addresses the problem that traditional communication quality evaluation methods, which are typically based on fixed weights, cannot effectively adapt to communication quality fluctuations caused by environmental changes. Furthermore, this application proposes a machine learning model based on a long short-term memory network and designs a complex prediction function to predict communication quality trends over a future period based on historical communication quality scores. This solves the problem that in dynamic environments, communication quality is affected by multiple factors, and traditional prediction methods struggle to accurately grasp future trends. By introducing a long short-term memory network and a prediction function, the long-term dependencies in communication quality can be captured.

[0082] Compared with related technologies, the communication mode switching method provided in this application has the following technical advantages: First, by collecting environmental data and using composite functions to analyze the impact of the current environment on communication quality, the weights of evaluation parameters are dynamically adjusted to make the evaluation model more closely reflect the changes in the actual communication environment, thereby improving the accuracy and reliability of the evaluation; Second, the updated communication quality evaluation model is used to evaluate the current communication quality and calculate the communication quality score. Initial evaluation parameters are used, and a penalty term is introduced to reflect the abnormal situation of specific parameters, making the evaluation results more comprehensive and accurate; Third, the communication quality trend in the future period is predicted based on the communication quality score, and a switching decision is made based on the prediction results. The trend of the communication quality score is evaluated by the prediction function G, and the need to switch the communication mode is determined according to the threshold. This can identify the risk of communication quality degradation in advance and take corresponding switching measures to ensure the stability of communication quality; Fourth, the communication quality under the new communication mode is continuously monitored, and the communication quality after switching is evaluated. The evaluation results are fed back to the user. By monitoring the communication quality in real time and adjusting the strategy when necessary, the stability of communication quality and user experience are ensured.

[0083] Figure 4 This is a structural block diagram of the device pre-configuration apparatus provided in an embodiment of this application. (Refer to...) Figure 4 This application provides a communication mode switching device 400, including: an acquisition module 410, a determination module 420 and a switching module 430.

[0084] Among them, the acquisition module 410 is used to acquire the temperature, humidity and air pressure of the environment where the terminal is located; The determination module 420 is configured to determine an environment score for the environment in which the terminal is located based on the temperature, humidity, and air pressure of the environment in which the terminal is located; if the environment score of the environment in which the terminal is located is greater than an environment score threshold, determine a target indicator and a weight for the target indicator, wherein the target indicator includes transmission latency and packet loss rate; determine a first communication quality score based on the transmission latency, the weight of the transmission latency, the packet loss rate, and the weight of the packet loss rate; and determine a second communication quality score based on the first communication quality score, wherein the second communication quality score is a predicted communication quality score. The switching module 430 is used to switch the communication mode of the terminal to satellite communication mode when the second communication quality score is less than the communication quality threshold.

[0085] The communication mode switching device provided in this application fully considers the environment in which the terminal is located and obtains an environment score. When the environment score of the terminal's environment is greater than the environment score threshold, it indicates that environmental factors have a significant impact on communication quality. At this time, the weight of the target indicator can be dynamically determined based on the environmental factors. Since the weight of the target indicator is adapted to the environment, the first communication quality score obtained can be guaranteed to be relatively accurate, thereby ensuring that the second communication quality score (predicted communication quality score) obtained based on the first communication quality score is relatively accurate. Finally, when the second communication quality score is less than the communication quality threshold, the communication mode of the terminal can be switched to satellite communication mode in a timely manner, achieving a better communication mode switching effect. This solves the problem that the methods for evaluating the communication quality of the terminal in related technologies are often inaccurate, resulting in poor communication mode switching effects.

[0086] In some embodiments of this application, in the process of determining the environmental score of the environment where the terminal is located based on the temperature, humidity, and air pressure of the environment where the terminal is located, the determining module 420 is specifically used to: determine the environmental score of the environment where the terminal is located based on the temperature, humidity, and air pressure of the environment where the terminal is located using the following formula:

[0087] in, This is a function used to evaluate environmental scores. The value is the environmental score, where H represents humidity and P represents air pressure. For temperature, is the temperature adjustment coefficient, used to control the adjustment range of the intensity of temperature's impact on the overall environment; exp is an exponential function.

[0088] In some embodiments of this application, during the process of determining the weight of the target indicator, the determining module 420 is specifically used to: obtain the wind speed, transmission delay weight adjustment ratio factor, and packet loss rate weight adjustment ratio factor of the environment where the terminal is located; determine the weight of the transmission delay based on the wind speed, humidity, air pressure, and transmission delay weight adjustment ratio factor of the environment where the terminal is located; and determine the weight of the packet loss rate based on the wind speed, humidity, air pressure, and packet loss rate weight adjustment ratio factor of the environment where the terminal is located.

[0089] In some embodiments of this application, in determining the weight of the transmission delay based on the wind speed, humidity, air pressure, and the proportional factor for adjusting the transmission delay weight in the environment where the terminal is located, the determining module 420 is specifically used to: determine the weight of the transmission delay based on the wind speed, humidity, air pressure, and the proportional factor for adjusting the transmission delay weight in the environment where the terminal is located, using the following formula: ; The weight of the packet loss rate is determined based on the wind speed, humidity, air pressure, and the proportional factor for adjusting the packet loss rate in the environment where the terminal is located. This includes determining the weight of the packet loss rate using the following formula: , in, As a weight for transmission delay, The weight of packet loss rate, where H is humidity. Where W is air pressure and W is wind speed. This is a proportional factor used to adjust the packet loss rate weights. F is the proportional factor for adjusting the transmission delay weight, and F is the environmental score threshold.

[0090] In some embodiments of this application, the target metrics further include frame byte count, error probability, and operating costs. In determining the first communication quality score based on the transmission delay, the weight of the transmission delay, the packet loss rate, and the weight of the packet loss rate, the determining module 420 is specifically used for: A first communication quality score is calculated based on the number of frame bytes, the error probability, the operating cost, the transmission delay, the packet loss rate, the weight of the number of frame bytes, the weight of the error probability, the weight of the operating cost, the weight of the transmission delay, and the weight of the packet loss rate.

[0091] In some embodiments of this application, during the calculation of the first communication quality score based on the frame byte count, the error probability, the operating cost, the transmission delay, the packet loss rate, the weight of the frame byte count, the weight of the error probability, the weight of the operating cost, the weight of the transmission delay, and the weight of the packet loss rate, the determining module 420 is specifically used for: Based on the number of frame bytes, the error probability, the operating cost, the transmission delay, the packet loss rate, the weight of the number of frame bytes, the weight of the error probability, the weight of the operating cost, the weight of the transmission delay, and the weight of the packet loss rate, the first communication quality score is calculated using the following formula:

[0092] Where Q is the first communication quality score. Weighted by frame byte count. As a weight for transmission delay, The weight of packet loss rate Error probability weights Operating expenses weighting, and + + + + =1; F is the number of bytes per frame, D is the transmission delay, L is the packet loss rate, E is the error probability, and C is the operating cost; This is an adjustment factor for operating expenses.

[0093] In some embodiments of this application, during the process of determining a second communication quality score based on the first communication quality score, the determining module 420 is specifically used for: Based on the first communication quality score, the second communication quality score is determined using the following formula:

[0094] in, Indicates the distance from the current time point No. The second communication quality score at a future point in time. The distance from the current time point The +1 historical time point communication quality score weight, The distance from the current time point The +1 weighted composite feature value from historical time points, For constant terms, For at a certain point in time The comprehensive characteristic quantity at the location, This represents the average of the comprehensive characteristic quantities within the historical time window. For at a certain point in time The first communication quality score at the location, Here, is the traversal index of historical comprehensive features within the historical time window, and is the index of the prediction time point. The length of the historical time window. The length of the future time window. This refers to the current time.

[0095] Figure 5 This is a structural block diagram of an electronic device provided in an embodiment of this application. (Refer to...) Figure 5This application provides an electronic device 500 that may include a processor 510 and a memory 520. The memory 520 stores programs or instructions that run on the processor 510. When the program or instructions are executed by the processor, they implement the steps of the communication mode switching method provided in any of the above embodiments. For example, when the program is executed by the processor 510, it implements the following process: acquiring the temperature, humidity, and air pressure of the environment where the terminal is located; determining an environmental score for the environment where the terminal is located based on the temperature, humidity, and air pressure; if the environmental score of the environment where the terminal is located is greater than an environmental score threshold, determining a target indicator and its weight, the target indicator including transmission delay and packet loss rate; determining a first communication quality score based on the transmission delay, its weight, the packet loss rate, and its weight; determining a second communication quality score based on the first communication quality score, the second communication quality score being a predicted communication quality score; and switching the communication mode of the terminal to satellite communication mode if the second communication quality score is less than a communication quality threshold. Thus, by fully considering the environment in which the terminal is located, an environmental score is obtained. When the environmental score of the terminal's environment is greater than the environmental score threshold, it indicates that environmental factors have a significant impact on communication quality. At this time, the weight of the target indicator can be dynamically determined based on the environmental factors. Since the weight of the target indicator is adapted to the environment, the first communication quality score can be ensured to be relatively accurate, thereby ensuring that the second communication quality score (predicted communication quality score) obtained based on the first communication quality score is relatively accurate. Finally, when the second communication quality score is less than the communication quality threshold, the communication mode of the terminal can be switched to satellite communication mode in a timely manner, achieving a better communication mode switching effect. This solves the problem that the methods for evaluating the communication quality of the terminal in related technologies are often inaccurate, resulting in poor communication mode switching effects.

[0096] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the steps of the communication mode switching method provided in any of the above embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0097] The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0098] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the communication mode switching method provided in any of the above embodiments, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0099] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0100] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0101] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A communication mode switching method, characterized in that, include: Obtain the temperature, humidity, and air pressure of the environment in which the terminal is located; Based on the temperature, humidity, and air pressure of the environment in which the terminal is located, an environmental score is determined for the environment in which the terminal is located. If the environment score of the environment where the terminal is located is greater than the environment score threshold, the target indicators and the weights of the target indicators are determined. The target indicators include transmission latency and packet loss rate. A first communication quality score is determined based on the transmission delay, the weight of the transmission delay, the packet loss rate, and the weight of the packet loss rate. Based on the first communication quality score, a second communication quality score is determined, and the second communication quality score is the predicted communication quality score; If the second communication quality score is less than the communication quality threshold, the communication mode of the terminal will be switched to satellite communication mode.

2. The method according to claim 1, characterized in that, The determination of the environmental score of the environment in which the terminal is located, based on the temperature, humidity, and air pressure of the environment in which the terminal is located, includes: Based on the temperature, humidity, and air pressure of the environment in which the terminal is located, the environmental score of the environment is determined using the following formula: in, This is a function used to evaluate environmental scores. The value is the environmental score, where H represents humidity and P represents air pressure. For temperature, is the temperature adjustment coefficient, used to control the adjustment range of the intensity of temperature's impact on the overall environment; exp is an exponential function.

3. The method according to claim 1, characterized in that, Determining the weights of the target indicators includes: Obtain the wind speed, transmission delay weight adjustment ratio factor, and packet loss rate weight adjustment ratio factor of the environment in which the terminal is located; The weight of the transmission delay is determined based on the wind speed, humidity, air pressure of the environment in which the terminal is located, and the proportional factor for adjusting the transmission delay weight. The weight of the packet loss rate is determined based on the wind speed, humidity, air pressure of the environment in which the terminal is located, and the proportional factor for adjusting the packet loss rate weight.

4. The method according to claim 3, characterized in that, The weight of the transmission delay is determined based on the wind speed, humidity, air pressure, and the proportional factor for adjusting the transmission delay weight in the environment where the terminal is located. This includes determining the weight of the transmission delay using the following formula: ; The weight of the packet loss rate is determined based on the wind speed, humidity, air pressure, and the proportional factor for adjusting the packet loss rate in the environment where the terminal is located. This includes determining the weight of the packet loss rate using the following formula: , in, As a weight for transmission delay, The weight of packet loss rate, where H is humidity. Where W is air pressure and W is wind speed. This is a proportional factor used to adjust the packet loss rate weights. F is the scaling factor for adjusting the transmission delay weight, and F is the environmental score threshold.

5. The method according to claim 1, characterized in that, The target metrics also include frame byte count, error probability, and operating costs; determining the first communication quality score based on the transmission delay, the weight of the transmission delay, the packet loss rate, and the weight of the packet loss rate includes: A first communication quality score is calculated based on the number of frame bytes, the error probability, the operating cost, the transmission delay, the packet loss rate, the weight of the number of frame bytes, the weight of the error probability, the weight of the operating cost, the weight of the transmission delay, and the weight of the packet loss rate.

6. The method according to claim 5, characterized in that, The calculation of the first communication quality score based on the frame byte count, the error probability, the operating cost, the transmission delay, the packet loss rate, the weight of the frame byte count, the weight of the error probability, the weight of the operating cost, the weight of the transmission delay, and the weight of the packet loss rate includes: Based on the number of frame bytes, the error probability, the operating cost, the transmission delay, the packet loss rate, the weight of the number of frame bytes, the weight of the error probability, the weight of the operating cost, the weight of the transmission delay, and the weight of the packet loss rate, the first communication quality score is calculated using the following formula: Where Q is the first communication quality score. Weighted by frame byte count. As a weight for transmission delay, The weight of packet loss rate Error probability weights Operating expenses weighting, and + + + + =1; F is the number of bytes per frame, D is the transmission delay, L is the packet loss rate, E is the error probability, and C is the operating cost; This is an adjustment factor for operating expenses.

7. The method according to claim 1, characterized in that, Determining the second communication quality score based on the first communication quality score includes: Based on the first communication quality score, the second communication quality score is determined using the following formula: in, Indicates the distance from the current time point No. The second communication quality score at a future point in time. The distance from the current time point The +1 historical time point communication quality score weight, The distance from the current time point The +1 weighted composite feature value from historical time points, For constant terms, For at a certain point in time The comprehensive characteristic quantity at the location, This represents the average of the comprehensive characteristic quantities within the historical time window. For at a certain point in time The first communication quality score at the location, Here, is the traversal index of historical comprehensive features within the historical time window, and is the index of the prediction time point. The length of the historical time window. The length of the future time window. This refers to the current time.

8. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that run on the processor, the program or instructions which, when executed by the processor, implement the steps of the method as described in any one of claims 1-7.

9. A storage medium, characterized in that, The medium stores a program or instructions that, when executed, implement the steps of the method as described in any one of claims 1-7.

10. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method described in any one of claims 1 to 7.