CN115629913A - Automobile driving mileage storage and verification method and device, electronic equipment and storage medium - Google Patents

Automobile driving mileage storage and verification method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115629913A
CN115629913A CN202211345779.1A CN202211345779A CN115629913A CN 115629913 A CN115629913 A CN 115629913A CN 202211345779 A CN202211345779 A CN 202211345779A CN 115629913 A CN115629913 A CN 115629913A
Authority
CN
China
Prior art keywords
mileage
value
vehicle speed
verification
accumulated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211345779.1A
Other languages
Chinese (zh)
Inventor
吴玉珑
李相华
彭欢
杨超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Changan Automobile Co Ltd
Original Assignee
Chongqing Changan Automobile Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Changan Automobile Co Ltd filed Critical Chongqing Changan Automobile Co Ltd
Priority to CN202211345779.1A priority Critical patent/CN115629913A/en
Publication of CN115629913A publication Critical patent/CN115629913A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices

Abstract

The invention provides a method and a device for storing and checking automobile driving mileage, electronic equipment and a storage medium, and belongs to the technical field of automobile driving mileage. The automobile mileage storage and verification method comprises the following steps: acquiring a mileage data set, wherein the mileage data set at least comprises 3 backup data, and the backup data are all backed up in the same total driving mileage; comparing the difference value between the backup data with a preset accumulation threshold value to obtain a comparison result; and obtaining a verification result according to the comparison result and a preset mapping relation between the comparison result and the verification result. The invention greatly reduces the risk of data loss and distortion when the total driving mileage is stored in the SOC chip, so that the total driving mileage can be stored in the SOC chip, and an electrified erasable programmable read-only memory is not required to be additionally arranged on the whole vehicle for storing the total driving mileage, thereby simplifying the communication system of the whole vehicle and reducing the cost of the whole vehicle.

Description

