Method for determining in-vehicle communication path, control device, vehicle, and storage medium

By acquiring communication path data between the vehicle-mounted host and the target communication object, and combining timeliness, throughput, and packet loss rate, the cost-effectiveness is determined, and the cost-effective path is selected as the target communication path. This solves the problem of excessively high communication costs for the vehicle-mounted host, reduces latency, and ensures communication quality.

CN117409573BActive Publication Date: 2026-11-27DEEPAL AUTOMOBILE TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311249027.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-25
Publication Date
2026-11-27
Estimated Expiration
2043-09-25

AI Technical Summary

Technical Problem

The high communication cost between the vehicle-mounted host and the target communication object leads to excessive communication latency, and existing technologies often choose the optimal communication quality method, resulting in excessive bandwidth consumption.

Method used

By acquiring data transmission information from N communication paths between the vehicle-mounted host and the target communication object, including timeliness, throughput, and packet loss rate, and combining this with the preset communication cost of the communication path, the cost-effectiveness is determined, and the communication path with a cost-effectiveness greater than a preset threshold is selected as the target communication path.

Benefits of technology

This reduces the communication cost between the vehicle-mounted host and the target communication object, avoids latency issues caused by excessive communication costs, and ensures that the communication quality meets the requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117409573B_ABST
    Figure CN117409573B_ABST
Patent Text Reader

Abstract

The application provides a vehicle-mounted communication path determination method, a control device, a vehicle and a storage medium, relates to the technical field of vehicle communication, and is used for reducing the communication cost between a vehicle-mounted host and a communication object. The method comprises the following steps: acquiring data transmission information corresponding to N communication paths between the vehicle-mounted host and a target communication object, wherein N is a positive integer, and the data transmission information comprises the timeliness, the throughput and the packet loss rate of the communication path; for any communication path in the N communication paths, determining the cost performance of the communication path based on the data transmission information of the communication path and the preset communication cost of the communication path; and determining a communication path with a cost performance greater than a preset threshold in the N communication paths as a target communication path.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle communication technology, specifically to a method for determining an in-vehicle communication path, a control device, a vehicle, and a storage medium. Background Technology

[0002] With the development of the automotive industry, the intelligent development of vehicles is also accelerating; this has led to rapid changes in the hardware and software architecture of vehicles.

[0003] Currently, when communicating with a target communication object, the vehicle-mounted unit (V2U) typically selects the communication method with the best communication quality to ensure the communication quality between the V2U and the target communication object. However, this method may result in excessive bandwidth usage during communication between the V2U and the target communication object, leading to excessively high communication costs. If the communication costs between the V2U and each communication object are too high, it may result in excessive communication delays between the V2U and each communication object. Summary of the Invention

[0004] This application provides a method for determining vehicle communication paths, a control device, a vehicle, and a storage medium to reduce communication costs between the vehicle host and the communication object.

[0005] Firstly, a method for determining an in-vehicle communication path is provided, comprising: acquiring data transmission information corresponding to each of N communication paths between the in-vehicle host and the target communication object, where N is a positive integer, and the data transmission information includes the timeliness, throughput, and packet loss rate of the communication path; for any of the N communication paths, determining the cost-effectiveness of the communication path based on the data transmission information of the communication path and the preset communication cost of the communication path; and determining the communication path among the N communication paths whose cost-effectiveness is greater than a preset threshold as the target communication path.

[0006] As described above, this application obtains the data transmission information corresponding to each of the N communication paths between the vehicle-mounted host and the target communication object. This allows for the determination of the communication quality of the N communication paths based on their respective data transmission information, thereby helping to identify the communication path that meets the communication requirements between the vehicle-mounted host and the target communication object. To facilitate the identification of a communication path among the N communication paths that satisfies the communication requirements between the vehicle-mounted host and the target communication object without incurring high communication costs, the cost-effectiveness of any communication path among the N communication paths is determined by combining its data transmission information and its preset communication cost.

[0007] Furthermore, selecting any path from the N communication paths with a cost-effectiveness greater than a preset threshold as the target communication path helps to determine the lowest-cost communication path while meeting the communication needs between the vehicle-mounted host and the target communication object. Since the cost-effectiveness of the communication path is considered when determining the target communication path between the vehicle-mounted host and the target communication object, it helps to reduce the communication cost between the vehicle-mounted host and the target communication object, thereby helping to avoid excessive communication latency between the vehicle-mounted host and each target communication object due to excessively high communication costs.

[0008] In some embodiments, determining the cost-effectiveness of a communication path based on the data transmission information of the communication path and the preset communication cost of the communication path includes: determining the communication quality weighting value of the communication path based on the data transmission information of the communication path; and determining the cost-effectiveness of the communication path as the ratio of the communication quality weighting value of the communication path to the preset communication cost of the communication path.

[0009] As described above, this application aims to determine a communication path that satisfies the communication needs between the vehicle-mounted host and the target communication object without resulting in excessive communication costs. Based on the data transmission information of the communication path, a communication quality weighting value is determined for that path. After determining the communication quality weighting value, the ratio of this weighting value to the preset communication cost of the path is used as the cost-effectiveness ratio of the communication path. This allows for the determination of the target communication path based on the cost-effectiveness ratios of N communication paths.

