Oil quantity detection method, device and equipment based on vehicle event data recorder and medium

By using a dashcam to calculate fuel level changes in real time, the problem of inaccurate mechanical sensors is solved, providing real-time fuel level information and improving vehicle driving safety.

CN119880087BActive Publication Date: 2026-02-27SINO TRUK JINAN POWER CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510011236.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-03
Publication Date
2026-02-27
Estimated Expiration
2045-01-03

AI Technical Summary

Technical Problem

In existing technologies, fuel level monitoring relies on mechanical sensors, which are prone to malfunction or inaccurate readings, resulting in low fuel level detection accuracy and an inability to provide real-time and accurate fuel level information, thus increasing the danger of vehicle operation.

Method used

By utilizing vehicle information from the dashcam, the system can calculate and analyze changes in the vehicle's fuel level in real time, determine whether the fuel level is abnormal, including obtaining vehicle information fed back from the CAN bus, determining the vehicle status, calculating the fuel level difference, and sending a prompt message when the fuel level change reaches a threshold.

Benefits of technology

It provides real-time and accurate fuel level information, improving vehicle driving safety and avoiding potential dangers caused by continuous fuel tank leakage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119880087B_ABST
    Figure CN119880087B_ABST
Patent Text Reader

Abstract

The application provides a kind of oil detection method, device, equipment and medium based on vehicle event data recorder, is related to vehicle parameter monitoring field.Application is used in cloud server, cloud server is connected with one or more vehicles, the method comprises: obtaining vehicle information;When the vehicle is in normal ignition state, determine the oil difference value;When the absolute value of oil difference value is greater than the first oil difference threshold, update the oil change frequency;When the oil change frequency is greater than or equal to the change frequency threshold, and the absolute value of oil difference value is greater than or equal to the second oil difference threshold, and oil difference value is less than 0, according to vehicle identification, send prompt information to vehicle, prompt information indicates that vehicle appears oil abnormal consumption.The method of the application, by using the vehicle information in vehicle event data recorder, real-time calculation and analysis of the oil change of vehicle, and judge whether the oil is abnormal, can ensure that the driver obtains accurate oil information in time, improves the driving safety of vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of vehicle parameter monitoring, and in particular to an oil quantity detection method and device based on a vehicle event data recorder, equipment and medium. BACKGROUND

[0002] With the rapid progress of the automotive industry, vehicle management systems play an increasingly critical role in ensuring road safety and improving economic efficiency. As an important part of the vehicle management system, oil quantity monitoring is directly related to the normal operation and driving safety of the vehicle.

[0003] In the prior art, oil quantity monitoring usually relies on mechanical sensors to measure changes in oil quantity to simply determine whether the oil quantity is abnormal.

[0004] However, due to the mechanical sensor being prone to failure or inaccurate readings, and the reaction lagging behind when the oil quantity changes drastically, the accuracy of oil quantity detection is low, and real-time and accurate oil quantity information cannot be provided to the driver, thereby increasing the risk of vehicle travel. SUMMARY

[0005] The present application provides an oil quantity detection method and device based on a vehicle event data recorder, equipment and medium, which uses vehicle information in the vehicle event data recorder to calculate and analyze the change in oil quantity of the vehicle in real time, and determines whether the oil quantity is abnormal, so as to ensure that the driver obtains accurate oil quantity information in a timely manner and improves the driving safety of the vehicle.

[0006] In a first aspect, the present application provides an oil quantity detection method based on a vehicle event data recorder, applied to a cloud server, the cloud server being in communication connection with one or more vehicles, and the method comprising:

[0007] Obtaining vehicle information fed back by a CAN bus of the vehicle to a vehicle event data recorder of the vehicle at multiple time points, the vehicle information comprising: a vehicle identifier, a vehicle start state, a CAN bus state, and a current oil quantity;

[0008] Determining whether the vehicle is in a normal ignition state according to the vehicle start state and the CAN bus state;

[0009] When the vehicle is in the normal ignition state and the current oil quantity is not empty, determining an oil quantity difference between the current oil quantity and a previously recorded last time oil quantity;

[0010] When the absolute value of the oil quantity difference is greater than a first oil quantity difference threshold, updating an oil quantity change frequency, and determining whether the oil quantity change frequency is greater than or equal to a change frequency threshold, the oil quantity change frequency indicating the number of times the oil quantity changes;

[0011] when the number of fuel quantity changes is greater than or equal to the number-of-changes threshold, and the absolute value of the fuel quantity difference is greater than or equal to the second fuel quantity difference threshold, and the fuel quantity difference is less than 0, sending, according to the vehicle identifier, prompt information to the vehicle, the prompt information indicating that the vehicle has abnormal fuel consumption, the second fuel quantity difference threshold being greater than the first fuel quantity difference threshold.

[0012] In a possible design, determining whether the vehicle is in a normal ignition state according to a vehicle start state and a CAN bus state includes:

[0013] when the vehicle start state indicates that the vehicle is started, and the CAN bus state indicates that the CAN bus is normal, determining that the vehicle is in the normal ignition state;

[0014] when the vehicle start state does not indicate that the vehicle is started, and / or the CAN bus state does not indicate that the CAN bus is normal, determining that the vehicle is in an abnormal ignition state.

[0015] In a possible design, the method further includes:

[0016] when the number of fuel quantity changes is greater than or equal to the number-of-changes threshold, and the absolute value of the fuel quantity difference is greater than or equal to the second fuel quantity difference threshold, and the fuel quantity difference is greater than 0, determining that the vehicle is in a refueling state.

[0017] In a possible design, before or after determining that the vehicle is in the refueling state, the method further includes:

[0018] updating the fuel quantity continuous change duration according to a duration between the current moment and the previous moment, and recording refueling data of the vehicle when the fuel quantity continuous change duration is greater than or equal to the change duration threshold.

