A method of displaying a range of a hybrid vehicle and a vehicle

By employing differential calculation and independent calculation methods in hybrid vehicles, combined with screenshot or storage technology, the problem of reduced pure electric range after the total driving range reaches its limit has been solved, improving display accuracy and user experience.

CN119974965BActive Publication Date: 2025-11-18GREAT WALL MOTOR CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510358008.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-25
Publication Date
2025-11-18
Estimated Expiration
2045-03-25

AI Technical Summary

Technical Problem

In existing technologies, once the total driving range of a hybrid vehicle reaches its maximum limit, the driving range displayed on the dashboard in pure electric mode will decrease, leading to user dissatisfaction.

Method used

When the total mileage is less than the mileage threshold, the target mileage in pure electric mode is obtained by subtracting the mileage in hybrid mode from the total mileage using the first calculation method. When the total mileage is equal to the mileage threshold and the vehicle can undertake additional calculation tasks, the target mileage in pure electric mode is calculated independently using the second calculation method. The image is fixedly displayed when the vehicle has a screenshot function, or the mileage data is stored to keep the display unchanged when there is sufficient storage space.

Benefits of technology

This effectively avoids the problem of the driving range in pure electric mode on the dashboard decreasing due to the total driving range reaching a threshold, improving the user's driving experience, reducing the processor's computing burden, and ensuring the accuracy and consistency of the display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119974965B_ABST
    Figure CN119974965B_ABST
Patent Text Reader

Abstract

The application provides a mileage display method and vehicle of a hybrid vehicle, and belongs to the technical field of vehicles. The method comprises the following steps: in the case that the total mileage of the vehicle is less than a mileage threshold, determining a target mileage in a pure electric mode based on a first calculation method, wherein the first calculation method is a method of subtracting the mileage in a hybrid mode from the total mileage to obtain the target mileage; in the case that the total mileage of the vehicle is equal to the mileage threshold and the vehicle can additionally undertake the task of calculating the mileage, determining the target mileage based on a second calculation method, wherein the second calculation method is a method of independently calculating the target mileage, the mileage in the hybrid mode and the total mileage; and displaying the target mileage on the instrument panel of the vehicle. The method can prevent the displayed mileage in the pure electric mode on the instrument panel from becoming smaller after the total mileage of the vehicle reaches the upper limit of the mileage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle technology, and more specifically, to a method for displaying mileage in a hybrid vehicle and a vehicle in the field of vehicle technology. Background Technology

[0002] With the development of technology and advancements in science and technology, more and more users are choosing to travel by car. For users, the total mileage of a vehicle is crucial information. Generally, the vehicle's dashboard displays the total mileage. If the vehicle is a hybrid, it will also display the mileage in hybrid mode and the mileage in pure electric mode.

[0003] Currently, to ensure that the sum of the driving range in hybrid mode and pure electric mode equals the vehicle's total driving range while reducing the computational burden on the vehicle, typically only the total driving range and the driving range in hybrid mode are calculated. The difference between the two is then used to obtain the driving range in pure electric mode. However, due to limitations in the number of digits displayed on the vehicle's dashboard (e.g., the dashboard can only display a 6-digit mileage) and the processor's computing power (e.g., the processor cannot process values ​​exceeding 999,999 km), once the vehicle's total driving range reaches its limit (999,999 km), it cannot increase further. In other words, the total driving range remains constant as the vehicle continues to drive. Therefore, when the driving range in hybrid mode increases, the driving range displayed on the dashboard in pure electric mode will appear smaller, leading to user dissatisfaction.

[0004] Therefore, how to prevent the driving range displayed on the dashboard in pure electric mode from decreasing after the total driving range of the vehicle reaches the maximum mileage limit is a technical problem that urgently needs to be solved. Summary of the Invention

[0005] This application provides a method and vehicle for displaying mileage in a hybrid vehicle. The method can prevent the mileage displayed on the dashboard in pure electric mode from decreasing after the total mileage of the vehicle reaches the upper limit.

[0006] Firstly, a method for displaying the mileage of a hybrid vehicle is provided. The method includes: when the total mileage of the vehicle is less than a mileage threshold, determining a target mileage for the vehicle in pure electric mode based on a first calculation method, wherein the first calculation method is to subtract the total mileage of the vehicle from the mileage in hybrid mode to obtain the target mileage, and the mileage threshold is the maximum mileage that the vehicle can display; when the total mileage of the vehicle equals the mileage threshold, detecting whether the vehicle can additionally undertake the task of calculating the mileage; when the vehicle can additionally undertake the task of calculating the mileage, determining the target mileage based on a second calculation method, wherein the second calculation method is to independently calculate the target mileage, the mileage in hybrid mode, and the total mileage of the vehicle; and displaying the target mileage on the vehicle's dashboard.

[0007] In the above technical solution, when the total mileage of the vehicle is less than the maximum mileage that the vehicle can display, i.e., the mileage threshold, the target mileage in pure electric mode is obtained by subtracting the mileage in hybrid mode from the total mileage (i.e., the first calculation method). Since there is no need to calculate the target mileage in pure electric mode separately in this case, the computational burden on the vehicle processor can be reduced. When the total mileage of the vehicle is equal to the mileage threshold, and the vehicle can additionally undertake the task of calculating the mileage, the target mileage in pure electric mode is calculated separately by using an independent calculation method (i.e., the second calculation method). This makes the target mileage in pure electric mode no longer constrained by the first calculation method. In other words, the target mileage in pure electric mode is no longer constrained by the total mileage and the mileage in hybrid mode. This avoids the problem that when the mileage in hybrid mode increases, the mileage displayed on the instrument panel becomes smaller when the total mileage reaches the mileage threshold and remains unchanged, thereby improving the user's driving experience.

[0008] Combining the first aspect and the above implementation methods, in some possible implementation methods, detecting whether the vehicle can additionally undertake the task of calculating mileage includes: obtaining the computing resource utilization rate of the vehicle processor; if the computing resource utilization rate of the vehicle processor is less than the utilization rate threshold, determining that the vehicle can additionally undertake the task of calculating mileage, otherwise determining that the vehicle cannot additionally undertake the task of calculating mileage.

[0009] In the above technical solution, the utilization rate of the vehicle processor's computing resources is detected, and the vehicle is judged to be able to undertake the task of calculating the driving mileage based on the utilization rate threshold, thereby effectively avoiding system overload or lag due to insufficient computing resources.

[0010] Combining the first aspect and the above implementation methods, in some possible implementation methods, the target driving mileage is determined based on the second calculation method, including: obtaining the mileage increment of the vehicle in pure electric mode for a preset time period to obtain multiple mileage increments; accumulating the multiple mileage increments to obtain the target mileage increment; updating the current driving mileage of the vehicle in pure electric mode based on the target mileage increment to obtain the target driving mileage.