[0010] In some embodiments, determining the communication quality weighting value of a communication path based on the data transmission information of the communication path includes: obtaining M data transmission records of the communication path, where M is a positive integer; determining the timeliness variance, throughput variance, and packet loss rate variance of the M data transmission records of the communication path based on the data transmission information corresponding to the M data transmission records of the communication path; and determining the communication quality weighting value of the communication path based on the timeliness variance, throughput variance, and packet loss rate variance when the communication path meets preset conditions. The preset conditions include: the timeliness variance of the communication path is below a preset timeliness variance value, the throughput variance of the communication path is below a preset throughput variance value, and the packet loss rate variance of the communication path is below a preset packet loss rate variance value.

[0011] As described above, this application aims to determine the communication quality weighting value of a communication path by obtaining M data transmission records for that communication path. It should be understood that the M data transmission records for that communication path can be the most recent M data transmission records; the most recent M data transmission records for that communication path can reflect the recent communication quality of that communication path.

[0012] Furthermore, based on the data transmission information corresponding to the M data transmission records of this communication path, the timeliness variance, throughput variance, and packet loss rate variance of the M data transmissions of this communication path are determined to facilitate the determination of the stability of the M data transmissions of this communication path. It should be understood that if the communication path meets preset conditions, it indicates that the timeliness, throughput, and packet loss rate of the M data transmissions of this communication path are relatively stable, meeting the communication requirements between the vehicle-mounted host and the target communication object. In this case, based on the timeliness variance, throughput variance, and packet loss rate variance of the M data transmission records, the communication quality weighting value of this communication path is determined to accurately determine the cost-effectiveness of this communication path.

[0013] In some embodiments, determining the communication quality weighting value of a communication path based on the timeliness variance, throughput variance, and packet loss rate variance includes: determining the timeliness level, throughput level, and packet loss rate level of the communication path based on the data transmission information corresponding to the M data transmission records of the communication path; and determining the communication quality weighting value of the communication path based on the timeliness level, throughput level, packet loss rate level, preset weight, timeliness variance, throughput variance, and packet loss rate variance.

[0014] As described above, this application, to ensure the accurate determination of the communication quality weighting value of a communication path, determines the timeliness level, throughput level, and packet loss rate level of the communication path based on the data transmission information corresponding to M data transmission records of the communication path. Furthermore, it combines the preset weights, timeliness variance, throughput variance, and packet loss rate variance of the communication path to determine the communication quality weighting value. It should be understood that this application combines multiple factors to determine the communication quality weighting value of the communication path, which helps improve the accuracy of the communication quality weighting value and thus helps to accurately determine the cost-effectiveness of the communication path.

[0015] In some embodiments, determining the timeliness level, throughput level, and packet loss rate level of a communication path based on the data transmission information corresponding to the M data transmission records of the communication path includes: determining the average timeliness value, average throughput value, and average packet loss rate value corresponding to the M data transmission records of the communication path based on the data transmission information corresponding to the M data transmission records of the communication path; and determining the timeliness level, throughput level, and packet loss rate level of the communication path based on the average timeliness value, average throughput value, average packet loss rate value, and preset rating criteria.

[0016] As described above, this application aims to accurately determine the timeliness level, throughput level, and packet loss rate level of a communication path. Based on the data transmission information corresponding to M data transmission records of the communication path, it determines the average timeliness value, average throughput value, and average packet loss rate value corresponding to the M data transmission records of the communication path. Then, it combines this with preset rating standards to determine the timeliness level, throughput level, and packet loss rate level of the communication path. Because the preset rating standards are used when determining the timeliness level, throughput level, and packet loss rate level of the communication path, consistency in the rating standards for each communication path is ensured, which helps to guarantee the standard determination of the communication quality weighting value for each communication path.

[0017] Secondly, an in-vehicle control device includes: an acquisition module, configured to acquire data transmission information corresponding to each of N communication paths between an in-vehicle host and a target communication object, where N is a positive integer, and the data transmission information includes the timeliness, throughput, and packet loss rate of the communication path; a determination module, configured to determine the cost-effectiveness of any of the N communication paths based on the data transmission information of the communication path and a preset communication cost of the communication path; and the determination module is further configured to determine the communication path among the N communication paths whose cost-effectiveness is greater than a preset threshold as the target communication path.

[0018] In some embodiments, the determining module is specifically used to determine the communication quality weighting value of the communication path based on the data transmission information of the communication path; the determining module is specifically used to determine the cost-effectiveness of the communication path as the ratio of the communication quality weighting value of the communication path to the preset communication cost of the communication path.

[0019] In some embodiments, the acquisition module is specifically used to acquire M data transmission records of the communication path, where M is a positive integer; the determination module is specifically used to determine the timeliness variance, throughput variance, and packet loss rate variance of the M data transmission records of the communication path based on the data transmission information corresponding to the M data transmission records of the communication path; the determination module is specifically used to determine the communication quality weighting value of the communication path based on the timeliness variance, throughput variance, and packet loss rate variance, provided that preset conditions are met. The preset conditions include: the timeliness variance of the communication path is below a preset timeliness variance value, the throughput variance of the communication path is below a preset throughput variance value, and the packet loss rate variance of the communication path is below a preset packet loss rate variance value.

[0020] Thirdly, an electronic device is provided, including the vehicle control device of the second aspect and any embodiment thereof.