[0019] In a possible design, the method further includes:

[0020] when the fuel quantity difference is less than or equal to the first fuel quantity difference threshold, determining that the vehicle is in a normal driving state, and resetting the number of fuel quantity changes and the fuel quantity continuous change duration of the vehicle to 0.

[0021] In a possible design, the method further includes:

[0022] when the vehicle is not in the normal ignition state, and the fuel quantity at the current moment is empty, sending, according to the vehicle identifier, detection failure information to the vehicle;

[0023] when the fuel quantity at the current moment is empty, taking the fuel quantity at the previous moment as the fuel quantity at the current moment.

[0024] In a possible design, the vehicle information includes road conditions and speed, and before updating the number of fuel quantity changes when the absolute value of the fuel quantity difference is greater than the first fuel quantity difference threshold, the method further includes:

[0025] According to the road condition and the speed, a corresponding first oil difference threshold is determined from a preset mapping relationship;

[0026] The sum of the first oil difference threshold and a preset increment value is determined as a second oil difference threshold.

[0027] In a possible design, the determination process of the mapping relationship includes:

[0028] The first fuel consumption corresponding to the vehicle driving a unit distance at different road conditions and / or different speeds is obtained;

[0029] The first fuel consumption is converted into second fuel consumption corresponding to a unit time period, and the first oil difference threshold corresponding to the road condition and the speed is determined according to the product of the oil detection period of the vehicle and the second fuel consumption.

[0030] In a second aspect, the present application provides an oil detection device based on a vehicle event data recorder, applied to a cloud server, the cloud server being in communication connection with one or more vehicles, and the device comprising:

[0031] An acquisition module, configured to acquire vehicle information fed back by a CAN bus of a vehicle to a vehicle event data recorder of the vehicle at multiple time points, the vehicle information including: a vehicle identifier, a vehicle start state, a CAN bus state, and a current oil amount;

[0032] An ignition detection module, configured to determine whether the vehicle is in a normal ignition state according to the vehicle start state and the CAN bus state;

[0033] A difference calculation module, configured to, when the vehicle is in the normal ignition state and the current oil amount is not empty, determine an oil difference value between the current oil amount and a previously recorded last time oil amount;

[0034] A frequency updating module, configured to, when the absolute value of the oil difference value is greater than a first oil difference threshold, update an oil change frequency, and determine whether the oil change frequency is greater than or equal to a change frequency threshold, the oil change frequency indicating a number of times of oil change;

[0035] An oil abnormality module, configured to, when the oil change frequency is greater than or equal to the change frequency threshold, the absolute value of the oil difference value is greater than or equal to a second oil difference threshold, and the oil difference value is less than 0, send prompt information to the vehicle according to the vehicle identifier, the prompt information indicating that the vehicle has abnormal oil consumption, and the second oil difference threshold being greater than the first oil difference threshold.

[0036] In a possible design, the ignition detection module includes: a normal ignition module and an abnormal ignition module;

[0037] The normal ignition module is configured to, when the vehicle start state indicates that the vehicle is started and the CAN bus state indicates that the CAN bus is normal, determine that the vehicle is in the normal ignition state.

[0038] An abnormal ignition module is configured to determine that the vehicle is in an abnormal ignition state when the vehicle start state does not indicate that the vehicle is started and / or the CAN bus state does not indicate that the CAN bus is normal.

[0039] In a possible design, the apparatus further includes a refueling state detection module.

[0040] The refueling state detection module is configured to determine that the vehicle is in a refueling state when the number of fuel changes is greater than or equal to a change number threshold, the absolute value of the fuel difference is greater than or equal to a second fuel difference threshold, and the fuel difference is greater than 0.

[0041] In a possible design, the apparatus further includes a fuel amount updating module.

[0042] The fuel amount updating module is configured to update the fuel continuous change duration according to a duration between a current time and a previous time, and record refueling data of the vehicle when the fuel continuous change duration is greater than or equal to a change duration threshold.

[0043] In a possible design, the apparatus further includes a normal driving detection module.

[0044] The normal driving detection module is configured to determine that the vehicle is in a normal driving state when the fuel difference is less than or equal to a first fuel difference threshold, and reset the number of fuel changes and the fuel continuous change duration of the vehicle to 0.

[0045] In a possible design, the apparatus further includes a detection failure module and a fuel amount replacing module.

[0046] The detection failure module is configured to send a detection failure information to the vehicle according to a vehicle identifier when the vehicle is not in the normal ignition state and the fuel amount at the current time is empty.

[0047] The fuel amount replacing module is configured to use the fuel amount at a previous time as the fuel amount at the current time when the fuel amount at the current time is empty.

[0048] In a possible design, the vehicle information includes road conditions and speed, and the apparatus further includes a mapping relationship module and a summation module.

[0049] The mapping relationship module is configured to determine a corresponding first fuel difference threshold from a preset mapping relationship according to the road conditions and the speed.

[0050] The summation module is configured to determine a sum of the first fuel difference threshold and a preset increment value as the second fuel difference threshold.

[0051] In a possible design, the apparatus further includes a first fuel consumption amount module and a second fuel consumption amount module.

[0052] The first oil consumption module is configured to obtain a first oil consumption corresponding to a unit distance traveled by the vehicle at different road conditions and / or different speeds;

[0053] The second oil consumption module is configured to convert the first oil consumption into a second oil consumption corresponding to a unit time period, and determine a first oil difference threshold corresponding to the road condition and the speed according to a product of an oil detection period of the vehicle and the second oil consumption.

[0054] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory connected with the processor in communication;

[0055] The memory stores computer-executable instructions.

[0056] The processor executes the computer-executable instructions stored in the memory, so as to implement the method for detecting oil quantity based on a vehicle event data recorder according to the first aspect.