[0011] In the above technical solution, by acquiring multiple mileage increments in pure electric mode within a preset time period and accumulating these mileage increments to obtain the target mileage increment, compared with the traditional method of estimation based on vehicle speed and time, this method can more accurately reflect the mileage increment of the vehicle in pure electric mode, especially when driving in complex road conditions or at low speeds, where the advantage is more obvious; furthermore, when updating the current driving mileage of the vehicle in pure electric mode based on the target mileage increment, the accuracy of the obtained target driving mileage of the vehicle in pure electric mode is also guaranteed.

[0012] In combination with the first aspect and the above implementation methods, in some possible implementation methods, the method further includes: when the vehicle cannot additionally undertake the task of calculating the driving mileage, detecting whether the vehicle has a screenshot function; when the vehicle has a screenshot function, taking a screenshot of the current driving mileage of the vehicle in pure electric mode to obtain a first image, and fixing the first image to be displayed at a first position on the vehicle's dashboard, the first position being the display position of the driving mileage of the vehicle in pure electric mode.

[0013] In the above technical solution, when the vehicle cannot additionally perform the task of calculating mileage, but the vehicle has a screenshot function, a screenshot of the current mileage in pure electric mode can be taken to obtain a first image. This first image is then fixedly displayed in a first position on the vehicle's dashboard (i.e., the display position of the mileage in pure electric mode). This ensures that when the total mileage reaches a constant mileage threshold, the mileage displayed on the dashboard in pure electric mode also remains constant. This avoids the problem that when the mileage in hybrid mode increases, the mileage displayed on the dashboard in pure electric mode decreases when the total mileage reaches a constant mileage threshold, thereby improving the user's driving experience.

[0014] In combination with the first aspect and the above implementation methods, in some possible implementation methods, the method further includes: when the vehicle has a screenshot function, taking a screenshot of the current driving mileage of the vehicle in hybrid mode to obtain a second image, and fixing the second image to display at a second position on the vehicle's dashboard, the second position being the display position of the driving mileage of the vehicle in hybrid mode.