[0021] Fourthly, a computer-readable storage medium is provided, wherein when instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the methods described in the first aspect and any of its embodiments.

[0022] Fifthly, a computer program product is provided, comprising computer instructions that, when executed on an electronic device, cause the electronic device to perform the methods described in the first aspect and any embodiment thereof.

[0023] Therefore, the above-mentioned technical features of this application have the following beneficial effects:

[0024] (1) By acquiring the data transmission information corresponding to each of the N communication paths between the vehicle-mounted host and the target communication object, the communication quality of the N communication paths can be determined based on the data transmission information of each of the N communication paths. This helps to identify the communication path among the N communication paths that meets the communication requirements between the vehicle-mounted host and the target communication object. To facilitate the identification of a communication path among the N communication paths that meets the communication requirements between the vehicle-mounted host and the target communication object without causing high communication costs, the cost-effectiveness of any communication path among the N communication paths is determined by combining the data transmission information of that communication path with the preset communication cost of the communication path.

[0025] Furthermore, selecting any path from the N communication paths with a cost-effectiveness greater than a preset threshold as the target communication path helps to determine the lowest-cost communication path while meeting the communication needs between the vehicle-mounted host and the target communication object. Since the cost-effectiveness of the communication path is considered when determining the target communication path between the vehicle-mounted host and the target communication object, it helps to reduce the communication cost between the vehicle-mounted host and the target communication object, thereby helping to avoid excessive communication latency between the vehicle-mounted host and each target communication object due to excessively high communication costs.

[0026] (2) To determine a communication path that satisfies the communication requirements between the vehicle-mounted host and the target communication object without causing excessive communication costs, a communication quality weighting value is determined based on the data transmission information of the communication path. After determining the communication quality weighting value of the communication path, the ratio of the communication quality weighting value of the communication path to the preset communication cost of the communication path is used as the cost-effectiveness of the communication path, so as to determine the target communication path according to the cost-effectiveness of each of the N communication paths.

[0027] (3) To determine the communication quality weighting value of the communication path, obtain the M data transmission records of the communication path. It should be understood that the M data transmission records of the communication path can be the most recent M data transmission records; the most recent M data transmission records of the communication path can reflect the communication quality of the communication path in the recent period.

[0028] Furthermore, based on the data transmission information corresponding to the M data transmission records of this communication path, the timeliness variance, throughput variance, and packet loss rate variance of the M data transmissions of this communication path are determined to facilitate the determination of the stability of the M data transmissions of this communication path. It should be understood that if the communication path meets preset conditions, it indicates that the timeliness, throughput, and packet loss rate of the M data transmissions of this communication path are relatively stable, meeting the communication requirements between the vehicle-mounted host and the target communication object. In this case, based on the timeliness variance, throughput variance, and packet loss rate variance of the M data transmission records, the communication quality weighting value of this communication path is determined to accurately determine the cost-effectiveness of this communication path.

[0029] (4) To ensure accurate determination of the communication quality weighting value of the communication path, based on the data transmission information corresponding to the M data transmission records of the communication path, the timeliness level, throughput level, and packet loss rate level of the communication path are determined. Furthermore, by combining the preset weights, timeliness variance, throughput variance, and packet loss rate variance of the communication path, the communication quality weighting value of the communication path is determined. It should be understood that this application combines multiple factors to determine the communication quality weighting value of the communication path, which helps improve the accuracy of the communication quality weighting value and thus helps to accurately determine the cost-effectiveness of the communication path.

[0030] (5) To accurately determine the timeliness level, throughput level, and packet loss rate level of a communication path, based on the data transmission information corresponding to the M data transmission records of the communication path, the average timeliness value, average throughput value, and average packet loss rate value corresponding to the M data transmission records of the communication path are determined. Then, combined with the preset rating standards, the timeliness level, throughput level, and packet loss rate level of the communication path are determined. Since the preset rating standards are combined when determining the timeliness level, throughput level, and packet loss rate level of the communication path, the rating standards for each communication path are consistent, which helps to ensure that the specification determines the communication quality weighted value of each communication path.

[0031] It should be noted that the technical effects of any of the implementation methods in aspects two through five can be found in the technical effects of the corresponding implementation methods in aspect one, and will not be repeated here.

[0032] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0033] Figure 1 A flowchart illustrating a method for determining a vehicle communication path provided in this application embodiment. Figure 1 ;

[0034] Figure 2 A flowchart illustrating a method for determining a vehicle communication path provided in this application embodiment. Figure 2 ;

[0035] Figure 3 A flowchart illustrating a method for determining a vehicle communication path provided in this application embodiment. Figure 3 ;

[0036] Figure 4 A flowchart illustrating a method for determining a vehicle communication path provided in this application embodiment. Figure 4 ;

[0037] Figure 5 A flowchart illustrating a method for determining a vehicle communication path provided in this application embodiment. Figure 5 ;

[0038] Figure 6 A flowchart illustrating a method for determining a vehicle communication path provided in this application embodiment. Figure 6 ;

[0039] Figure 7 This is a schematic diagram of the structure of a vehicle control device provided in an embodiment of this application;

[0040] Figure 8 This is a structural schematic diagram of a vehicle provided in an embodiment of this application. Detailed Implementation