Automobile driving mileage storage and verification method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of automobile driving mileage, in particular to a method and a device for storing and checking automobile driving mileage, electronic equipment and a storage medium.
Background
The odometer (odometer) is also used for indicating the total driving mileage of an automobile on the automobile, has a characteristic of being non-resettable, and is therefore usually stored in a non-volatile memory of an automobile meter, such as an EEPROM (Electrically Erasable Programmable read only memory), and can also store data after the automobile is powered off, so as to indicate the number of kilometers of the current vehicle running in an accumulated manner, so that a user can know the current driving condition of the whole automobile and whether the vehicle needs to be maintained.
In the traditional project, the total mileage is calculated by an MCU (micro controller Unit) on an instrument and stored in a specific memory chip such as an EEPROM (electrically erasable programmable read-only memory), the memory chip needs to be extra, and the whole vehicle needs to be additionally provided with an extra memory chip and reserve a communication interface, so that the hardware cost of the vehicle and the complexity of a communication system are increased. Meanwhile, the EEPROM has the flash life, and after a certain flash frequency, the possibility of scrapping exists, so that the use experience of a user is reduced. With the popularization of large-screen liquid crystal of instruments, the instruments increasingly adopt SoC (system on chip) chips, the SoC chips generally have larger memory elements such as eMMC (Embedded multimedia Card) or UFS (Universal Flash Storage), and only part of the memory elements needs to be divided to be used as a total driving mileage memory unit, so that the total driving mileage can be stored, the dependence on MCU and EEPROM can be reduced, and the manufacturing cost of the whole vehicle can be saved. However, compared with the EEPROM, when the SoC chip stores the total mileage, the stored data is easily lost or distorted, and the reliability is low, so that the storage application of the total mileage on the SoC chip is limited.
Disclosure of Invention
In view of the above-mentioned shortcomings in the prior art, the present invention provides a method, an apparatus, an electronic device and a storage medium for storing and checking the driving mileage of an automobile, so as to solve the above-mentioned technical problems.
The invention provides a method for storing and checking the driving mileage of an automobile, which comprises the following steps:
acquiring a mileage data set, wherein the mileage data set at least comprises 3 backup data, and the backup data are all backed up in the same total mileage;
comparing the difference value between the backup data with a preset accumulation threshold value to obtain a comparison result;
and obtaining a verification result according to the comparison result and a preset mapping relation between the comparison result and the verification result.
Optionally, obtaining a verification result according to the comparison result and a preset mapping relationship between the comparison result and the verification result, including:
if the difference value between the backup data is smaller than or equal to the accumulation threshold value, the verification is qualified, and if the difference value between the backup data is larger than the accumulation threshold value, the verification identification is carried out.
Optionally, before acquiring the mileage data set, the method includes:
periodically acquiring a current vehicle speed value, and accumulating the acquired current vehicle speed value to obtain a vehicle speed accumulated value;
when the sum of the vehicle speed accumulated value and the increment initial value is larger than or equal to a preset accumulated threshold value, clearing the vehicle speed accumulated value and updating the total driving mileage and the increment initial value, wherein the updated total driving mileage is equal to the sum of the total driving mileage before updating and the mileage increment value mapped on the accumulated threshold value, and the updated increment initial value is equal to the difference between the vehicle speed accumulated value and the accumulated threshold value.
Optionally, the mileage increment is equal to a product of the accumulation threshold, the period and a preset vehicle speed precision.
The invention also provides a device for storing and checking the driving mileage of the automobile, which comprises:
the system comprises an acquisition module, a storage module and a display module, wherein the acquisition module is used for acquiring a mileage data set, the mileage data set at least comprises 3 backup data, and the backup data are all backed up in the same total mileage;
the comparison analysis module is used for comparing the difference value between the backup data with a preset accumulation threshold value to obtain a comparison result;
and the checking module is used for obtaining a checking result according to the comparison result and a preset mapping relation between the comparison result and the checking result.
Optionally, when the comparison analysis module obtains a verification result according to the comparison result and a preset mapping relationship between the comparison result and the verification result, if a difference between the backup data is smaller than or equal to the accumulation threshold, the verification is qualified, and if the difference between the backup data is larger than the accumulation threshold, the verification is identified.
Optionally, before the acquisition module acquires the mileage data set, a current vehicle speed value is periodically acquired, and the acquired current vehicle speed value are accumulated to obtain a vehicle speed accumulated value; when the sum of the vehicle speed accumulated value and the increment initial value is larger than or equal to a preset accumulated threshold value, clearing the vehicle speed accumulated value and updating the total driving mileage and the increment initial value, wherein the updated total driving mileage is equal to the sum of the total driving mileage before updating and the mileage increment value mapped on the accumulated threshold value, and the updated increment initial value is equal to the difference between the vehicle speed accumulated value and the accumulated threshold value.
Optionally, the mileage increment is equal to a product of the accumulation threshold, the period and a preset vehicle speed precision.
The present invention also provides an electronic device, including:
one or more processors;
a storage device for storing one or more programs, which when executed by the one or more processors, cause the electronic device to implement the vehicle mileage storage verification method as set forth in any one of the above.
The present invention also provides a computer-readable storage medium, characterized in that a computer program is stored thereon, which, when executed by a processor of a computer, causes the computer to execute the automobile mileage storage checking method as set forth in any one of the above.
The invention has the beneficial effects that: according to the invention, the total driving mileage is respectively backed up in the three backup data, the three backup data are verified, and the total driving mileage is determined according to the verification result, so that the risks of data loss and distortion when the total driving mileage is stored in the SOC chip are greatly reduced, the total driving mileage can be stored in the SOC chip, an additionally arranged electrified erasable programmable read-only memory for storing the total driving mileage is not needed on the whole vehicle, the communication system of the whole vehicle is simplified, and the cost of the whole vehicle is reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and, together with the description, serve to explain the principles of the application. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
FIG. 1 is a block flow diagram illustrating a method for verifying stored mileage of an automobile according to an exemplary embodiment of the present application;
fig. 2 is a block diagram illustrating a structure of an automobile mileage storage verifying apparatus according to an exemplary embodiment of the present application;
FIG. 3 is a logic block diagram illustrating collecting total miles driven in accordance with an exemplary embodiment of the present application;
FIG. 4 is a logic block diagram illustrating storage of total miles driven in accordance with an exemplary embodiment of the present application;
FIG. 5 is a logic block diagram illustrating reading total miles driven in accordance with an exemplary embodiment of the present application;
FIG. 6 illustrates a schematic structural diagram of a computer system suitable for use in implementing the electronic device of an embodiment of the present application.
Detailed Description
Other advantages and effects of the present invention will become apparent to those skilled in the art from the disclosure herein, wherein the embodiments of the present invention are described in detail with reference to the accompanying drawings and preferred embodiments. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It should be understood that the preferred embodiments are illustrative of the invention only and are not limiting upon the scope of the invention.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the drawings only show the components related to the present invention rather than being drawn according to the number, shape and size of the components in actual implementation, and the type, amount and proportion of each component in actual implementation can be changed freely, and the layout of the components can be more complicated.
In the following description, numerous details are set forth to provide a more thorough explanation of embodiments of the present invention, however, it will be apparent to one skilled in the art that embodiments of the present invention may be practiced without these specific details, and in other embodiments, well-known structures and devices are shown in block diagram form, rather than in detail, in order to avoid obscuring embodiments of the present invention.
The odometer (odometer) is also used for indicating the total mileage of the vehicle, has a characteristic of non-zero clearing, and is usually stored in a nonvolatile memory of a vehicle meter, such as an EEPROM (Electrically Erasable Programmable read only memory), and can also store data after the vehicle is powered off to indicate the current mileage of the vehicle, so that a user can know the current driving condition of the vehicle and whether the vehicle needs to be maintained.
In the traditional project, the total mileage is calculated by an MCU (micro controller Unit) on an instrument and stored in a specific memory chip such as an EEPROM (electrically erasable programmable read-only memory), the memory chip needs to be extra, and the whole vehicle needs to be additionally provided with an extra memory chip and reserve a communication interface, so that the hardware cost of the vehicle and the complexity of a communication system are increased. Meanwhile, the EEPROM has the flash life, and after a certain flash frequency, the possibility of scrapping exists, so that the use experience of a user is reduced. With the popularization of large-screen liquid crystal of instruments, the instruments increasingly adopt SoC (system on chip) chips, the SoC chips generally have larger memory elements such as eMMC (Embedded multimedia Card) or UFS (Universal Flash Storage), and only part of the memory elements needs to be divided to be used as a total driving mileage memory unit, so that the total driving mileage can be stored, the dependence on MCU and EEPROM can be reduced, and the manufacturing cost of the whole vehicle can be saved. However, compared with the EEPROM, when the SoC chip stores the total driving mileage, the stored data is easily lost or distorted, and the reliability is low, so that the storage application of the total driving mileage on the SoC chip is limited.
In view of the above, as shown in fig. 1, the present embodiment provides a method for storing and checking driving mileage of an automobile, including the following steps:
s10: acquiring a mileage data set, wherein the mileage data set at least comprises 3 backup data, and the backup data are all backed up in the same total driving mileage;
s20: comparing the difference value between the backup data with a preset accumulation threshold value to obtain a comparison result;
s30: and obtaining a verification result according to the comparison result and a preset mapping relation between the comparison result and the verification result.
In some embodiments, in step S30, that is, in the step of obtaining the verification result according to the comparison result and the preset mapping relationship between the comparison result and the verification result, if the difference between the backup data is less than or equal to the accumulation threshold, the verification is qualified. And if the difference value between the backup data is larger than the accumulation threshold value, checking identification.
Before step S10, that is, before the mileage dataset is acquired, the following steps are included:
s01: and periodically acquiring a current vehicle speed value, and accumulating the acquired current vehicle speed value to obtain a vehicle speed accumulated value.
S02: when the sum of the vehicle speed accumulated value and the increment initial value is larger than or equal to a preset accumulated threshold value, clearing the vehicle speed accumulated value and updating the total driving mileage and the increment initial value, wherein the updated total driving mileage is equal to the sum of the total driving mileage before updating and the mileage increment value mapped on the accumulated threshold value, and the updated increment initial value is equal to the difference between the vehicle speed accumulated value and the accumulated threshold value.
Specifically, in step S02, the mileage increment is equal to a product of the accumulation threshold, the period, and a preset vehicle speed accuracy.
As shown in fig. 2, the present invention also provides an automobile mileage storage and verification apparatus, including:
the system comprises an acquisition module, a storage module and a display module, wherein the acquisition module is used for acquiring a mileage data set, the mileage data set at least comprises 3 backup data, and the backup data are all backed up in the same total driving mileage;
the comparison analysis module is used for comparing the difference value between the backup data with a preset accumulation threshold value to obtain a comparison result;
and the checking module is used for obtaining a checking result according to the comparison result and a preset mapping relation between the comparison result and the checking result.
In some embodiments, when the comparison analysis module obtains the verification result according to the comparison result and a preset mapping relationship between the comparison result and the verification result, if a difference between the backup data is less than or equal to the accumulation threshold, the verification is qualified, and if the difference between the backup data is greater than the accumulation threshold, the verification is identified.
In some embodiments, before the acquisition module acquires the mileage data set, a current vehicle speed value is periodically acquired, and the acquired current vehicle speed value are accumulated to obtain a vehicle speed accumulated value; when the sum of the vehicle speed accumulated value and the increment initial value is larger than or equal to a preset accumulated threshold value, clearing the vehicle speed accumulated value and updating the total driving mileage and the increment initial value, wherein the updated total driving mileage is equal to the sum of the total driving mileage before updating and the mileage increment value mapped on the accumulated threshold value, and the updated increment initial value is equal to the difference between the vehicle speed accumulated value and the accumulated threshold value.
In some embodiments, the mileage increment is equal to the product of the accumulation threshold, the period, and a preset vehicle speed accuracy.
It should be noted that the device for storing and checking the driving range of the vehicle provided by the above embodiment and the method for storing and checking the driving range of the vehicle provided by the above embodiment belong to the same concept, wherein the specific manner of executing the operation by each module and unit has been described in detail in the method embodiment, and is not described herein again. In practical applications, the road condition refreshing apparatus provided in the above embodiment may distribute the above functions by different functional modules according to requirements, that is, divide the internal structure of the apparatus into different functional modules to complete all or part of the above described functions, which is not limited herein.
Referring to fig. 3, the process of acquiring the total mileage in practical situations is as follows:
when the received bus speed signal of the whole vehicle is effective, the vehicle speed value in the bus original vehicle speed signal before vehicle speed conversion is directly accumulated to obtain a vehicle speed accumulated value.
And when the sum of the vehicle speed accumulated value and the initial increment value is greater than or equal to a preset accumulated threshold value, clearing the vehicle speed accumulated value and updating the total running mileage and the initial increment value, wherein the updated total running mileage is equal to the sum of the total running mileage before updating and the mileage increment value mapped on the accumulated threshold value. And the updated initial increment value is equal to the difference between the vehicle speed accumulated value and the accumulated threshold value.
The accumulation threshold is obtained by presetting according to an accumulation period and the vehicle speed precision, and the sending period of the bus original vehicle speed signal is the acquisition period of the vehicle speed value. For example, when the transmission period of the bus original speed signal is 10ms, the period for acquiring the speed value is 10ms, and the speed accumulated value is accumulated once every 10 ms. The mileage increment is equal to the product of the accumulation threshold, the period and the preset vehicle speed precision. The accumulation threshold, the vehicle speed precision or the mileage increment can be preset according to actual requirements. For example, if the transmission period of the original bus speed signal is 10ms, the period of the acquired vehicle speed value is 10ms, the vehicle speed accumulated value is accumulated once every 10ms, the vehicle speed precision is 0.05625km/h, and when the mileage increment is preset to be 0.1km, the corresponding accumulated threshold value is 640000, that is, the vehicle speed value is accumulated every full 640000, which means that the current total driving mileage is increased by 0.1km. And in the continuous driving period of the vehicle, the mileage value of the total driving mileage increased is the subtotal mileage. And (3) carrying out remainder on the vehicle speed accumulated value by using an accumulated threshold 640000, wherein a remainder result is an increment initial value when the vehicle speed value is accumulated next time. When the vehicle speed value is accumulated next time, the accumulated result is used as an initial value for accumulation, so that the error of the total driving mileage can be reduced. The accumulation threshold value and the sending period of the bus original speed signal can be calibrated according to different items, and the universality is improved. The total driving mileage obtained by the method is high in precision, the total driving mileage is obtained after the speed values are accumulated, the memory module is prevented from being frequently erased and written due to frequent change of the total driving mileage, and the service life of the chip is prolonged.
As shown in fig. 4, after the total driving range is obtained in an actual situation, when the total driving range is every 1km, the total driving range is stored in the storage units of the SoC, such as eMMC, UFS, and the like as K1, K2, and K3, respectively, and the total driving range can be written in a file form, and a check code can be added to prevent data from being tampered with maliciously.
As shown in fig. 5, in reading the mileage data in an actual situation, the stored K1, K2, and K3 are read and processed, respectively, and then the K1, K2, and K3 are compared with each other, respectively. When K1, K2 and K3 are equal to each other, no error occurs, and a common value among K1, K2 and K3 is output. And when two of the K1, the K2 and the K3 are the same and one of the K1, the K2 and the K3 is different, comparing the difference values among the K1, the K2 and the K3, taking all backup data, namely the difference values among the K1, the K2 and the K3 and the rest backup data are smaller than a preset difference threshold value (for example, 5 km), and taking the backup data with the largest value as the total driving mileage. For example, if the difference values among K1, K2 and K3 are less than 5km, and K1 < K2 < K3, then K3 is taken as the total driving range. Meanwhile, if the difference values among all the backup data, namely the difference values among K1, K2 and K3 are all larger than or equal to 5km, an error is output, and the previous total driving range value is kept as the total driving range.
An embodiment of the present application further provides an electronic device, including: one or more processors; and the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the electronic equipment is enabled to realize the automobile mileage storage checking method provided in each embodiment.
FIG. 6 illustrates a schematic structural diagram of a computer system suitable for use to implement the electronic device of the embodiments of the present application. It should be noted that the computer system 1200 of the electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 6, the computer system 1200 includes a Central Processing Unit (CPU) 1201, which can perform various appropriate actions and processes, such as performing the methods described in the above embodiments, according to a program stored in a Read-Only Memory (ROM) 1202 or a program loaded from a storage section 1208 into a Random Access Memory (RAM) 1203. In the RAM 1203, various programs and data necessary for system operation are also stored. The CPU 1201, ROM 1202, and RAM 1203 are connected to each other by a bus 1204. An Input/Output (I/O) interface 1205 is also connected to bus 1204.
The following components are connected to the I/O interface 1205: an input section 1206 including a keyboard, a mouse, and the like; an output section 1207 including a Display device such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage section 1208 including a hard disk and the like; and a communication section 1209 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 1209 performs communication processing via a network such as the internet. A driver 1210 is also connected to the I/O interface 1205 as needed. A removable medium 1211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like, is mounted on the drive 1210 as necessary, so that a computer program read out therefrom is mounted into the storage section 1208 as necessary.
In particular, according to embodiments of the application, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising a computer program for performing the method illustrated by the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication portion 1209 and/or installed from the removable medium 1211. The computer program executes various functions defined in the system of the present application when executed by a Central Processing Unit (CPU) 1201.
It should be noted that the computer readable media shown in the embodiments of the present application may be computer readable signal media or computer readable storage media or any combination of the two. The computer readable storage medium may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer-readable signal medium may include a propagated data signal with a computer program embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
Another aspect of the present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to execute the foregoing automobile mileage storage checking method. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist separately without being incorporated in the electronic device.
Another aspect of the application also provides a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes the automobile mileage storage and verification method provided in the above embodiments.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (10)

