Vehicle machine eSIM double-card flow equalization distribution method and device and vehicle machine domain controller
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-14
- Publication Date
- 2026-08-11
AI Technical Summary
[0005]有鉴于此,有必要提供一种车机eSIM双卡流量均衡分配方法、装置及车机域控制器,用以解决现有技术中双卡流量消耗差异大、资源利用率低的技术问题
本发明提供的车机eSIM双卡流量均衡分配方法,通过实时获取车机中第一eSIM卡的第一已用流量和第一网络质量,以及车机中第二eSIM卡的第二已用流量和第二网络质量,使得后续调度决策能够基于当前最新的双卡状态做出响应,确保了流量分配决策所依据数据的实时性和准确性,提升了后续分配优先级计算和调度动作的针对性与有效性;根据第一已用流量和第二已用流量,计算用于表征双卡流量消耗差异的流量均衡度,将表征双卡流量消耗差异的复杂状态转化为单一度量值,提升了双卡流量均衡状况的评判效率与准确性,进而提升了对是否需介入调控的判断效率和准确性;响应于流量均衡度小于预设均衡度阈值,至少基于第一已用流量、第二已用流量、第一网络质量和第二网络质量,生成第一eSIM卡的第一分配优先级和第二eSIM卡的第二分配优先级,实现了对双卡综合状态的量化评估与对比,提升了后续应用级分配决策的合理性,确保在推动流量均衡的同时兼顾网络传输质量;响应于车机中应用的网络请求,获取应用对应的流量需求系数,基于流量需求系数、第一分配优先级和第二分配优先级,确定目标eSIM卡,并将网络请求分配至目标eSIM卡,通过以单个应用为粒度实现了网络请求的精细化动态分配,提升了流量调度的灵活性和精确度,实现了双卡流量消耗的动态均衡。
Smart Images

Figure CN122554824A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle networking technology, and in particular to a method, device, and vehicle domain controller for balanced data traffic distribution for dual eSIM cards in a vehicle. Background Technology
[0002] With the popularization of vehicle networking technology in new energy vehicles, the requirements for network connectivity stability and continuity of in-vehicle infotainment systems are increasing. To ensure the reliability of network connectivity for in-vehicle applications, some vehicles are beginning to be equipped with eSIM dual SIM dual standby dual active functionality, meaning that two eSIM cards are installed in the in-vehicle infotainment system simultaneously, and both cards can independently register on the network and transmit data. This configuration can maintain in-vehicle network service through the other eSIM card when the signal of one eSIM card is poor or the network is interrupted, thus improving network robustness.
[0003] Currently, dual-SIM eSIM systems for in-vehicle systems typically employ a fixed workload allocation model for data usage management. For example, one eSIM is dedicated to basic connected vehicle services such as vehicle control commands and remote diagnostics, while the other is dedicated to high-data-volume applications like multimedia entertainment, map updates, and OTA upgrades. However, in actual use, the frequency and data consumption of different applications vary significantly, and the fixed allocation model cannot dynamically adjust based on the actual usage of the two cards. This leads to situations where one eSIM's data allowance is quickly exhausted, triggering speed limits or incurring overage charges, while the other eSIM still has a large amount of unused data. This imbalance in data consumption not only wastes data allowance resources but may also cause the speed-limited SIM to be unable to meet the network demands of its supported applications, impacting user experience.
[0004] Therefore, how to effectively control the data consumption of the two eSIM cards in the scenario of dual SIM dual standby dual pass in vehicle system, so as to reduce the difference in data consumption between the two cards and improve the utilization rate of data resources, is still a technical problem that needs to be solved in this field. Summary of the Invention
[0005] In view of this, it is necessary to provide a method, device and vehicle domain controller for balanced distribution of eSIM dual SIM data traffic in vehicle systems, in order to solve the technical problems of large differences in dual SIM data traffic consumption and low resource utilization in the prior art.
[0006] To address the aforementioned problems, in a first aspect, the present invention provides a method for balanced data traffic distribution for dual-SIM eSIM systems in vehicles, comprising: The system can obtain the first used data traffic and the first network quality of the first eSIM card in the vehicle's infotainment system in real time, as well as the second used data traffic and the second network quality of the second eSIM card in the vehicle's infotainment system. Based on the first used data volume and the second used data volume, calculate the data balance degree used to characterize the difference in data consumption between the two cards; In response to the traffic balance being less than a preset balance threshold, a first allocation priority for the first eSIM card and a second allocation priority for the second eSIM card are generated based at least on the first used traffic, the second used traffic, the first network quality, and the second network quality. In response to a network request from an application in the vehicle's infotainment system, the system obtains the traffic demand coefficient corresponding to the application, determines the target eSIM card based on the traffic demand coefficient, the first allocation priority, and the second allocation priority, and allocates the network request to the target eSIM card.
[0007] In one possible implementation, calculating the traffic balance degree, which characterizes the difference in traffic consumption between the two SIM cards, based on the first used traffic and the second used traffic, includes: Calculate the difference between the first used flow and the second used flow, and the maximum value between the first used flow and the second used flow; When the maximum value is zero, the traffic balance is determined to be the preset maximum value; When the larger value is not zero, the ratio of the flow difference to the maximum value is subtracted from 1 to obtain the flow balance.
[0008] In one possible implementation, generating a first allocation priority for the first eSIM card and a second allocation priority for the second eSIM card, based at least on the first used traffic, the second used traffic, the first network quality, and the second network quality, includes: The first remaining data is determined based on the first used data and the corresponding total data allowance of the data plan, and the second remaining data is determined based on the second used data and the corresponding total data allowance of the data plan. The first allocation priority is obtained by weighted summation of the first remaining traffic and the first ratio of the sum of the first remaining traffic and the second remaining traffic, and the first network quality and the second ratio of the sum of the first network quality and the second network quality. The second allocation priority is obtained by weighted summation of the third ratio of the second remaining traffic to the sum of the first and second remaining traffic, and the fourth ratio of the second network quality to the sum of the first and second network quality.
[0009] In one possible implementation, the weighted summation uses a first weighting coefficient corresponding to the first remaining traffic and the second remaining traffic, and a second weighting coefficient corresponding to the first network quality and the second network quality, and the sum of the first weighting coefficient and the second weighting coefficient is 1. The values of the first weighting coefficient and the second weighting coefficient are dynamically adjusted according to a preset strategy, which includes a traffic priority strategy or a network experience priority strategy.
[0010] In one possible implementation, determining the target eSIM card based on the traffic demand coefficient, the first allocation priority, and the second allocation priority includes: The product of the traffic demand coefficient and the first allocation priority is used as the first decision value; The product of the traffic demand coefficient and the second allocation priority is used as the second decision value; If the first decision value is greater than the second decision value, then the first eSIM card is determined to be the target eSIM card; If the second decision value is greater than the first decision value, then the second eSIM card is determined to be the target eSIM card; If the first decision value is equal to the second decision value, then the target eSIM card is determined according to a preset rule.
[0011] In one possible implementation, before determining the target eSIM card, the following is also included: If the network request is detected as a preset high-volume network request, the first allocation priority and the second priority are respectively determined by the first proportion and the second proportion of the sum of the first allocation priority and the second allocation priority; The first portion of the data stream corresponding to the high-volume network request, corresponding to the first proportion, is allocated to the first eSIM card, and the second portion corresponding to the second proportion is allocated to the second eSIM card for parallel transmission.
[0012] One possible implementation also includes: In response to the vehicle's infotainment system entering a power-off or sleep state, the first used data traffic and the second used data traffic at the current moment are stored; In response to the vehicle's infotainment system being woken up or powered on, a target eSIM card is determined based on the stored first used traffic and second used traffic, and the network request is allocated to the target eSIM card.
[0013] Secondly, the present invention also provides a vehicle-mounted eSIM dual-SIM data balancing distribution device, comprising: The acquisition unit is used to acquire in real time the first used traffic and the first network quality of the first eSIM card in the vehicle system, and the second used traffic and the second network quality of the second eSIM card in the vehicle system; The calculation unit is used to calculate the traffic balance degree, which characterizes the difference in traffic consumption between the two cards, based on the first used traffic and the second used traffic. The determining unit is configured to, in response to the traffic balance being less than a preset balance threshold, generate a first allocation priority for the first eSIM card and a second allocation priority for the second eSIM card based at least on the first used traffic, the second used traffic, the first network quality, and the second network quality. The allocation unit is configured to respond to network requests from applications in the vehicle system, obtain the traffic demand coefficient corresponding to the application, determine the target eSIM card based on the traffic demand coefficient, the first allocation priority and the second allocation priority, and allocate the network request to the target eSIM card.
[0014] Thirdly, the present invention also provides a vehicle-mounted domain controller, including a memory and a processor, wherein the memory is used to store a program; the processor is coupled to the memory and is used to execute the program stored in the memory to implement the steps in the vehicle-mounted eSIM dual-SIM traffic balancing allocation method described in any of the above implementations.
[0015] Fourthly, the present invention also provides a vehicle, including the vehicle-mounted eSIM dual-SIM traffic equalization allocation device, or a vehicle-mounted domain controller, or performing the steps in the vehicle-mounted eSIM dual-SIM traffic equalization allocation method described in any of the above implementations.
[0016] The beneficial effects of this invention are: The present invention provides a method for balanced traffic allocation between dual eSIM cards in a vehicle infotainment system. By acquiring in real-time the first used traffic and first network quality of the first eSIM card in the vehicle infotainment system, and the second used traffic and second network quality of the second eSIM card, subsequent scheduling decisions can be made based on the latest dual-SIM status. This ensures the real-time nature and accuracy of the data upon which traffic allocation decisions are based, and improves the targeting and effectiveness of subsequent allocation priority calculations and scheduling actions. Based on the first and second used traffic, a traffic balance degree is calculated to characterize the difference in traffic consumption between the two cards. This transforms the complex state characterizing the difference in traffic consumption between the two cards into a single metric, improving the efficiency and accuracy of judging the traffic balance status of the two cards, and thus improving the efficiency and accuracy of determining whether intervention is needed. The method responds to the traffic balance degree... If the data usage is less than a preset balance threshold, a first allocation priority for the first eSIM card and a second allocation priority for the second eSIM card are generated based at least on the first used data traffic, the second used data traffic, the first network quality, and the second network quality. This enables a quantitative assessment and comparison of the overall status of the two SIM cards, improving the rationality of subsequent application-level allocation decisions and ensuring that network transmission quality is considered while promoting data traffic balance. In response to network requests from applications in the vehicle system, the data traffic demand coefficient corresponding to the application is obtained. Based on the data traffic demand coefficient, the first allocation priority, and the second allocation priority, the target eSIM card is determined, and the network request is allocated to the target eSIM card. By using individual applications as the granularity, fine-grained dynamic allocation of network requests is achieved, improving the flexibility and accuracy of data traffic scheduling and realizing dynamic balance of data traffic consumption between the two SIM cards. Attached Figure Description
[0017] Figure 1 This is a schematic flowchart of an embodiment of the vehicle-mounted eSIM dual-SIM traffic balancing allocation method provided by the present invention; Figure 2 Provided by the present invention Figure 1 A schematic diagram of an embodiment of S104; Figure 3 This is a schematic diagram of the structure of the in-vehicle eSIM dual-SIM data balancing distribution device provided by the present invention; Figure 4 This is a schematic diagram of the vehicle domain controller provided by the present invention. Detailed Implementation
[0018] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0019] In the description of the embodiments of the present invention, unless otherwise stated, "a plurality of" means two or more.
[0020] The terms "first," "second," etc., used in the embodiments of this invention are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a technical feature defined with "first" or "second" may explicitly or implicitly include at least one of that feature.
[0021] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0022] This invention provides a method, device, and vehicle domain controller for balanced traffic distribution of eSIM dual SIM cards in a vehicle, which will be described in detail below.
[0023] The execution subject of the vehicle-mounted eSIM dual-SIM traffic equalization allocation method in this application embodiment can be the vehicle-mounted eSIM dual-SIM traffic equalization allocation device, vehicle-mounted domain controller, or electronic control unit (ECU) provided in this application embodiment. In this application embodiment, the execution subject is the vehicle-mounted domain controller as an example for description.
[0024] This application's embodiment of the vehicle infotainment system eSIM dual-SIM traffic balancing allocation method is applicable to new energy vehicle infotainment systems equipped with a first eSIM card and a second eSIM card. This method can be continuously executed during vehicle infotainment system operation. By real-time monitoring of dual-SIM traffic status and network quality, it dynamically adjusts the allocation of network requests generated by each vehicle infotainment application to balance the traffic consumption of the two eSIM cards.
[0025] Figure 1 This is a schematic flowchart of an embodiment of the vehicle-mounted eSIM dual-SIM traffic balancing allocation method provided by the present invention, as shown below. Figure 1 As shown, the method for balanced data traffic distribution for dual-SIM eSIM devices in vehicles includes: S101. Real-time acquisition of the first used data traffic and the first network quality of the first eSIM card in the vehicle system, and the second used data traffic and the second network quality of the second eSIM card in the vehicle system.
[0026] Both the first and second eSIM cards have independent network access and concurrent data transmission capabilities, meaning they support dual-SIM dual-standby dual-pass functionality.
[0027] Used data refers to the total amount of data traffic consumed by each eSIM card within the current billing cycle, which can be read directly from the vehicle's data traffic statistics module or modem.
[0028] Network quality is an indicator reflecting the current network communication status of the eSIM card. It can be obtained by normalizing parameters such as reference signal received power, signal-to-interference-to-noise ratio, network latency, and available bandwidth to obtain a comprehensive score. It should be understood that the specific calculation method for network quality can be implemented using commonly used network quality assessment algorithms in this field, and this embodiment does not impose specific limitations on it.
[0029] Specifically, the system obtains the first used data traffic and the first network quality of the first eSIM card in the vehicle's infotainment system in real time, as well as the second used data traffic and the second network quality of the second eSIM card in the vehicle's infotainment system. This enables subsequent scheduling decisions to respond based on the latest dual-SIM status, ensuring the real-time nature and accuracy of the data on which the data traffic allocation decision is based, and improving the pertinence and effectiveness of subsequent allocation priority calculations and scheduling actions.
[0030] S102. Calculate the traffic balance degree to characterize the difference in traffic consumption between the two cards based on the first used traffic and the second used traffic.
[0031] The data balance score is used to quantify the degree of deviation in the current data consumption of the two eSIM cards. Its value is positively correlated with how similar the data usage of the two cards is. For example, the closer the data usage of the two cards is, the higher the data balance score, indicating that the data consumption of the two cards is more balanced; conversely, the lower the data balance score, the greater the difference in data consumption between the two cards.
[0032] Specifically, the traffic balance can be determined based on the difference between the first and second used traffic, and the larger of the two. By calculating this traffic balance, the complex state characterizing the difference in traffic consumption between the two SIM cards is transformed into a single metric, improving the efficiency and accuracy of assessing the traffic balance of the two SIM cards, and thus improving the efficiency and accuracy of determining whether intervention and control are necessary.
[0033] S103. In response to the traffic balance being less than a preset balance threshold, at least based on the first used traffic, the second used traffic, the first network quality, and the second network quality, generate a first allocation priority for the first eSIM card and a second allocation priority for the second eSIM card.
[0034] The preset traffic balance threshold defines the acceptable range of traffic consumption differences between the two SIM cards. When the traffic balance is below this threshold, it means that the traffic imbalance between the two SIM cards has exceeded the tolerance limit, requiring active scheduling to be initiated. This threshold can be set according to actual needs, for example, to 0.8 or 0.75. If the traffic balance is greater than or equal to the preset threshold, it indicates that the current traffic consumption difference between the two SIM cards is within an acceptable range, and the existing traffic allocation method can be maintained. If the traffic balance is less than the preset threshold, it indicates that there is a significant imbalance in traffic consumption between the two SIM cards, requiring the triggering of a subsequent dynamic scheduling process.
[0035] The allocation priority is used to characterize how suitable the corresponding eSIM card is to be selected as the target eSIM card for data transmission at the current moment.
[0036] Specifically, based at least on the first used data traffic, the second used data traffic, the first network quality, and the second network quality, a first allocation priority for the first eSIM card and a second allocation priority for the second eSIM card are generated. This generation process comprehensively considers information from two dimensions: data traffic consumption and network quality. This ensures that eSIM cards with more remaining data traffic or better network quality receive a relatively higher priority. In simpler terms, when an eSIM card has relatively ample remaining data traffic and relatively good network quality, its allocation priority is correspondingly higher; conversely, if an eSIM card has less remaining data traffic or poor network quality, its allocation priority will be correspondingly lower. This achieves a quantitative assessment and comparison of the overall status of the two SIM cards, improving the rationality of subsequent application-level allocation decisions and ensuring that network transmission quality is considered while promoting data traffic balance.
[0037] S104. In response to a network request from an application in the vehicle system, obtain the traffic demand coefficient corresponding to the application, determine the target eSIM card based on the traffic demand coefficient, the first allocation priority, and the second allocation priority, and allocate the network request to the target eSIM card.
[0038] The applications running in the in-vehicle infotainment system include, but are not limited to: remote control applications, navigation applications, online audio / video applications, OTA (Over-The-Air) upgrade applications, and vehicle status upload applications. Different applications will generate network requests to external networks during operation, and these network requests will be allocated to the appropriate target eSIM card through subsequent steps.
[0039] The traffic demand coefficient is a preset parameter used to characterize the traffic consumption intensity of different in-vehicle applications. For example, the traffic demand coefficient for remote control applications can be set to a lower value, while the traffic demand coefficient for online audio-visual applications can be set to a higher value. The traffic demand coefficient can be pre-stored in the configuration file of the in-vehicle system and associated with the application identifier of each application.
[0040] Specifically, the system continuously monitors network requests initiated by applications in the vehicle's infotainment system. When a network request is detected from an application, the system obtains the traffic demand coefficient corresponding to that application. It then calculates a first correlation value between the traffic demand coefficient and a first allocation priority, and a second correlation value between the traffic demand coefficient and a second allocation priority. These two values are compared, and the eSIM card corresponding to the one with the larger correlation value is identified as the target eSIM card. The network request initiated by the application is then allocated to this target eSIM card, allowing the data stream corresponding to the network request to be transmitted through the communication link established by the target eSIM card. By implementing fine-grained dynamic allocation of network requests at the individual application level, the system improves the flexibility and accuracy of traffic scheduling and achieves dynamic balancing of traffic consumption between the two SIM cards.
[0041] In this embodiment, the application's traffic demand coefficient is considered in conjunction with the first allocation priority and the second allocation priority, so that applications with higher traffic demand are guided to the eSIM card with higher priority during the allocation process, while applications with lower traffic consumption intensity have a correspondingly reduced impact on the allocation result. This realizes dynamic allocation of network requests at the granularity of individual vehicle applications, and can flexibly guide applications with different traffic demands to the appropriate eSIM card based on the real-time differences in traffic consumption between the two cards and the network quality status.
[0042] Furthermore, for applications with low data usage, the allocation result has a limited impact on the balance of data usage between the two SIM cards, and can be used as a fine-tuning method; for applications with high data usage, the data usage gap between the two SIM cards can be quickly narrowed by allocating them to eSIM cards with more remaining data or higher priority.
[0043] It is worth noting that by repeatedly executing the above steps S101-S104, the vehicle's infotainment system can continuously monitor the difference in traffic usage between the two SIM cards during operation, trigger priority updates as needed, and direct network requests to the appropriate eSIM card based on the traffic characteristics of each application. Specifically, after each network request allocation, the used traffic value is updated with data transmission, and the traffic balance is recalculated based on the updated first and second used traffic values. If the recalculated traffic balance is still less than the preset balance threshold, the first and second allocation priorities are updated again for use in the next network request allocation. This forms a dynamic closed-loop control process of "monitoring-calculation-scheduling-feedback," ensuring that the traffic consumption of both SIM cards remains relatively balanced throughout the vehicle's operating cycle, thereby promoting the dynamic balance of traffic consumption across both SIM cards overall.
[0044] In summary, the vehicle-mounted eSIM dual-SIM traffic balancing allocation method provided by this invention obtains in real time the first used traffic and first network quality of the first eSIM card in the vehicle-mounted system, as well as the second used traffic and second network quality of the second eSIM card in the vehicle-mounted system. This allows subsequent scheduling decisions to respond based on the latest dual-SIM status, ensuring the real-time nature and accuracy of the data upon which traffic allocation decisions are based, and improving the targeting and effectiveness of subsequent allocation priority calculations and scheduling actions. Based on the first and second used traffic, a traffic balance degree is calculated to characterize the difference in traffic consumption between the two cards, transforming the complex state characterizing the difference in traffic consumption between the two cards into a single metric value. This improves the efficiency and accuracy of judging the dual-SIM traffic balance status, thereby improving the efficiency and accuracy of determining whether intervention and control are needed. In response to the traffic... If the traffic balance is less than a preset balance threshold, at least based on the first used traffic, the second used traffic, the first network quality, and the second network quality, a first allocation priority for the first eSIM card and a second allocation priority for the second eSIM card are generated. This enables a quantitative assessment and comparison of the overall status of the two SIM cards, improving the rationality of subsequent application-level allocation decisions and ensuring that network transmission quality is considered while promoting traffic balance. In response to network requests from applications in the vehicle system, the traffic demand coefficient corresponding to the application is obtained. Based on the traffic demand coefficient, the first allocation priority, and the second allocation priority, the target eSIM card is determined, and the network request is allocated to the target eSIM card. By using individual applications as the granularity, fine-grained dynamic allocation of network requests is achieved, improving the flexibility and accuracy of traffic scheduling and realizing dynamic balance of traffic consumption between the two SIM cards.
[0045] In some embodiments of the present invention, step S102 includes: calculating the flow difference between the first used flow and the second used flow, and the maximum value between the first used flow and the second used flow; when the maximum value is zero, determining the flow balance as a preset maximum value; when the maximum value is not zero, subtracting the ratio of the flow difference to the maximum value from 1 as the flow balance.
[0046] The first used data traffic refers to the total amount of data traffic consumed by the first eSIM card in the current billing cycle, denoted as Q1(t). The second used data traffic refers to the total amount of data traffic consumed by the second eSIM card in the current billing cycle, denoted as Q2(t).
[0047] The flow difference refers to the absolute value of the difference between the first used flow and the second used flow, denoted as D(t), i.e., D(t) = |Q1(t) - Q2(t)|.
[0048] The maximum value refers to the larger of the first and second used traffic, denoted as max(Q1(t), Q2(t)). The traffic balance is denoted as E(t), and its value is usually between 0 and 1. The higher the value, the more balanced the traffic consumption of the two SIM cards.
[0049] Specifically, the difference D(t) between the first used data traffic Q1(t) and the second used data traffic Q2(t) is calculated, along with the maximum value between the first and second used data traffic, max(Q1(t), Q2(t)). When the maximum value is zero, it indicates that neither eSIM card has consumed any data traffic, and the data traffic balance is set to a preset maximum value, for example, E(t) is set to 1. When the maximum value is not zero, the data traffic balance is calculated according to the expression E(t) = 1 - D(t) / max(Q1(t), Q2(t)).
[0050] It should be noted that when the maximum value is not zero and the traffic difference D(t) is relatively large, the ratio of D(t) / max(Q1(t), Q2(t)) approaches 1, and E(t) approaches 0, indicating a significant difference in traffic consumption between the two SIM cards. When the traffic difference D(t) is relatively small, the ratio of D(t) / max(Q1(t), Q2(t)) approaches 0, and E(t) approaches 1, indicating that the traffic consumption between the two SIM cards tends to be balanced. Optionally, to avoid the abnormal situation of the denominator being zero, a very small constant ε can be introduced into the denominator, that is, the expression can be written as E(t)=1-D(t) / (max(Q1(t), Q2(t))+ε), where ε is a preset very small positive value, such as 0.001. Understandably, this embodiment improves the efficiency and accuracy of identifying traffic imbalance by quantifying the difference in traffic consumption between the two SIM cards into a balance index based on the ratio of the difference.
[0051] In some embodiments of the present invention, step S103 includes: determining a first remaining data volume based on the first used data volume and the corresponding total data volume of the package; determining a second remaining data volume based on the second used data volume and the corresponding total data volume of the package; performing a weighted summation on a first ratio of the first remaining data volume to the sum of the first remaining data volume and the second remaining data volume, and on a second ratio of the first network quality to the sum of the first network quality and the second network quality, to obtain a first allocation priority; and performing a weighted summation on a third ratio of the second remaining data volume to the sum of the first remaining data volume and the second remaining data volume, and on a fourth ratio of the second network quality to the sum of the first network quality and the second network quality, to obtain a second allocation priority.
[0052] In some embodiments of the present invention, the weighted summation adopts a first weight coefficient corresponding to the first remaining traffic and the second remaining traffic and a second weight coefficient corresponding to the first network quality and the second network quality, and the sum of the first weight coefficient and the second weight coefficient is 1; the values of the first weight coefficient and the second weight coefficient are dynamically adjusted according to a preset strategy, the preset strategy including a traffic priority strategy or a network experience priority strategy.
[0053] The total data allowance refers to the total available data quota for the current month or period included in the data plan subscribed to by each eSIM card from the operator. The total data allowance for the first eSIM card is denoted as Q. 1max The total data allowance for the second eSIM card is denoted as Q. 2max The two values can be the same or different, depending on the vehicle's infotainment system configuration and the operator's service plan.
[0054] The first remaining data allowance refers to the available data quota remaining after subtracting the first used data from the total data allowance of the first eSIM card's data plan, denoted as R1(t) = Q. 1max - Q1(t); The second remaining data refers to the available data allowance remaining after subtracting the used data from the total data allowance of the second eSIM card's plan, denoted as R2(t) = Q 2max - Q2(t).
[0055] The first network quality and the second network quality are the scores used to evaluate the current network communication status of the first eSIM card and the second eSIM card, respectively, denoted as S1(t) and S2(t). The higher the score, the better the network quality.
[0056] The first allocation priority P1(t) and the second allocation priority P2(t) are indicators used to measure the suitability of the first eSIM card and the second eSIM card for carrying data transmission tasks at the current moment. The values range from zero to one, and the larger the value, the more suitable the card is to be selected as the traffic allocation target.
[0057] Specifically, based on the first used data volume Q1(t) and the corresponding total data volume Q of the package 1max Determine the first remaining data allowance R1(t), and then determine the second used data allowance Q2(t) and the corresponding total data allowance Q. 2maxDetermine the second remaining flow R2(t). Next, calculate the first ratio of the first remaining flow to the sum of the first and second remaining flows, i.e., R1(t) divided by the sum of R1(t) and R2(t); calculate the second ratio of the first network quality S1(t) to the sum of the first and second network quality, i.e., S1(t) divided by the sum of S1(t) and S2(t). Then, perform a weighted sum of the first and second ratios to obtain the first allocation priority P1(t). Correspondingly, calculate the third ratio of the second remaining flow to the sum of the first and second remaining flows, i.e., R2(t) divided by the sum of R1(t) and R2(t); calculate the fourth ratio of the second network quality S2(t) to the sum of the first and second network quality, i.e., S2(t) divided by the sum of S1(t) and S2(t). Perform a weighted sum of the third and fourth ratios to obtain the second allocation priority P2(t).
[0058] The calculation process can be represented as follows: P1(t) = α × [R1(t) / (R1(t) + R2(t))] + β × [S1(t) / (S1(t) + S2(t))]; P2(t) = α × [R2(t) / (R1(t) + R2(t))] + β × [S2(t) / (S1(t) + S2(t))]; Here, α is the first weighting coefficient corresponding to the remaining traffic, and β is the second weighting coefficient corresponding to network quality, with the sum of α and β being one. By adjusting the specific values of α and β, the relative importance of traffic factors and network quality factors in priority calculation can be changed.
[0059] As an optional implementation, when prioritizing balanced traffic consumption between the two SIM cards, the first weighting coefficient α can be set to a larger value, such as α=0.7 and β=0.3. When prioritizing network transmission experience, the second weighting coefficient β can be set to a larger value, such as α=0.3 and β=0.7. The specific values of the first weighting coefficient α and the second weighting coefficient β can be dynamically adjusted according to the preset strategies in the actual application scenario. These preset strategies include traffic priority strategies or network experience priority strategies.
[0060] Understandably, this embodiment generates allocation priorities by weighting and fusing the ratio of remaining traffic to network quality. This ensures that the final priority value reflects both the remaining traffic of each eSIM card and the current network quality. This improves the rationality and comprehensiveness of the allocation priority calculation, ensuring that subsequent traffic allocation promotes a more balanced consumption of traffic across both SIM cards while effectively preventing network requests from being directed to eSIM cards with poor network quality simply to achieve traffic balance. This safeguards the network experience of in-vehicle applications. Furthermore, by adjusting the first weighting coefficient α and the second weighting coefficient β, a flexible balance between traffic balance and network experience goals is achieved, enhancing adaptability in different application scenarios.
[0061] In some embodiments of the present invention, such as Figure 2 As shown, step S104 includes: S201. The product of the traffic demand coefficient and the first allocation priority is used as the first decision value; S202, The product of the traffic demand coefficient and the second allocation priority is used as the second decision value; S203. If the first decision value is greater than the second decision value, then the first eSIM card is determined to be the target eSIM card; S204. If the second decision value is greater than the first decision value, then the second eSIM card is determined to be the target eSIM card; S205. If the first decision value is equal to the second decision value, then the target eSIM card is determined according to a preset rule.
[0062] Specifically, the coefficient for low-traffic applications can be set to a value between 0.1 and 0.3, while the coefficient for high-traffic applications can be set to a value between 0.7 and 1.0.
[0063] The first decision value is the product of the traffic demand coefficient and the first allocation priority, used to quantify the overall suitability of the first eSIM card for the current application's network request. The second decision value is the product of the traffic demand coefficient and the second allocation priority, used to quantify the overall suitability of the second eSIM card for the current application's network request. A higher decision value indicates that the corresponding eSIM card is more suitable for carrying the transmission task of the application's current network request.
[0064] The preset rule refers to the backup decision logic used to assist in determining the target eSIM card when the first decision value and the second decision value are equal. This preset rule may include, but is not limited to: selecting the eSIM card with better current network quality parameters as the target eSIM card, or selecting the eSIM card with less used data as the target eSIM card.
[0065] Specifically, in response to a network request initiated by an application in the vehicle's infotainment system, the traffic demand coefficient F corresponding to that application is obtained. i Simultaneously, read the first allocation priority P1(t) of the first eSIM card and the second allocation priority P2(t) of the second eSIM card at the current moment. Set the traffic demand coefficient F... i Multiplying it by the first allocation priority P1(t) yields the first decision value U. i1 ; the flow demand coefficient F i Multiplying it by the second allocation priority P2(t) yields the second decision value U. i2 Compare U i1 with U i2 Size relationship: If U i1 Greater than U i2 Then the first eSIM card will be identified as the target eSIM card; if U i2 Greater than U i1 Then the second eSIM card will be identified as the target eSIM card; if U i1 equal to U i2 If so, a preset rule is invoked to determine the target eSIM card, for example, the eSIM card corresponding to the one with the higher score between the first network quality and the second network quality is selected as the target eSIM card.
[0066] Understandably, this embodiment achieves quantitative decision-making for application-level network requests by multiplying the traffic demand coefficient by the allocation priority to obtain a decision value and then comparing them, so that applications with different traffic consumption characteristics can be allocated to eSIM cards with higher overall suitability.
[0067] In some embodiments of the present invention, before step S104, the method further includes: if the network request is detected to be a preset high-volume network request, determining the first allocation priority and the second priority respectively as a first proportion and a second proportion of the sum of the first allocation priority and the second allocation priority; allocating the first part of the data stream corresponding to the high-volume network request, corresponding to the first proportion, to the first eSIM card, and allocating the second part corresponding to the second proportion, to the second eSIM card for parallel transmission.
[0068] Among them, the pre-defined high-volume network requests refer to network request types that are pre-identified as having high data consumption requirements. These network requests are typically associated with in-vehicle infotainment applications that need to transmit large amounts of data within a short period. Examples include OTA update package download requests, offline map data update requests, and high-definition audio / video resource caching requests. The identification of these request types can be achieved by detecting the application identifier, data packet type identifier, or Uniform Resource Locator (URL) characteristics associated with the network request.
[0069] The first percentage refers to the proportion of the first allocation priority to the sum of the first and second allocation priorities. The second percentage refers to the proportion of the second allocation priority to the sum of the first and second allocation priorities. Through this percentage relationship, the allocation priorities of each SIM card can be mapped to specific data volume allocation shares.
[0070] Specifically, if a network request initiated by the current vehicle-mounted application is detected to be a pre-defined high-volume network request, then instead of using a single-SIM allocation method, parallel transmission processing is executed. For example, a link-splitting parallel download strategy is adopted. First, the sum of the first allocation priority P1(t) and the second allocation priority P2(t) is calculated, thereby determining the first proportion k1 = P1(t) / (P1(t) + P2(t)) and the second proportion k2 = P2(t) / (P1(t) + P2(t)). Then, the data stream corresponding to the high-volume network request is split according to the first and second proportions. The first part of the data stream corresponding to the first proportion is allocated to the first eSIM card for transmission, and the second part of the data stream corresponding to the second proportion is allocated to the second eSIM card for transmission. The first and second eSIM cards can simultaneously establish their respective communication links and concurrently transmit their respective data portions, thereby achieving parallel download of the data stream.
[0071] As an optional approach, taking an OTA upgrade package download as an example, assuming the total size of the upgrade package is 1000MB, and at the current moment, the first allocation priority P1(t) is 0.6, and the second allocation priority P2(t) is 0.4. Calculations show that the first priority k1 = 0.6 / (0.6 + 0.4) = 0.6, and the second priority k2 = 0.4 / (0.6 + 0.4) = 0.4. Therefore, in the data stream corresponding to this upgrade package, 600MB of data is allocated to the first eSIM card for transmission, and 400MB of data is allocated to the second eSIM card. Both eSIM cards download data simultaneously through their respective communication links. The vehicle system reassembles the two parts of data at the receiving end to complete the acquisition of the entire upgrade package.
[0072] Understandably, this embodiment fully utilizes the concurrent transmission capability of eSIM dual SIM dual standby dual pass by identifying preset high-volume network requests and splitting and transmitting the data stream in parallel according to the proportion of dual SIM allocation priority during the allocation process.
[0073] In some embodiments of the present invention, the method further includes: in response to the vehicle unit entering a power-off or sleep state, storing the first used traffic and the second used traffic at the current moment; in response to the vehicle unit being woken up or powered on, determining a target eSIM card based on the stored first used traffic and the second used traffic, and allocating the network request to the target eSIM card.
[0074] The "power-down state" refers to the operating state where the vehicle's power supply is disconnected, the vehicle's infotainment system is about to shut down, or it enters a low-power mode.
[0075] Hibernation mode refers to a low-power operating mode in which the vehicle infotainment system shuts down some non-essential functional modules to reduce power consumption, but retains the ability to wake up. Non-volatile storage media refers to storage devices in the vehicle infotainment system that can retain stored data after power is lost, including but not limited to flash memory, electrically erasable programmable read-only memory, solid-state drives, or embedded multimedia memory cards.
[0076] Specifically, in response to the vehicle's infotainment system entering a power-down or sleep state, the first used traffic Q1(t) and the second used traffic Q2(t) at the current moment are saved to the non-volatile storage area of the vehicle's infotainment system. In response to the vehicle's infotainment system being woken up or powered on again, the saved first used traffic Q1(t) and second used traffic Q2(t) are read from the non-volatile storage area, and the read values are used as the traffic reference for subsequent traffic scheduling decisions. Subsequently, when an application in the vehicle's infotainment system initiates a network request, the traffic balance degree E(t) = 1 - (|Q1(t) - Q2(t)|) / (max(Q1(t),Q2(t)) + ε) is calculated based on this traffic reference. When the traffic balance degree E(t) is less than a preset balance degree threshold, the generation and update of the first allocation priority P1(t) and the second allocation priority P2(t) are triggered, thereby completing the allocation of the target eSIM card for the network request.
[0077] As an example scenario, suppose that at the end of a single trip, the first eSIM card has used 800MB of data, and the second eSIM card has used 200MB of data. At this point, the data balance is 0.25, triggering dynamic scheduling. After the vehicle powers off and goes into sleep mode, these 800MB and 200MB values are stored. When the vehicle restarts, the system reads 800MB and 200MB as the current data baseline, calculates the data balance to be 0.25, which is less than the preset threshold. Therefore, it continues to generate and update priorities, allocating subsequent network requests preferentially to the second eSIM card to gradually reduce the cumulative data usage difference between the two cards.
[0078] It should be noted that the values in the above examples are for illustrative purposes only. In actual applications, the traffic values and balance thresholds can be flexibly set according to the vehicle system configuration and the operator's package.
[0079] Understandably, this embodiment achieves cross-trip continuation of the traffic balancing strategy by persistently storing the used traffic data of both SIM cards before power-down or sleep mode, and using the stored data as the traffic scheduling benchmark after wake-up or power-on. Compared to accumulating traffic from zero with each startup, this method ensures that the balance of traffic consumption between the two SIM cards is maintained continuously in scenarios of frequent vehicle starts and stops and long-term parking, improving the overall utilization efficiency of traffic resources and reducing the risk of premature speed limiting of a single SIM card due to traffic statistics reset.
[0080] To better implement the vehicle-mounted eSIM dual-SIM traffic balancing allocation method in this embodiment of the invention, based on the vehicle-mounted eSIM dual-SIM traffic balancing allocation method, correspondingly, as follows: Figure 3 As shown, this embodiment of the invention also provides a vehicle-mounted eSIM dual-SIM data balancing distribution device. The vehicle-mounted eSIM dual-SIM data balancing distribution device 300 includes: The acquisition unit 301 is used to acquire in real time the first used traffic and the first network quality of the first eSIM card in the vehicle system, as well as the second used traffic and the second network quality of the second eSIM card in the vehicle system. The calculation unit 302 is used to calculate the traffic balance degree, which characterizes the difference in traffic consumption between the two cards, based on the first used traffic and the second used traffic. The determining unit 303 is configured to, in response to the traffic balance being less than a preset balance threshold, generate a first allocation priority for the first eSIM card and a second allocation priority for the second eSIM card based at least on the first used traffic, the second used traffic, the first network quality, and the second network quality. The allocation unit 304 is configured to respond to a network request from an application in the vehicle system, obtain a traffic demand coefficient corresponding to the application, determine a target eSIM card based on the traffic demand coefficient, the first allocation priority, and the second allocation priority, and allocate the network request to the target eSIM card.
[0081] The vehicle-mounted eSIM dual-SIM traffic equalization distribution device 300 provided in the above embodiments can realize the technical solutions described in the above embodiments of the vehicle-mounted eSIM dual-SIM traffic equalization distribution method. The specific implementation principles of each module or unit can be found in the corresponding content in the above embodiments of the vehicle-mounted eSIM dual-SIM traffic equalization distribution method, and will not be repeated here.
[0082] like Figure 4 As shown, the present invention also provides a vehicle infotainment domain controller 400. The vehicle infotainment domain controller 400 includes a processor 401, a memory 402, and a display 404. Figure 4 Only some components of the vehicle domain controller 400 are shown; however, it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0083] In some embodiments, processor 401 may be a central processing unit (CPU), microprocessor, or other data processing chip, used to run program code stored in memory 402 or process data, such as the time synchronization method of the vehicle domain controller in this invention.
[0084] In some embodiments, processor 401 may be a single server or a group of servers. The server group may be centralized or distributed. In some embodiments, processor 401 may be local or remote. In some embodiments, processor 401 may be implemented on a cloud platform. In one embodiment, the cloud platform may include a private cloud, public cloud, hybrid cloud, community cloud, distributed cloud, intranet, multi-cloud, etc., or any combination thereof.
[0085] In some embodiments, memory 402 may be an internal storage unit of the vehicle domain controller 400, such as a hard disk or memory of the vehicle domain controller 400. In other embodiments, memory 402 may also be an external storage device of the vehicle domain controller 400, such as a pluggable hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the vehicle domain controller 400.
[0086] Furthermore, the memory 402 may include both internal storage units of the vehicle domain controller 400 and external storage devices. The memory 402 is used to store application software and various types of data installed on the vehicle domain controller 400.
[0087] In some embodiments, display 404 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen. Display 404 is used to display information from the vehicle domain controller 400 and to display a visual user interface. Components 401-404 of the vehicle domain controller 400 communicate with each other via a system bus.
[0088] Accordingly, this application also provides a vehicle equipped with a vehicle-mounted domain controller as provided in any of the above embodiments. The vehicle-mounted domain controller is used to execute the vehicle-mounted eSIM dual-SIM traffic balancing allocation method provided in any of the above embodiments. This includes the vehicle-mounted eSIM dual-SIM traffic balancing allocation device provided in any of the above embodiments, or executes the steps of any of the methods provided in any of the above embodiments. The vehicle can be a gasoline-powered vehicle, a plug-in hybrid electric vehicle, or a new energy vehicle, etc., and this specification does not specifically limit it.
[0089] Those skilled in the art will understand that all or part of the processes of the methods described in the above embodiments can be implemented by a computer program instructing related hardware (such as a processor, controller, etc.), and the computer program can be stored in a computer-readable storage medium. The computer-readable storage medium may be a disk, optical disk, read-only memory, or random access memory, etc.
[0090] The time synchronization method, device, and vehicle domain controller provided by this invention have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this invention. Therefore, the content of this specification should not be construed as a limitation of this invention.
Claims
1. A method for balanced data traffic distribution between dual eSIM cards in a vehicle infotainment system, characterized in that, include: The system can obtain the first used data traffic and the first network quality of the first eSIM card in the vehicle's infotainment system in real time, as well as the second used data traffic and the second network quality of the second eSIM card in the vehicle's infotainment system. Based on the first used data volume and the second used data volume, calculate the data balance degree used to characterize the difference in data consumption between the two cards; In response to the traffic balance being less than a preset balance threshold, a first allocation priority for the first eSIM card and a second allocation priority for the second eSIM card are generated based at least on the first used traffic, the second used traffic, the first network quality, and the second network quality. In response to a network request from an application in the vehicle's infotainment system, the system obtains the traffic demand coefficient corresponding to the application, determines the target eSIM card based on the traffic demand coefficient, the first allocation priority, and the second allocation priority, and allocates the network request to the target eSIM card.
2. The in-vehicle eSIM dual-SIM data traffic balancing method according to claim 1, characterized in that, The step of calculating the traffic balance degree, which characterizes the difference in traffic consumption between the two SIM cards, based on the first used traffic and the second used traffic includes: Calculate the difference between the first used flow and the second used flow, and the maximum value between the first used flow and the second used flow; When the maximum value is zero, the traffic balance is determined to be the preset maximum value; When the larger value is not zero, the ratio of the flow difference to the maximum value is subtracted from 1 to obtain the flow balance. 3.The vehicle machine eSIM double-card traffic equalization distribution method according to claim 1, characterized in that, The step of generating a first allocation priority for the first eSIM card and a second allocation priority for the second eSIM card based at least on the first used traffic, the second used traffic, the first network quality, and the second network quality includes: The first remaining data is determined based on the first used data and the corresponding total data allowance of the data plan, and the second remaining data is determined based on the second used data and the corresponding total data allowance of the data plan. The first allocation priority is obtained by weighted summation of the first remaining traffic and the first ratio of the sum of the first remaining traffic and the second remaining traffic, and the first network quality and the second ratio of the sum of the first network quality and the second network quality. The second allocation priority is obtained by weighted summation of the third ratio of the second remaining traffic to the sum of the first and second remaining traffic, and the fourth ratio of the second network quality to the sum of the first and second network quality.
4. The in-vehicle eSIM dual-SIM data traffic balancing allocation method according to claim 3, characterized in that, The weighted summation uses a first weighting coefficient corresponding to the first remaining traffic and the second remaining traffic, and a second weighting coefficient corresponding to the first network quality and the second network quality, and the sum of the first weighting coefficient and the second weighting coefficient is 1; The values of the first weighting coefficient and the second weighting coefficient are dynamically adjusted according to a preset strategy, which includes a traffic priority strategy or a network experience priority strategy.
5. The method of claim 1, wherein, The step of determining the target eSIM card based on the traffic demand coefficient, the first allocation priority, and the second allocation priority includes: The product of the traffic demand coefficient and the first allocation priority is used as the first decision value; The product of the traffic demand coefficient and the second allocation priority is used as the second decision value; If the first decision value is greater than the second decision value, then the first eSIM card is determined to be the target eSIM card; If the second decision value is greater than the first decision value, then the second eSIM card is determined to be the target eSIM card; If the first decision value is equal to the second decision value, then the target eSIM card is determined according to a preset rule.
6. The method of claim 1, wherein, Before determining the target eSIM card, the following steps are also included: If the network request is detected as a preset high-volume network request, the first allocation priority and the second priority are respectively determined by the first proportion and the second proportion of the sum of the first allocation priority and the second allocation priority; The first portion of the data stream corresponding to the high-volume network request, corresponding to the first proportion, is allocated to the first eSIM card, and the second portion corresponding to the second proportion is allocated to the second eSIM card for parallel transmission.
7. The vehicle machine eSIM double card traffic equalization distribution method according to any one of claims 1-6, characterized in that, Also includes: In response to the vehicle's infotainment system entering a power-off or sleep state, the first used data traffic and the second used data traffic at the current moment are stored; In response to the vehicle's infotainment system being woken up or powered on, a target eSIM card is determined based on the stored first used traffic and second used traffic, and the network request is allocated to the target eSIM card.
8. A vehicle machine eSIM dual card traffic equalization distribution device, characterized in that, include: The acquisition unit is used to acquire in real time the first used traffic and the first network quality of the first eSIM card in the vehicle system, and the second used traffic and the second network quality of the second eSIM card in the vehicle system; The calculation unit is used to calculate the traffic balance degree, which characterizes the difference in traffic consumption between the two cards, based on the first used traffic and the second used traffic. The determining unit is configured to, in response to the traffic balance being less than a preset balance threshold, generate a first allocation priority for the first eSIM card and a second allocation priority for the second eSIM card based at least on the first used traffic, the second used traffic, the first network quality, and the second network quality. The allocation unit is configured to respond to network requests from applications in the vehicle system, obtain the traffic demand coefficient corresponding to the application, determine the target eSIM card based on the traffic demand coefficient, the first allocation priority and the second allocation priority, and allocate the network request to the target eSIM card.
9. A head unit controller, comprising: It includes a memory and a processor, wherein the memory is used to store programs; The processor, coupled to the memory, is used to execute the program stored in the memory to implement the steps in the vehicle-mounted eSIM dual-SIM traffic balancing allocation method according to any one of claims 1 to 7.
10. A vehicle characterized by comprising: Includes the vehicle-mounted eSIM dual-SIM traffic equalization distribution device as described in claim 8, or the vehicle-mounted domain controller as described in claim 9, or performs the steps in the vehicle-mounted eSIM dual-SIM traffic equalization distribution method as described in any one of claims 1 to 7.