[0057] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by the processor, so as to implement the method for detecting oil quantity based on a vehicle event data recorder according to the first aspect.

[0058] In a fifth aspect, the present application provides a computer program product, comprising a computer program, and the computer program is executed by the processor, so as to implement the method for detecting oil quantity based on a vehicle event data recorder according to the first aspect.

[0059] This application provides a fuel level detection method, device, equipment, and medium based on a dashcam, applied to a cloud server. The cloud server is communicatively connected to one or more vehicles. The method includes: acquiring vehicle information fed back to the dashcam from the vehicle's CAN bus at multiple times, including: vehicle identification, vehicle start status, CAN bus status, and current fuel level; determining whether the vehicle is in normal ignition state based on the vehicle start status and CAN bus status; and determining the current fuel level when the vehicle is in normal ignition state and the current fuel level is not empty. The system calculates the difference between the current fuel level and the previously recorded fuel level. When the absolute value of the fuel level difference is greater than the first fuel level difference threshold, it updates the number of fuel level changes and determines whether the number of fuel level changes is greater than or equal to the number of changes threshold. The number of fuel level changes indicates the number of times when the fuel level changes. When the number of fuel level changes is greater than or equal to the number of changes threshold, and the absolute value of the fuel level difference is greater than or equal to the second fuel level difference threshold, and the fuel level difference is less than 0, it sends a prompt message to the vehicle based on the vehicle identifier. The prompt message indicates that the vehicle has abnormal fuel consumption, and the second fuel level difference threshold is greater than the first fuel level difference threshold. The following technical effects are achieved: By utilizing vehicle information from the dashcam, when the vehicle is in normal ignition and the fuel level is not empty, the system calculates the difference between the current fuel level and a pre-recorded fuel level from the previous moment. If the current fuel level is less than the pre-recorded fuel level from the previous moment, and the absolute difference between these two times is greater than or equal to a preset second fuel level difference threshold, and the number of fuel level changes is greater than or equal to a preset number of changes threshold, an indication of abnormal fuel consumption is generated and sent to the corresponding vehicle based on its identification, reminding the driver to check the fuel tank promptly. Therefore, by calculating and analyzing the fuel level changes in real time when there are drastic changes, the accuracy of fuel level detection is improved. This provides the driver with timely and accurate fuel level information, and by sending a notification to the corresponding vehicle when abnormal fuel consumption occurs, it reminds the driver to check the fuel tank promptly, avoiding potential driving hazards caused by continuous fuel leaks, thereby improving vehicle driving safety. Attached Figure Description

[0060] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0061] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0062] Figure 1 A flowchart illustrating a fuel level detection method based on a dashcam provided in this application embodiment. Figure 1 ;

[0063] Figure 2 A flowchart illustrating a fuel level detection method based on a dashcam provided in this application embodiment. Figure 2 ;

[0064] Figure 3 A schematic diagram of a fuel level detection device based on a vehicle recorder provided in an embodiment of this application;

[0065] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0066] Figure label:

[0067] 310 - Acquisition Module; 320 - Ignition Detection Module; 330 - Difference Calculation Module; 340 - Number of Times Update Module; 350 - Fuel Quantity Anomaly Module;

[0068] 410 - Processor; 420 - Memory; 430 - Communication components; 440 - Bus. Detailed Implementation

[0069] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0070] In the embodiments of the present application, the same items or similar items with basically same functions and effects are distinguished by using "first", "second", and the like. It can be understood by those skilled in the art that "first", "second", and the like do not limit the quantity and execution sequence, and "first", "second", and the like do not necessarily mean different. It should be noted that in the embodiments of the present application, "exemplary" or "for example" is used to indicate an example, illustration, or description. Any embodiment or design scheme described as "exemplary" or "for example" in the present application should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. Rather, "exemplary" or "for example" is used to present the relevant concept in a specific manner. In the embodiments of the present application, "at least one" means one or more, and "multiple" means two or more.

[0071] It should be noted that "at" in the embodiments of the present application can be at the moment when a certain condition occurs, or can be within a period of time after a certain condition occurs, which is not specifically limited in the embodiments of the present application. In addition, the oil quantity detection method based on a driving recorders provided in the embodiments of the present application is only an example, and the oil quantity detection method based on a driving recorders can also include more or less content.

[0072] In order to clearly describe the technical solutions of the embodiments of the present application, the following briefly introduces some terms and technologies involved in the embodiments of the present application:

[0073] Controller Area Network (CAN): refers to a serial communication network that can be used in vehicles and industrial equipment, allowing microcontrollers and devices to communicate with each other without a host computer.

[0074] With the rapid progress of the automotive industry, vehicle management systems play an increasingly critical role in ensuring the safety and economy of vehicle operation. Among them, oil quantity monitoring, as a core component of the vehicle management system, is crucial to maintaining the normal operation of the vehicle and driving safety.

[0075] In traditional technology, oil quantity monitoring mainly relies on mechanical sensors to measure oil quantity changes and simply judge whether the oil quantity is in an abnormal state. However, this method has obvious limitations: mechanical sensors are prone to failure or reading errors, and when the oil quantity fluctuates sharply, its response speed usually lags, resulting in poor accuracy of oil quantity detection. Thus, it cannot provide real-time and accurate oil quantity information for the driver, and increases the potential danger in the vehicle driving process.

[0076] Based on this, the embodiment of the application provides a fuel quantity detection method, device and equipment based on a driving recorder and a medium, which can be applied to the field of vehicle parameter monitoring and aims to solve the above technical problems of the prior art. By fully utilizing vehicle information in the driving recorder, real-time calculation and analysis of the fuel quantity change of the vehicle are performed, so that abnormal conditions of the fuel quantity change are identified in a timely manner, accurate fuel quantity information is grasped by the driver at any time, and the driving safety of the vehicle is significantly improved.