[0015] In the above technical solution, while taking a screenshot of the current vehicle's mileage in pure electric mode to obtain a first image and displaying the first image fixedly on a first position on the vehicle's dashboard, a screenshot of the current vehicle's mileage in hybrid mode can also be taken simultaneously to obtain a second image, and the second image fixedly displayed on a second position on the vehicle's dashboard (i.e., the display position of the vehicle's mileage in hybrid mode). This ensures that when the total mileage and the mileage displayed on the dashboard in pure electric mode remain unchanged, the mileage displayed on the dashboard in hybrid mode also remains unchanged, thereby ensuring that the display status of each mileage is consistent.

[0016] Combining the first aspect and the above implementation methods, in some possible implementation methods, detecting whether a vehicle has a screenshot function includes: reading the configuration information of the vehicle's HMI system; determining whether there is an API interface in the configuration information of the vehicle's HMI system that can provide a screenshot function; if there is an API interface in the configuration information of the vehicle's HMI system that can provide a screenshot function, determining that the vehicle has a screenshot function; otherwise, determining that the vehicle does not have a screenshot function.

[0017] The above technical solution directly reads the configuration information of the vehicle's Human-Machine Interface (HMI) system and checks whether the configuration information contains an API interface that can provide screenshot functionality, thus quickly and accurately determining whether the vehicle has screenshot capabilities. Compared to other methods that may require running tests or simulations, this approach is more efficient, reducing unnecessary operational steps and time consumption. Furthermore, determining whether a vehicle has screenshot capabilities based on the existence of the screenshot API interface in the configuration information avoids misjudgments caused by external factors (such as network status, hardware failures, etc.), ensuring the accuracy of the results.

[0018] In conjunction with the first aspect and the above implementation methods, in some possible implementation methods, the method further includes: when the vehicle cannot additionally undertake the task of calculating mileage and the vehicle does not have a screenshot function, determining whether the storage rate of the vehicle storage medium is less than a storage rate threshold; when the storage rate of the vehicle storage medium is less than the storage rate threshold, storing the current mileage of the vehicle in pure electric mode in the third location of the vehicle storage medium, and storing the subsequently updated mileage of the vehicle in pure electric mode in the fourth location of the vehicle storage medium, wherein the third location and the fourth location have different physical addresses in the vehicle storage medium; and displaying the mileage of the vehicle in pure electric mode stored in the third location on the vehicle's dashboard.

[0019] In the above technical solution, when the vehicle cannot additionally undertake the task of calculating mileage and does not have a screenshot function, but the storage rate of the vehicle's storage medium is less than the storage rate threshold (i.e., when there is a large amount of remaining storage space), the current mileage in pure electric mode can be stored in the third position of the vehicle's storage medium, and the subsequently updated mileage in pure electric mode can be stored in the fourth position. The mileage in pure electric mode stored in the third position will always be displayed on the vehicle's dashboard. This ensures that when the total mileage reaches the mileage threshold and remains unchanged, the mileage displayed on the dashboard in pure electric mode will also remain unchanged. This avoids the problem that when the mileage in hybrid mode increases, the mileage displayed on the dashboard in pure electric mode will decrease when the total mileage reaches the mileage threshold and remains unchanged, thereby improving the user's driving experience.

[0020] In combination with the first aspect and the above implementation, in some possible implementations, the method further includes: when the storage rate of the vehicle storage medium is less than the storage rate threshold, storing the current vehicle mileage in hybrid mode in a third location, storing the subsequently updated vehicle mileage in hybrid mode in a fourth location; and displaying the vehicle mileage in hybrid mode stored in the third location on the vehicle's dashboard.

[0021] In the above technical solution, when storing the current pure electric mode mileage in the third location of the vehicle storage medium and storing the subsequently updated pure electric mode mileage in the fourth location of the vehicle storage medium, the current hybrid mode mileage can also be stored in the third location and the subsequently updated hybrid mode mileage can also be stored in the fourth location. The hybrid mode mileage stored in the third location is then displayed on the vehicle's instrument panel. This ensures that when the total mileage and the pure electric mode mileage displayed on the instrument panel remain unchanged, the hybrid mode mileage displayed on the instrument panel also remains unchanged, thus maintaining consistency in the display status of each mileage.

[0022] In combination with the first aspect and the above implementation methods, in some possible implementation methods, the method further includes: prohibiting the updating of the vehicle's driving mileage in hybrid mode when the vehicle cannot additionally undertake the task of calculating driving mileage, the vehicle does not have a screenshot function, and the storage rate of the vehicle's storage medium is greater than or equal to the storage rate threshold.

[0023] In the above technical solution, when the vehicle cannot additionally undertake the task of calculating mileage, the vehicle does not have a screenshot function, and the storage rate of the vehicle's storage medium is greater than or equal to the storage rate threshold, the mileage in hybrid mode can be kept constant by disabling the update of the vehicle's mileage in hybrid mode. This ensures that when the total mileage reaches the mileage threshold and remains unchanged, the difference between the total mileage and the mileage in hybrid mode (i.e., the mileage in pure electric mode) also remains unchanged. This guarantees that when the total mileage reaches the mileage threshold and remains unchanged, the mileage displayed on the instrument panel in pure electric mode will not decrease.

[0024] Secondly, a mileage display device for a hybrid vehicle is provided, the device comprising:

[0025] The determining module 401 is used to determine the target driving mileage of the vehicle in pure electric mode based on a first calculation method when the total driving mileage of the vehicle is less than the mileage threshold. The first calculation method is to obtain the target driving mileage by subtracting the total driving mileage of the vehicle from the driving mileage of the vehicle in hybrid mode. The mileage threshold is the maximum mileage that the vehicle can display.

[0026] The detection module 402 is used to detect whether the vehicle is capable of additionally undertaking the task of calculating mileage when the total mileage of the vehicle is equal to the mileage threshold.

[0027] The determining module 401 is also used to determine the target mileage based on the second calculation method when the vehicle is able to additionally undertake the task of calculating the mileage. The second calculation method is to calculate the target mileage, the mileage of the vehicle in hybrid mode, and the total mileage of the vehicle independently.

[0028] Display module 403 is used to display the target mileage on the vehicle's dashboard.

[0029] Thirdly, a vehicle is provided, including a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, causing the vehicle to execute the mileage display method for a hybrid vehicle as described in the first aspect or any possible implementation thereof.

[0030] Fourthly, a computer program product is provided, comprising: computer program code, which, when executed on a computer, causes the computer to execute the hybrid vehicle mileage display method in the first aspect or any possible implementation thereof.

[0031] Fifthly, a computer-readable storage medium is provided, which stores computer program code that, when executed on a computer, causes the computer to perform the mileage display method for a hybrid vehicle as described in the first aspect or any possible implementation thereof. Attached Figure Description

[0032] Figure 1 This is a schematic diagram of the implementation environment of a method for displaying mileage in a hybrid vehicle provided in an embodiment of this application;

[0033] Figure 2 This is a schematic flowchart of a method for displaying mileage in a hybrid vehicle according to an embodiment of this application;

[0034] Figure 3 This is a schematic flowchart of another method for displaying mileage in a hybrid vehicle provided in an embodiment of this application;

[0035] Figure 4 This is a schematic diagram of the structure of a mileage display device for a hybrid vehicle provided in an embodiment of this application;

[0036] Figure 5 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application. Detailed Implementation

[0037] The technical solutions in this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. "And / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: the additional existence of A, the simultaneous existence of A and B, and the additional existence of B. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.

[0038] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.

[0039] Currently, to ensure that the sum of the driving range in hybrid mode and pure electric mode equals the vehicle's total driving range while reducing the computational burden on the vehicle's processor, typically only the total driving range and the hybrid mode driving range are calculated. The pure electric mode driving range is then calculated by subtracting the two. However, due to limitations in the number of digits displayed on the vehicle's dashboard (e.g., the dashboard can only display a 6-digit mileage) and the processor's computing power (e.g., the processor cannot process values ​​exceeding 999,999 km), once the vehicle's total driving range reaches its limit (999,999 km), it cannot increase further. In other words, the total driving range remains constant as the vehicle continues to drive. Therefore, when the hybrid mode driving range increases, the pure electric mode driving range displayed on the dashboard will appear smaller, leading to user dissatisfaction.

[0040] It's important to note that calculating the driving range in hybrid mode and pure electric mode separately, and then summing them to obtain the total driving range, requires multiple summation operations for each mode. However, these multiple summations in both modes introduce error accumulation, which increases over time, leading to a significant discrepancy between the summed hybrid and pure electric mileage and the vehicle's actual total driving range. Conversely, subtracting the hybrid mode mileage from the total driving range to obtain the pure electric mode mileage only requires multiple summations for the hybrid mode mileage. Furthermore, since the total driving range is typically calculated based on wheel speed sensors, this method introduces less error accumulation compared to calculating the pure electric and hybrid mode mileage separately. Additionally, this method, which only requires summing the hybrid mode mileage, reduces the amount of data requiring maintenance, thus lowering system complexity. Therefore, the total mileage and the mileage in hybrid mode are usually calculated separately, and then the difference between the total mileage and the mileage in hybrid mode is used to obtain the mileage in pure electric mode. However, when the total mileage of the vehicle reaches the mileage limit, the mileage in pure electric mode displayed on the dashboard may become smaller as the mileage in hybrid mode increases.

[0041] Therefore, this application provides a method for displaying the mileage of a hybrid vehicle, which can prevent the mileage displayed on the dashboard in pure electric mode from decreasing after the total mileage of the vehicle reaches the upper limit.

[0042] Before introducing the mileage display method for hybrid vehicles provided in the embodiments of this application, the implementation environment of the mileage display method for hybrid vehicles provided in the embodiments of this application will be first introduced. See [link to relevant documentation]. Figure 1 , Figure 1 This is a schematic diagram illustrating the implementation environment of a method for displaying mileage in a hybrid vehicle, as provided in an embodiment of this application.

[0043] For example, such as Figure 1 As shown, the implementation environment includes: a vehicle control unit (VCU) 101, an instrument controller 102, and an instrument panel 103. The vehicle control unit 101 can also be referred to as a vehicle control unit.

[0044] The vehicle controller 101 is a crucial control unit for the vehicle, capable of acquiring relevant vehicle data and controlling the vehicle to perform corresponding operations based on this data. For example, the vehicle controller 101 can acquire the vehicle's total mileage. If the total mileage is less than the maximum mileage the vehicle can display (i.e., a mileage threshold), the controller determines the target mileage in pure electric mode based on a first calculation method and displays this target mileage on the vehicle's instrument panel 103. This first calculation method involves subtracting the vehicle's total mileage from its mileage in hybrid mode to obtain the target mileage. If the vehicle's total mileage equals the mileage threshold, and the vehicle can additionally perform the task of calculating mileage, the controller determines the target mileage based on a second calculation method and displays this target mileage on the instrument panel 103. This second calculation method involves independently calculating the target mileage, the mileage in hybrid mode, and the total mileage.

[0045] In some embodiments, after receiving the target mileage sent by the vehicle controller 101, the instrument controller 102 displays the target mileage on the instrument panel 103.

[0046] It should be noted that, Figure 1 This is merely a schematic diagram of an implementation environment. In reality, the controllers that interact with the instrument controller 102 may include other controllers besides the vehicle controller 101. This application does not impose any specific limitations on this embodiment.

[0047] After introducing the implementation environment diagram of the hybrid vehicle mileage display method provided in the embodiments of this application, the mileage display method of the hybrid vehicle provided in the embodiments of this application will be described below.

[0048] The following is through Figure 2 The methods of the embodiments of this application are described in detail.

[0049] Figure 2 This is a schematic flowchart of a method for displaying mileage in a hybrid vehicle according to an embodiment of this application.

[0050] For example, such as Figure 2 As shown, with the executing entity as Figure 1 Taking the vehicle controller 101 as an example, the method 200 includes the following steps 201 to 203.

[0051] Step 201: If the total mileage of the vehicle is less than the mileage threshold, determine the target mileage of the vehicle in pure electric mode based on the first calculation method. The first calculation method is to obtain the target mileage by subtracting the total mileage of the vehicle from the mileage of the vehicle in hybrid mode. The mileage threshold is the maximum mileage that the vehicle can display.

[0052] It should be noted that due to the limitations of the number of digits displayed on the vehicle's dashboard (e.g., the dashboard can only display a 6-digit mileage) and the limitations of the vehicle's processor's computing power (e.g., the processor cannot process values ​​exceeding 999,999 km), the total mileage of the vehicle cannot increase after reaching the mileage threshold (i.e., 999,999 km). In other words, once the total mileage reaches 999,999 km (6 digits), the total mileage cannot increase to 1,000,000 km (7 digits). In other words, the mileage threshold is the maximum mileage that the vehicle's dashboard can display and the vehicle's processor can process.

[0053] In one possible implementation, the vehicle controller obtains the vehicle's total mileage through wheel speed sensors.

[0054] It should be noted that if the total mileage of the vehicle is less than the mileage threshold, it means that the total mileage of the vehicle can continue to increase during subsequent driving. In this case, when the mileage in hybrid mode increases, the first calculation method (that is, the difference between the total mileage of the vehicle and the mileage in hybrid mode to obtain the target mileage) will not cause the target mileage in pure electric mode to decrease. Therefore, in this case, only the total mileage of the vehicle and the mileage in hybrid mode need to be calculated, and the difference between the total mileage of the vehicle and the mileage in hybrid mode can be calculated to obtain the target mileage of the vehicle in pure electric mode, without having to calculate the target mileage of the vehicle in pure electric mode separately, thereby reducing the computational burden on the vehicle processor.

[0055] Step 202: If the total mileage of the vehicle is equal to the mileage threshold, detect whether the vehicle can additionally undertake the task of calculating the mileage; if the vehicle can additionally undertake the task of calculating the mileage, determine the target mileage based on the second calculation method, which is to calculate the target mileage, the mileage of the vehicle in hybrid mode, and the total mileage of the vehicle independently.

[0056] It should be noted that when the vehicle's total mileage equals the mileage threshold, it indicates that the total mileage will not continue to increase during subsequent driving. In this case, when the mileage in hybrid mode increases, the target mileage in pure electric mode will decrease based on the first calculation method mentioned above. Therefore, in this situation, an independent calculation method (i.e., the second calculation method) can be used to calculate the target mileage in pure electric mode separately, so that the target mileage in pure electric mode is no longer constrained by the first calculation method. In other words, the target mileage in pure electric mode is no longer constrained by the total mileage and the mileage in hybrid mode. However, when the vehicle's total mileage reaches the mileage threshold, it indicates that the vehicle has been used for a long time, and as the vehicle operates for a long time, the vehicle's available computing resources are constantly decreasing. Therefore, before using the second calculation method to determine the target mileage, it is necessary to first check whether the vehicle can additionally undertake the task of calculating mileage. Only when the vehicle can additionally undertake the task of calculating mileage should the target mileage in pure electric mode be determined based on the second calculation method.

[0057] Below, we will first describe in detail the specific implementation method for detecting whether a vehicle can additionally undertake the task of calculating mileage, in two steps.

[0058] Step (1) Obtain the computing resource utilization rate of the vehicle processor.

[0059] The computing resource utilization rate of the vehicle processor, also known as the Central Processing Unit (CPU) utilization rate, refers to the proportion of time the processor spends executing tasks within a specific time period, usually expressed as a percentage.

[0060] In one possible implementation, the vehicle controller obtains the computing resource utilization of the vehicle processor through a built-in Performance Monitoring Unit (PMU). It should be noted that the performance monitoring module can track the usage of hardware resources such as the vehicle processor and vehicle memory in real time and generate detailed utilization data for the vehicle controller to read and analyze.

[0061] In another possible implementation, the vehicle controller obtains the computing resource utilization of the vehicle processor by calling specific functions through the application programming interface (API) provided by the onboard operating system (such as Linux, QNX, or AUTOSAR).

[0062] Step (2): If the utilization rate of the vehicle processor's computing resources is less than the utilization rate threshold, determine that the vehicle can undertake the additional task of calculating the driving mileage; otherwise, determine that the vehicle cannot undertake the additional task of calculating the driving mileage.

[0063] The usage rate threshold is preset by the developers based on experimental data and stored in the vehicle's internal memory. For example, the usage rate threshold may be 70%, 75%, 85%, etc., but this application embodiment does not limit this.

[0064] Specifically, after obtaining the computing resource utilization rate of the vehicle processor, the computing resource utilization rate of the vehicle processor can be compared with the utilization rate threshold. If the computing resource utilization rate of the vehicle processor is less than the utilization rate threshold, it can be determined that the vehicle can undertake the additional task of calculating the driving mileage; otherwise, it can be determined that the vehicle cannot undertake the additional task of calculating the driving mileage.

[0065] For example, when the utilization threshold is 70% and the vehicle processor's computing resource utilization is 65%, the vehicle processor's computing resource utilization (65%) and the utilization threshold (70%) can be compared. Since the vehicle processor's computing resource utilization (65%) is less than the utilization threshold (70%) at this time, it can be determined that the vehicle is capable of additionally undertaking the task of calculating mileage.

[0066] It should be noted that when the vehicle processor's computing resource utilization is less than the utilization threshold, it indicates that the processor has many idle cores or cycles available, which can complete the assigned new task (i.e., the task of calculating the target driving range in pure electric mode). Therefore, in this case, it can be determined that the vehicle can take on the additional task of calculating driving range. Conversely, when the vehicle processor's computing resource utilization is greater than or equal to the utilization threshold, it indicates that the processor is already running at near full capacity. At this time, assigning new tasks to the processor may cause the system response to slow down or cause delays, thereby affecting the normal operation of the vehicle's critical functions (e.g., control of the powertrain, control of the braking system, and control of the steering system lights). Therefore, in this case, it can be determined that the vehicle cannot take on the additional task of calculating driving range.

[0067] After introducing the specific implementation method for detecting whether a vehicle can additionally undertake the task of calculating mileage, the following three steps detail the specific implementation method for determining the target mileage.

[0068] Step (1): Obtain the mileage increment of the vehicle in pure electric mode within a preset time period to obtain multiple mileage increments.

[0069] The preset duration is pre-set by the developers and stored in the vehicle's internal memory. For example, the preset duration may be 1 minute, 3 minutes, or 5 minutes, etc., and this embodiment does not limit this. This preset duration can be understood as a time window for collecting the vehicle's mileage increment (also called mileage step value) in pure electric mode. That is, the mileage increment of the vehicle in pure electric mode is collected every preset duration, thus obtaining multiple mileage increments for the vehicle in pure electric mode. The mileage increment can be understood as the increase in distance traveled by the vehicle within the preset duration.

[0070] In one possible implementation, the vehicle controller obtains the vehicle's mileage increment in pure electric mode through the vehicle's anti-lock braking system (ABS). Specifically, the ABS calculates the vehicle's mileage increment within a preset time period based on data from wheel speed sensors, which is then read and analyzed by the vehicle controller.

[0071] Step (2) involves summing up multiple mileage increments to obtain the target mileage increment.

[0072] The target mileage increment is the total mileage increment of the vehicle in pure electric mode.

[0073] Specifically, after obtaining multiple mileage increments, all mileage increments can be summed to obtain the total mileage increment of the vehicle in pure electric mode, i.e., the target mileage increment. This allows the vehicle's current driving mileage in pure electric mode to be updated based on the target mileage increment.

[0074] Step (3): Based on the target mileage increment, update the current driving mileage of the vehicle in pure electric mode to obtain the target driving mileage.

[0075] The current driving range of a vehicle in pure electric mode can be understood as the driving range in pure electric mode displayed on the vehicle's dashboard when the vehicle's total driving range equals the mileage threshold.

[0076] Specifically, after obtaining the target mileage increment, the target mileage increment can be summed with the current driving mileage of the vehicle in pure electric mode to obtain the target driving mileage of the vehicle in pure electric mode.

[0077] For example, when the target mileage increment is 120km and the current vehicle's mileage in pure electric mode is 2000km, the target mileage increment (120km) can be summed with the current vehicle's mileage in pure electric mode (2000km) to obtain the target mileage in pure electric mode, that is, the target mileage in pure electric mode = 120km + 2000km = 2120km.

[0078] Step 203: Display the target mileage on the vehicle's dashboard.

[0079] Specifically, after obtaining the target driving range of the vehicle in pure electric mode, the vehicle controller will send the updated current driving range of the vehicle in pure electric mode, i.e. the target driving range, to the instrument controller, so that after receiving the target driving range, the instrument controller will display the target driving range in the pure electric mode display position on the instrument panel.

[0080] It should be noted that in the above embodiments, when the total mileage of the vehicle remains unchanged at the mileage threshold and the vehicle is able to additionally undertake the task of calculating the mileage, the mileage of the vehicle in pure electric mode and the mileage of the vehicle in hybrid mode can both increase normally on the vehicle's dashboard when the vehicle continues to drive.

[0081] In summary, this application provides a method for displaying the mileage of a hybrid vehicle. When the total mileage is less than the maximum mileage that the vehicle can display (i.e., the mileage threshold), the target mileage in pure electric mode is obtained by subtracting the mileage in hybrid mode from the total mileage (i.e., the first calculation method). Since there is no need to calculate the target mileage in pure electric mode separately in this case, the computational burden on the vehicle processor can be reduced. When the total mileage equals the mileage threshold, and the vehicle can additionally handle the task of calculating mileage, the target mileage in pure electric mode is calculated separately using an independent calculation method (i.e., the second calculation method). This removes the constraint of the first calculation method on the target mileage in pure electric mode. In other words, the target mileage in pure electric mode is no longer constrained by the total mileage or the mileage in hybrid mode. This avoids the problem that when the total mileage remains constant at the mileage threshold, an increase in the mileage in hybrid mode leads to a decrease in the mileage displayed on the dashboard in pure electric mode, thereby improving the user experience.

[0082] Figure 3 This is a schematic flowchart of another method for displaying mileage in a hybrid vehicle provided in an embodiment of this application.

[0083] For example, such as Figure 3 As shown, with the executing entity as Figure 1 Taking the vehicle controller 101 as an example, the method 300 includes the following steps 301-308.

[0084] Step 301: If the total mileage of the vehicle is equal to the mileage threshold, check whether the vehicle can additionally undertake the task of calculating the mileage. If the vehicle can additionally undertake the task of calculating the mileage, proceed to step 302; otherwise, proceed to step 303.

[0085] Step 302: Determine the target driving mileage based on the second calculation method, which is to calculate the target driving mileage, the driving mileage of the vehicle in hybrid mode, and the total driving mileage of the vehicle independently.

[0086] The implementation methods for steps 301 and 302 can be found in the above embodiments, and will not be repeated here.

[0087] Step 303: Check if the vehicle has a screenshot function. If the vehicle has a screenshot function, proceed to step 304; otherwise, proceed to step 305.

[0088] The following three steps detail the specific implementation method for detecting whether a vehicle has a screenshot function.

[0089] Step (1): Read the configuration information of the vehicle's HMI system.

[0090] It's important to note that the Human-Machine Interface (HMI) system is the primary interface for interaction between the driver and the vehicle, responsible for managing and controlling various functional modules. Whether it's the vehicle's displayed content, operational settings, or functional expansion, the HMI system plays a crucial role. Therefore, if a vehicle has a screenshot function, its configuration information is typically integrated into the HMI system's configuration information and access is provided externally via API interfaces or other methods. Thus, detecting whether a vehicle has a screenshot function requires reading the vehicle's HMI system configuration information to determine whether the vehicle possesses this capability.

[0091] In one possible implementation, the vehicle controller sends a request message to the vehicle's HMI system to read configuration information via the Controller Area Network (CAN) bus. After receiving the request, the HMI system retrieves the configuration information from its internal memory and returns the configuration information to the vehicle controller via the CAN bus, so that the vehicle controller can obtain the configuration information in the vehicle's HMI system.

[0092] Step (2) Determine whether there is an API interface in the vehicle's HMI system configuration information that can provide screenshot functionality.

[0093] Specifically, after obtaining the configuration information of the vehicle's HMI system, the vehicle controller can parse the configuration information and search for whether there is an API interface in the configuration information that can provide screenshot functionality.

[0094] For example, the configuration information of a vehicle's HMI system is a JSON file: json{"features":{"screenshot_api":true,"voice_control":true,"gesture_recognition":false}}. The vehicle controller can determine whether an API interface that provides screenshot functionality exists by parsing the "screenshot_api" parameter in the "features" field. Specifically, if the parsed "screenshot_api" parameter is true, it means that an API interface that provides screenshot functionality exists; if the parsed "screenshot_api" parameter is false or the field does not exist, it means that an API interface that provides screenshot functionality does not exist.

[0095] Step (3): If the vehicle's HMI system configuration information contains an API interface that can provide screenshot functionality, determine that the vehicle has screenshot functionality; otherwise, determine that the vehicle does not have screenshot functionality.

[0096] Specifically, if the vehicle's HMI system configuration information contains an API interface that can provide screenshot functionality, it indicates that the vehicle's HMI system has integrated the relevant modules and interfaces for screenshot functionality, and in this case, it can be determined that the vehicle has screenshot functionality. If the vehicle's HMI system configuration information does not contain an API interface that can provide screenshot functionality, it indicates that the vehicle's HMI system has not integrated or does not support the relevant modules and interfaces for screenshot functionality, and in this case, it can be determined that the vehicle does not have screenshot functionality.

[0097] Step 304: Take a screenshot of the current vehicle's mileage in pure electric mode to obtain a first image, and fix the first image on the first position on the vehicle's dashboard. The first position is the display position of the vehicle's mileage in pure electric mode.

[0098] Specifically, assuming the vehicle has a screenshot function, the vehicle controller can call the API interface in the HMI system that provides screenshot functionality, and determine the area on the instrument panel displaying the pure electric mode mileage as the target area for the screenshot. This target area is then sent as a parameter to the API interface, allowing the HMI system to perform a screenshot operation on the target area and obtain a first image. Further, after obtaining the first image, the HMI system sends it to the vehicle controller. Upon receiving the first image, the vehicle controller sends the first image and its corresponding location area (i.e., the area on the instrument panel displaying the pure electric mode mileage) to the instrument panel controller. Upon receiving the first image and its location area, the instrument panel controller fixes the first image in a fixed position on the vehicle's instrument panel (i.e., the display position of the pure electric mode mileage) based on the location area.

[0099] It should be noted that when a vehicle cannot perform the additional task of calculating mileage, but has a screenshot function, a screenshot of the current mileage in pure electric mode can be taken to obtain a first image. This first image can then be fixedly displayed in a first position on the vehicle's dashboard. This ensures that when the total mileage reaches a constant threshold, the mileage displayed on the dashboard in pure electric mode also remains constant. This avoids the problem of the mileage displayed in pure electric mode decreasing when the mileage in hybrid mode increases, even when the total mileage reaches a constant threshold, thus improving the user's driving experience.

[0100] In one possible implementation, while taking a screenshot of the current vehicle's mileage in pure electric mode to obtain a first image and displaying the first image fixedly at a first position on the vehicle's dashboard, a screenshot of the current vehicle's mileage in hybrid mode can also be taken simultaneously to obtain a second image, which is then fixedly displayed at a second position on the vehicle's dashboard (i.e., the display position of the vehicle's mileage in hybrid mode). This ensures that when the total mileage and the mileage displayed on the dashboard in pure electric mode remain unchanged, the mileage displayed on the dashboard in hybrid mode also remains unchanged, thereby maintaining consistency in the display status of each mileage.

[0101] The implementation method of taking a screenshot of the current driving range of the vehicle in hybrid mode to obtain a second image and fixing the second image to a second position on the vehicle's dashboard can be found in the above embodiment, and will not be repeated here.

[0102] It should be noted that when the second image and the second image are fixedly displayed at the first and second positions on the vehicle's dashboard, respectively, only the driving range in hybrid mode and pure electric mode displayed on the dashboard remains unchanged. At this time, the vehicle's processor does not stop updating the current driving range in pure electric mode and the current driving range in hybrid mode. That is, the driving range in hybrid mode and pure electric mode is updated normally in the background of the vehicle. Therefore, in this case, it will not affect the update of the fuel consumption module associated with the driving range in hybrid mode.

[0103] Step 305: Determine whether the storage rate of the vehicle storage medium is less than the storage rate threshold. If the storage rate of the vehicle storage medium is less than the storage rate threshold, proceed to steps 306 and 307; otherwise, proceed to step 308.

[0104] The vehicle storage medium is a non-volatile storage medium, meaning that the data stored in the vehicle storage medium will remain unchanged after the vehicle is powered off. In other words, the vehicle storage medium will not lose the stored data due to the vehicle being powered off.

[0105] The storage rate of vehicle storage media refers to the ratio of the used storage space to the total storage space, usually expressed as a percentage.

[0106] The storage rate threshold is preset by the developers based on experimental data and stored in the vehicle's internal memory. For example, the storage rate threshold may be 60%, 55%, 75%, etc., but this application embodiment does not limit this.

[0107] In one possible implementation, when the vehicle cannot additionally perform the task of calculating mileage and does not have a screenshot function, the vehicle controller can call the file system's API interface to request the storage information of the vehicle's storage medium. After receiving the request from the vehicle controller, the file system will send the used storage space and total storage space of the vehicle's storage medium to the vehicle controller. When the vehicle controller receives the used storage space and total storage space of the vehicle's storage medium from the file system, it will divide the used storage space by the total storage space to obtain the storage rate of the vehicle's storage medium. The obtained storage rate of the vehicle's storage medium will be compared with a storage rate threshold. If the storage rate of the vehicle's storage medium is less than the storage rate threshold, steps 306 and 307 will be executed; if the storage rate of the vehicle's storage medium is greater than or equal to the storage rate threshold, step 308 will be executed.

[0108] Step 306: Store the current vehicle's mileage in hybrid mode in the third location, and store the subsequently updated vehicle's mileage in hybrid mode in the fourth location.

[0109] The third and fourth locations refer to different, unoccupied physical addresses in the vehicle's storage medium.

[0110] It should be noted that when the storage rate of the vehicle storage medium is less than the storage rate threshold, it indicates that the vehicle storage medium has enough remaining storage space to save the data. Therefore, in this case, the current vehicle mileage in hybrid mode can be stored separately from the subsequently updated vehicle mileage in hybrid mode. That is, the current vehicle mileage in hybrid mode is stored (or written) in the third position, and the subsequently updated vehicle mileage in hybrid mode is stored in the fourth position.

[0111] Step 307: Display the vehicle's mileage in pure electric mode stored in the third location on the vehicle's dashboard.

[0112] Specifically, after storing the current vehicle mileage in hybrid mode in the third location, the vehicle controller will always send the vehicle mileage in pure electric mode stored in the third location to the instrument controller, so that after receiving the mileage, the instrument controller will display the mileage in pure electric mode on the instrument panel, that is, the mileage in pure electric mode displayed on the instrument panel remains unchanged.

[0113] It should be noted that when the vehicle cannot additionally perform the task of calculating mileage and does not have a screenshot function, but the storage rate of the vehicle's storage medium is less than the storage rate threshold, the current mileage in pure electric mode is stored in the third position of the vehicle's storage medium, and the subsequently updated mileage in pure electric mode is stored in the fourth position. The mileage in pure electric mode stored in the third position, i.e., the unupdated mileage in pure electric mode, is always displayed on the vehicle's instrument panel. This ensures that when the total mileage reaches the mileage threshold and remains unchanged, the mileage in pure electric mode displayed on the instrument panel also remains unchanged. This avoids the problem of the mileage in pure electric mode decreasing when the mileage in hybrid mode increases, even when the total mileage reaches the mileage threshold and remains unchanged, thus improving the user's driving experience.

[0114] In one possible implementation, while storing the current pure electric mode mileage in a third location of the vehicle's storage medium and storing the subsequently updated pure electric mode mileage in a fourth location of the vehicle's storage medium, the vehicle controller can also store the current hybrid mode mileage in the third location and the subsequently updated hybrid mode mileage in the fourth location. The hybrid mode mileage stored in the third location is then displayed on the vehicle's instrument panel. This ensures that when the total mileage and the pure electric mode mileage displayed on the instrument panel remain unchanged, the hybrid mode mileage displayed on the instrument panel also remains unchanged, thereby maintaining consistency in the display status of each mileage.

[0115] The implementation method of displaying the driving range in hybrid mode stored in the third location on the vehicle's instrument panel can be found in the above embodiment of displaying the driving range in pure electric mode stored in the third location on the vehicle's instrument panel, and will not be repeated here.

[0116] It is understood that in the above embodiment, the vehicle's processor does not stop updating the current driving range of the vehicle in pure electric mode and the current driving range of the vehicle in hybrid mode. It simply stores the updated driving range separately in the fourth location of the storage medium. Therefore, in this case, it will not affect the updating of the fuel consumption module associated with the driving range in hybrid mode.

[0117] Step 308: Prevent updating the vehicle's mileage in hybrid mode.

[0118] It should be noted that when the operation of prohibiting the updating of the vehicle's driving range in hybrid mode is executed, the vehicle's processor will stop updating the current driving range in pure electric mode and the current driving range in hybrid mode. That is, this will affect the updating of the fuel consumption module associated with the driving range in hybrid mode. Therefore, in this embodiment, the operation of prohibiting the updating of the vehicle's driving range in hybrid mode will only be executed when the vehicle cannot undertake the additional task of calculating driving range, the vehicle does not have a screenshot function, and the storage rate of the vehicle's storage medium is greater than or equal to the storage rate threshold, so as to minimize the impact on the updating of the fuel consumption module associated with the driving range in hybrid mode.

[0119] Understandably, when a vehicle cannot perform the additional task of calculating mileage, lacks screenshot functionality, and the storage rate of the vehicle's storage medium is greater than or equal to a storage rate threshold, it indicates that the vehicle's storage medium is nearing or at full capacity. Therefore, in this situation, the vehicle's storage medium does not have sufficient remaining storage space to store subsequent updates of the vehicle's mileage in hybrid mode and pure electric mode. Thus, to ensure that the total mileage remains constant at the mileage threshold, and that the pure electric mode mileage displayed on the dashboard does not decrease as the hybrid mode mileage increases, in one possible implementation, the vehicle controller can prevent updates to the hybrid mode mileage, keeping it constant. This ensures that when the total mileage reaches the mileage threshold, the difference between the total mileage and the hybrid mode mileage (i.e., the pure electric mode mileage) remains constant, thus guaranteeing that the pure electric mode mileage displayed on the dashboard will not decrease when the total mileage reaches the mileage threshold.

[0120] Figure 4 This is a schematic diagram of the structure of a mileage display device for a hybrid vehicle provided in an embodiment of this application.

[0121] For example, such as Figure 4 As shown, the device 400 includes:

[0122] The determining module 401 is used to determine the target driving mileage of the vehicle in pure electric mode based on a first calculation method when the total driving mileage of the vehicle is less than the mileage threshold. The first calculation method is to obtain the target driving mileage by subtracting the total driving mileage of the vehicle from the driving mileage of the vehicle in hybrid mode. The mileage threshold is the maximum mileage that the vehicle can display.

[0123] The detection module 402 is used to detect whether the vehicle is capable of additionally undertaking the task of calculating mileage when the total mileage of the vehicle is equal to the mileage threshold.

[0124] The determining module 401 is also used to determine the target mileage based on the second calculation method when the vehicle is able to additionally undertake the task of calculating the mileage. The second calculation method is to calculate the target mileage, the mileage of the vehicle in hybrid mode, and the total mileage of the vehicle independently.

[0125] Display module 403 is used to display the target mileage on the vehicle's dashboard.

[0126] In one possible implementation, the device further includes an acquisition module for acquiring the computing resource utilization rate of the vehicle processor; and a determination module 401, specifically used to determine that the vehicle can undertake the additional task of calculating mileage when the computing resource utilization rate of the vehicle processor is less than the utilization rate threshold, otherwise determining that the vehicle cannot undertake the additional task of calculating mileage.

[0127] In one possible implementation, the determining module 401 is further configured to acquire the mileage increment of the vehicle in pure electric mode within a preset time period to obtain multiple mileage increments; accumulate the multiple mileage increments to obtain a target mileage increment; and update the current driving mileage of the vehicle in pure electric mode based on the target mileage increment to obtain the target driving mileage.

[0128] In one possible implementation, the device further includes a detection module 402, used to detect whether the vehicle has a screenshot function when the vehicle cannot additionally undertake the task of calculating the driving mileage; and a display module 403, specifically used to take a screenshot of the current driving mileage of the vehicle in pure electric mode when the vehicle has a screenshot function, obtain a first image, and fix the first image to be displayed at a first position on the vehicle's dashboard, the first position being the display position of the driving mileage of the vehicle in pure electric mode.

[0129] In one possible implementation, the display module 403 is further configured to take a screenshot of the current driving mileage of the vehicle in hybrid mode when the vehicle has a screenshot function, obtain a second image, and fix the second image to be displayed at a second position on the vehicle's dashboard, the second position being the display position of the driving mileage of the vehicle in hybrid mode.

[0130] In one possible implementation, the acquisition module is further used to read the configuration information of the vehicle's HMI system; the determination module 401 is further used to determine whether there is an API interface in the configuration information of the vehicle's HMI system that can provide screenshot functionality; if there is an API interface in the configuration information of the vehicle's HMI system that can provide screenshot functionality, the vehicle is determined to have screenshot functionality; otherwise, the vehicle is determined not to have screenshot functionality.

[0131] In one possible implementation, the detection module 402 is further configured to determine whether the storage rate of the vehicle's storage medium is less than a storage rate threshold when the vehicle cannot additionally undertake the task of calculating mileage and the vehicle does not have a screenshot function; the device also includes a storage module, configured to store the current mileage of the vehicle in pure electric mode in a third location of the vehicle's storage medium when the storage rate of the vehicle's storage medium is less than the storage rate threshold, and store the subsequently updated mileage of the vehicle in pure electric mode in a fourth location of the vehicle's storage medium, wherein the third location and the fourth location have different physical addresses in the vehicle's storage medium; the display module 403 is further configured to display the mileage of the vehicle in pure electric mode stored in the third location on the vehicle's dashboard.

[0132] In one possible implementation, the storage module is further configured to store the current vehicle mileage in hybrid mode in a third location and store the subsequently updated vehicle mileage in hybrid mode in a fourth location when the storage rate of the vehicle storage medium is less than a storage rate threshold; the display module 403 is further configured to display the vehicle mileage in hybrid mode stored in the third location on the vehicle's dashboard.

[0133] In one possible implementation, the device also includes a blocking module for preventing updates to the vehicle's mileage in hybrid mode when the vehicle is unable to perform the additional task of calculating mileage, the vehicle does not have a screenshot function, and the storage rate of the vehicle's storage medium is greater than or equal to a storage rate threshold.

[0134] Figure 5 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application.

[0135] For example, such as Figure 5 As shown, the vehicle 500 includes a memory 501 and a processor 502. The memory 501 stores executable program code 503, and the processor 502 is used to call and execute the executable program code 503 to perform a hybrid vehicle mileage display method.

[0136] Furthermore, this application also protects an apparatus that may include a memory and a processor, wherein the memory stores executable program code, and the processor is used to call and execute the executable program code to execute a hybrid vehicle mileage display method provided in this application.

[0137] This embodiment can divide the device into functional modules based on the above method example. For example, each module can correspond to a separate function, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0138] When each functional module is divided according to its corresponding function, the device may further include an acquisition module, a detection module, a storage module, and a blocking module. It should be noted that all relevant content regarding the steps involved in the above method embodiments can be referenced from the functional descriptions of the corresponding functional modules, and will not be repeated here.

[0139] It should be understood that the device provided in this embodiment is used to execute the above-described method for displaying the mileage of a hybrid vehicle, and therefore can achieve the same effect as the above-described implementation method.

[0140] When using an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module can be used to control and manage the vehicle's movements. The storage module can be used to support the vehicle in executing relevant program code.

[0141] The processing module may be a processor or a controller, which can implement or execute various exemplary logic blocks, modules, and circuits shown in conjunction with the disclosure of this application. The processor may also be a combination of functions that implement computing capabilities, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc., and the storage module may be a memory.

[0142] In addition, the device provided in the embodiments of this application may specifically be a chip, component or module. The chip may include a connected processor and a memory. The memory is used to store instructions. When the processor calls and executes the instructions, the chip can execute the mileage display method for a hybrid vehicle provided in the above embodiments.

[0143] This embodiment also provides a computer-readable storage medium storing computer program code. When the computer program code is run on a computer, the computer executes the above-described related method steps to implement the mileage display method for a hybrid vehicle provided in the above embodiment.

[0144] This embodiment also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned related steps to implement the hybrid vehicle mileage display method provided in the above embodiment.

[0145] In this embodiment, the device, computer-readable storage medium, computer program product, or chip are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0146] Through the above description of the embodiments, those skilled in the art will 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.