[0041] To enable those skilled in the art to better understand the technical solutions of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.

[0042] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0043] Currently, when communicating with a target communication object, the vehicle-mounted unit (V2U) typically selects the communication method with the best communication quality to ensure the communication quality between the V2U and the target communication object. However, this method may result in excessive bandwidth usage during communication between the V2U and the target communication object, leading to excessively high communication costs. If the communication costs between the V2U and each communication object are too high, it may result in excessive communication delays between the V2U and each communication object.

[0044] Based on this, this application, for the N communication paths obtained between the vehicle-mounted host and the target communication object, combines the data transmission information of the communication paths with the communication cost corresponding to the communication object to determine the cost-effectiveness of each of the N communication paths. This is to ensure that while meeting the communication requirements between the vehicle-mounted host and the target communication object, the communication path with the lowest communication cost is selected as the target communication path. Since the cost-effectiveness of the communication paths is considered when determining the target communication path between the vehicle-mounted host and the target communication object, it helps to reduce the communication cost between the vehicle-mounted host and the target communication object, thereby helping to avoid the problem of excessive communication latency between the vehicle-mounted host and each target communication object due to excessively high communication costs.

[0045] The method for determining the vehicle communication path provided in this application embodiment can be applied to vehicle control devices.

[0046] Taking the method for determining a vehicle communication path provided in this application embodiment as an example applied to a vehicle control device, see [link to relevant documentation]. Figure 1 As shown in the figure, the method for determining a vehicle communication path provided in this application includes the following steps:

[0047] S101. Obtain the data transmission information corresponding to each of the N communication paths between the vehicle host and the target communication object.

[0048] Where N is a positive integer, and the data transmission information includes the timeliness of the communication path, throughput, and packet loss rate.

[0049] In some embodiments, when the vehicle-mounted host needs to communicate with the target communication object, in order to ensure that a communication connection is established between the vehicle-mounted host and the target communication object, N communication methods that support communication between the vehicle-mounted host and the target communication object are determined, and then N communication paths that support communication between the vehicle-mounted host and the target communication object are determined.

[0050] In some embodiments, to ensure that a communication path that meets the communication requirements between the vehicle host and the target communication object is determined from among N communication paths, after determining N communication paths that support communication between the vehicle host and the target communication object, the data transmission information corresponding to each of the N communication paths between the vehicle host and the target communication object is obtained.

[0051] In one possible implementation, data transmission information can be obtained by the vehicle-mounted host frequently sending ICMP packets to the target communication object. ICMP packets are mainly used to transmit control information between the host and the router. ICMP packets include error reports, exchange of restricted control and status information, etc. When encountering situations such as IP data being unable to access the target or IP routers being unable to forward data packets at the current transmission rate, ICMP packets will be automatically sent to determine the latency, packet loss rate and signal stability of the communication path.

[0052] S102. For any communication path among the N communication paths, determine the cost-effectiveness of the communication path based on the data transmission information of the communication path and the preset communication cost of the communication path.

[0053] It should be noted that the preset communication cost can be set in advance by relevant personnel based on the bandwidth required when performing communication tasks through the communication path, and this application does not impose specific restrictions on it.

[0054] In some embodiments, after obtaining the data transmission information corresponding to each of the N communication paths between the vehicle host and the target communication object, in order to determine the communication path with the highest cost performance, for any of the N communication paths, the cost performance of the communication path is determined based on the data transmission information of the communication path and the preset communication cost of the communication path.

[0055] See Figure 2 As shown, in S102 above, determining the cost-effectiveness of the communication path based on the data transmission information of the communication path and the preset communication cost of the communication path can be specifically implemented as follows:

[0056] S201. Based on the data transmission information of the communication path, determine the communication quality weighting value of the communication path.

[0057] In some embodiments, after obtaining the data transmission information of the communication path, in order to determine the communication quality of the communication path, a communication quality weighting value of the communication path is determined based on the data transmission information of the communication path.

[0058] See Figure 3 As shown, the method in S201 above specifically includes the following steps:

[0059] S301. Obtain the M data transmission records of the communication path.

[0060] Where M is a positive integer.

[0061] In some embodiments, when determining the communication quality weighting value of a communication path, M data transmission records of the communication path are obtained to determine the communication quality of the communication path in the M data transmissions.

[0062] Optionally, when determining the communication quality weighting value of a communication path, the data transmission records of the communication path in the last M data transmissions can be obtained.

[0063] Understandably, based on the data transmission records of the last M data transmissions, the recent communication quality of the path can be determined to ensure the timeliness of the communication quality weighting value.

[0064] S302. Based on the data transmission information corresponding to the M data transmission records of the communication path, determine the timeliness variance, throughput variance, and packet loss rate variance of the M data transmission records of the communication path.

[0065] In some embodiments, based on M timeliness data, M throughput data, and M packet loss rate data in M ​​communication transmission records, the timeliness variance, throughput variance, and packet loss rate variance of the M data transmission records are determined in order to determine whether the communication path meets the communication requirements between the vehicle host and the target communication object.

[0066] S303. Under the condition that the communication path meets the preset conditions, determine the communication quality weighting value of the communication path based on the timeliness variance value, throughput variance value, and packet loss rate variance value.

