Method and system for storing mileage data of motormeter and vehicle

By building multiple data format information and storage spaces in automotive instruments and updating mileage data in real time, the data loss and inaccuracy of automotive instrument mileage data storage in the prior art are solved, and the data reliability and security are improved.

CN119987671APending Publication Date: 2025-05-13SUZHOU ZHIXING CHANGLIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510093867.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-21
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

In the prior art, the storage of automotive instrument mileage data has problems such as data loss and inaccurate data, and external EEPROM storage is easily interfered with, resulting in access abnormalities.

Method used

By acquiring the storage format information of the memory and the mileage data of the target vehicle, multiple data format information are constructed, and multiple storage spaces are divided in the memory. Store mileage data in a preset format and update all data in real time when updated to ensure the accuracy and reliability of the data.

Benefits of technology

Improves the reliability and security of vehicle instrument mileage data, prevents data loss and inaccuracy, and ensures that the current mileage data can be recovered from stored data in abnormal situations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119987671A_ABST
    Figure CN119987671A_ABST
Patent Text Reader

Abstract

The invention discloses an automobile instrument mileage data storage method and system and a vehicle, and the method comprises the steps: obtaining the storage format information of a memory, and constructing a plurality of storage spaces and data format information according to the storage format information; obtaining mileage data, constructing a plurality of data types according to the mileage data and the data format information, and respectively storing the mileage data and all the data types in a storage space; and when the mileage data is updated, updating the corresponding data type in real time, and respectively storing the updated current mileage data into all the storage spaces. According to the method, the memory with an encryption protection function is selected, and the mileage data is stored according to the preset format, so that the correctness and the reliability of the mileage data are ensured, the current mileage data can be recovered from the stored data when the mileage data is abnormal, and the reliability and the safety of the mileage data of the automobile instrument are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data storage, and in particular to a method and system for storing automobile meter mileage data, a vehicle and a computer-readable and writable storage medium. Background Art

[0002] At present, the traditional way of storing mileage data of automobile instruments is to use external EEPROM (Electrically Erasable Programmable Read-Only Memory) to store automobile instrument mileage data. It is easy to rewrite the mileage data through external communication means, resulting in inaccurate mileage data and poor authenticity.

[0003] Secondly, there is a possibility of communication being disturbed when storing and reading the external EEPROM, which may easily cause access anomalies and cause mileage data loss or errors. When the external environment is abnormal (such as power supply disappears), the real-time mileage data will be lost, resulting in inaccurate mileage data.

[0004] Therefore, the prior art still needs to be improved and developed. Summary of the invention

[0005] The main purpose of the present invention is to provide a storage method, system, vehicle and computer readable and writable storage medium for automobile instrument mileage data, aiming to solve the problems of data loss and inaccurate data in the storage of automobile instrument mileage data in the prior art.

[0006] To achieve the above object, the present invention provides a method for storing automobile instrument mileage data, the method comprising the following steps:

[0007] Acquire storage format information of a memory and mileage data of a target vehicle, construct a plurality of data format information according to the storage format information, and divide a plurality of storage spaces in the memory;

[0008] constructing a plurality of data according to the mileage data and the data format information, and storing the mileage data and all the data in all the storage spaces respectively;

[0009] When the mileage data is updated, all the data are updated in real time, and the updated current mileage data is stored in all the storage spaces respectively.

[0010] The method for storing automobile instrument mileage data, wherein the data format information includes: frame header marking information, mileage data information, check information, frame valid status information and frame tail marking information.

[0011] The method for storing automobile instrument mileage data, wherein the storage format information of the memory and the mileage data of the target vehicle are obtained, a plurality of data format information are constructed according to the storage format information, and a plurality of storage spaces are divided in the memory, specifically comprising:

[0012] Acquire storage format information of a memory and mileage data of a target vehicle, wherein the storage format information is set by a user and then input into the memory;

[0013] Constructing the frame header marking information, the mileage data information, the check information, the frame valid status information and the frame tail marking information according to the storage format information;

[0014] According to the storage format information, a plurality of storage spaces with preset byte numbers are divided in the memory, wherein the storage spaces include a first storage space and a second storage space with the same byte numbers.

[0015] The method for storing automobile instrument mileage data, wherein the method constructs multiple data according to the mileage data and the data format information, and stores the mileage data and all the data in all the storage spaces respectively, specifically includes:

[0016] Constructing frame header marking data of the mileage data according to the mileage data and the frame header marking information;

[0017] constructing verification data of the mileage data according to the mileage data and the verification information;

