Intelligent switching method, device, medium and program product for vehicle-mounted communication link
Patent Information
- Application Number
- CN202511195827.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-26
- Publication Date
- 2026-10-30
- Estimated Expiration
- 2045-08-26
AI Technical Summary
然而,复杂的道路环境和多样化的通信干扰因素,使得通信链路的质量波动较大;同时,网络攻击手段的不断升级也对车载通信链路的安全构成了严重威胁
[0017]本公开实施例提供的车载通信链路的智能切换方法,向当前车辆的通信链路发送探测报文并根据响应获取第一综合评分,能够实时、准确地了解通信链路的实际运行状况。例如,可以检测出通信链路的延迟、丢包率等关键指标,不仅后续通信决策提供可靠的数据支持,还确保了评估的准确性,从而避免无效或者频繁的链路切换。基于第一综合评分将通信链路划分为风险通信链路集和安全通信链路集,能够快速、清晰地识别出哪些链路存在风险,哪些链路相对安全。当存在风险通信链路时,对安全通信链路的权重集进行优化并获取第二综合评分,第二综合评分能够充分考虑当前通信环境的动态变化,如不同时段的网络拥堵状况或者不同地区的信号干扰程度等,为从安全通信链路集中挑选备用通信链路提供更科学、合理的依据。从安全通信链路集中选择备用通信链路替代风险通信链路集中的风险通信链路进行通信,能够在发现风险通信链路时及时切换到备用通信链路,避免因风险通信链路的故障或安全问题导致通信中断,确保车载通信的连续性。
Smart Images