[0077] The technical solutions of the application and how the technical solutions solve the above technical problems will be described in detail in specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes can not be described again in some embodiments. The embodiments of the application will be described below with reference to the drawings.

[0078] Figure 1 A flowchart of a fuel quantity detection method based on a driving recorder provided by the embodiment of the application Figure 1 In the embodiment of the application, the fuel quantity detection method based on the driving recorder is applied to a cloud server, and the cloud server is in communication connection with one or more vehicles. Since the cloud server processes vehicle information of each vehicle and detects the fuel quantity of each vehicle by the same method, the embodiment only describes how to detect the fuel quantity of one of the vehicles. As shown in Figure 1 The method comprises the following steps.

[0079] S101, vehicle information fed back by a CAN bus of the vehicle to a driving recorder of the vehicle at multiple moments is acquired.

[0080] In the embodiment of the application, the vehicle information comprises a vehicle identifier, a vehicle starting state, a CAN bus state and a current moment fuel quantity.

[0081] The vehicle identifier can be a vehicle equipment number, and the cloud server can determine the specific vehicle for which the fuel quantity is detected according to the vehicle identifier; the vehicle starting state refers to the state of an accessory power supply (ACC) of the vehicle, and when the ACC state is empty, it represents that the ACC state is abnormal; when the ACC state is not empty, it indicates that the vehicle accessory device can be normally started, including two states of starting and not starting of the vehicle ignition switch; when the ACC state is not empty, the CAN bus state comprises two states of a normal CAN bus and an abnormal CAN bus; and the current moment fuel quantity refers to the fuel quantity of the vehicle at the current moment detected by a mechanical sensor.

[0082] Specifically, the driving recorder can be connected to the Internet through a built-in Subscriber Identity Module (SIM), Wireless Fidelity (Wi-Fi), Bluetooth, cellular network (such as 4G or 5G), Telematics Box (TBox), or other wireless communication technologies, so as to transmit vehicle information to a cloud server. The specific wireless communication technology used by the driving recorder is not limited here.

[0083] S102, determining whether the vehicle is in a normal ignition state according to the vehicle start state and the CAN bus state.

[0084] Specifically, after the cloud server obtains the vehicle information, it can determine whether the vehicle is in a normal ignition state according to the vehicle start state and the CAN bus state, that is, whether the vehicle is in a normal ignition state according to whether the ACC state is empty and whether the CAN bus state is abnormal.

[0085] S103, determining the fuel quantity difference between the current time fuel quantity and the pre-recorded last time fuel quantity when the vehicle is in a normal ignition state and the current time fuel quantity is not empty.

[0086] Specifically, if the cloud server determines that the ACC state is not empty, the vehicle ignition switch is started, and the CAN bus is normal, it can be determined that the vehicle is in a normal ignition state. At this time, the cloud server can further determine whether the current time fuel quantity collected by the vehicle through the mechanical sensor is a null value. If the current time fuel quantity is not a null value, the cloud server can further calculate the fuel quantity difference between the current time fuel quantity of the vehicle and the pre-recorded last time fuel quantity of the vehicle.

[0087] S104, updating the fuel quantity change frequency and determining whether the fuel quantity change frequency is greater than or equal to a change frequency threshold when the absolute value of the fuel quantity difference is greater than a first fuel quantity difference threshold.

[0088] Specifically, the fuel quantity change frequency indicates the number of times the fuel quantity changes. If the absolute fuel quantity difference between the two adjacent times calculated by the cloud server is greater than the pre-set first fuel quantity difference threshold, the count of the fuel quantity change frequency is incremented by 1. At this time, the cloud server can further determine whether the fuel quantity change frequency is greater than or equal to a pre-set change frequency threshold.

[0089] S105, sending a prompt message to the vehicle according to the vehicle identifier when the fuel quantity change frequency is greater than or equal to the change frequency threshold, the absolute value of the fuel quantity difference is greater than or equal to a second fuel quantity difference threshold, and the fuel quantity difference is less than 0.

[0090] Specifically, the prompt information indicates that the vehicle has abnormal fuel consumption, and the second fuel difference threshold is greater than the first fuel difference threshold. That is, if the cloud server determines that the number of fuel changes is greater than or equal to the preset change threshold, and the current fuel is less than the previously recorded last time fuel, and the absolute fuel difference between the two times is greater than or equal to the preset second fuel difference threshold, it can be determined that the vehicle has abnormal fuel consumption at this time, and the vehicle fuel tank may be leaking or stolen. The cloud server can send corresponding prompt information to the vehicle according to the obtained vehicle identifier to remind the driver to check the vehicle fuel tank in time.

[0091] The embodiment provides a fuel detection method based on a driving recorder. The method is applied to a cloud server, the cloud server is in communication connection with one or more vehicles, and the method comprises the following steps: acquiring vehicle information fed back by a CAN bus of a vehicle to a driving recorder of the vehicle at multiple times, the vehicle information comprising a vehicle identifier, a vehicle starting state, a CAN bus state, and a current fuel; determining whether the vehicle is in a normal ignition state according to the vehicle starting state and the CAN bus state; when the vehicle is in the normal ignition state and the current fuel is not empty, determining a fuel difference between the current fuel and previously recorded last time fuel; when an absolute value of the fuel difference is greater than a first fuel difference threshold, updating a fuel change frequency and determining whether the fuel change frequency is greater than or equal to a change frequency threshold, the fuel change frequency indicating a number of times of fuel change; when the fuel change frequency is greater than or equal to the change frequency threshold, the absolute value of the fuel difference is greater than or equal to a second fuel difference threshold, and the fuel difference is less than 0, sending prompt information to the vehicle according to the vehicle identifier, the prompt information indicating that the vehicle has abnormal fuel consumption, and the second fuel difference threshold being greater than the first fuel difference threshold.