[0018] Constructing frame valid status data of the mileage data according to the mileage data and the frame valid status information;

[0019] Constructing frame end marking data of the mileage data according to the mileage data and the frame end marking information;

[0020] Copying the mileage data, the frame header marking data, the check data, the frame valid status data and the frame tail marking data to obtain corresponding backup data;

[0021] The mileage data, the frame header marking data, the verification data, the frame valid status data and the frame tail marking data are saved in the first storage space, and the backup data is stored in the second storage space.

[0022] The storage method of automobile instrument mileage data, wherein the backup data includes: spare frame header marking data, spare mileage data, spare check data, spare frame valid state data and spare frame tail marking data.

[0023] The method for storing automobile instrument mileage data, wherein when the mileage data is updated, all the data are updated in real time, and the updated current mileage data is stored in all the storage spaces respectively, specifically comprising:

[0024] Obtain updated current mileage data, and construct current frame header marking data, current check data, current frame valid state data, and current frame tail marking data according to the current mileage data and the data format information;

[0025] The current mileage data, the current frame header marking data, the current verification data, the current frame valid state data and the current frame tail marking data are copied to obtain current standby frame header marking data, current standby mileage data, current standby verification data, current standby frame valid state data and current standby frame tail marking data;

[0026] The current frame header marking data, the current mileage data, the current verification data, the current frame valid state data and the current frame tail marking data are saved in the first storage space;

[0027] The current standby frame header marking data, the current standby mileage data, the current standby verification data, the current standby frame valid state data and the current standby frame tail marking data are stored in the second storage space.

[0028] The method for storing automobile instrument mileage data, wherein the current standby frame header marking data, the current standby mileage data, the current standby verification data, the current standby frame valid state data and the current standby frame tail marking data are stored in the second storage space, and then further comprises:

[0029] Acquire the time when the spare mileage data stored in the second storage space is copied, and sort the spare frame header marking data, the spare check data, the spare frame valid state data and the spare frame tail marking data corresponding to the spare mileage data according to the time to obtain sorting information;

[0030] When an abnormality occurs in the mileage data stored in the first storage space, the spare data in the second storage space is obtained, and the spare frame header marking data, spare mileage data, spare check data, spare frame valid status data and spare frame tail marking data corresponding to the abnormal mileage data are overwritten into the first storage space.

[0031] In addition, to achieve the above-mentioned purpose, the present invention also provides a storage system for automobile instrument mileage data, wherein the storage system for automobile instrument mileage data comprises:

[0032] A format construction module, used to obtain storage format information of a memory and mileage data of a target vehicle, construct a plurality of data format information according to the storage format information, and divide a plurality of storage spaces in the memory;

[0033] A data storage module, used for constructing a variety of data according to the mileage data and the data format information, and storing the mileage data and all the data in all the storage spaces respectively;

[0034] The data updating module is used to update all the data in real time when the mileage data is updated, and store the updated current mileage data in all the storage spaces respectively.

[0035] In addition, to achieve the above-mentioned purpose, the present invention also provides a vehicle, wherein the vehicle includes: a memory, a processor, and a storage program for automobile instrument mileage data stored in the memory and executable on the processor, wherein the storage program for automobile instrument mileage data implements the steps of the method for storing automobile instrument mileage data as described above when executed by the processor.

[0036] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable and writable storage medium, wherein the computer-readable and writable storage medium stores a storage program for automobile instrument mileage data, and when the storage program for automobile instrument mileage data is executed by a processor, the steps of the storage method for automobile instrument mileage data as described above are implemented.

[0037] In the present invention, the storage format information of the memory and the mileage data of the target vehicle are obtained, multiple data format information is constructed according to the storage format information, and multiple storage spaces are divided in the memory; multiple data are constructed according to the mileage data and the data format information, and the mileage data and all the data are respectively stored in all the storage spaces; when the mileage data is updated, all the data are updated in real time, and the updated current mileage data is respectively stored in all the storage spaces. The present invention selects a memory with an encryption protection function, and stores the mileage data in a preset format, thereby ensuring the correctness and reliability of the mileage data, and when the mileage data is abnormal, the current mileage data can be restored from the stored data, thereby improving the reliability and security of the mileage data of the automobile instrument. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 It is a flow chart of a preferred embodiment of the method for storing automobile instrument mileage data of the present invention;

[0039] Figure 2 It is a structural diagram of a preferred embodiment of the storage system of automobile instrument mileage data of the present invention;