Figure CN121013106B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of network security technology, and in particular to a method, device, medium and program product for intelligent switching of vehicle communication links. Background Technology
[0002] In modern intelligent transportation systems, vehicle communication with the outside world has become increasingly frequent and crucial. As a key pathway for information exchange between vehicles, the vehicular communication link's communication quality and security directly impact the vehicle's operational status and the safety of its occupants. However, complex road environments and diverse communication interference factors lead to significant fluctuations in communication link quality; simultaneously, the continuous upgrading of network attack methods poses a serious threat to the security of vehicular communication links.
[0003] To ensure the stability and reliability of vehicle-mounted communication, backup communication links are usually prepared. However, traditional methods for selecting backup communication links are often simple and random, without fully considering the actual situation and performance indicators of the link. This approach may result in the backup communication link itself having certain risks, failing to effectively replace the risky communication link for communication, and thus failing to adequately solve the reliability problem in network communication. Summary of the Invention
[0004] In view of this, the present disclosure provides a method, device, medium and program product for intelligent switching of vehicle communication links, which can optimize the weight set of secure communication links to obtain a new first comprehensive score, and then select a backup communication link based on the second comprehensive score. This can effectively improve the stability and reliability of vehicle communication and avoid the potential risks brought about by traditional random selection methods.
[0005] In a first aspect, embodiments of this disclosure provide an intelligent handover method for vehicle communication links, employing the following technical solution: Send a probe message to the communication link of the current vehicle, and obtain the first comprehensive score of the communication link based on the communication link's response to the probe message; Based on the first comprehensive score, the communication links are divided into a risky communication link set and a secure communication link set; wherein, the risky communication link set contains at least one risky communication link, and the secure communication link set contains at least one secure communication link; When the risky communication link set is not empty, obtain the weight set of each secure communication link, optimize the weight set, and obtain a new weight set; Based on the new weight set, a second comprehensive score is obtained for each secure communication link; Based on the second comprehensive score, a backup communication link is selected from the set of secure communication links to replace the risky communication links in the set of risky communication links for communication.
[0006] Optionally, obtaining the first comprehensive score of the communication link based on the communication link's response to the probe message includes: Based on the communication link's response to the probe message, the average latency, packet loss rate, jitter, and current bandwidth of the communication link are obtained; Based on the average latency, packet loss rate, jitter, current bandwidth, threshold list, and weight list, a first comprehensive score for the communication link is obtained.
[0007] Optionally, obtaining the first comprehensive score of the communication link based on the average latency, the packet loss rate, the jitter, the current bandwidth, the threshold list, and the weight list includes: Obtain the type of communication link, and based on the type of communication link, obtain the quality assessment threshold parameter of the communication link from the threshold list; The application scenarios of the communication links are obtained, and the quality assessment weight parameters of the communication links are obtained from the weight list based on the application scenarios of the communication links. The first comprehensive score of the communication link is obtained based on the average latency, packet loss rate, jitter, current bandwidth, quality assessment threshold parameters, and quality assessment weight parameters of the communication link.
[0008] Optionally, the formula for calculating the first comprehensive score is: ; in, It received the highest overall score. Delay weighting; This is the average delay; This is the time delay threshold; Weighted by packet loss rate; Packet loss rate; For jitter weighting; For shaking; The jitter threshold; Bandwidth weight; Current bandwidth; Maximum bandwidth; The quality assessment threshold parameters include latency threshold, jitter threshold, and maximum bandwidth; the quality assessment weight parameters include latency weight, packet loss rate weight, jitter weight, and bandwidth weight.
[0009] Optionally, the weight set includes quality assessment weight parameters.
[0010] Optionally, optimizing the weight set to obtain a new weight set includes: Obtain the current vehicle's location coordinates, and determine target vehicles belonging to the same group as the current vehicle based on the location coordinates; Based on the type of each secure communication link, obtain at least one target type; In the target vehicle, obtain the historical first comprehensive score of the communication link belonging to the target type; Based on the aforementioned historical first comprehensive score, obtain the adjustment coefficient for each target type; A target type that matches the type of the secure communication link is determined, and the weight set of the secure communication link is optimized based on the adjustment coefficient of the matching target type to obtain a new weight set.
[0011] Optionally, obtaining the adjustment coefficient for each target type based on the historical first comprehensive score includes: Obtain the mean or standard deviation of the historical first comprehensive score for the communication link of each target type; Based on the mean or the standard deviation, obtain the adjustment coefficient for each target type.
[0012] Optionally, the step of selecting a backup communication link from the set of secure communication links to replace the risky communication links in the set of risky communication links based on the second comprehensive score includes: Based on the second comprehensive score of each secure communication link, sort the secure communication links from low to high to obtain the secure communication link sorting queue; Based on the first comprehensive score of each risk communication link, sort the risk communication links from high to low to obtain the risk communication link sorting queue. Starting from the head of the risk communication link sorting queue, traverse the queue and select a safe communication link at the same position from the safe communication link sorting queue as a backup communication link for each risk communication link. The backup communication link replaces the corresponding risky communication link for communication.
[0013] Secondly, this disclosure also provides an intelligent switching system for vehicle communication links, employing the following technical solution: The first comprehensive score acquisition module is used to send a probe message to the communication link of the current vehicle, and acquire the first comprehensive score of the communication link based on the communication link's response to the probe message. The communication link segmentation module is used to divide the communication links into a risky communication link set and a secure communication link set based on the first comprehensive score; wherein the risky communication link set contains at least one risky communication link, and the secure communication link set contains at least one secure communication link; The weight set optimization module is used to obtain the weight set of each secure communication link when the risky communication link set is not empty, optimize the weight set, and obtain a new weight set. The second comprehensive score acquisition module is used to acquire a second comprehensive score for each secure communication link based on the new weight set. The backup communication link selection module is used to select a backup communication link from the set of secure communication links to replace the risky communication links in the set of risky communication links based on the second comprehensive score.
[0014] Thirdly, this disclosure also provides a computer device, which adopts the following technical solution: The computer device includes: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to perform any of the above-described intelligent switching methods for vehicle communication links.
[0015] Fourthly, embodiments of this disclosure also provide a computer-readable storage medium storing computer instructions for causing a computer to execute any of the above-described intelligent switching methods for vehicle communication links.
[0016] Fifthly, embodiments of this disclosure also provide a computer program product, including a computer program / instructions that, when executed by a processor, implement the steps of any of the methods described above.
[0017] The intelligent switching method for vehicle communication links provided in this disclosure sends probe messages to the current vehicle's communication links and obtains a first comprehensive score based on the response, enabling real-time and accurate understanding of the actual operating status of the communication links. For example, it can detect key indicators such as latency and packet loss rate of the communication links, providing reliable data support for subsequent communication decisions and ensuring the accuracy of the assessment, thereby avoiding ineffective or frequent link switching. Based on the first comprehensive score, the communication links are divided into a risky communication link set and a safe communication link set, quickly and clearly identifying which links are risky and which are relatively safe. When a risky communication link exists, the weight set of the safe communication links is optimized and a second comprehensive score is obtained. This second comprehensive score fully considers the dynamic changes in the current communication environment, such as network congestion at different times or signal interference levels in different regions, providing a more scientific and reasonable basis for selecting backup communication links from the safe communication link set. Selecting a backup communication link from the safe communication link set to replace the risky communication links in the risky communication link set allows for timely switching to the backup communication link when a risky communication link is detected, avoiding communication interruptions due to faults or security issues of the risky communication link and ensuring the continuity of vehicle communication.
[0018] The above description is merely an overview of the technical solution disclosed herein. In order to better understand the technical means of this disclosure and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this disclosure more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0019] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 A flowchart illustrating the intelligent switching method for vehicle communication links provided in this embodiment of the disclosure; Figure 2 A flowchart illustrating the first comprehensive score acquisition method based on probe message response provided in this embodiment of the disclosure; Figure 3 A flowchart illustrating the first comprehensive score acquisition method based on type and application scenario provided in this embodiment of the disclosure; Figure 4 A flowchart illustrating the weight set optimization method provided in this embodiment of the disclosure; Figure 5A schematic diagram of the intelligent switching system for vehicle communication links provided in this embodiment of the present disclosure; Figure 6 This is a schematic diagram of the structure of a computer device provided in an embodiment of the present disclosure. Detailed Implementation
[0021] The embodiments of this disclosure will now be described in detail with reference to the accompanying drawings.
[0022] It should be understood that the following specific examples illustrate the implementation of this disclosure, and those skilled in the art can easily understand other advantages and effects of this disclosure from the content disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of this disclosure, and not all of them. This disclosure can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this disclosure. It should be noted that, in the absence of conflict, the following embodiments and features in the embodiments can be combined with each other. Based on the embodiments in this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0023] It should be noted that various aspects of embodiments within the scope of the appended claims are described below. It will be apparent that the aspects described herein can be embodied in a wide variety of forms, and any particular structure and / or function described herein is merely illustrative. Based on this disclosure, those skilled in the art will understand that one aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number of aspects set forth herein can be used to implement the device and / or practice the method. Additionally, this device and / or method can be implemented using structures and / or functionalities other than one or more of the aspects set forth herein.
[0024] It should also be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of this disclosure. The drawings only show the components related to this disclosure and are not drawn according to the number, shape and size of the components in actual implementation. In actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0025] Furthermore, specific details are provided in the following description to facilitate a thorough understanding of the examples. However, those skilled in the art will understand that the described aspects can be practiced without these specific details.
[0026] Reference Figure 1 This disclosure provides an intelligent switching method for vehicular communication links, comprising the following steps: S1: Send a probe message to the current vehicle's communication link, and obtain the first comprehensive score of the communication link based on the communication link's response to the probe message; S2: Based on the first comprehensive score, the communication links are divided into a risky communication link set and a secure communication link set; wherein, the risky communication link set contains at least one risky communication link, and the secure communication link set contains at least one secure communication link; S3: When the risky communication link set is not empty, obtain the weight set of each secure communication link, optimize the weight set, and obtain a new weight set; S4: Based on the new weight set, obtain the second comprehensive score for each secure communication link; S5: Based on the second comprehensive score, select a backup communication link from the set of secure communication links to replace the risky communication links in the set of risky communication links for communication.
[0027] This disclosure provides an intelligent switching method for vehicular communication links. It sends probe messages to the current vehicle's communication link and obtains a first comprehensive score based on the response, enabling real-time and accurate understanding of the actual operating status of the communication link. For example, it can detect key indicators such as communication link latency and packet loss rate, providing reliable data support for subsequent communication decisions and ensuring the accuracy of the assessment, thereby avoiding invalid or frequent link switching.
[0028] Based on the first comprehensive score, communication links are divided into a risky communication link set and a safe communication link set, which can quickly and clearly identify which links are risky and which links are relatively safe. When risky communication links exist, the weight set of safe communication links is optimized and a second comprehensive score is obtained. The second comprehensive score can fully consider the dynamic changes in the current communication environment, such as network congestion at different times or the degree of signal interference in different regions, providing a more scientific and reasonable basis for selecting backup communication links from the safe communication link set.
[0029] By selecting a backup communication link from the set of secure communication links to replace the risky communication links in the set of risky communication links, communication can be switched to the backup communication link in a timely manner when a risky communication link is detected, thus avoiding communication interruption due to failure or security issues of the risky communication link and ensuring the continuity of vehicle communication.
[0030] In S1, within the vehicular network environment, monitoring nodes or the Network Management System (NMS) send probe packets to the communication link at preset time intervals. The monitoring node can be a device deployed at critical network locations within the vehicle, such as a vehicle router or switch, or other network devices with corresponding functions. The Network Management System is a software platform used for centralized management and monitoring of the vehicular network. It can direct specific devices to send probe packets, typically ICMP or TCP packets, to detect the connectivity and performance status of the communication link.
[0031] Reference Figure 2 The flowchart illustrating the method for obtaining the first comprehensive score based on the probe message response is shown. "Obtaining the first comprehensive score of the communication link based on the communication link's response to the probe message" includes the following steps: S11: Based on the communication link's response to probe messages, obtain the average latency, packet loss rate, jitter, and current bandwidth of the communication link; S12: Obtain the first comprehensive score of the communication link based on average latency, packet loss rate, jitter, current bandwidth, threshold list, and weight list.
[0032] In S11, the communication link records whether it responds to the probe message and the response time. The time difference between sending the probe message and receiving the response is the round-trip time. Based on the sliding window algorithm, the average delay is calculated using the round-trip time. The formula for calculating the average delay is as follows: ;(Formula 1) In Formula 1, This is the average delay; The size of the sliding window, i.e., the nearest window used to calculate the average delay. The number of samples in each probe message; For the first Round-trip delay of the probe .
[0033] Optionally, if the round-trip delay exceeds 3 times the standard deviation, it is considered an outlier and should be removed.
[0034] Packet loss rate refers to the ratio of the number of probe packets sent to the number of probe packets lost within a preset time. The formula for calculating the packet loss rate is as follows: ;(Formula 2) In Formula 2, Packet loss rate; The number of probe packets lost within a preset time period; The number of probe messages to be sent within a preset time period, for example, 100.
[0035] Jitter refers to the variation in latency between two adjacent data packets, reflecting the stability of network latency. The formula for calculating jitter is as follows: ;(Formula 3) In Formula 3, For shaking.
[0036] By sending a series of probe messages of a specific size and interval, the current bandwidth of the communication link is estimated based on the time and number of these messages received. The current bandwidth is obtained by measuring the total number of bytes of probe messages successfully received within a specific time period and then dividing by that total time.
[0037] In S12, refer to Figure 3 The flowchart illustrating the method for obtaining the first comprehensive score based on type and application scenario, "Obtaining the first comprehensive score of the communication link based on average latency, packet loss rate, jitter, current bandwidth, threshold list, and weight list," includes the following steps: S121: Obtain the type of communication link, and based on the type of communication link, obtain the quality assessment threshold parameter of the communication link from the threshold list; S122: Obtain the application scenario of the communication link, and obtain the quality assessment weight parameters of the communication link from the weight list based on the application scenario of the communication link. S123: Based on the average latency, packet loss rate, jitter, current bandwidth, quality assessment threshold parameters, and quality assessment weight parameters of the communication link, obtain the first comprehensive score of the communication link.
[0038] In S121, the quality assessment threshold parameters include latency threshold, jitter threshold, and maximum bandwidth. Refer to the threshold list below, which shows the corresponding quality assessment threshold parameters for each type.
[0039] Threshold list Among them, 5G is the fifth generation of mobile communication technology, V2X (Vehicle-to-Everything) is vehicle-to-everything communication technology, WIFI is a wireless local area network (WLAN) technology, and satellite communication is a technology that communicates with ground stations or terminal equipment through satellites in Earth orbit.
[0040] In S122, the quality assessment weight parameters include latency weight, packet loss rate weight, jitter weight, and bandwidth weight. Latency weight reflects real-time priority and is normalized using a latency threshold to ensure that low-latency communication links receive higher scores in scenarios with high real-time requirements. Packet loss rate weight serves as a reliability penalty coefficient, calculated linearly to ensure that a higher packet loss rate corresponds to lower reliability and a lower score. Jitter weight, as a stability indicator, is normalized using a jitter threshold to ensure that low-jitter links receive higher scores in scenarios with high stability requirements. Bandwidth weight reflects throughput utilization and is calculated using the maximum bandwidth ratio to ensure that higher bandwidth utilization results in a higher link score. The following weight list illustrates the quality assessment weight parameters for each application scenario.
[0041] Weight list The application scenarios include emergency communication, entertainment streaming, high-reliability transmission, and redundancy backup. Emergency communication is a communication link application scenario used when a vehicle encounters a sudden emergency, aiming to transmit information instantly and reliably to ensure the safety of occupants and facilitate rapid accident handling. Entertainment streaming is a communication link application scenario that provides entertainment content to passengers, primarily offering a rich variety of multimedia entertainment such as music, videos, and online games. High-reliability transmission refers to a communication link type used to ensure accurate and complete data transmission. This type of transmission places extremely high demands on the reliability, stability, and anti-interference capabilities of the communication link. Redundancy backup improves the reliability and availability of the in-vehicle communication system by employing multiple communication links or backup mechanisms. When the primary communication link fails or is interrupted, it can quickly switch to an emergency link to ensure communication continuity.
[0042] In S123, the formula for calculating the first comprehensive score is as follows: ;(Formula 4) In Formula 4, It received the highest overall score. This represents the current bandwidth.
[0043] By combining multiple metrics such as average latency, packet loss rate, jitter, and current bandwidth to calculate the first comprehensive score of a communication link, the performance of the link can be comprehensively measured from multiple dimensions, providing a more accurate grasp of the overall quality of the link and a more reliable basis for subsequent decision-making. Different types of communication links inherently have different physical characteristics and transmission capabilities. For example, 5G is characterized by high speed and low latency, while Wi-Fi may have better coverage and connection stability in specific environments. Setting dedicated quality assessment threshold parameters for different types of communication links allows for precise measurement of their respective performance, avoiding biases caused by using a uniform standard for evaluation, and ensuring that the evaluation results better reflect the true quality of each link. In-vehicle communication links have diverse application scenarios, and different application scenarios have significantly different requirements for communication quality. For example, emergency communication requires extremely low latency and extremely high reliability, while ordinary in-vehicle entertainment systems are relatively less sensitive to latency. By setting different quality assessment weight parameters according to the application scenario, the evaluation results can be better matched with actual business needs, ensuring the accuracy of the evaluation.
[0044] In S2, communication links with a first comprehensive score less than a preset score threshold are identified as risky communication links, and communication links with a first comprehensive score not less than a preset score threshold are identified as safe communication links. All risky communication links are combined into a risky communication link set, and all safe communication links are combined into a safe communication link set.
[0045] When the risk communication link set is empty, it means that the current vehicle's communication links are all safe and there is no need to select backup communication links to replace their work. All communication links can operate normally.
[0046] In S3, the weight set for a secure communication link includes quality assessment weight parameters. These parameters are used to calculate the first comprehensive score. In other words, the weight set includes latency weight, packet loss rate weight, jitter weight, and bandwidth weight. Depending on actual needs, other relevant parameters can be added to the weight set, such as the quality assessment threshold parameter.
[0047] Reference Figure 4 The flowchart illustrating the weight set optimization method shows that "optimizing the weight set to obtain a new weight set" includes the following steps: S31: Obtain the current vehicle's location coordinates, and determine the target vehicle that belongs to the same group as the current vehicle based on the location coordinates; S32: Based on the type of each secure communication link, obtain at least one target type; S33: In the target vehicle, obtain the first historical comprehensive score of the communication link belonging to the target type; S34: Based on the historical first comprehensive score, obtain the adjustment coefficient for each target type; S35: Determine the target type that matches the type of the secure communication link, and optimize the weight set of the secure communication link based on the adjustment coefficient of the matching target type to obtain a new weight set.
[0048] In S31, a group is a collection of vehicles defined by preset rules. These rules or conditions can take many forms, and the following are some common definitions: A group of vehicles formed to complete a specific task, such as a group of vehicles responsible for freight transport that jointly undertake a transport mission; or vehicles participating in emergency rescue operations, which also form a specific group. Groups formed based on the social relationships of car owners or drivers, such as vehicles belonging to members of a car club or vehicles belonging to employees within a company.
[0049] The system uses positioning technologies such as the Global Positioning System (GPS) or the BeiDou Navigation Satellite System to obtain the current vehicle's coordinates. A circular area with radius r is defined centered on the current vehicle. Using methods such as cellular network communication, other vehicles belonging to the same group as the current vehicle are detected within this area and designated as target vehicles.
[0050] In step S32, the types of all secure communication links are extracted and deduplicated. The type obtained after deduplication is the target type. For example, if there are three secure communication links with types 5G, 5G, and V2X, then the target type is 5G and V2X.
[0051] In S33, two schemes can be used to obtain the historical first comprehensive score of the communication link belonging to the target type in the target vehicle's onboard system. The first is an interactive feedback scheme, where the current vehicle actively sends information containing the target type to the target vehicle. Upon receiving this information, the target vehicle retrieves the historical first comprehensive score of the corresponding target type communication link in its own onboard system and feeds it back to the current vehicle, thus achieving interactive information acquisition. The second is a cloud-assisted scheme, utilizing the cloud as a hub for information collection and feedback. Each vehicle in the group uploads the historical first comprehensive scores of various communication links in its onboard system to the cloud for storage. When the current vehicle needs to obtain the historical first comprehensive score of the target vehicle's communication link belonging to the target type, it sends a request to the cloud. The cloud, based on the target type and target vehicle information in the request, filters the corresponding historical first comprehensive score from the stored data and feeds it back to the current vehicle. Both schemes have their advantages and can be flexibly selected according to the needs of the actual application scenario to ensure efficient and accurate acquisition of the required historical first comprehensive score.
[0052] In S34, the mean or standard deviation of the historical first comprehensive score of the communication link for each target type is obtained, and the adjustment coefficient for each target type is obtained based on the mean or standard deviation.
[0053] In Example 1, the adjustment coefficient is obtained based on the mean, and the formula for calculating the adjustment coefficient is as follows: ;(Formula 5) In Formula 5, For adjustment coefficients; Adjust the mean by the scaling factor (0 < <1); The average of the first comprehensive score of the target type of communication link in history; This is the baseline value for the mean.
[0054] In Example 2, the adjustment factor is obtained based on the standard deviation. The formula for calculating the adjustment factor is as follows: ;(Formula 6) In Formula 6, Adjust the standard deviation by the scaling factor (0 < <1); The standard deviation of the historical first comprehensive score for the target type of communication link; This is the baseline value for the standard deviation.
[0055] In S35, each weight in the weight set of the secure communication link is multiplied by the adjustment coefficient of the matching target type to obtain the optimized weights, and these optimized weights are combined into a new weight set.
[0056] Furthermore, the weights in the weight set can be further adjusted using the following methods: the real-time state of the network will affect... , , , and The weights have an impact; when overall network congestion is detected, i.e., network latency is consistently higher than a preset network threshold, the weights are dynamically reduced. At the same time, improve and The weight of a link is used to prioritize more stable links. If a link experiences frequent outages or sudden packet loss recently, its weight will be dynamically reduced. The weight, while increasing and The weighting of links is prioritized to select more stable links, thereby avoiding frequent link switching and impacting user services.
[0057] The aforementioned solution, by accurately locating the current vehicle's coordinates, can precisely identify target vehicles within the same group. This provides a clear scope for subsequent communication link evaluation, ensuring the relevance and validity of the data source. Simultaneously, determining the target type based on the type of secure communication link and obtaining its historical first comprehensive score makes the evaluation more targeted and professional. The adjustment coefficients derived from this fully reflect the historical performance and stability of different types of communication links. Optimizing the weight set of secure communication links based on these adjustment coefficients allows the new weight set to better align with actual communication needs, thereby improving the reliability and stability of in-vehicle communication and ensuring efficient and accurate transmission of information between vehicles.
[0058] Considering the unique geographical characteristics of different regions, and the impact of environmental factors such as weather on communication, the performance of vehicle-mounted communication links is often affected to some extent when vehicles are in different geographical locations. In such complex situations, adjusting the weight set using historical data from other vehicles in the same nearby group can effectively improve the accuracy of communication link selection. Because these vehicles are in similar geographical locations, they face similar geographical characteristics and environmental factors. By analyzing the historical performance data of their communication links, the actual performance of each secure communication link in the current environment can be more accurately grasped. For example, in mountainous areas where signals are easily blocked, some links may have poor signal strength due to terrain. By referring to the historical data of nearby vehicles, these significantly affected links can be identified in a timely manner, and corresponding adjustments can be made to the weight set. As vehicles move and the environment changes, quickly adjusting the weight set based on this historical data allows the selection of communication links to adapt to new environments in a timely manner, reducing the adverse effects of environmental factors on communication and ensuring the stable operation of the vehicle-mounted communication system in various complex environments. Furthermore, vehicles within the same group share the same model, which means that under the same geographical environment and weather conditions, these vehicles face similar communication problems and link performance. By leveraging shared historical data, it is possible to more accurately determine the performance of communication links in specific scenarios. At the same time, sharing historical data of vehicles within the same group can not only achieve effective utilization of data resources.
[0059] The method of obtaining the mean or standard deviation of the historical first comprehensive score and deriving the adjustment coefficient accordingly is highly scientific and flexible. The mean reflects the average performance of the communication link, while the standard deviation reflects its stability. By considering these two statistics, the quality of the target type of communication link can be comprehensively measured, making the adjustment coefficient more objective and accurate, further improving the effect of weight set optimization, and providing strong support for the performance improvement of vehicle communication systems.
[0060] In S4, based on Formula 4 above, the first comprehensive score of the secure communication link is recalculated based on the new weight set to obtain a new first comprehensive score, which is the second comprehensive score.
[0061] It should be noted that risky communication links do not require weight set optimization and recalculation of the first comprehensive score, while safe communication links do. This is because risky communication links may have serious problems such as hardware failures, harsh communication environments, or severe attacks. These require individual analysis and evaluation of the vehicle itself, which cannot be fundamentally solved by weight set optimization, and communication stability may be affected, necessitating emergency replacement. On the other hand, vehicles of the same model in the same group can share historical data, allowing safe communication links to leverage their performance differences with risky communication links. By optimizing the weight set, they can accurately select communication links and enhance fault warnings, thereby tapping potential at low cost and improving the overall performance of the communication system.
[0062] In S5, the secure communication links are sorted from lowest to highest according to their second comprehensive scores, resulting in a secure communication link sorting queue. Similarly, the risky communication links are sorted from highest to lowest according to their first comprehensive scores, resulting in a risky communication link sorting queue. Starting from the head of the risky communication link sorting queue, a secure communication link at the same position in the secure communication link sorting queue is selected as a backup communication link for each risky communication link. The backup communication link replaces the corresponding risky communication link for communication. For example, suppose a vehicle communication system has 5 secure communication links (S1, S2, S3, S4, S5) and 2 risky communication links (R1, R2), with a preset score threshold of 50. After optimizing the weight set of secure communication links, a second comprehensive score is obtained for each secure communication link: S1 = 55, S2 = 70, S3 = 60, S4 = 52, and S5 = 80. These secure communication links are sorted from lowest to highest score to form a secure communication link sorting queue [S4, S1, S3, S2, S5]. The first comprehensive scores for each risky communication link are R1 = 40 and R2 = 30. These risky communication links are sorted from highest to lowest score to form a risky communication link sorting queue [R1, R2]. Starting from the head of the risky communication link sorting queue, a secure communication link at the same position in the secure communication link sorting queue is selected as a backup communication link for each risky communication link. That is, R1 is replaced by S4, and R2 is replaced by S1 for communication.
[0063] By replacing high-scoring risky communication links with low-scoring secure communication links, the occurrence of communication interruptions and packet loss can be effectively reduced. For example, the original risky communication link R3 might frequently experience communication failures due to signal interference, while the secure communication link S1, after optimization and evaluation, exhibits better stability; replacing it significantly improves communication stability. Ranking and matching communication links based on their first comprehensive score allows for a more rational allocation of communication resources, assigning high-performance secure communication links to more problematic risky links, fully leveraging the advantages of secure links and avoiding resource waste. Stable communication links help reduce data transmission latency and errors, thereby improving communication efficiency. In scenarios with high real-time requirements, such as vehicle communication, timely and accurate data transmission is crucial for ensuring driving safety and normal vehicle operation. This method reduces the cost of maintaining and repairing risky communication links, while avoiding unnecessary optimization of risky links by rationally utilizing secure communication links.
[0064] Reference Figure 5 This disclosure provides an intelligent switching system for vehicle communication links, including: The first comprehensive score acquisition module 101 is used to send a probe message to the communication link of the current vehicle and acquire the first comprehensive score of the communication link based on the communication link's response to the probe message. The communication link segmentation module 102 is used to divide the communication links into a risky communication link set and a secure communication link set based on a first comprehensive score; wherein the risky communication link set contains at least one risky communication link, and the secure communication link set contains at least one secure communication link; The weight set optimization module 103 is used to obtain the weight set of each secure communication link when the risky communication link set is not empty, optimize the weight set, and obtain a new weight set. The second comprehensive score acquisition module 104 is used to acquire a second comprehensive score for each secure communication link based on the new weight set. The backup communication link selection module 105 is used to select a backup communication link from the set of secure communication links to replace the risky communication links in the set of risky communication links based on a second comprehensive score.
[0065] The various variations and specific examples of the intelligent switching method for vehicle communication links provided above are also applicable to the intelligent switching system for vehicle communication links provided in this disclosure. Through the foregoing detailed description of the intelligent switching method for vehicle communication links, those skilled in the art can clearly understand the implementation method of the intelligent switching system for vehicle communication links. For the sake of brevity, it will not be described in detail here.
[0066] A computer device according to embodiments of the present disclosure includes a memory and a processor. The memory is used to store non-transitory computer-readable instructions. Specifically, the memory may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may, for example, include random access memory (RAM) and / or cache memory. The non-volatile memory may, for example, include read-only memory (ROM), hard disk, flash memory, etc.
[0067] The processor may be a central processing unit (CPU) or other processing unit with data processing capabilities and / or instruction execution capabilities, and may control other components in the computer device to perform desired functions. In one embodiment of this disclosure, the processor is used to execute computer-readable instructions stored in the memory, causing the computer device to perform all or part of the steps of the intelligent switching method for the vehicular communication link described in the foregoing embodiments of this disclosure.
[0068] Those skilled in the art will understand that, in order to solve the technical problem of how to achieve a good user experience, this embodiment may also include well-known structures such as communication buses and interfaces, and these well-known structures should also be included within the protection scope of this disclosure.
[0069] like Figure 6 This is a schematic diagram of a computer device provided for an embodiment of the present disclosure. It illustrates a structural schematic diagram suitable for implementing the computer device in the embodiments of the present disclosure. Figure 6 The computer device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.
[0070] like Figure 6 As shown, a computer device may include a processor (such as a central processing unit, graphics processing unit, etc.), which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) or programs loaded from storage devices into random access memory (RAM). The RAM also stores various programs and data required for the operation of the computer device. The processor, ROM, and RAM are interconnected via a bus. Input / output (I / O) interfaces are also connected to the bus.
[0071] Typically, the following devices can be connected to the I / O interface: input devices, such as sensors or visual information acquisition devices; output devices, such as displays; storage devices, such as magnetic tapes or hard drives; and communication devices. Communication devices allow the computer device to communicate wirelessly or wiredly with other devices (such as edge computing devices) to exchange data. Although Figure 6A computer apparatus with various devices is shown, but it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or included alternatively.
[0072] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device, or installed from a ROM. When the computer program is executed by a processor, all or part of the steps of the intelligent switching method for the vehicular communication link according to embodiments of this disclosure are performed.
[0073] For a detailed description of this embodiment, please refer to the corresponding descriptions in the foregoing embodiments, which will not be repeated here.
[0074] A computer-readable storage medium according to embodiments of the present disclosure stores non-transitory computer-readable instructions. When these non-transitory computer-readable instructions are executed by a processor, all or part of the steps of the intelligent handover method for the vehicular communication link described in the foregoing embodiments of the present disclosure are performed.
[0075] The aforementioned computer-readable storage media include, but are not limited to: optical storage media (e.g., CD-ROM and DVD), magneto-optical storage media (e.g., MO), magnetic storage media (e.g., magnetic tape or portable hard drive), media with built-in rewritable non-volatile memory (e.g., memory card), and media with built-in ROM (e.g., ROM cartridge).
[0076] For a detailed description of this embodiment, please refer to the corresponding descriptions in the foregoing embodiments, which will not be repeated here.
[0077] The basic principles of this disclosure have been described above with reference to specific embodiments. However, it should be noted that the advantages, benefits, and effects mentioned in this disclosure are merely examples and not limitations, and should not be considered as essential features of each embodiment of this disclosure. Furthermore, the specific details disclosed above are for illustrative and facilitative purposes only, and are not limitations. These details do not limit the scope of this disclosure to the necessity of employing the aforementioned specific details for implementation.
[0078] In this disclosure, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. The block diagrams of devices, apparatuses, devices, and systems involved in this disclosure are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices, apparatuses, devices, and systems can be connected, arranged, and configured in any manner. Words such as "comprising," "including," "having," etc., are open-ended terms meaning "including but not limited to," and are used interchangeably with them. The terms "or" and "and" as used herein refer to the terms "and / or," and are used interchangeably with them unless the context clearly indicates otherwise. The term "such as" as used herein refers to the phrase "such as but not limited to," and is used interchangeably with it.
[0079] Additionally, as used herein, the "or" used in a list of items beginning with "at least one" indicates a separate list, such that a list of, for example, "at least one of A, B, or C" means A or B or C, or AB or AC or BC, or ABC (i.e., A and B and C). Furthermore, the word "exemplary" does not imply that the described example is preferred or better than other examples.
[0080] It should also be noted that in the systems and methods of this disclosure, the components or steps can be decomposed and / or recombined. These decompositions and / or recombinations should be considered as equivalent solutions to this disclosure.
[0081] Various changes, substitutions, and modifications can be made to the technology described herein without departing from the teachings defined by the appended claims. Furthermore, the scope of the claims of this disclosure is not limited to the specific aspects of the processes, machines, manufactures, events, means, methods, and actions described above. Currently existing or later-developed processes, machines, manufactures, events, means, methods, or actions that perform substantially the same function or achieve substantially the same result as the corresponding aspects described herein can be utilized. Therefore, the appended claims include such processes, machines, manufactures, events, means, methods, or actions within their scope.
[0082] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use this disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of this disclosure. Therefore, this disclosure is not intended to be limited to the aspects shown herein, but rather to be carried out within the widest scope consistent with the principles and novel features disclosed herein.
[0083] The above description has been given for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of this disclosure to the forms disclosed herein. Although numerous exemplary aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations therein.
Claims
1. A method for intelligent handover of a vehicle-mounted communication link, characterized in that, include: Send a probe message to the communication link of the current vehicle, and obtain the first comprehensive score of the communication link based on the communication link's response to the probe message; Based on the first comprehensive score, the communication links are divided into a risky communication link set and a secure communication link set; wherein, the risky communication link set contains at least one risky communication link, and the secure communication link set contains at least one secure communication link; When the risky communication link set is not empty, obtain the weight set of each secure communication link, optimize the weight set, and obtain a new weight set; Based on the new weight set, a second comprehensive score is obtained for each secure communication link; Based on the second comprehensive score, a backup communication link is selected from the set of secure communication links to replace the risky communication links in the set of risky communication links for communication. The weight set is optimized to obtain a new weight set, including: Obtain the current vehicle's location coordinates, and determine target vehicles belonging to the same group as the current vehicle based on the location coordinates; Based on the type of each secure communication link, obtain at least one target type; In the target vehicle, obtain the historical first comprehensive score of the communication link belonging to the target type; Based on the aforementioned historical first comprehensive score, obtain the adjustment coefficient for each target type; A target type that matches the type of the secure communication link is determined, and the weight set of the secure communication link is optimized based on the adjustment coefficient of the matching target type to obtain a new weight set.
2. The intelligent switching method for vehicle communication links according to claim 1, characterized in that, The first comprehensive score of the communication link is obtained based on the communication link's response to the probe message, including: Based on the communication link's response to the probe message, the average latency, packet loss rate, jitter, and current bandwidth of the communication link are obtained; Based on the average latency, packet loss rate, jitter, current bandwidth, threshold list, and weight list, a first comprehensive score for the communication link is obtained.
3. The intelligent switching method for vehicle communication links according to claim 2, characterized in that, The first comprehensive score of the communication link is obtained based on the average latency, packet loss rate, jitter, current bandwidth, threshold list, and weight list, including: Obtain the type of communication link, and based on the type of communication link, obtain the quality assessment threshold parameter of the communication link from the threshold list; The application scenarios of the communication links are obtained, and the quality assessment weight parameters of the communication links are obtained from the weight list based on the application scenarios of the communication links. The first comprehensive score of the communication link is obtained based on the average latency, packet loss rate, jitter, current bandwidth, quality assessment threshold parameters, and quality assessment weight parameters of the communication link.
4. The intelligent switching method for vehicle communication links according to claim 3, characterized in that, The formula for calculating the first comprehensive score is: ; in, It received the highest overall score. For delay weighting; This is the average delay; This is the time delay threshold; Weighted by packet loss rate; Packet loss rate; For jitter weighting; For shaking; The jitter threshold; Bandwidth weight; Current bandwidth; Maximum bandwidth; The quality assessment threshold parameters include latency threshold, jitter threshold, and maximum bandwidth; the quality assessment weight parameters include latency weight, packet loss rate weight, jitter weight, and bandwidth weight.
5. The intelligent switching method for vehicle communication links according to claim 3, characterized in that, The weight set includes quality assessment weight parameters.
6. The intelligent switching method for vehicle communication links according to claim 1, characterized in that, The adjustment coefficient for each target type is obtained based on the historical first comprehensive score, including: Obtain the mean or standard deviation of the historical first comprehensive score for the communication link of each target type; Based on the mean or the standard deviation, obtain the adjustment coefficient for each target type.
7. The intelligent switching method for vehicle communication links according to claim 1, characterized in that, The step of selecting a backup communication link from the set of secure communication links to replace the risky communication links in the set of risky communication links based on the second comprehensive score includes: Based on the second comprehensive score of each secure communication link, sort the secure communication links from low to high, and obtain the secure communication link sorting queue; Based on the first comprehensive score of each risk communication link, sort the risk communication links from high to low to obtain the risk communication link sorting queue. Starting from the head of the risk communication link sorting queue, traverse the queue and select a safe communication link at the same position from the safe communication link sorting queue as a backup communication link for each risk communication link. The backup communication link replaces the corresponding risky communication link for communication.
8. A computer device, characterized in that, The computer device includes: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to perform the intelligent switching method for the vehicle communication link as described in any one of claims 1-7.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing a computer to perform the intelligent switching method for the vehicle communication link as described in any one of claims 1-7.
10. A computer program product comprising computer instructions, characterized in that, When executed by a processor, the computer instructions implement the steps of the method according to any one of claims 1-7.
Citation Information
Patent Citations
Ship communication link intelligent switching method based on multi-link state intelligent analysis
CN118488520A
Method and medium for realizing multi-link switching and redundancy transmission of low-altitude aircraft
CN120302357A