[0092] The following technical effects are achieved: by using the vehicle information in the vehicle event data recorder, when it is determined that the vehicle is in a normal ignition state and the current fuel quantity is not empty, the fuel quantity difference between the current fuel quantity of the vehicle and the pre-recorded fuel quantity of the vehicle at the previous time is calculated, so that when the current fuel quantity is less than the pre-recorded fuel quantity at the previous time, the absolute fuel quantity difference between the two times is greater than or equal to the pre-set second fuel quantity difference threshold, and the fuel quantity change frequency is greater than or equal to the pre-set change frequency threshold, the indication information indicating that the vehicle has abnormal fuel consumption is generated and is sent to the corresponding vehicle according to the vehicle identifier, so as to remind the driver to check the vehicle fuel tank in time. Therefore, when the fuel quantity of the vehicle fuel tank changes rapidly, the fuel quantity change of the vehicle fuel tank is calculated and analyzed in real time, the accuracy of the fuel quantity detection is improved, real-time and accurate fuel quantity information can be provided for the driver in time, and when the vehicle has abnormal fuel consumption, prompt information is sent to the corresponding vehicle to remind the driver to check the vehicle fuel tank in time, so as to avoid potential driving risks caused by continuous fuel leakage of the vehicle fuel tank, and thus the driving safety of the vehicle is improved.

[0093] Figure 2 The flowchart of the oil quantity detection method based on the vehicle event data recorder provided by the embodiment of the application Figure 2 In a possible example, as shown in Figure 1 the embodiment, on the basis of Figure 2 the embodiment, how to determine whether the vehicle is in a normal ignition state and other possible oil quantity detection results are described in detail. As shown in Figure 3 the method comprises the following steps.

[0094] S201, acquiring vehicle information fed back by a CAN bus of a vehicle to a vehicle event data recorder at multiple times.

[0095] S201 is similar to S101, and the embodiment will not be described herein.

[0096] S202, when a vehicle start state indicates that the vehicle is started and a CAN bus state indicates that the CAN bus is normal, determining that the vehicle is in a normal ignition state.

[0097] Specifically, the cloud server can determine that the vehicle is in a normal ignition state when the vehicle start state indicates that the vehicle is started, that is, the vehicle ignition switch is started, and the CAN bus state indicates that the CAN bus is also normally working.

[0098] S203, when the vehicle start state does not indicate that the vehicle is started and / or the CAN bus state does not indicate that the CAN bus is normal, determining that the vehicle is in an abnormal ignition state.

[0099] Specifically, the cloud server can determine that the vehicle is in an abnormal ignition state if it is determined that the vehicle ignition switch is not started and / or the CAN bus is abnormal.

[0100] S204, when the vehicle is in a normal ignition state and the fuel quantity at the current time is not empty, determining a fuel quantity difference between the fuel quantity at the current time and the pre-recorded fuel quantity at the previous time.

[0101] S205, when the absolute value of the fuel quantity difference is greater than the first fuel quantity difference threshold, updating the number of fuel quantity changes and determining whether the number of fuel quantity changes is greater than or equal to the change number threshold.

[0102] S206, when the number of fuel quantity changes is greater than or equal to the change number threshold, and the absolute value of the fuel quantity difference is greater than or equal to the second fuel quantity difference threshold, and the fuel quantity difference is less than 0, sending a prompt message to the vehicle according to the vehicle identifier.

[0103] S204-S206 are similar to S103-S105, and will not be described again in this embodiment.

[0104] S207, when the number of fuel quantity changes is greater than or equal to the change number threshold, and the absolute value of the fuel quantity difference is greater than or equal to the second fuel quantity difference threshold, and the fuel quantity difference is greater than 0, determining that the vehicle is in a refueling state.

[0105] Specifically, the cloud server can determine that the vehicle is in a refueling state if it is determined that the number of fuel quantity changes is greater than or equal to the preset change number threshold, and the fuel quantity at the current time is greater than the pre-recorded fuel quantity at the previous time, and the absolute fuel quantity difference between the two times is greater than or equal to the preset second fuel quantity difference threshold. The cloud server can continue to detect the fuel quantity state of the vehicle.

[0106] Further, after or before determining that the vehicle is in a refueling state, the method further comprises: the cloud server can update the fuel quantity continuous change duration according to the duration between the current time and the previous time, and record the refueling data of the vehicle and send it to the corresponding vehicle when the fuel quantity continuous change duration is greater than or equal to the preset change duration threshold, so that the driver can obtain accurate fuel quantity information of the vehicle in real time.

[0107] S208, when the fuel quantity difference is less than or equal to the first fuel quantity difference threshold, determining that the vehicle is in a normal driving state, and resetting the number of fuel quantity changes and the fuel quantity continuous change duration of the vehicle to 0.

[0108] Specifically, if the cloud server determines that the oil quantity difference between the current oil quantity and the pre-recorded last time oil quantity is less than or equal to the preset first oil quantity difference threshold, the oil quantity difference can be regarded as oil quantity data fluctuation in the normal driving process of the vehicle, so that it can be determined that the vehicle is in a normal driving state at the current time. And the number of oil quantity changes and the duration of continuous oil quantity change of the vehicle can be reset to 0, so that when the oil quantity in the vehicle tank changes dramatically, the number of oil quantity changes and the duration of continuous oil quantity change can be counted again.

[0109] S209, when the vehicle is not in a normal ignition state and the current oil quantity is empty, sending a detection failure information to the vehicle according to the vehicle identifier.