[0147] In the 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 device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0148] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology 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 displaying mileage in a hybrid vehicle, characterized in that, The method includes: If the total mileage of the vehicle is less than the mileage threshold, the target mileage of the vehicle in pure electric mode is determined based on the first calculation method. The first calculation method is to obtain the target mileage by subtracting the total mileage of the vehicle from the mileage of the vehicle in hybrid mode. The mileage threshold is the maximum mileage that the vehicle can display. If the total mileage of the vehicle is equal to the mileage threshold, it is detected whether the vehicle can additionally undertake the task of calculating mileage; if the vehicle can additionally undertake the task of calculating mileage, the target mileage is determined based on the second calculation method, wherein the second calculation method is to calculate the target mileage, the mileage of the vehicle in hybrid mode, and the total mileage of the vehicle independently. The target mileage is displayed on the vehicle's dashboard.

2. The method according to claim 1, characterized in that, The detection of whether the vehicle can additionally undertake the task of calculating mileage includes: Obtain the computing resource utilization rate of the vehicle processor; If the utilization rate of the vehicle processor's computing resources is less than the utilization rate threshold, it is determined that the vehicle is capable of additionally undertaking the task of calculating mileage; otherwise, it is determined that the vehicle is not capable of additionally undertaking the task of calculating mileage.