[0067] The preset conditions include: the timeliness variance of the communication path is below the preset timeliness variance, the throughput variance of the communication path is below the preset throughput variance, and the packet loss rate variance of the communication path is below the preset packet loss rate variance.

[0068] It should be noted that the preset timeliness variance, preset throughput variance, and preset packet loss rate variance can be preset by relevant personnel based on relevant experimental data; the preset timeliness variance, preset throughput variance, and preset packet loss rate variance are collectively referred to as preset data transmission indicators, and this application does not impose specific restrictions on them.

[0069] For example, the preset timeliness variance is 1000, the preset throughput variance is 1200, and the preset packet loss rate variance is 0.003.

[0070] In some embodiments, when it is determined that the communication path meets preset conditions, the communication quality weighting value of the communication path is determined based on the timeliness variance, throughput variance, and packet loss rate variance of the M data transmission records of the communication path, so as to ensure accurate determination of the cost-effectiveness of the communication path.

[0071] For example, assume the preset timeliness variance, preset throughput variance, and preset packet loss rate variance are (1000, 1200, 0.003). Now, the timeliness variance, throughput variance, and packet loss rate variance corresponding to communication paths A, B, and C are obtained as (600, 900, 0.0004), (900, 1100, 0.001), and (1200, 1100, 0.06), respectively. It can then be determined that communication paths A and B meet the preset conditions, that is, communication paths A and B satisfy the communication requirements between the vehicle-mounted host and the target communication object. At this point, for any communication path between A and B, the communication quality weighting value of that communication path is determined based on its timeliness variance, throughput variance, and packet loss rate variance.

[0072] In other embodiments, if it is determined that the communication path does not meet the preset conditions, the communication quality weighting value of the communication path is determined to be 0.

[0073] For example, suppose the preset timeliness variance, preset throughput variance, and preset packet loss rate variance are (1000, 1200, 0.003). If the timeliness variance, throughput variance, and packet loss rate variance corresponding to communication path C are now obtained as (1200, 1100, 0.06), then it can be determined that communication path C does not meet the preset conditions; that is, communication path C does not meet the communication requirements between the vehicle-mounted host and the target communication object. In this case, the communication quality weighting value for this communication path is determined to be 0.

[0074] It should be understood that if the communication path does not meet the preset conditions, it means that the communication path cannot meet the communication requirements between the vehicle host and the target communication object. In this case, the communication quality weighting value of the communication path is set to 0 so that the cost-effectiveness of the communication path is 0. This ensures the communication quality between the vehicle host and the target communication object while avoiding excessive communication costs.

[0075] based on Figure 3 The illustrated embodiment provides at least the following beneficial effects: to determine the communication quality weighting value of a communication path, M data transmission records of that communication path are obtained. It should be understood that the M data transmission records of that communication path can be the most recent M data transmission records; the most recent M data transmission records of that communication path can reflect the recent communication quality of that communication path.

[0076] Furthermore, based on the data transmission information corresponding to the M data transmission records of this communication path, the timeliness variance, throughput variance, and packet loss rate variance of the M data transmissions of this communication path are determined to facilitate the determination of the stability of the M data transmissions of this communication path. It should be understood that if the communication path meets preset conditions, it indicates that the timeliness, throughput, and packet loss rate of the M data transmissions of this communication path are relatively stable, meeting the communication requirements between the vehicle-mounted host and the target communication object. In this case, based on the timeliness variance, throughput variance, and packet loss rate variance of the M data transmission records, the communication quality weighting value of this communication path is determined to accurately determine the cost-effectiveness of this communication path.

[0077] In one possible implementation, when the communication path does not meet the preset conditions, the abnormal data transmission information of the communication path and the preset data transmission index are combined to determine the abnormal data transmission difference value between the abnormal data transmission information of the communication path and the preset data transmission index; based on the abnormal data transmission difference value, a communication anomaly analysis report corresponding to the communication node is generated to facilitate the investigation of the cause of the anomaly of the communication path.

[0078] See Figure 4 As shown, in step S303 above, the communication quality weighting value of the communication path is determined based on the timeliness variance, throughput variance, and packet loss rate variance. This specifically includes the following steps:

[0079] S401. Based on the data transmission information corresponding to the M data transmission records of the communication path, determine the timeliness level, throughput level, and packet loss rate level of the communication path.

[0080] In some embodiments, when determining the communication quality weighting value of a communication path, the timeliness level, throughput level, and packet loss rate level of the communication path are determined based on the data transmission information corresponding to the M data transmission records of the communication path, so as to facilitate the determination of the communication quality weighting value of the communication path.

[0081] See Figure 5 As shown, the above-mentioned S401 in the embodiment of this application specifically includes the following steps:

[0082] S501. Based on the data transmission information corresponding to the M data transmission records of the communication path, determine the average timeliness value, average throughput value, and average packet loss rate value corresponding to the M data transmission records of the communication path.

[0083] In some embodiments, based on the data transmission information corresponding to the M data transmission records of the communication path, the average timeliness value, average throughput value, and average packet loss rate value corresponding to the M data transmission records of the communication path are determined, so as to accurately determine the timeliness level, throughput level, and packet loss rate level of the communication path.

[0084] S502. Based on the average timeliness value, average throughput value, average packet loss rate value, and preset rating standard corresponding to the M data transmission records of the communication path, determine the timeliness level, throughput level, and packet loss rate level of the communication path.