[0110] Specifically, the cloud server can generate a detection failure information when the vehicle start state indicates that the ACC state of the vehicle is empty, or the vehicle start state indicates that the vehicle is not started, i.e. the vehicle ignition switch is not started, and the vehicle is in an abnormal ignition state. When the current oil quantity obtained is empty, the detection failure information is sent to the vehicle according to the obtained vehicle identifier.

[0111] S210, when the current oil quantity is empty, the last time oil quantity is taken as the current oil quantity.

[0112] Specifically, if the cloud server determines that the current oil quantity collected by the mechanical sensor of the vehicle is empty, the last time oil quantity can be taken as the current oil quantity of the vehicle, so as to compare with the next time oil quantity.

[0113] The oil quantity detection method based on the driving recorder provided by the embodiment of the application, the cloud server can determine that the vehicle is in a refueling state when the number of oil quantity changes is greater than or equal to the preset change number threshold, the current oil quantity is greater than the last time oil quantity, and the absolute oil quantity difference between the two times is greater than or equal to the second oil quantity difference threshold, thereby solving the problem of how to determine the refueling state of the vehicle. After determining that the vehicle is in a refueling state or before that, the duration of continuous oil quantity change is updated, the refueling data of the vehicle is recorded and sent to the corresponding vehicle, so that the driver can obtain accurate oil quantity information of the vehicle in real time. When the oil quantity difference is less than or equal to the first oil quantity difference threshold, the oil quantity difference is regarded as oil quantity data fluctuation in the normal driving process of the vehicle, so that the vehicle is determined to be in a normal driving state, and the number of oil quantity changes and the duration of continuous oil quantity change of the vehicle are reset to 0, thereby facilitating the re-counting of the number of oil quantity changes and the duration of continuous oil quantity change when the oil quantity in the vehicle tank changes dramatically.

[0114] In a possible implementation, the vehicle information can further include a road condition and a speed at which the vehicle travels, and when the absolute value of the oil quantity difference is greater than the first oil quantity difference threshold, before the number of oil quantity changes is updated, the method further includes: determining, by the cloud server, a corresponding first oil quantity difference threshold from the preset mapping relationship according to the road condition and the speed, and determining a sum of the first oil quantity difference threshold and a preset increment value as the second oil quantity difference threshold.

[0115] Specifically, in order to improve the accuracy of oil quantity detection and facilitate accurate detection of a case where the oil quantity in the vehicle tank changes dramatically, the cloud server can establish a preset mapping relationship corresponding to a plurality of road conditions and speeds, so as to determine a corresponding first oil quantity difference threshold from the preset mapping relationship according to a specific road condition and speed during oil quantity detection, and the sum of the first oil quantity difference threshold and a preset increment value can be used as the second oil quantity difference threshold.

[0116] Further, the determination process of the preset mapping relationship includes: obtaining, by the cloud server, a first fuel consumption corresponding to a unit distance traveled by the vehicle at different road conditions and / or different speeds, converting the first fuel consumption into a second fuel consumption corresponding to a unit time, and determining a first oil quantity difference threshold corresponding to the road condition and the speed according to a product of the oil quantity detection period of the vehicle and the second fuel consumption.

[0117] Specifically, the first oil quantity difference threshold can be greater than or equal to a product of the oil quantity detection period of the vehicle and the second fuel consumption.

[0118] The oil quantity detection method based on the vehicle event data recorder provided by the embodiments of the present application further improves the accuracy of oil quantity detection by causing the same vehicle to correspond to different first oil quantity difference thresholds and second oil quantity difference thresholds when traveling at different road conditions and different speeds, thereby facilitating accurate detection of a case where the oil quantity in the vehicle tank changes dramatically.

[0119] The embodiments of the present application can divide the functional modules of the electronic device or the host device according to the above-mentioned method examples. For example, each functional module can be divided according to each function, or two or more functions can be integrated in one processing unit. The integrated unit can be realized in the form of hardware or in the form of a software functional module. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical functional division. When actually implemented, another division method can be used.

[0120] Figure 3 A structure diagram of an oil quantity detection device based on a vehicle event data recorder is provided for the embodiments of the present application. The device is applied to a cloud server, and the cloud server is in communication connection with one or more vehicles. As shown in Figure 4As shown, the apparatus comprises: an acquisition module 310; an ignition detection module 320; a difference calculation module 330; a number updating module 340; an oil quantity abnormality module 350;

[0121] The acquisition module 310 is configured to acquire vehicle information fed back by a CAN bus of a vehicle to a vehicle event data recorder at multiple time points, the vehicle information comprising: a vehicle identifier, a vehicle start state, a CAN bus state, and a current time oil quantity;

[0122] The ignition detection module 320 is configured to determine whether the vehicle is in a normal ignition state according to the vehicle start state and the CAN bus state.

[0123] The difference calculation module 330 is configured to, when the vehicle is in the normal ignition state and the current time oil quantity is not empty, determine an oil quantity difference between the current time oil quantity and a previously recorded last time oil quantity.

[0124] The number updating module 340 is configured to, when an absolute value of the oil quantity difference is greater than a first oil quantity difference threshold, update an oil quantity change number and determine whether the oil quantity change number is greater than or equal to a change number threshold, the oil quantity change number indicating a number of times of oil quantity change.

[0125] The oil quantity abnormality module 350 is configured to, when the oil quantity change number is greater than or equal to the change number threshold, the absolute value of the oil quantity difference is greater than or equal to a second oil quantity difference threshold, and the oil quantity difference is less than 0, send prompt information to the vehicle according to the vehicle identifier, the prompt information indicating that the vehicle has abnormal oil consumption, and the second oil quantity difference threshold is greater than the first oil quantity difference threshold.

[0126] In a possible design, the ignition detection module 320 comprises: a normal ignition module and an abnormal ignition module.

[0127] The normal ignition module is configured to, when the vehicle start state indicates that the vehicle is started and the CAN bus state indicates that the CAN bus is normal, determine that the vehicle is in the normal ignition state.