[0040] Figure 3 It is a structural diagram of a preferred embodiment of the vehicle of the present invention. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0042] The method for storing automobile meter mileage data according to a preferred embodiment of the present invention is as follows: Figure 1 As shown, the method for storing automobile instrument mileage data includes the following steps:

[0043] Step S10: acquiring storage format information of a memory and mileage data of a target vehicle, constructing a plurality of data format information according to the storage format information, and dividing a plurality of storage spaces in the memory.

[0044] The data format information includes: frame header information, mileage data information, checksum information, frame validity status information and frame tail information. Different data formats can be used to determine the validity of mileage data to prevent mileage data errors; and multiple storage spaces can also ensure that when mileage data is abnormal, the current mileage data can be restored from different storage spaces to improve data stability and accuracy.

[0045] Specifically, storage format information of a memory and mileage data of a target vehicle are obtained, wherein the storage format information is set by a user and then input into the memory; according to the storage format information, the frame header marking information, the mileage data information, the check information, the frame valid status information and the frame tail marking information are constructed; according to the storage format information, a plurality of storage spaces with a preset number of bytes are divided in the memory, wherein the storage space includes a first storage space and a second storage space with the same number of bytes.

[0046] Among them, the mileage data is stored in the FLASH (flash memory) inside the MCU (Microcontroller Unit). The FLASH has an encryption protection function. After the encryption processing of external read-write data lock protection, the MCU can store and read the internal FLASH data normally, while the external device cannot read and write the internal FLASH data. In this way, the external device cannot crack the mileage data by reading the FLASH data, or modify the mileage data by rewriting the FLASH data. This process ensures the security of the mileage data.

[0047] Step S20: construct a variety of data according to the mileage data and the data format information, and store the mileage data and all the data in all the storage spaces respectively.

[0048] Specifically, based on the mileage data and the frame header identification information, the frame header identification data of the mileage data is constructed; based on the mileage data and the verification information, the verification data of the mileage data is constructed; based on the mileage data and the frame validity status information, the frame validity status data of the mileage data is constructed; based on the mileage data and the frame end identification information, the frame end identification data of the mileage data is constructed; the mileage data, the frame header identification data, the verification data, the frame validity status data and the frame end identification data are copied to obtain corresponding backup data; the mileage data, the frame header identification data, the verification data, the frame validity status data and the frame end identification data are saved in the first storage space, and the backup data is stored in the second storage space.

[0049] The backup data includes: backup frame header marking data, backup mileage data, backup check data, backup frame valid status data and backup frame tail marking data. The corresponding backup data is consistent with the content of these data and is saved in the second storage space. It can be used to restore the mileage data when the mileage data is abnormal, thereby improving the integrity and reliability of the data.

[0050] Furthermore, the frame header marking data indicates the beginning of a storage unit data, the mileage data is the data that actually needs to be stored, the verification data is the comparison data generated by the mileage data through the verification algorithm, the frame valid status data indicates whether it is the current mileage data or the historical mileage data, and the frame tail marking data indicates the end of a storage unit data. This data format can judge the validity of the mileage data, prevent errors in the mileage data, and improve the accuracy of the mileage data.

[0051] Step S30: When the mileage data is updated, all the data are updated in real time, and the updated current mileage data is stored in all the storage spaces respectively.

[0052] Specifically, the updated current mileage data is obtained, and according to the current mileage data and the data format information, the current frame header marking data, the current verification data, the current frame valid status data and the current frame tail marking data are constructed; the current mileage data, the current frame header marking data, the current verification data, the current frame valid status data and the current frame tail marking data are copied to obtain the current standby frame header marking data, the current standby mileage data, the current standby verification data, the current standby frame valid status data and the current standby frame tail marking data; the current frame header marking data, the current mileage data, the current verification data, the current frame valid status data and the current frame tail marking data are saved in the first storage space; the current standby frame header marking data, the current standby mileage data, the current standby verification data, the current standby frame valid status data and the current standby frame tail marking data are stored in the second storage space.

[0053] Among them, when the mileage data is updated in real time, the mileage data and its backup data are saved once. For example, in units of 0.1 kilometers, the mileage data and backup data are saved every time the mileage data increases by 0.1 kilometers to prevent the current mileage data from being lost when there are abnormal external conditions (such as power supply interruption), and the valid state bit of the mileage data frame of the previous frame is changed to an invalid state, and it is marked as historical mileage data, independent of the current mileage data and backup mileage data.

[0054] Furthermore, the time of copying the spare mileage data stored in the second storage space is obtained, and the spare frame header marking data, the spare check data, the spare frame valid status data and the spare frame tail marking data corresponding to the spare mileage data are sorted according to the time to obtain sorting information; when an abnormality occurs in the mileage data stored in the first storage space, the spare data in the second storage space is obtained, and the spare frame header marking data, spare mileage data, spare check data, spare frame valid status data and spare frame tail marking data corresponding to the abnormal mileage data are overwritten into the first storage space.

[0055] Among them, when the instrument is powered on, the MCU searches the mileage data frame saved in the internal FLASH area, finds the last valid frame of the mileage data frame, compares it with the data in the backup area, and when the mileage data is consistent, it is normal data, and obtains the current frame address and mileage data. If the data in the mileage data storage area is abnormal (for example, caused by a power supply interruption), and no valid frame is found, the mileage data in the backup area (including spare frame header marking data, spare mileage data, spare check data, spare frame valid status data, and spare frame tail marking data) is used, and the mileage data in the mileage data storage area is corrected. If the data in the backup area is also abnormal (for example, caused by a power supply interruption), the historical mileage data can be used to restore the current mileage data through a chronological sorting method, which further improves the security and reliability of the mileage data and avoids data loss.

[0056] The present invention selects a memory with an encryption protection function and stores the mileage data in a preset format, thereby ensuring the correctness and reliability of the mileage data, and when the mileage data is abnormal, the current mileage data can be restored from the stored data, thereby improving the reliability and security of the automobile instrument mileage data.

[0057] Furthermore, if Figure 2 As shown, based on the above-mentioned storage method of automobile instrument mileage data, the present invention also provides a storage system for automobile instrument mileage data, wherein the storage system for automobile instrument mileage data includes:

[0058] A format construction module 51 is used to obtain storage format information of a memory and mileage data of a target vehicle, construct a plurality of data format information according to the storage format information, and divide a plurality of storage spaces in the memory;

[0059] A data storage module 52, configured to construct a plurality of data according to the mileage data and the data format information, and store the mileage data and all the data in all the storage spaces respectively;

[0060] The data updating module 53 is used to update all the data in real time when the mileage data is updated, and store the updated current mileage data in all the storage spaces respectively.

[0061] Furthermore, if Figure 3 As shown, based on the above-mentioned method and system for storing automobile instrument mileage data, the present invention also provides a vehicle accordingly, and the vehicle includes a processor 10, a flash memory 20 and a display 30. Figure 3 Only some of the components of the vehicle are shown, but it should be understood that implementation of all of the components shown is not a requirement, and more or fewer components may alternatively be implemented.

[0062] The flash memory 20 is the internal FLASH of the vehicle's instrument MCU, and the flash memory 20 is used to store application software and various data installed in the vehicle, such as the program code of the vehicle installed. The flash memory 20 can also be used to temporarily store data that has been output or is about to be output. In one embodiment, the flash memory 20 stores a storage program 40 for automobile instrument mileage data, and the storage program 40 for automobile instrument mileage data can be executed by the processor 10, thereby realizing the storage method of automobile instrument mileage data in this application.

[0063] In some embodiments, the processor 10 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run the program code or process data stored in the flash memory 20, such as executing the storage method of the automobile instrument mileage data.

[0064] In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 30 is used to display information on the vehicle and to display a visual user interface. The components of the vehicle communicate with each other via a system bus.

[0065] In one embodiment, when the processor 10 executes the storage program 40 of the automobile meter mileage data in the flash memory 20, the following steps are implemented:

[0066] Acquire storage format information of a memory and mileage data of a target vehicle, construct a plurality of data format information according to the storage format information, and divide a plurality of storage spaces in the memory;

[0067] constructing a plurality of data according to the mileage data and the data format information, and storing the mileage data and all the data in all the storage spaces respectively;

[0068] When the mileage data is updated, all the data are updated in real time, and the updated current mileage data is stored in all the storage spaces respectively.

[0069] The data format information includes: frame header identification information, check information, frame validity status information and frame tail identification information.

[0070] The acquiring of storage format information of the memory and mileage data of the target vehicle, constructing a plurality of data format information according to the storage format information, and dividing a plurality of storage spaces in the memory specifically includes:

[0071] Acquiring storage format information of a memory and mileage data of a target vehicle, wherein the storage format information is set by a user and then input into the memory;

[0072] Constructing the frame header marking information, the check information, the frame valid status information and the frame tail marking information according to the storage format information;