1. A method for storing and checking the driving mileage of an automobile is characterized by comprising the following steps:
acquiring a mileage data set, wherein the mileage data set at least comprises 3 backup data, and the backup data are all backed up in the same total driving mileage;
comparing the difference value between the backup data with a preset accumulation threshold value to obtain a comparison result;
and obtaining a verification result according to the comparison result and a preset mapping relation between the comparison result and the verification result.
2. The automobile mileage storage and verification method according to claim 1, wherein obtaining a verification result according to the comparison result and a preset mapping relationship between the comparison result and the verification result comprises:
if the difference value between the backup data is smaller than or equal to the accumulation threshold value, the verification is qualified, and if the difference value between the backup data is larger than the accumulation threshold value, the verification identification is carried out.
3. The vehicle mileage storage verification method according to claim 1, before acquiring the mileage data set, comprising:
periodically acquiring a current vehicle speed value, and accumulating the acquired current vehicle speed value to obtain a vehicle speed accumulated value;
when the sum of the vehicle speed accumulated value and the increment initial value is larger than or equal to a preset accumulated threshold value, clearing the vehicle speed accumulated value and updating the total driving mileage and the increment initial value, wherein the updated total driving mileage is equal to the sum of the total driving mileage before updating and the mileage increment value mapped on the accumulated threshold value, and the updated increment initial value is equal to the difference between the vehicle speed accumulated value and the accumulated threshold value.
4. The vehicle mileage storage and verification method according to claim 3, wherein the mileage increment is equal to a product of the accumulation threshold, the period and a preset vehicle speed accuracy.
5. The utility model provides a car mileage storage verifying unit that traveles, its characterized in that includes:
the system comprises an acquisition module, a storage module and a display module, wherein the acquisition module is used for acquiring a mileage data set, the mileage data set at least comprises 3 backup data, and the backup data are all backed up in the same total mileage;
the comparison analysis module is used for comparing the difference value between the backup data with a preset accumulation threshold value to obtain a comparison result;
and the checking module is used for obtaining a checking result according to the comparison result and a preset mapping relation between the comparison result and the checking result.
6. The automobile mileage storage and verification device according to claim 5, wherein the comparison and analysis module obtains a verification result according to the comparison result and a preset mapping relationship between the comparison result and the verification result, if a difference between the backup data is smaller than or equal to the accumulation threshold, the verification is qualified, and if the difference between the backup data is larger than the accumulation threshold, the verification is identified.
7. The automobile mileage storage and verification device according to claim 5, wherein before the acquisition module acquires the mileage data set, the acquisition module periodically acquires a current vehicle speed value, and accumulates the acquired current vehicle speed value and the acquired current vehicle speed value to obtain a vehicle speed accumulated value; when the sum of the vehicle speed accumulated value and the initial increment value is larger than or equal to a preset accumulated threshold value, clearing the vehicle speed accumulated value and updating the total running mileage and the initial increment value, wherein the updated total running mileage is equal to the sum of the total running mileage before updating and the mileage increment value mapped on the accumulated threshold value, and the updated initial increment value is equal to the difference between the vehicle speed accumulated value and the accumulated threshold value.
8. The vehicle mileage storage/verification apparatus as set forth in claim 7, wherein the mileage increment is equal to a product of the accumulation threshold, the period and a preset vehicle speed accuracy.
9. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a storage device for storing one or more programs that, when executed by the one or more processors, cause the electronic equipment to implement the automobile mileage storage checking method of any one of claims 1 to 4.
10. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to execute the vehicle mileage storage checking method of any one of claims 1 to 4.
CN202211345779.1A 2022-10-31 2022-10-31 Automobile driving mileage storage and verification method and device, electronic equipment and storage medium Pending CN115629913A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211345779.1A CN115629913A (en) 2022-10-31 2022-10-31 Automobile driving mileage storage and verification method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211345779.1A CN115629913A (en) 2022-10-31 2022-10-31 Automobile driving mileage storage and verification method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115629913A true CN115629913A (en) 2023-01-20