[0128] The abnormal ignition module is configured to, when the vehicle start state does not indicate that the vehicle is started and / or the CAN bus state does not indicate that the CAN bus is normal, determine that the vehicle is in an abnormal ignition state.

[0129] In a possible design, the apparatus further comprises: a refueling state detection module.

[0130] The refueling state detection module is configured to, when the oil quantity change number is greater than or equal to the change number threshold, the absolute value of the oil quantity difference is greater than or equal to the second oil quantity difference threshold, and the oil quantity difference is greater than 0, determine that the vehicle is in a refueling state.

[0131] In a possible design, the apparatus further comprises: an oil quantity updating module.

[0132] an oil amount updating module, configured to update the oil amount continuous change duration according to a time length between the current moment and the last moment, and record refueling data of the vehicle when the oil amount continuous change duration is greater than or equal to the change duration threshold.

[0133] In a possible design, the apparatus further includes a normal driving detection module.

[0134] The normal driving detection module is configured to determine that the vehicle is in a normal driving state when the oil amount difference is less than or equal to the first oil amount difference threshold, and reset the oil amount change frequency and the oil amount continuous change duration of the vehicle to 0.

[0135] In a possible design, the apparatus further includes a detection failure module and an oil amount replacement module.

[0136] The detection failure module is configured to send detection failure information to the vehicle according to the vehicle identifier when the vehicle is not in the normal ignition state and the oil amount at the current moment is empty.

[0137] The oil amount replacement module is configured to take the oil amount at the last moment as the oil amount at the current moment when the oil amount at the current moment is empty.

[0138] In a possible design, the vehicle information includes road conditions and speed, and the apparatus further includes a mapping relationship module and a summation module.

[0139] The mapping relationship module is configured to determine a corresponding first oil amount difference threshold from a preset mapping relationship according to the road conditions and the speed.

[0140] The summation module is configured to determine a second oil amount difference threshold by summing the first oil amount difference threshold and a preset increment value.

[0141] In a possible design, the apparatus further includes a first oil consumption amount module and a second oil consumption amount module.

[0142] The first oil consumption amount module is configured to obtain a first oil consumption amount corresponding to a unit distance traveled by the vehicle at different road conditions and / or different speeds.

[0143] The second oil consumption amount module is configured to convert the first oil consumption amount into a second oil consumption amount corresponding to a unit time duration, and determine the first oil amount difference threshold corresponding to the road conditions and the speed according to a product of an oil amount detection period of the vehicle and the second oil consumption amount.

[0144] The oil amount detection apparatus based on the driving recorders provided in this embodiment can perform the oil amount detection method based on the driving recorders in the above embodiments, and has similar implementation principles and technical effects, which will not be described here again in this embodiment.

[0145] In the foregoing specific implementation of the oil detection device based on the driving recorder, each module can be implemented as a processor, and the processor can execute computer execution instructions stored in the memory, so that the processor executes the oil detection method based on the driving recorder.

[0146] Figure 4 A structural diagram of an electronic device is provided for the embodiments of the present application. As shown in the figure, the electronic device includes at least one processor 410 and a memory 420. The electronic device also includes a communication component 430. The processor 410, the memory 420, and the communication component 430 are connected through a bus 440. ​

[0147] In the specific implementation process, the at least one processor 410 executes computer execution instructions stored in the memory 420, so that the at least one processor 410 executes the oil detection method based on the driving recorder as executed by the electronic device side.

[0148] The specific implementation process of the processor 410 can be referred to the above method embodiments, which have similar implementation principles and technical effects, and will not be described here again in the present embodiment.

[0149] In the above embodiments, it should be understood that the processor can be a central processing unit (CPU for short), and can also be other general-purpose processors, digital signal processors (DSP for short), application specific integrated circuits (ASIC for short), etc. The general-purpose processor can be a microprocessor, or the processor can also be any conventional processor, etc. The steps of the method disclosed in the present application can be directly embodied as execution completed by a hardware processor, or executed by a combination of hardware and software modules in the processor.

[0150] The memory can contain a high-speed RAM memory, and can also include a non-volatile storage NVM, such as at least one disk memory.

[0151] ​The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, the bus in the drawings of the present application does not limit to only one bus or one type of bus.

[0152] The functions implemented by the electronic device and the host device described above are introduced for the scheme provided by the embodiments of the present application. It can be understood that the electronic device or the host device includes the hardware structure and / or software module corresponding to the execution of each function in order to implement the above functions. The units and algorithm steps of each example described in combination with the embodiments disclosed in the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is implemented in hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the technical solutions of the embodiments of the present application.

[0153] The present application also provides a computer readable storage medium, the computer readable storage medium stores computer execution instructions, when the processor executes the computer execution instructions, the computer readable storage medium is used to implement the above-mentioned oil detection method based on a driving recorder.

[0154] The above-mentioned readable storage medium can be realized by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0155] An exemplary readable storage medium is coupled to the processor, so that the processor can read information from the readable storage medium, and can write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the readable storage medium can also exist as discrete components in the electronic device or the host device.

[0156] The application further provides a computer program product, which comprises a computer program stored in a readable storage medium, at least one processor of an electronic device can read the computer program from the readable storage medium, and the at least one processor executes the computer program to enable the electronic device to execute the scheme provided in the above-described embodiments.

[0157] Those skilled in the art can understand that all or part of the steps of the above-mentioned method embodiments can be completed by relevant hardware instructed by programs. The foregoing programs can be stored in a computer readable storage medium. When the programs are executed, the steps of the above-mentioned method embodiments are executed; and the foregoing storage medium includes various media capable of storing program codes, such as ROM, RAM, magnetic disks, or optical disks.