[0073] According to the storage format information, a plurality of storage spaces with preset byte numbers are divided in the memory, wherein the storage spaces include a first storage space and a second storage space with the same byte numbers.

[0074] The step of constructing a plurality of data according to the mileage data and the data format information, and storing the mileage data and all the data in all the storage spaces respectively, specifically includes:

[0075] Constructing frame header marking data of the mileage data according to the mileage data and the frame header marking information;

[0076] constructing verification data of the mileage data according to the mileage data and the verification information;

[0077] Constructing frame valid status data of the mileage data according to the mileage data and the frame valid status information;

[0078] Constructing frame end marking data of the mileage data according to the mileage data and the frame end marking information;

[0079] Copying the mileage data, the frame header marking data, the check data, the frame valid status data and the frame tail marking data to obtain corresponding backup data;

[0080] The mileage data, the frame header marking data, the verification data, the frame valid status data and the frame tail marking data are saved in the first storage space, and the backup data is stored in the second storage space.

[0081] The backup data includes: spare frame header marking data, spare mileage data, spare check data, spare frame valid status data and spare frame tail marking data.

[0082] Wherein, when the mileage data is updated, all the data are updated in real time, and the updated current mileage data is stored in all the storage spaces respectively, specifically including:

[0083] Obtain updated current mileage data, and construct current frame header marking data, current check data, current frame valid state data, and current frame tail marking data according to the current mileage data and the data format information;

[0084] The current mileage data, the current frame header marking data, the current verification data, the current frame valid state data and the current frame tail marking data are copied to obtain current standby frame header marking data, current standby mileage data, current standby verification data, current standby frame valid state data and current standby frame tail marking data;

[0085] The current frame header marking data, the current mileage data, the current verification data, the current frame valid state data and the current frame tail marking data are saved in the first storage space;

[0086] The current standby frame header marking data, the current standby mileage data, the current standby verification data, the current standby frame valid state data and the current standby frame tail marking data are stored in the second storage space.

[0087] The method further includes storing the current standby frame header marking data, the current standby mileage data, the current standby verification data, the current standby frame valid status data and the current standby frame tail marking data into the second storage space, and then:

[0088] Acquire the time when the spare mileage data stored in the second storage space is copied, and sort the spare frame header marking data, the spare check data, the spare frame valid state data and the spare frame tail marking data corresponding to the spare mileage data according to the time to obtain sorting information;

[0089] When an abnormality occurs in the mileage data stored in the first storage space, the spare frame header marking data, spare mileage data, spare check data, spare frame valid status data and spare frame tail marking data corresponding to the abnormal mileage data are overwritten into the first storage space according to the acquisition time of the abnormal mileage data and the sorting information.

[0090] The present invention also provides a computer readable and writable storage medium, wherein the computer readable and writable storage medium stores a storage program for automobile instrument mileage data, and when the storage program for automobile instrument mileage data is executed by a processor, the steps of the storage method for automobile instrument mileage data as described above are implemented.

[0091] In summary, the present invention provides a method for storing automobile instrument mileage data and related equipment, the method comprising: obtaining storage format information of a memory and mileage data of a target vehicle, constructing multiple data format information according to the storage format information, and dividing multiple storage spaces in the memory; constructing multiple data according to the mileage data and the data format information, and storing the mileage data and all the data in all the storage spaces respectively; when the mileage data is updated, updating all the data in real time, and storing the updated current mileage data in all the storage spaces respectively. The present invention selects a memory with an encryption protection function, and stores the mileage data in a preset format, thereby ensuring the correctness and reliability of the mileage data, and when the mileage data is abnormal, the current mileage data can be restored from the stored data, thereby improving the reliability and security of the automobile instrument mileage data.

[0092] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or vehicle including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or vehicle. In the absence of more restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or vehicle including the element.

[0093] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer-readable and writable storage medium that can be read by a computer, and the program can include the processes of the above-mentioned method embodiments when executed. The computer-readable and writable storage medium is the internal FLASH of the MCU.

[0094] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A method for storing automobile instrument mileage data, characterized in that: The storage method of the automobile instrument mileage data comprises: Acquire storage format information of a memory and mileage data of a target vehicle, construct a plurality of data format information according to the storage format information, and divide a plurality of storage spaces in the memory; constructing a plurality of data according to the mileage data and the data format information, and storing the mileage data and all the data in all the storage spaces respectively; When the mileage data is updated, all the data are updated in real time, and the updated current mileage data is stored in all the storage spaces respectively.

