Search

CN-122028131-A - Communication mode switching method, electronic device and storage medium

CN122028131ACN 122028131 ACN122028131 ACN 122028131ACN-122028131-A

Abstract

A communication mode switching method, electronic equipment and storage medium are disclosed, belonging to the communication field. The method comprises the steps of obtaining the temperature, the humidity and the air pressure of the environment where the terminal is located, determining the environment score of the environment where the terminal is located based on the temperature, the humidity and the air pressure of the environment where the terminal is located, determining a target index and the weight of the target index when the environment score of the environment where the terminal is located is larger than an environment score threshold value, determining a first communication quality score based on the transmission delay, the weight of 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, wherein the second communication quality score is a predicted communication quality score, and switching a communication mode of the terminal to a satellite communication mode when the second communication quality score is smaller than a communication quality threshold value. The application is used for switching the communication modes.

Inventors

  • LIU YANG
  • Lv wan
  • GAO AILI

Assignees

  • 中国移动通信集团北京有限公司
  • 中国移动通信集团有限公司

Dates

Publication Date
20260512
Application Date
20260126

Claims (10)

  1. 1. A communication mode switching method, comprising: Acquiring the temperature, humidity and air pressure of the environment where the terminal is located; Determining an environmental score of an environment in which the terminal is located based on a temperature, humidity and air pressure of the environment in which the terminal is located; Determining a target index and the weight of the target index under the condition that the environmental score of the environment where the terminal is located is larger than an environmental score threshold, wherein the target index comprises transmission delay and packet loss rate; Determining 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; 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 a satellite communication mode when the second communication quality score is smaller than a communication quality threshold.
  2. 2. The method of claim 1, wherein the determining an environmental 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 comprises; Based on the temperature, humidity and air pressure of the environment in which the terminal is located, determining an environment score of the environment in which the terminal is located through the following formula: Wherein, the As a function for evaluating the environmental score, The value of (2) is the environmental score, H is the humidity, P is the air pressure, In order to be able to determine the temperature, The temperature regulation coefficient is used for controlling the regulation amplitude of the influence intensity of the temperature on the whole environment, and exp is an exponential function.
  3. 3. The method of claim 1, wherein determining the weight of the target indicator comprises: acquiring the wind speed of the environment where the terminal is located, the transmission delay weight adjustment scale factor and the packet loss rate weight adjustment scale factor; Determining the weight of the transmission delay based on the wind speed of the environment where the terminal is located, the humidity, the air pressure and the scaling factor for adjusting the weight of the transmission delay; And determining the weight of the packet loss rate based on the wind speed of the environment where the terminal is located, the humidity, the air pressure and the scaling factor for adjusting the weight of the packet loss rate.
  4. 4. The method of claim 3, wherein the step of, Determining the weight of the transmission delay based on the wind speed, the humidity, the air pressure and the scale factor of the transmission delay weight adjustment of the environment where the terminal is located comprises determining the weight of the transmission delay based on the wind speed, the humidity, the air pressure and the scale factor of the transmission delay weight adjustment of the environment where the terminal is located by the following formula: ; the method comprises the steps of determining the weight of the packet loss rate based on the wind speed of the environment where the terminal is located, the humidity, the air pressure and the scaling factor adjusted by the weight of the packet loss rate, wherein the weight of the packet loss rate is determined by the following formula based on the wind speed of the environment where the terminal is located, the humidity, the air pressure and the scaling factor adjusted by the weight of the packet loss rate: , Wherein, the For the weight of the transmission delay, The weight of the packet loss rate, H is humidity, Is air pressure, W is wind speed, For the scaling factor of the packet loss ratio weight adjustment, And F is an environment score threshold value, which is a scaling factor for adjusting the transmission delay weight.
  5. 5. The method of claim 1, wherein the target indicator further comprises a frame byte count, an error probability, and an operating cost, wherein the determining 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 comprises: and calculating a first communication quality score based on the number of frame bytes, the error probability, the operation 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 operation cost, the weight of the transmission delay and the weight of the packet loss rate.
  6. 6. The method of claim 5, wherein the calculating a first communication quality score based on the number of frame bytes, the probability of error, the operating cost, the transmission delay, the packet loss rate, the weight of the number of frame bytes, the weight of the probability of error, the weight of the operating cost, the weight of the transmission delay, and the weight of the packet loss rate comprises: Calculating a first communication quality score based on the number of frame bytes, the error probability, the operation 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 operation cost, the weight of the transmission delay, and the weight of the packet loss rate by the following formula: where Q is a first communication quality score, For the number of bytes of the frame to weight, For the weight of the transmission delay, The weight of the packet loss rate, The weight of the probability of error is given, Operating cost weight, and + + + + = 1;F is the number of frame bytes, D is the transmission delay, L is the packet loss rate, E is the error probability, and C is the operating cost; Is an adjustment factor for the operating costs.
  7. 7. The method of claim 1, wherein the determining a second communication quality score based on the first communication quality score comprises: Based on the first communication quality score, a second communication quality score is determined by the following formula: Wherein, the Representing the distance from the current point in time First, the A second communication quality score for each future point in time, To be distant from the current time point Is the first of (2) A communication quality score weight of +1 historical time points, To be distant from the current time point Is the first of (2) +1 Integrated feature quantity weight for historical time points, Is a constant term which is used to determine the degree of freedom, To at the point of time The comprehensive characteristic quantity of the position, As an average of the integrated feature values over the historical time window, To at the point of time A first communication quality score at which, For the traversal index of the history integrated feature quantity in the history time window, i is the index of the prediction time point, For the length of the historical time window, For the length of the future time window, Is the current point in time.
  8. 8. An electronic device comprising a processor and a memory storing a program or instructions that, when executed by the processor, implement the steps of the method of any of claims 1-7.
  9. 9. A storage medium having stored thereon a program or instructions which when executed perform the steps of the method of any of claims 1-7.
  10. 10. A computer program product comprising a computer program which, when executed by a processor, implements the method of any one of claims 1 to 7.

Description

Communication mode switching method, electronic device and storage medium Technical Field The application belongs to the field of communication, and particularly relates to a communication mode switching method, electronic equipment and a storage medium. Background When the communication quality of the current communication mode of the terminal is poor and the communication requirement is difficult to meet, the communication mode of the terminal is often switched. In the related art, before the communication mode switching is performed, the communication quality of the terminal may be evaluated. However, the communication quality evaluation manner of the terminal in the related art tends to be low in accuracy, resulting in poor effect of communication mode switching. Disclosure of Invention The embodiment of the application provides a communication mode switching method, electronic equipment and a storage medium, which can solve the problem that the communication mode switching effect is poor due to low accuracy of a communication quality evaluation mode of a terminal in the related technology. In a first aspect, an embodiment of the present application provides a communication mode switching method, including: Acquiring the temperature, humidity and air pressure of the environment where the terminal is located; Determining an environmental score of an environment in which the terminal is located based on a temperature, humidity and air pressure of the environment in which the terminal is located; Determining a target index and the weight of the target index under the condition that the environmental score of the environment where the terminal is located is larger than an environmental score threshold, wherein the target index comprises transmission delay and packet loss rate; Determining 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; 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 a satellite communication mode when the second communication quality score is smaller than a communication quality threshold. In a second aspect, there is provided a communication mode switching apparatus including: The acquisition module is used for acquiring the temperature, the humidity and the air pressure of the environment where the terminal is positioned; The determining module is used for determining an environment score of the environment where the terminal is located based on the temperature, the humidity and the air pressure of the environment where the terminal is located; determining a target index and the weight of the target index under the condition that the environmental score of the environment where the terminal is located is larger than an environmental score threshold, wherein the target index comprises transmission delay and packet loss rate; determining 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; and the switching module is used for switching the communication mode of the terminal to the satellite communication mode under the condition that the second communication quality score is smaller than a communication quality threshold value. In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect. In a fourth aspect, embodiments of the present application provide a computer readable storage medium having stored thereon a program or instructions which when executed implement the steps of the method according to the first aspect. In a fifth aspect, embodiments of the present application provide a computer program product comprising a computer program which, when executed by a processor, implements the steps of the method according to the first aspect. The above at least one technical scheme provided by the embodiment of the application can achieve the following technical effects: In the embodiment of the application, the temperature, the humidity and the air pressure of the environment where the terminal is located are acquired, the environment score of the environment where the terminal is located is determined based on the temperature, the humidity and the air pressure of the environment where the terminal is located, a target index and the weight of the target index are determined under the condition that the environment score of the environment where the terminal is located is larger than an environment score threshold, the target index comprises tr