3. The method according to claim 1, characterized in that, Determining the target mileage based on the second calculation method includes: The vehicle's mileage increment in pure electric mode is acquired within a preset time period to obtain multiple mileage increments; The target mileage increment is obtained by summing the multiple mileage increments. Based on the target mileage increment, the current driving mileage of the vehicle in pure electric mode is updated to obtain the target driving mileage.

4. The method according to claim 1, characterized in that, The method further includes: If the vehicle is unable to perform the additional task of calculating mileage, check whether the vehicle has a screenshot function; When the vehicle has a screenshot function, a screenshot is taken of the current driving mileage of the vehicle in pure electric mode to obtain a first image, and the first image is fixedly displayed on the vehicle's dashboard at a first position, which is the display position of the driving mileage of the vehicle in pure electric mode.

5. The method according to claim 4, characterized in that, The method further includes: If the vehicle has a screenshot function, a screenshot is taken of the current driving mileage of the vehicle in hybrid mode to obtain a second image, and the second image is fixedly displayed on the second position of the vehicle's dashboard, which is the display position of the driving mileage of the vehicle in hybrid mode.

6. The method according to claim 4, characterized in that, The detection of whether the vehicle has a screenshot function includes: Read the configuration information of the vehicle's HMI system; Determine whether the configuration information of the vehicle's HMI system contains an API interface that can provide screenshot functionality; If the vehicle's HMI system configuration information contains an API interface that can provide screenshot functionality, then the vehicle is determined to have screenshot functionality; otherwise, the vehicle is determined not to have screenshot functionality.