2. The method for storing automobile meter mileage data according to claim 1, characterized in that: The data format information includes: frame header marking information, mileage data information, check information, frame valid status information and frame tail marking information.

3. The method for storing automobile meter mileage data according to claim 2, characterized in that: The acquiring storage format information of the memory and the mileage data of the target vehicle, constructing a plurality of data format information according to the storage format information, and dividing a plurality of storage spaces in the memory specifically includes: Acquire storage format information of a memory and mileage data of a target vehicle, wherein the storage format information is set by a user and then input into the memory; Constructing the frame header marking information, the mileage data information, the check information, the frame valid status information and the frame tail marking information according to the storage format information; According to the storage format information, a plurality of storage spaces with a preset number of bytes are divided in the memory, wherein the storage space includes a first storage space and a second storage space with the same number of bytes.

4. The method for storing automobile meter mileage data according to claim 3, characterized in that: The step of constructing a plurality of data according to the mileage data and the data format information, and storing the mileage data and all the data in all the storage spaces respectively, specifically includes: Constructing frame header marking data of the mileage data according to the mileage data and the frame header marking information; constructing verification data of the mileage data according to the mileage data and the verification information; Constructing frame valid status data of the mileage data according to the mileage data and the frame valid status information; Constructing frame end marking data of the mileage data according to the mileage data and the frame end marking information; Copying the mileage data, the frame header marking data, the check data, the frame valid status data and the frame tail marking data to obtain corresponding backup data; The mileage data, the frame header marking data, the verification data, the frame valid status data and the frame tail marking data are saved in the first storage space, and the backup data is stored in the second storage space.

5. The method for storing automobile meter mileage data according to claim 4, characterized in that: The backup data includes: spare frame header marking data, spare mileage data, spare check data, spare frame valid status data and spare frame tail marking data.

6. The method for storing automobile meter mileage data according to claim 3, characterized in that: When the mileage data is updated, all the data are updated in real time, and the updated current mileage data is stored in all the storage spaces respectively, specifically including: Obtain updated current mileage data, and construct current frame header marking data, current check data, current frame valid state data, and current frame tail marking data according to the current mileage data and the data format information; The current mileage data, the current frame header marking data, the current verification data, the current frame valid state data and the current frame tail marking data are copied to obtain current standby frame header marking data, current standby mileage data, current standby verification data, current standby frame valid state data and current standby frame tail marking data; The current frame header marking data, the current mileage data, the current verification data, the current frame valid state data and the current frame tail marking data are saved in the first storage space; The current standby frame header marking data, the current standby mileage data, the current standby verification data, the current standby frame valid state data and the current standby frame tail marking data are stored in the second storage space.

7. The method for storing automobile meter mileage data according to claim 6, characterized in that: The step of storing the current standby frame header marking data, the current standby mileage data, the current standby verification data, the current standby frame valid state data and the current standby frame tail marking data into the second storage space further includes: Acquire the time when the spare mileage data stored in the second storage space is copied, and sort the spare frame header marking data, the spare check data, the spare frame valid state data and the spare frame tail marking data corresponding to the spare mileage data according to the time to obtain sorting information; When an abnormality occurs in the mileage data stored in the first storage space, the spare data in the second storage space is obtained, and the spare frame header marking data, spare mileage data, spare check data, spare frame valid status data and spare frame tail marking data corresponding to the abnormal mileage data are overwritten into the first storage space.

8. A storage system for automobile instrument mileage data, characterized in that: The storage system of the automobile instrument mileage data comprises: A format construction module, used to obtain storage format information of a memory and mileage data of a target vehicle, construct a plurality of data format information according to the storage format information, and divide a plurality of storage spaces in the memory; A data storage module, used for constructing a variety of data according to the mileage data and the data format information, and storing the mileage data and all the data in all the storage spaces respectively; The data updating module is used to update all the data in real time when the mileage data is updated, and store the updated current mileage data in all the storage spaces respectively.

9. A vehicle, characterized in that: The vehicle includes: a memory, a processor, and a storage program for automobile instrument mileage data stored in the memory and executable on the processor. When the storage program for automobile instrument mileage data is executed by the processor, the steps of the method for storing automobile instrument mileage data as described in any one of claims 1 to 7 are implemented.

10. A computer-readable and writable storage medium, characterized in that: The computer readable and writable storage medium stores a storage program for automobile instrument mileage data, and when the storage program for automobile instrument mileage data is executed by a processor, the steps of the method for storing automobile instrument mileage data according to any one of claims 1 to 7 are implemented.