[0085] It should be noted that the aforementioned preset rating standards may be pre-set by relevant technical personnel based on relevant experimental data, and this application does not impose specific restrictions on them.

[0086] For example, assume that the preset rating criteria include four levels: 100, 80, 60, and 0 for timeliness, throughput, and packet loss rate. The average timeliness value in [0, 60] corresponds to a timeliness level of 100; the average timeliness value in (60, 120] corresponds to a timeliness level of 80; the average timeliness value in (120, 300] corresponds to a timeliness level of 60; and the average timeliness value in (300, ∞) corresponds to a timeliness level of 0. The average packet loss rate value is 0, corresponding to a packet loss rate level of 100; the average packet loss rate value in (0, 5%) corresponds to a packet loss rate level of 80; and the average packet loss rate value in (5%, 10%) corresponds to a packet loss rate level of 60. The packet loss rate is 0 when the packet loss rate value is in the range of (10%, 100%). The average throughput value is 100 when the average throughput value is in the range of (150M, ∞); 80 when the average throughput value is in the range of (50M, 150M); 60 when the average throughput value is in the range of [300K, 50M); and 0 when the average throughput value is in the range of (0, 300k). At this point, the average timeliness value, average throughput value, average packet loss rate value, and preset rating standard of communication path A are obtained as (30, 8%, 60M). Therefore, the timeliness level, throughput level, and packet loss rate level of communication path A are determined to be (100, 60, 80).

[0087] S402. Based on the timeliness level, throughput level, packet loss rate level, preset weight, timeliness variance, throughput variance, and packet loss rate variance of the communication path, determine the communication quality weighting value of the communication path.

[0088] The preset weights are set in advance by relevant staff, and this application does not impose specific restrictions on them; for example, the timeliness weight is 0.3, the throughput weight is 0.4, and the packet loss rate weight is 0.3.

[0089] In some embodiments, the above-mentioned determination of the communication quality weighting value of the communication path based on the timeliness level, throughput level, packet loss rate level, preset weight, timeliness variance, throughput variance, and packet loss rate variance of the communication path is specifically implemented as follows: Communication quality weighting value of the communication path = Timeliness level × Timeliness variance × Timeliness weight + Throughput level × Throughput variance × Throughput weight + Packet loss rate level × Packet loss rate variance × Packet loss rate weight.

[0090] S202. The cost-effectiveness of a communication path is determined as the ratio of the communication quality weighted value of the communication path to the preset communication cost of the communication path.

[0091] In some embodiments, in order to determine a communication path that satisfies the communication needs between the vehicle host and the target communication object without causing excessive communication costs, after determining the communication quality weighting value of the communication path, the cost-effectiveness of the communication path is determined as the ratio of the communication quality weighting value of the communication path to the preset communication cost of the communication path.

[0092] It should be understood that in this application, for communication paths that do not meet the communication requirements between the vehicle host and the target communication object, their communication quality weighting value is set to 0. This makes the cost-effectiveness of the communication path 0, that is, the communication path has no cost-effectiveness, so as to avoid determining the communication path that does not meet the communication requirements as the target communication path, thereby ensuring the communication quality between the vehicle host and the target communication object.

[0093] As described above, this application aims to determine a communication path that satisfies the communication needs between the vehicle-mounted host and the target communication object without resulting in excessive communication costs. Based on the data transmission information of the communication path, a communication quality weighting value is determined for that path. After determining the communication quality weighting value, the ratio of this weighting value to the preset communication cost of the path is used as the cost-effectiveness ratio of the communication path. This allows for the determination of the target communication path based on the cost-effectiveness ratios of N communication paths.

[0094] S103. Determine any communication path among the N communication paths whose cost-effectiveness is greater than a preset threshold as the target communication path.

[0095] It should be noted that the preset threshold is set in advance by relevant technical personnel, and this application does not impose specific restrictions on it.

[0096] In some embodiments, after determining the cost-effectiveness of each of the N communication paths between the vehicle host and the target communication object, any communication path among the N communication paths whose cost-effectiveness is greater than a preset threshold is determined as the target communication path.

[0097] based on Figure 1The illustrated embodiment offers at least the following advantages: By acquiring the data transmission information corresponding to each of the N communication paths between the vehicle-mounted host and the target communication object, the communication quality of the N communication paths can be determined based on the data transmission information of each path. This helps in identifying the communication path among the N communication paths that meets the communication requirements between the vehicle-mounted host and the target communication object. To facilitate the identification of a communication path among the N communication paths that meets the communication requirements between the vehicle-mounted host and the target communication object without incurring high communication costs, the cost-effectiveness of any communication path among the N communication paths is determined by combining the data transmission information of that path with its preset communication cost.

[0098] Furthermore, selecting any path from the N communication paths with a cost-effectiveness greater than a preset threshold as the target communication path helps to determine the lowest-cost communication path while meeting the communication needs between the vehicle-mounted host and the target communication object. Since the cost-effectiveness of the communication path is considered when determining the target communication path between the vehicle-mounted host and the target communication object, it helps to reduce the communication cost between the vehicle-mounted host and the target communication object, thereby helping to avoid excessive communication latency between the vehicle-mounted host and each target communication object due to excessively high communication costs.

[0099] In some embodiments, after determining the target communication path between the vehicle host and the target communication object, the vehicle control device stores the communication characteristics of this communication after the communication between the vehicle host and the target communication object ends, so as to save the time required to determine the target communication path when the vehicle host and the target communication object communicate for the second time.

[0100] See Figure 6 As shown, the method for determining the vehicle communication path in this application embodiment is implemented as follows:

[0101] S601. Obtain data transmission information for N communication paths between the vehicle-mounted host and the target communication object.

[0102] S602. For any communication path among the N communication paths, determine the communication quality weighting value of the path object based on the data transmission information of the path, and further determine the cost-effectiveness of the communication path by combining the communication cost of the communication path.

[0103] S603. Among the N communication paths, determine any communication path with a cost-effectiveness greater than a preset threshold as the target communication path between the vehicle host and the target communication object.

[0104] S604. After the communication between the vehicle host and the target communication object ends, record the data transmission information between the vehicle host and the target communication object in this communication, so as to save time in determining the target communication path when the next communication begins.

[0105] The foregoing primarily describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the aforementioned functions, the vehicle control device or vehicle includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0106] This application embodiment can, according to the above method, exemplarily divide a vehicle control device or vehicle into functional modules. For example, the vehicle control device or vehicle may include various functional modules corresponding to each functional division, or two or more functions may be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division; in actual implementation, there may be other division methods.

[0107] Figure 7 This is a schematic diagram of the structure of a vehicle control device according to an exemplary embodiment, with reference to... Figure 7 The vehicle control device includes an acquisition module 101 and a determination module 102.

[0108] The acquisition module 101 is used to acquire the data transmission information corresponding to each of the N communication paths between the vehicle host and the target communication object, where N is a positive integer. The data transmission information includes the timeliness, throughput and packet loss rate of the communication path.

[0109] The determining module 102 is used to determine the cost-effectiveness of any communication path among N communication paths based on the data transmission information of the communication path and the preset communication cost of the communication path.

[0110] The determination module 102 is also used to determine the communication path with a cost-effectiveness greater than a preset threshold among the N communication paths as the target communication path.

[0111] In some embodiments, the determining module 102 is specifically used to determine the communication quality weighting value of the communication path based on the data transmission information of the communication path; the determining module 102 is specifically used to determine the cost-effectiveness of the communication path as the ratio of the communication quality weighting value of the communication path to the preset communication cost of the communication path.

[0112] In some embodiments, the acquisition module 101 is further configured to acquire M data transmission records of the communication path, where M is a positive integer; the determination module 102 is specifically configured to determine the timeliness variance, throughput variance, and packet loss rate variance of the M data transmission records of the communication path based on the data transmission information corresponding to the M data transmission records of the communication path; the determination module 102 is specifically configured to determine the communication quality weighting value of the communication path based on the timeliness variance, throughput variance, and packet loss rate variance when the communication path meets preset conditions, wherein the preset conditions include: the timeliness variance of the communication path is below a preset timeliness variance value, the throughput variance of the communication path is below a preset throughput variance value, and the packet loss rate variance of the communication path is below a preset packet loss rate variance value.

[0113] In some embodiments, the determining module 102 is specifically used to determine the timeliness level, throughput level, and packet loss rate level of the communication path based on the data transmission information corresponding to the M data transmission records of the communication path. The determining module 102 is also specifically used to determine the communication quality weighting value of the communication path based on the timeliness level, throughput level, packet loss rate level, preset weight, timeliness variance value, throughput variance value, and packet loss rate variance value of the communication path.

[0114] In some embodiments, the determining module 102 is specifically used to determine the average timeliness value, average throughput value, and average packet loss rate value corresponding to the M data transmission records of the communication path based on the data transmission information corresponding to the M data transmission records of the communication path; the determining module 102 is also specifically used to determine the timeliness level, throughput level, and packet loss rate level of the communication path based on the average timeliness value, average throughput value, average packet loss rate value, and preset rating standards corresponding to the M data transmission records of the communication path.

[0115] Figure 8 This is a schematic diagram illustrating the structure of a vehicle according to an exemplary embodiment. For example... Figure 8 As shown, vehicle 20 includes, but is not limited to, processor 201 and memory 202.

[0116] The memory 202 described above is used to store the executable instructions of the processor 201. It is understood that the processor 201 is configured to execute instructions to implement the vehicle control device in the above embodiment.

[0117] It should be noted that those skilled in the art will understand that Figure 8 The vehicle structure shown does not constitute a limitation on the vehicle; a vehicle may include, but is not limited to, other types of vehicles. Figure 8 This may indicate more or fewer components, or combinations of certain components, or different component arrangements.

[0118] Processor 201 is the control center of the electronic equipment, connecting various parts of the vehicle through various interfaces and lines. It performs various vehicle functions and processes data by running or executing software programs and / or modules stored in memory 202, and by calling data stored in memory 202, thereby providing overall vehicle monitoring. Processor 201 may include one or more processing units. Optionally, processor 201 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may also not be integrated into processor 201.

[0119] The memory 202 can be used to store software programs and various data. The memory 202 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, application programs required by at least one functional module (such as a determination unit, processing unit, etc.), etc. Furthermore, the memory 202 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0120] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 202 including instructions, which can be executed by a processor 201 of a vehicle 20 to implement the method for determining the vehicle communication path in the above embodiments.

