Mileage synchronization methods and automobiles
By synchronizing the mileage between the controller and the instrument panel, the vehicle mileage data is verified and backed up, solving the problem of inaccurate mileage in digital instruments and ensuring the accuracy of instrument display and storage, as well as the reliability of data.
Patent Information
- Application Number
- CN202410523150.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-28
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2044-04-28
AI Technical Summary
The odometer readings on digital car dashboards are prone to errors or loss, resulting in inaccurate mileage readings.
When the car switches from a power-off state to a power-on state, the controller sends the first mileage and indicator to the instrument panel, which then verifies and updates the mileage. When the car is in motion, the instrument panel sends mileage indication information to the controller for backup, and the controller updates the mileage under certain conditions.
It ensures the accuracy of the instrument display and stored mileage, reduces the risk of mileage data errors and loss, improves vehicle operation and maintenance efficiency, and solves the problem that mileage cannot be inherited after after-sales instrument replacement.
Smart Images

Figure CN118372655B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automotive technology, and in particular to a mileage synchronization method and an automobile. Background Technology
[0002] With the rapid development of the automotive industry and the continuous improvement of vehicle electronics, car instruments have gradually transformed from traditional mechanical pointer gauges to digital instruments, which store and display the mileage already traveled. However, due to various unpredictable factors, the mileage displayed on digital instruments is prone to errors or loss, leading to inaccurate mileage readings. Summary of the Invention
[0003] This application provides a mileage synchronization method and a vehicle, which can improve the accuracy of the mileage stored in the vehicle, thereby ensuring the accuracy of the mileage displayed on the instrument panel. The technical solution is as follows:
[0004] On one hand, a mileage synchronization method is provided, executed by a vehicle including an instrument panel and a controller, the method comprising:
[0005] When the vehicle switches from a power-off state to a power-on state, the controller sends a first mileage and a first vehicle identifier to the instrument panel. The first vehicle identifier is an identifier stored in the controller and used to indicate the vehicle, and the first mileage is the mileage that the vehicle has traveled, stored in the controller.
[0006] When the first vehicle identifier and the second vehicle identifier are the same, the instrument verifies the mileage stored in the instrument based on the first mileage to obtain a first verification result. The second vehicle identifier is an identifier stored in the instrument and used to indicate the vehicle. The mileage stored in the instrument is the mileage that the vehicle has traveled.
[0007] If the first verification result indicates that the first mileage is greater than the mileage stored in the instrument, the instrument will update the mileage stored in the instrument to the first mileage.
[0008] When the vehicle is in motion, the instrument panel sends a second mileage and mileage indication information to the controller. The second mileage is the mileage that the vehicle has traveled, which is stored in the instrument panel, and the mileage indication information indicates whether the second mileage is valid.
[0009] When the mileage indication information indicates that the second mileage is valid and the difference between the second mileage value and the first mileage value is greater than a threshold, the controller updates the stored first mileage to the second mileage.
[0010] In one possible implementation, when the mileage indication information indicates that the second mileage is valid and the difference between the second mileage value and the first mileage value is greater than a threshold, the controller updates the stored first mileage to the second mileage, including:
[0011] In response to a power-off command to the vehicle, the controller updates the stored first mileage to the second mileage when the mileage indication information indicates that the second mileage is valid and the difference between the second mileage value and the first mileage value is greater than a threshold.
[0012] In another possible implementation, the mileage indication information includes first indication information or second indication information, wherein the first indication information indicates that the second mileage is valid, and the second indication information indicates that the second mileage is invalid; the process by which the instrument acquires the mileage indication information includes:
[0013] The instrument obtains the current remaining number of times the mileage can be reset;
[0014] The instrument verifies the second mileage based on the maximum zeroing mileage to obtain a second verification result;
[0015] The instrument generates the first indication information when the number of remaining mileage resets is equal to 0, or when the second verification result indicates that the second mileage is not less than the maximum reset mileage;
[0016] The instrument generates the second indication information when the number of remaining mileage reset attempts is greater than 0 and the second verification result indicates that the second mileage is less than the maximum reset mileage.
[0017] In another possible implementation, after the controller sends the first mileage and the first vehicle identifier to the instrument panel when the vehicle switches from a power-off state to a power-on state, the method further includes:
[0018] The instrument panel displays a warning message when the first vehicle identifier and the second vehicle identifier are different, and the warning message indicates that the first vehicle identifier and the second vehicle identifier are different.
[0019] In another possible implementation, the instrument is used to display the mileage already traveled by the vehicle stored in the instrument; after verifying the mileage stored in the instrument based on the first mileage when the first vehicle identifier and the second vehicle identifier are the same, and obtaining a first verification result, the method further includes:
[0020] If the first verification result indicates that the first mileage is greater than the mileage stored in the instrument, the instrument will update the currently displayed mileage to the first mileage.
[0021] On the one hand, a vehicle is provided, the vehicle including an instrument panel and a controller;
[0022] The controller is configured to send a first mileage and a first vehicle identifier to the instrument panel when the vehicle switches from a power-off state to a power-on state. The first vehicle identifier is an identifier stored in the controller and used to indicate the vehicle, and the first mileage is the mileage that the vehicle has traveled stored in the controller.
[0023] The instrument is used to verify the mileage stored in the instrument based on the first mileage when the first vehicle identifier and the second vehicle identifier are the same, and to obtain a first verification result. The second vehicle identifier is an identifier stored in the instrument and used to indicate the vehicle. The mileage stored in the instrument is the mileage that the vehicle has traveled.
[0024] The instrument is used to update the mileage stored in the instrument to the first mileage when the first verification result indicates that the first mileage is greater than the mileage stored in the instrument.
[0025] The instrument is used to send a second mileage and mileage indication information to the controller when the vehicle is in motion. The second mileage is the mileage that the vehicle has traveled, which is stored in the instrument. The mileage indication information indicates whether the second mileage is valid.
[0026] The controller is configured to update the stored first mileage to the second mileage when the mileage indication information indicates that the second mileage is valid and the difference between the second mileage value and the first mileage value is greater than a threshold.
[0027] In one possible implementation, the controller is configured to, in response to a power-off command to the vehicle, update the stored first mileage to the second mileage if the mileage indication information indicates that the second mileage is valid and the difference between the second mileage value and the first mileage value is greater than a threshold.
[0028] In another possible implementation, the mileage indication information includes a first indication information or a second indication information, wherein the first indication information indicates that the second mileage is valid, and the second indication information indicates that the second mileage is invalid; the instrument is used to obtain the current remaining number of mileage resets; to verify the second mileage based on the maximum reset mileage, and to obtain a second verification result; to generate the first indication information when the current remaining number of mileage resets is equal to 0, or when the second verification result indicates that the second mileage is not less than the maximum reset mileage; and to generate the second indication information when the current remaining number of mileage resets is greater than 0 and the second verification result indicates that the second mileage is less than the maximum reset mileage.
[0029] In another possible implementation, the instrument is also configured to display a warning message indicating that the first vehicle identifier is different from the second vehicle identifier when the first vehicle identifier is different from the second vehicle identifier.
[0030] In another possible implementation, the instrument is further configured to update the currently displayed mileage to the first mileage if the first verification result indicates that the first mileage is greater than the mileage stored in the instrument.
[0031] In the solution provided in this application embodiment, the car not only stores the mileage already driven in the instrument panel, but also backs up the mileage already driven in the controller. When the car switches from a power-off state to a power-on state, the controller sends a first mileage and a first car identifier to the instrument panel. If the first car identifier is the same as the car identifier stored in the instrument panel, the instrument panel verifies the mileage stored in the instrument panel based on the first mileage to verify which mileage is greater. If the first mileage is greater than the mileage stored in the instrument panel, it indicates that the mileage stored in the instrument panel is incorrect. The mileage stored in the instrument panel is then updated to the first mileage, and the currently displayed mileage is also updated to the first mileage to ensure the accuracy of the mileage displayed by the instrument panel and the accuracy of the mileage stored in the instrument panel. When a car is in motion, the mileage stored in the instrument cluster changes. Considering that the mileage can be reset, the instrument cluster sends a second mileage and mileage indication information to the controller while the car is in motion. This allows the controller to back up the second mileage if it is valid, ensuring that the backed-up mileage in the controller is as synchronized as possible with the mileage stored in the instrument cluster. This way, if the mileage stored in the instrument cluster is lost or incorrect, the backed-up mileage in the controller can be used to restore the mileage stored in the instrument cluster, ensuring the accuracy of the mileage stored in the car. This accurate backup of the instrument cluster mileage data improves data reliability and integrity, reduces the risk of vehicle mileage data errors or loss, and effectively improves the efficiency of vehicle operation and maintenance. Furthermore, the solution provided in this application effectively solves the problem that the mileage in the instrument cluster cannot be inherited after after-sales instrument cluster replacement. Attached Figure Description
[0032] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0033] Figure 1 This is a flowchart of a mileage synchronization method provided in an embodiment of this application;
[0034] Figure 2 This is a flowchart of another mileage synchronization method provided in the embodiments of this application;
[0035] Figure 3 This is a schematic diagram of the structure of a car provided in an embodiment of this application. Detailed Implementation
[0036] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0037] The terms “first,” “second,” etc., used in this application may be used to describe various concepts herein, but unless otherwise stated, these concepts are not limited by these terms. These terms are used only to distinguish one concept from another. For example, without departing from the scope of this application, a first temperature threshold may be referred to as a second temperature threshold, and similarly, a second temperature threshold may be referred to as a first temperature threshold.
[0038] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the mileage involved in this application was obtained with full authorization.
[0039] Figure 1 This is a flowchart of a mileage synchronization method provided in an embodiment of this application. Taking the method executed by a car as an example, as follows... Figure 1 As shown, the method includes:
[0040] 101. When the car switches from a power-off state to a power-on state, the controller sends the first mileage and the first car identifier to the instrument. The first car identifier is an identifier stored in the controller and used to indicate the car. The first mileage is the mileage that the car has traveled, stored in the controller.
[0041] In this embodiment, the vehicle includes an instrument cluster and a controller, with a wired or wireless communication connection established between the instrument cluster and the controller. The instrument cluster not only stores the mileage already traveled but also displays the mileage stored in the instrument cluster. The controller interacts with the instrument cluster to back up the mileage stored in the instrument cluster. Since the vehicle not only stores the mileage in the instrument cluster but also backs it up in the controller, when the mileage stored in the instrument cluster is lost or incorrect, the mileage stored in the instrument cluster can be restored using the backed-up mileage in the controller, and the mileage displayed in the instrument cluster can also be updated, ensuring the accuracy of both the stored and displayed mileage.
[0042] The vehicle's power-off state indicates that the vehicle is not powered; for example, the vehicle is in a power-off state when it is not started. The vehicle's power-on state indicates that the vehicle is powered; for example, the vehicle is in a power-on state when it is started. When the vehicle is in a power-on state, the instruments and controllers in the vehicle are activated and can perform their corresponding functions. The first vehicle identifier can be represented in any type of form; for example, the first vehicle identifier is the Vehicle Identification Number (VIN).
[0043] In this embodiment, considering that the instrument panel in the car may be replaced due to damage or malfunction, both the controller and the instrument panel store a car identifier to indicate which car the controller or instrument panel belongs to. Furthermore, when the car switches from a power-off state to a power-on state, indicating that the car has started, the controller is awakened and can perform corresponding functions. The first mileage stored in the controller is a backup of the mileage stored in the instrument panel. The first mileage in the controller is obtained by the controller interacting with the instrument panel to back up the mileage stored in the instrument panel. Therefore, the controller sends the first mileage and the first car identifier to the instrument panel so that the instrument panel can use this as a benchmark to verify the mileage stored in the instrument panel, thereby ensuring the accuracy of the mileage stored in the instrument panel subsequently.
[0044] 102. When the first vehicle identifier and the second vehicle identifier are the same, the instrument verifies the mileage stored in the instrument based on the first mileage to obtain the first verification result. The second vehicle identifier is the identifier stored in the instrument and used to indicate the vehicle. The mileage stored in the instrument is the mileage that the vehicle has traveled.
[0045] In this embodiment, the instrument cluster stores the vehicle identifier of the vehicle to which the instrument cluster belongs. When the instrument cluster receives the first vehicle identifier sent by the controller, it compares the first vehicle identifier with the stored second vehicle identifier. If the first vehicle identifier and the second vehicle identifier are the same, the instrument cluster verifies the mileage stored in the instrument cluster based on the first mileage to verify which mileage is larger, the first mileage or the mileage stored in the instrument cluster, and obtains the first verification result.
[0046] The second vehicle identifier can be represented in any form, for example, the second vehicle identifier is the Vehicle Identification Number (VIN).
[0047] 103. If the instrument indicates that the first mileage is greater than the mileage stored in the instrument after the first calibration result, the mileage stored in the instrument will be updated to the first mileage; the currently displayed mileage will also be updated to the first mileage.
[0048] In this embodiment, if the first verification result indicates that the first mileage is greater than the mileage stored in the instrument cluster, it means that the mileage stored in the instrument cluster is incorrect. Therefore, the mileage stored in the instrument cluster is updated to the first mileage, and the currently displayed mileage is also updated to the first mileage to ensure the accuracy of both the mileage displayed on the instrument cluster and the mileage stored in the instrument cluster. Subsequently, during vehicle operation, the instrument cluster can accumulate the mileage already traveled based on the updated first mileage.
[0049] In one possible implementation, the mileage stored in the instrument cluster is called TotalOdometer. If the instrument cluster's first calibration result indicates that the first mileage is greater than the mileage stored in the instrument cluster, the instrument cluster updates the value of TotalOdometer to the first mileage. The maximum value of TotalOdometer can be any value; for example, TotalOdometer could be 999,999 kilometers.
[0050] In one possible implementation, the instrument panel can also display other data, such as the vehicle's speed, fuel level, battery level, and temperature.
[0051] It should be noted that this embodiment of the application uses updating the stored mileage and updating the displayed mileage of the instrument panel as an example for illustration. In another embodiment, the instrument panel can also update only the stored mileage. For example, the user can turn the display function of the instrument panel in the car on or off. When the display function of the instrument panel is off, if the first verification result indicates that the first mileage is greater than the mileage stored in the instrument panel, the instrument panel will update the stored mileage to the first mileage.
[0052] It should be noted that the embodiments of this application are illustrated by taking the example that the first verification result indicates that the first mileage is greater than the mileage stored in the instrument. In another embodiment, if the first verification result indicates that the first mileage is not greater than the mileage stored in the instrument, then there is no need to update the mileage stored in the instrument or the displayed mileage.
[0053] 104. When the car is in motion, the instrument panel sends a second mileage and mileage indication information to the controller. The second mileage is the mileage that the car has traveled stored in the instrument panel, and the mileage indication information indicates whether the second mileage is valid.
[0054] In this embodiment, when the vehicle is in motion, the mileage stored in the instrument cluster changes as the vehicle travels. This mileage is referred to as the second mileage. Since the mileage can be reset, the instrument cluster obtains mileage indication information to indicate whether the current second mileage is valid. While the vehicle is in motion, the instrument cluster sends the second mileage and mileage indication information to the controller so that the controller can also back up the second mileage to ensure the security of vehicle data.
[0055] The mileage indication information can also indicate whether the controller should back up the currently received mileage. The controller will only back up the second mileage when the mileage indication information indicates that the second mileage is valid; the controller will not back up the second mileage when the mileage indication information indicates that the second mileage is invalid.
[0056] In one possible implementation, while the vehicle is in motion, the instrument panel sends a second mileage, mileage indication information, and a second vehicle identifier to the controller.
[0057] In this embodiment, when the instrument sends the mileage already driven to the controller for backup, it also sends a second vehicle identifier. This allows the controller to back up the mileage if the first vehicle identifier and the second vehicle identifier are the same, ensuring that the mileage backed up by the controller and the mileage stored by the instrument are the mileage driven by the same vehicle, thus guaranteeing the accuracy of the mileage backup.
[0058] It should be noted that the embodiment of this application is illustrated by sending the vehicle identifier when the instrument sends the required backup mileage to the controller. In another embodiment, during the vehicle's power-on process, the controller only needs to perform vehicle identifier verification once when interacting with the instrument. That is, as in steps 101-103 above, the instrument has determined that the first vehicle identifier in the controller is the same as the second vehicle identifier in the instrument. Therefore, when the instrument sends the required backup mileage to the controller, it is not necessary to send the vehicle identifier for verification again.
[0059] In one possible implementation, the instrument panel sends a second mileage to the controller in real time while the car is in motion, or the instrument panel sends a second mileage to the controller periodically.
[0060] In one possible implementation, while the vehicle is in motion, the instrument panel sends mileage indication information to the controller in real time, or the instrument panel sends mileage indication information to the controller periodically.
[0061] In one possible implementation, the mileage indication information includes a first indication information or a second indication information, wherein the first indication information indicates that the second mileage is valid, and the second indication information indicates that the second mileage is invalid.
[0062] The first and second indication information can be represented in any form; for example, the first indication information can be 1 and the second indication information can be 0. As another example, the odometer indication information sent by the instrument to the controller is the TotODOMtrBkpEna (Total OdoMeter Backup Enable) signal. The TotODOMtrBkpEna signal carries either 0 or 1; a TotODOMtrBkpEna signal carrying 1 corresponds to the first indication information, and a TotODOMtrBkpEna signal carrying 0 corresponds to the second indication information.
[0063] Optionally, the process of the instrument acquiring mileage indication information includes: the instrument acquiring the current remaining number of mileage resets; verifying the second mileage based on the maximum reset mileage to obtain a second verification result; generating first indication information when the current remaining number of mileage resets is equal to 0, or when the second verification result indicates that the second mileage is not less than the maximum reset mileage; and generating second indication information when the current remaining number of mileage resets is greater than 0 and the second verification result indicates that the second mileage is less than the maximum reset mileage.
[0064] The number of times a car's mileage can be reset refers to the number of times the car's mileage has already been reset. The maximum reset mileage is any mileage. The mileage can only be reset if it is less than the maximum reset mileage. If the mileage exceeds the maximum reset mileage, the mileage cannot be reset even if the remaining reset count is greater than 0.
[0065] In this embodiment, the car has a preset number of mileage resets. As long as the mileage already driven by the car does not exceed the maximum reset mileage and the current remaining number of mileage resets is greater than 0, the mileage already driven by the car is allowed to be reset. For example, if the preset number of mileage resets for the car is 1 and the maximum reset mileage is 200 kilometers, as long as the mileage already driven by the car does not exceed 200 kilometers, the mileage already driven by the car is allowed to be reset once. In this way, newly manufactured cars have one opportunity to reset their mileage.
[0066] In this embodiment, the instrument panel obtains the remaining number of mileage reset attempts and compares the maximum reset mileage with the second mileage to determine whether the second mileage exceeds the maximum reset mileage. If the remaining number of mileage reset attempts is 0, or if the second verification result indicates that the second mileage is not less than the maximum reset mileage, it means the second mileage cannot be reset. The mileage traveled by the vehicle during subsequent driving will be accumulated based on the second mileage, making the second mileage valid. Therefore, a first indication is generated to indicate that the second mileage is valid, and the first indication is subsequently sent to the controller so that the controller can back up the second mileage according to the first indication. If the remaining number of mileage reset attempts is greater than 0, and the second verification result indicates that the second mileage is less than the maximum reset mileage, it means the mileage already traveled by the vehicle can still be reset, i.e., the second mileage can be reset. The mileage already traveled by the vehicle can be reset, i.e., the second mileage is updated to zero, making the second mileage invalid. Therefore, a second indication is generated to indicate that the second mileage is invalid, and the second indication is subsequently sent to the controller so that the controller does not back up the second mileage according to the second indication.
[0067] 105. When the mileage indication information indicates that the second mileage is valid and the difference between the second mileage value and the first mileage value is greater than the threshold, the controller updates the stored first mileage to the second mileage.
[0068] In this embodiment, the controller updates the stored first mileage to the second mileage only when the mileage indication information indicates that the second mileage is valid, the mileage sent by the meter is greater than the mileage stored by the controller, and the difference between the mileage sent by the meter and the mileage stored by the controller is greater than a threshold. This ensures the accuracy of the mileage stored in the controller and eliminates the need for the controller to frequently update the stored mileage, thus avoiding inaccurate data due to frequent updates and ensuring the security of the stored mileage.
[0069] The threshold is equivalent to the mileage difference. The controller will only back up the mileage sent by the instrument if the difference between the stored mileage and the mileage sent by the instrument is greater than the mileage difference. The threshold can be any value, for example, 100 kilometers.
[0070] In one possible implementation, when the instrument sends the second mileage and mileage indication information to the controller, it also sends the second vehicle identifier stored in the instrument to the controller. Then step 105 includes: when the mileage indication information indicates that the second mileage is valid, the first vehicle identifier stored in the controller is the same as the second vehicle identifier, and the difference between the second mileage value and the first mileage value is greater than a threshold, the controller updates the stored first mileage to the second mileage.
[0071] Optionally, if the stored first vehicle identifier is different from the second vehicle identifier, the controller will not update the stored first mileage.
[0072] In one possible implementation, the mileage already driven by the car stored in the controller is called Total Odometer Backup. When the mileage indication information indicates that the second mileage is valid and the difference between the second mileage value and the first mileage value is greater than a threshold, the controller updates the value of Total Odometer Backup to the second mileage.
[0073] In one possible implementation, step 105 includes: in response to a power-off command to the vehicle, the controller updates the stored first mileage to the second mileage if the mileage indication information indicates that the second mileage is valid and the difference between the second mileage value and the first mileage value is greater than a threshold.
[0074] Among them, the power-off command indicates that the car's power is cut off, and the timely command indicates that the car is about to be turned off.
[0075] In this embodiment, the controller responds to the power-off command of the vehicle by updating the stored first mileage to the second mileage when the mileage indication information indicates that the second mileage is valid and the difference between the second mileage value and the first mileage value is greater than a threshold. That is, the controller only backs up the mileage currently sent by the instrument every time the vehicle is powered off, which can reduce the number of backups by the controller.
[0076] In the solution provided in this application embodiment, the car not only stores the mileage already driven in the instrument panel, but also backs up the mileage already driven in the controller. When the car switches from a power-off state to a power-on state, the controller sends a first mileage and a first car identifier to the instrument panel. If the first car identifier is the same as the car identifier stored in the instrument panel, the instrument panel verifies the mileage stored in the instrument panel based on the first mileage to verify which mileage is greater. If the first mileage is greater than the mileage stored in the instrument panel, it indicates that the mileage stored in the instrument panel is incorrect. The mileage stored in the instrument panel is then updated to the first mileage, and the currently displayed mileage is also updated to the first mileage to ensure the accuracy of the mileage displayed by the instrument panel and the accuracy of the mileage stored in the instrument panel. When a car is in motion, the mileage stored in the instrument cluster changes. Considering that the mileage can be reset, the instrument cluster sends a second mileage and mileage indication information to the controller while the car is in motion. This allows the controller to back up the second mileage if it is valid, ensuring that the backed-up mileage in the controller is as synchronized as possible with the mileage stored in the instrument cluster. This way, if the mileage stored in the instrument cluster is lost or incorrect, the backed-up mileage in the controller can be used to restore the mileage stored in the instrument cluster, ensuring the accuracy of the mileage stored in the car. This accurate backup of the instrument cluster mileage data improves data reliability and integrity, reduces the risk of vehicle mileage data errors or loss, and effectively improves the efficiency of vehicle operation and maintenance. Furthermore, the solution provided in this application effectively solves the problem that the mileage in the instrument cluster cannot be inherited after after-sales instrument cluster replacement.
[0077] It should be noted that the above Figure 1 The illustrated embodiment uses the example of the first vehicle identifier and the second vehicle identifier being the same. In another embodiment, if the first vehicle identifier and the second vehicle identifier are different, the instrument can also display a warning message to remind the user. That is, the method further includes: if the first vehicle identifier and the second vehicle identifier are different, the instrument displays a warning message indicating that the first vehicle identifier and the second vehicle identifier are different.
[0078] In this embodiment, when the first vehicle identifier and the second vehicle identifier are different, the instrument can no longer update the mileage stored in the instrument based on the first mileage sent by the controller. The instrument can also display a warning message to remind the user that the vehicle identifier in the controller is different from the vehicle identifier in the instrument, so that the user can be aware of the vehicle malfunction.
[0079] Based on the above Figure 1 The embodiments shown in this application also provide another mileage synchronization method, such as... Figure 2As shown, taking a BCM (Body Control Module) as the controller and an ICM (Instrument Cluster Module) as the instrument cluster as an example, the method includes:
[0080] Step 1: When the car switches from a power-off state to a power-on state, that is, after the car network wakes up, the BCM reads its own stored Total OdoMeter Backup and its own stored VINcode_BCM (first car identifier), and outputs Total OdoMeter Backup and VINcode_BCM to the ICM;
[0081] Step 2: The ICM determines whether the VINcode_BCM received from the BCM matches its stored VINcode_ICM (Second Vehicle Identifier). If the VINcode_BCM and VINcode_ICM do not match, the ICM displays a warning message indicating an incorrect VIN, and the warning message remains displayed and cannot be exited. If the VINcode_BCM and VINcode_ICM match, it determines whether the value of TotalOdoMeter Backup is greater than the value of TotalOdometer stored in the ICM. If TotalOdoMeterBackup is greater than TotalOdometer, the instrument cluster updates the displayed mileage according to TotalOdoMeter Backup and updates the stored TotalOdometer based on TotalOdoMeter Backup to make the values of TotalOdometer and TotalOdoMeter Backup the same, and the mileage recovery function ends. If TotalOdoMeter Backup ≤ TotalOdometer, the instrument cluster does not need to update the mileage, and the mileage recovery function also ends.
[0082] In this embodiment of the application, when the car is powered off, the damaged or malfunctioning instrument can be replaced. After the new instrument is installed, KL15 (engine ignition information) is powered on, the car is powered on, and the second car identifier is written into the newly installed instrument by operating the diagnostic tool.
[0083] Step 3: With the car in motion, the ICM determines whether the number of zeroing attempts has been exhausted or whether the TotalOdometer has reached the maximum zeroing mileage set by the ICM. If the number of zeroing attempts is 0, or if the TotalOdometer has reached the maximum zeroing mileage, the ICM sets TotODOMtrBkpEna to 1; it sends the TotalOdometer periodic signal, TotODOMtrBkpEna, and VINcode_ICM to the controller. TotODOMtrBkpEna instructs the BCM whether to perform mileage backup.
[0084] It should be noted that in this embodiment, when the instrument sends the mileage to the controller for backup, it also sends the vehicle identifier. In another embodiment, if the ICM has successfully performed the mileage recovery function, there is no need to compare the vehicle identifier in real time during the subsequent interaction between the BCM and the ICM to back up the mileage already driven.
[0085] It should be noted that the embodiments of this application are illustrated by the example of the instrument periodically sending the mileage traveled to the controller. In another embodiment, the instrument can also send the mileage traveled to the controller in real time.
[0086] Step 4: The controller receives the TotalOdometer periodic signal, TotODOMtrBkpEna, and VINcode_ICM from the ICM.
[0087] Step 5: From the moment the car's power is turned on to the moment it is turned off, that is, when the car receives a power-off command, the BCM responds by comparing the stored VINcode_BCM with the VINcode_ICM sent by the instrument cluster. If the VINcode_BCM and VINcode_ICM match, the BCM checks the TotODOMtrBkpEna signal and compares Total Odometer_km with TotalOdoMeter Backup. If TotODOMtrBkpEna is "1" and TotalOdometer - 100 km ≥ Total OdoMeter Backup, the BCM performs mileage backup to make the value of Total OdoMeter Backup equal to the value of TotalOdometer. If TotODOMtrBkpEna is not equal to "1", or TotalOdometer_km - 100 km < Total OdoMeter Backup, the BCM does not perform mileage backup.
[0088] In this embodiment of the application, before mileage backup is performed, the default mileage value of the BCM is 0.
[0089] Step 6: If TotODOMtrBkpEna is "0", it indicates that the mileage received from the ICM is invalid, and the BCM will not perform a backup. If the VINcode_BCM stored in the BCM does not match the VINcode_ICM sent by the instrument, the BCM will not perform a backup.
[0090] Based on the above Figure 2 The illustrated embodiment provides a detailed description of TotalOdometer, TotODOMtrBkpEna, and TotalOdoMeter Backup, as shown in Table 1. TotalOdometer, TotODOMtrBkpEna, and TotalOdoMeter Backup are all CAN (Controller Area Network) signals, and the VIN data format is shown in Table 2.
[0091] Table 1
[0092]
[0093] Table 2
[0094]
[0095] Figure 3 This application provides an embodiment of a vehicle, such as... Figure 3 As shown, the car includes a controller 301 and an instrument cluster 302;
[0096] The controller 301 is used to send a first mileage and a first vehicle identifier to the instrument panel 302 when the vehicle switches from a power-off state to a power-on state. The first vehicle identifier is an identifier stored in the controller 301 and used to indicate the vehicle, and the first mileage is the mileage that the vehicle has traveled stored in the controller 301.
[0097] Instrument 302 is used to verify the mileage stored in instrument 302 based on the first mileage when the first vehicle identifier and the second vehicle identifier are the same, and to obtain the first verification result. The second vehicle identifier is the identifier stored in instrument 302 and used to indicate the vehicle. The mileage stored in instrument 302 is the mileage that the vehicle has traveled.
[0098] Instrument 302 is used to update the mileage stored in instrument 302 to the first mileage when the first verification result indicates that the first mileage is greater than the mileage stored in instrument 302;
[0099] The instrument panel 302 is used to send a second mileage and mileage indication information to the controller 301 when the vehicle is in motion. The second mileage is the mileage that the vehicle has traveled stored in the instrument panel 302, and the mileage indication information indicates whether the second mileage is valid.
[0100] The controller 301 is used to update the stored first mileage to the second mileage when the mileage indication information indicates that the second mileage is valid and the difference between the second mileage value and the first mileage value is greater than a threshold.
[0101] In one possible implementation, controller 301 is configured to update the stored first mileage to the second mileage in response to a power-off command to the vehicle, provided that the mileage indication information indicates that the second mileage is valid and the difference between the second mileage value and the first mileage value is greater than a threshold.
[0102] In another possible implementation, the mileage indication information includes a first indication information or a second indication information, wherein the first indication information indicates that the second mileage is valid, and the second indication information indicates that the second mileage is invalid; the instrument 302 is used to obtain the current remaining number of mileage resets; to verify the second mileage based on the maximum reset mileage, and to obtain a second verification result; when the current remaining number of mileage resets is equal to 0, or when the second verification result indicates that the second mileage is not less than the maximum reset mileage, the first indication information is generated; when the current remaining number of mileage resets is greater than 0 and the second verification result indicates that the second mileage is less than the maximum reset mileage, the second indication information is generated.
[0103] In another possible implementation, instrument 302 is also used to display a warning message when the first vehicle identification mark is different from the second vehicle identification mark, the warning message indicating that the first vehicle identification mark is different from the second vehicle identification mark.
[0104] In another possible implementation, the instrument 302 is also used to update the currently displayed mileage to the first mileage if the first verification result indicates that the first mileage is greater than the mileage stored in the instrument 302.
[0105] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0106] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present application should be included within the protection scope of the present application.
Claims
1. A mileage synchronization method, characterized in that, Performed by a vehicle, the vehicle including instruments and controllers, the method includes: When the vehicle switches from a power-off state to a power-on state, the controller sends a first mileage and a first vehicle identifier to the instrument panel. The first vehicle identifier is an identifier stored in the controller and used to indicate the vehicle, and the first mileage is the mileage that the vehicle has traveled, stored in the controller. When the first vehicle identifier and the second vehicle identifier are the same, the instrument verifies the mileage stored in the instrument based on the first mileage to obtain a first verification result. The second vehicle identifier is an identifier stored in the instrument and used to indicate the vehicle. The mileage stored in the instrument is the mileage that the vehicle has traveled. If the first verification result indicates that the first mileage is greater than the mileage stored in the instrument, the instrument will update the mileage stored in the instrument to the first mileage. When the vehicle is in motion, the instrument panel sends a second mileage and mileage indication information to the controller. The second mileage is the mileage that the vehicle has traveled, which is stored in the instrument panel, and the mileage indication information indicates whether the second mileage is valid. When the mileage indication information indicates that the second mileage is valid and the difference between the second mileage and the first mileage is greater than a threshold, the controller updates the stored first mileage to the second mileage. The mileage indication information includes either first indication information or second indication information, wherein the first indication information indicates that the second mileage is valid, and the second indication information indicates that the second mileage is invalid; the process by which the instrument acquires the mileage indication information includes: The instrument obtains the current remaining number of times the mileage can be reset; The instrument verifies the second mileage based on the maximum zeroing mileage to obtain a second verification result; The instrument generates the first indication information when the number of remaining mileage resets is equal to 0, or when the second verification result indicates that the second mileage is not less than the maximum reset mileage; The instrument generates the second indication information when the number of remaining mileage reset attempts is greater than 0 and the second verification result indicates that the second mileage is less than the maximum reset mileage.
2. The method according to claim 1, characterized in that, When the mileage indication information indicates that the second mileage is valid and the difference between the second mileage and the first mileage is greater than a threshold, the controller updates the stored first mileage to the second mileage, including: In response to a power-off command to the vehicle, the controller updates the stored first mileage to the second mileage when the mileage indication information indicates that the second mileage is valid and the difference between the second mileage and the first mileage is greater than a threshold.
3. The method according to claim 1, characterized in that, When the vehicle switches from a power-off state to a power-on state, after the controller sends the first mileage and the first vehicle identifier to the instrument panel, the method further includes: The instrument panel displays a warning message when the first vehicle identifier and the second vehicle identifier are different, and the warning message indicates that the first vehicle identifier and the second vehicle identifier are different.
4. The method according to claim 1, characterized in that, The instrument is used to display the mileage that the vehicle has traveled, stored in the instrument. When the first vehicle identifier and the second vehicle identifier are the same, the instrument verifies the mileage stored in the instrument based on the first mileage, and after obtaining a first verification result, the method further includes: If the first verification result indicates that the first mileage is greater than the mileage stored in the instrument, the instrument will update the currently displayed mileage to the first mileage.
5. A car, characterized in that, The vehicle includes instruments and controllers; The controller is configured to send a first mileage and a first vehicle identifier to the instrument panel when the vehicle switches from a power-off state to a power-on state. The first vehicle identifier is an identifier stored in the controller and used to indicate the vehicle, and the first mileage is the mileage that the vehicle has traveled stored in the controller. The instrument is used to verify the mileage stored in the instrument based on the first mileage when the first vehicle identifier and the second vehicle identifier are the same, and to obtain a first verification result. The second vehicle identifier is an identifier stored in the instrument and used to indicate the vehicle. The mileage stored in the instrument is the mileage that the vehicle has traveled. The instrument is used to update the mileage stored in the instrument to the first mileage when the first verification result indicates that the first mileage is greater than the mileage stored in the instrument. The instrument is used to send a second mileage and mileage indication information to the controller when the vehicle is in motion. The second mileage is the mileage that the vehicle has traveled, which is stored in the instrument. The mileage indication information indicates whether the second mileage is valid. The controller is configured to update the stored first mileage to the second mileage when the mileage indication information indicates that the second mileage is valid and the difference between the second mileage and the first mileage is greater than a threshold. The mileage indication information includes either first indication information or second indication information, wherein the first indication information indicates that the second mileage is valid, and the second indication information indicates that the second mileage is invalid; the instrument is used to obtain the current remaining number of mileage resets; to verify the second mileage based on the maximum reset mileage, and to obtain a second verification result; when the current remaining number of mileage resets is equal to 0, or when the second verification result indicates that the second mileage is not less than the maximum reset mileage, the first indication information is generated; when the current remaining number of mileage resets is greater than 0 and the second verification result indicates that the second mileage is less than the maximum reset mileage, the second indication information is generated.
6. The automobile according to claim 5, characterized in that, The controller is configured to, in response to a power-off command to the vehicle, update the stored first mileage to the second mileage when the mileage indication information indicates that the second mileage is valid and the difference between the second mileage and the first mileage is greater than a threshold.
7. The automobile according to claim 5, characterized in that, The instrument is also used to display a warning message when the first vehicle identification is different from the second vehicle identification, the warning message indicating that the first vehicle identification is different from the second vehicle identification.
8. The automobile according to claim 5, characterized in that, The instrument is further configured to update the currently displayed mileage to the first mileage when the first verification result indicates that the first mileage is greater than the mileage stored in the instrument.
Citation Information
Patent Citations
Backup device, instrument device and automobile
CN102717764A
System and method for keeping total automobile running kilometers in instrument
CN106248102A