7. The method according to claim 4, characterized in that, The method further includes: If the vehicle is unable to perform the additional task of calculating mileage and the vehicle does not have a screenshot function, determine whether the storage rate of the vehicle's storage medium is less than the storage rate threshold. If the storage rate of the vehicle storage medium is less than the storage rate threshold, the current driving mileage of the vehicle in pure electric mode is stored in the third location of the vehicle storage medium, and the subsequently updated driving mileage of the vehicle in pure electric mode is stored in the fourth location of the vehicle storage medium. The third location and the fourth location have different physical addresses in the vehicle storage medium. The mileage of the vehicle in pure electric mode, stored in the third location, is displayed on the vehicle's dashboard.

8. The method according to claim 7, characterized in that, The method further includes: If the storage rate of the vehicle storage medium is less than the storage rate threshold, the current driving mileage of the vehicle in hybrid mode is stored in the third location, and the subsequently updated driving mileage of the vehicle in hybrid mode is stored in the fourth location. The mileage of the vehicle in hybrid mode, stored in the third location, is displayed on the vehicle's dashboard.

9. The method according to claim 7, characterized in that, The method further includes: If the vehicle is unable to perform the additional task of calculating mileage, the vehicle does not have a screenshot function, and the storage rate of the vehicle's storage medium is greater than or equal to the storage rate threshold, updating the vehicle's mileage in hybrid mode is prohibited.

10. A vehicle, characterized in that, The vehicles include: Memory, used to store executable program code; A processor for calling and running the executable program code from the memory, causing the vehicle to perform the method as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Automobile and driving mileage backup method

    CN107202593A

  • Method and device for acquiring driving information of hybrid vehicle and electronic equipment

    CN116901968A