[0121] In actual implementation, Figure 7 The functions of the acquisition module 101 and the determination module 102 can both be provided by Figure 8 The processor 201 calls the computer program stored in the memory 202 to implement the process. The specific execution process can be found in the description of the vehicle communication path determination method in the previous embodiment, and will not be repeated here.

[0122] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0123] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0124] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the classified units can be selected to achieve the purpose of this embodiment, depending on actual needs.

[0125] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0126] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, essentially, or the part that contributes to the prior art, or a complete or partial classification of the technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0127] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for determining a vehicle-mounted communication path, characterized in that, include: Obtain the data transmission information corresponding to each of the N communication paths between the vehicle host and the target communication object, where N is a positive integer. The data transmission information includes the timeliness, throughput, and packet loss rate of the communication path. For any of the N communication paths, including: Obtain M data transmission records for the communication path, where M is a positive integer; Based on the data transmission information corresponding to the M data transmission records of the communication path, determine the timeliness variance, throughput variance, and packet loss rate variance of the M data transmission records of the communication path. Determine whether the communication path meets preset conditions, the preset conditions include: the timeliness variance of the communication path is below a preset timeliness variance, the throughput variance of the communication path is below a preset throughput variance, and the packet loss rate variance of the communication path is below a preset packet loss rate variance. If the communication path meets preset conditions, the communication quality weighting value of the communication path is determined based on the data transmission information of the communication path; the cost-effectiveness of the communication path is determined as the ratio of the communication quality weighting value of the communication path to the preset communication cost of the communication path. If the communication path does not meet the preset conditions, the cost-effectiveness of the communication path is determined to be 0. Based on the abnormal data transmission information of the communication path and the preset data transmission index, the abnormal data transmission difference value of the communication path is determined. A communication anomaly analysis report is generated based on the abnormal data transmission difference value. Any communication path among the N communication paths with a cost-effectiveness greater than a preset threshold is determined as the target communication path. After the communication between the vehicle host and the target communication object ends, the communication characteristics of this communication are stored. When the vehicle host and the target communication object communicate again, the target communication path is determined based on the stored communication characteristics.

2. The method according to claim 1, characterized in that, The step of determining the communication quality weighting value of the communication path based on the timeliness variance value, the throughput variance value, and the packet loss rate variance value includes: Based on the data transmission information corresponding to the M data transmission records of the communication path, the timeliness level, throughput level, and packet loss rate level of the communication path are determined. Based on the timeliness level, throughput level, packet loss rate level, preset weight, timeliness variance, throughput variance, and packet loss rate variance of the communication path, the communication quality weighting value of the communication path is determined.

3. The method according to claim 2, characterized in that, The data transmission information corresponding to the M data transmission records based on the communication path determines the timeliness level, throughput level, and packet loss rate level of the communication path, including: Based on the data transmission information corresponding to the M data transmission records of the communication path, determine the average timeliness value, average throughput value, and average packet loss rate value corresponding to the M data transmission records of the communication path. Based on the average timeliness value, average throughput value, average packet loss rate value, and preset rating criteria corresponding to the M data transmission records of the communication path, the timeliness level, throughput level, and packet loss rate level of the communication path are determined.

4. A vehicle-mounted control device, characterized in that, include: The acquisition module is used to acquire data transmission information corresponding to each of the N communication paths between the vehicle host and the target communication object, where N is a positive integer. The data transmission information includes the timeliness, throughput and packet loss rate of the communication path. The determining module is used to obtain M data transmission records of any one of the N communication paths, where M is a positive integer; Based on the data transmission information corresponding to the M data transmission records of the communication path, determine the timeliness variance, throughput variance, and packet loss rate variance of the M data transmission records of the communication path. The system determines whether the communication path meets preset conditions, including: the timeliness variance of the communication path is below a preset timeliness variance value, the throughput variance of the communication path is below a preset throughput variance value, and the packet loss rate variance of the communication path is below a preset packet loss rate variance value. If the communication path meets the preset conditions, a communication quality weighted value is determined based on the data transmission information of the communication path. The cost-effectiveness of the communication path is determined as the ratio of the communication quality weighted value to the preset communication cost. If the communication path does not meet the preset conditions, the cost-effectiveness of the communication path is determined to be 0, and an abnormal data transmission difference value is determined based on the abnormal data transmission information and preset data transmission indicators of the communication path. A communication anomaly analysis report is generated based on the abnormal data transmission difference value. The determining module is further configured to determine any communication path among the N communication paths whose cost-effectiveness is greater than a preset threshold as the target communication path; The determining module is further configured to store the communication characteristics of the current communication after the communication between the vehicle host and the target communication object ends, and determine the target communication path based on the stored communication characteristics when the vehicle host and the target communication object communicate again.

5. A vehicle, characterized in that, Includes the vehicle control device as described in claim 4.

6. A computer-readable storage medium, characterized in that, When the computer-executable instructions stored in the computer-readable storage medium are executed by the vehicle's processor, the vehicle is able to perform the method as described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Communication link selection method, system and device and readable storage medium

    CN115550242A

  • Encoding and decoding method, encoder, decoder and electronic equipment

    CN115733987A

  • Protocol and link selection for vehicle control routing

    CN115835048A