[0158] So far, the technical scheme of the application has been described in combination with the preferred embodiments shown in the drawings, but those skilled in the art can easily understand that the protection scope of the application is obviously not limited to these specific embodiments, and the above embodiments are only used to illustrate the technical scheme of the application, rather than limit it; although the application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical scheme recorded in the foregoing embodiments, or make equivalent replacement for part or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical scheme deviate from the scope of the technical scheme of the embodiments of the application.

Claims

1. A fuel level detection method based on a dashcam, characterized in that, Applied to a cloud server, which is communicatively connected to one or more vehicles, the method includes: The system acquires vehicle information fed back to the vehicle's dashcam at multiple times via the vehicle's CAN bus. This vehicle information includes: vehicle identification, vehicle start status, CAN bus status, and current fuel level. Determine whether the vehicle is in normal ignition state based on the vehicle start-up status and the CAN bus status; When the vehicle is in normal ignition state and the fuel level at the current moment is not empty, determine the fuel level difference between the current fuel level and the fuel level at the previous moment that was recorded in advance. When the absolute value of the fuel quantity difference is greater than the first fuel quantity difference threshold, the number of fuel quantity changes is updated, and it is determined whether the number of fuel quantity changes is greater than or equal to the number of changes threshold. The number of fuel quantity changes indicates the number of times when the fuel quantity changes. When the number of fuel level changes is greater than or equal to the number of changes threshold, and the absolute value of the fuel level difference is greater than or equal to the second fuel level difference threshold, and the fuel level difference is less than 0, a prompt message is sent to the vehicle according to the vehicle identifier. The prompt message indicates that the vehicle has abnormal fuel consumption, and the second fuel level difference threshold is greater than the first fuel level difference threshold. The vehicle information includes road conditions and speed. Before updating the number of fuel level changes when the absolute value of the fuel level difference is greater than a first fuel level difference threshold, the method further includes: Based on the road conditions and speed, determine the corresponding first fuel quantity difference threshold from the preset mapping relationship; The sum of the first oil quantity difference threshold and the preset increment value is determined as the second oil quantity difference threshold; The process of determining the mapping relationship includes: Obtain the first fuel consumption corresponding to the vehicle traveling a unit distance under different road conditions and / or at different speeds; The first fuel consumption is converted into a second fuel consumption per unit time, and the first fuel consumption difference threshold corresponding to the road condition and the speed is determined based on the product of the vehicle's fuel level detection cycle and the second fuel consumption.

2. The method according to claim 1, characterized in that, The step of determining whether the vehicle is in a normal ignition state based on the vehicle start-up state and the CAN bus state includes: When the vehicle start status indicates that the vehicle has started and the CAN bus status indicates that the CAN bus is normal, it is determined that the vehicle is in a normal ignition state. If the vehicle startup status does not indicate vehicle startup, and / or the CAN bus status does not indicate CAN bus normal operation, the vehicle is determined to be in an abnormal ignition state.

3. The method according to claim 1, characterized in that, Also includes: When the number of fuel level changes is greater than or equal to the number of changes threshold, the absolute value of the fuel level difference is greater than or equal to the second fuel level difference threshold, and the fuel level difference is greater than 0, the vehicle is determined to be in a refueling state.

4. The method according to claim 3, characterized in that, After determining that the vehicle is in a refueling state, or before: The duration of continuous change in fuel level is updated based on the time between the current moment and the previous moment, and the refueling data of the vehicle is recorded when the duration of continuous change in fuel level is greater than or equal to the change duration threshold.

5. The method according to claim 4, characterized in that, Also includes: When the fuel level difference is less than or equal to the first fuel level difference threshold, the vehicle is determined to be in normal driving condition, and the number of times the fuel level changes and the duration of the fuel level change are both reset to 0.

6. The method according to any one of claims 1 to 4, characterized in that, Also includes: When the vehicle is not in normal ignition state and the fuel level is empty at the current moment, a detection failure message is sent to the vehicle based on the vehicle identifier; When the fuel level is empty at the current moment, the fuel level at the previous moment is used as the fuel level at the current moment.

7. A fuel level detection device based on a driving recorder, characterized in that, The device is applied to a cloud server, which is communicatively connected to one or more vehicles. The device operates using the fuel level detection method based on a driving recorder as described in any one of claims 1-6. The device comprises: The acquisition module is used to acquire vehicle information fed back to the vehicle dashcam by the vehicle's CAN bus at multiple times. The vehicle information includes: vehicle identification, vehicle start status, CAN bus status, and current fuel level. The ignition detection module is used to determine whether the vehicle is in a normal ignition state based on the vehicle start-up state and the CAN bus state. The difference calculation module is used to determine the difference between the fuel level at the current moment and the fuel level at the previous moment when the vehicle is in normal ignition state and the fuel level at the current moment is not empty. The number of times update module is used to update the number of times of oil quantity change when the absolute value of the oil quantity difference is greater than the first oil quantity difference threshold, and to determine whether the number of times of oil quantity change is greater than or equal to the number of times of change threshold, wherein the number of times of oil quantity change indicates the number of times when oil quantity changes. The fuel level abnormality module is used to send a prompt message to the vehicle based on the vehicle identifier when the number of fuel level changes is greater than or equal to the number of changes threshold, the absolute value of the fuel level difference is greater than or equal to the second fuel level difference threshold, and the fuel level difference is less than 0. The prompt message indicates that the vehicle has experienced abnormal fuel consumption, and the second fuel level difference threshold is greater than the first fuel level difference threshold.

8. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the fuel level detection method based on a vehicle recorder as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the fuel level detection method based on a vehicle recorder as described in any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program implements the fuel level detection method based on a vehicle recorder as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Anti-theft fuel oil control method and anti-theft fuel oil control system

    CN105196964A

  • Control method of automatic range hood and automatic range hood

    CN113465002A