Family

ID=84907764

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211345779.1A Pending CN115629913A (en) 2022-10-31 2022-10-31 Automobile driving mileage storage and verification method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115629913A (en)

Similar Documents

Publication Publication Date Title
CN111397625B (en) Vehicle navigation method and related device
CN110853347A (en) Short-time traffic road condition prediction method and device and terminal equipment
WO2019238146A2 (en) Onboard terminal-based taxi metered pricing method and system
CN116708511B (en) Method, equipment and medium based on microcontroller integrated vehicle-machine interconnection technology
CN115629913A (en) Automobile driving mileage storage and verification method and device, electronic equipment and storage medium
CN112277651A (en) Electric vehicle mileage verification method and related equipment
CN113011852A (en) Vehicle maintenance reminding method and device, vehicle-mounted equipment and storage medium
CN116481560A (en) Vehicle driving mileage calculation method, device, terminal and storage medium
CN112307065A (en) Data processing method and device and server
CN111462504A (en) Overspeed identification method, overspeed identification device, terminal equipment and computer storage medium
CN112959859B (en) Driving reminding method and device, electronic equipment and storage medium
CN115563734A (en) Fault-tolerant time interval calculation method and device, electronic equipment and storage medium
CN115774837A (en) Signal verification method, device, equipment, medium, program product and vehicle
CN115145959A (en) Data storage method and device, electronic equipment and storage medium
CN114677778A (en) Method and device for estimating remaining mileage of vehicle, electronic device and storage medium
CN115469899A (en) Firmware upgrading method, device, equipment, medium and vehicle-mounted system
CN114005195A (en) Driving range display method and device, vehicle and storage medium
CN111275847B (en) Method and device for detecting shunting vehicle
CN116186465A (en) Electric automobile energy consumption calculation method and device and electronic equipment
CN112858725A (en) Vehicle speed consistency detection method, terminal equipment and storage medium
CN115352282A (en) Method, device, equipment and medium for predicting driving range of electric automobile
CN115402057B (en) Air conditioner adjusting method, server, terminal and system
CN115497192B (en) Method, device, equipment and storage medium for acquiring parking time of vehicle
CN114880411B (en) Vehicle track set optimization method and device, electronic equipment and storage medium
CN112185117B (en) Optimized evaluation method and device based on electric alarm data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination