Oil amount use state detection method and device, computer device, medium and product

By acquiring the vehicle ignition switch signal, dividing the travel segment, and calculating the fuel level difference and fuel consumption value, the problem of low accuracy in traditional fuel quantity anomaly detection is solved, and accurate detection and real-time monitoring of fuel usage status are achieved.

CN117162946BActive Publication Date: 2026-11-24FAW JIEFANG AUTOMOTIVE CO
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311354893.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-18
Publication Date
2026-11-24
Estimated Expiration
2043-10-18

AI Technical Summary

Technical Problem

Traditional methods have low accuracy in detecting abnormal oil levels and require additional accelerometers, resulting in high hardware costs and an inability to accurately detect specific abnormalities in oil levels.

Method used

By acquiring the vehicle's ignition switch signal, dividing the travel segment, calculating the fuel level difference and fuel consumption value, and using changes in the ignition switch state to detect the fuel usage status, including abnormal situations such as refueling, fuel leakage, and fuel theft.

Benefits of technology

It enables accurate detection of oil usage status, reduces hardware costs, and can monitor abnormal oil levels in real time, thus improving detection accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117162946B_ABST
    Figure CN117162946B_ABST
Patent Text Reader

Abstract

This application relates to a method, apparatus, computer equipment, storage medium, and computer program product for detecting fuel usage status. By acquiring the ignition switch signal of a target vehicle, it obtains a first fuel level difference corresponding to the first stroke segment when the ignition switch switches from the off state to the on state. If the first fuel level difference is greater than or equal to a target threshold, it obtains a second fuel level difference and a fuel consumption value corresponding to the second stroke segment when the ignition switch switches from the on state to the off state. Based on the second fuel level difference and fuel consumption value, it detects the fuel usage status of the target vehicle, accurately detecting abnormal fuel usage and achieving real-time monitoring of vehicle fuel usage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of big data technology, and in particular to a method, apparatus, computer equipment, storage medium and computer program product for detecting oil usage status. Background Technology

[0002] The vehicle-to-everything (V2X) system receives and stores massive amounts of vehicle driving data every day, including vehicle identification number (VIN), vehicle speed, throttle opening, engine speed, etc. By analyzing the vehicle driving data, it is possible to monitor the vehicle's operating status, driving trajectory, and fuel consumption.

[0003] Traditionally, the fuel tank cap's acceleration signal is used to determine whether the cap has been opened or closed, thus enabling monitoring of fuel usage.

[0004] However, this method usually requires the installation of an additional acceleration sensor near the fuel tank cap, which is costly in terms of hardware. Furthermore, when it is confirmed that the cap has been opened, it can only determine whether the fuel level in the tank has risen or fallen, but cannot determine the specific abnormal situation, resulting in low accuracy in detecting abnormal fuel levels. Summary of the Invention

[0005] Therefore, it is necessary to provide a method, apparatus, computer equipment, computer-readable storage medium, and computer program product for detecting oil usage status that can accurately detect abnormal oil levels, in order to address the aforementioned technical problems.

[0006] Firstly, this application provides a method for detecting oil usage status, including:

[0007] Obtain the ignition switch signal of the target vehicle;

[0008] The first travel segment is obtained based on the ignition switch signal; the first travel segment is the travel segment corresponding to the ignition switch switching from the off state to the on state.

[0009] Obtain the first fuel level difference corresponding to the first stroke segment;

[0010] If the first fuel level difference is greater than or equal to the target threshold, the second stroke segment is obtained based on the ignition switch signal; the second stroke segment is the stroke segment corresponding to the ignition switch switching from the on state to the off state.

[0011] Obtain the second fuel level difference and fuel consumption value corresponding to the second stroke segment;

[0012] The fuel level difference and fuel consumption value are used to detect the fuel usage status of the target vehicle.

[0013] In one embodiment, obtaining the first fuel level difference value corresponding to the first stroke segment includes:

[0014] For the first stroke segment, with the ignition switch in the off position, obtain the first fuel level value of the target vehicle;

[0015] With the ignition switch on, obtain the second fuel level value of the target vehicle;

[0016] The difference between the first fuel level value and the second fuel level value is obtained to obtain the first fuel level difference value corresponding to the first stroke segment.

[0017] In one embodiment, the step of obtaining the second fuel level difference value corresponding to the second stroke segment includes:

[0018] For the second stroke segment, with the ignition switch in the on position, obtain the third fuel level value of the target vehicle;

[0019] With the ignition switch off, obtain the fourth fuel level value of the target vehicle;

[0020] The difference between the third and fourth fuel level values ​​is obtained to get the second fuel level difference value corresponding to the second stroke segment.

[0021] In one embodiment, the step of obtaining the fuel consumption value corresponding to the second travel segment includes:

[0022] Obtain the instantaneous fuel consumption of the target vehicle;

[0023] The fuel consumption of the target vehicle during the second travel segment is calculated based on the instantaneous fuel consumption.

[0024] In one embodiment, the fuel usage status of the target vehicle is detected based on a second fuel level difference and a fuel consumption value, including:

[0025] If the ratio of the second fuel level difference to the fuel consumption value meets the first threshold range condition and the instantaneous fuel consumption meets the second threshold range condition, the fuel usage status of the target vehicle is determined to be a leaking state, and a leaking alarm message is sent to the cloud to instruct the management personnel to check the fuel tank status of the target vehicle.

[0026] If the ratio of the second fuel level difference to the fuel consumption value meets the first threshold range condition, but the instantaneous fuel consumption does not meet the second threshold range condition, the target vehicle's fuel usage status is determined to be fuel theft, and a fuel theft alarm message is sent to the cloud to instruct management personnel to monitor the target vehicle.

[0027] In one embodiment, the method further includes:

[0028] If the first fuel level difference is greater than or equal to zero and the first fuel level difference is less than the target threshold, the fuel usage status of the target vehicle is determined to be normal.

[0029] If the first fuel level difference is less than zero, the target vehicle's fuel usage status is determined to be refueling status, and a refueling information prompt is sent to the cloud to instruct the management personnel to verify the target vehicle's location information.

[0030] Secondly, this application also provides an oil usage status detection device, comprising:

[0031] The switch signal acquisition module is used to acquire the ignition switch signal of the target vehicle;

[0032] The first stroke acquisition module is used to acquire the first stroke segment based on the ignition switch signal; the first stroke segment is the stroke segment corresponding to the ignition switch switching from the off state to the on state;

[0033] The first liquid level acquisition module is used to acquire the first fuel liquid level difference corresponding to the first stroke segment;

[0034] The second stroke acquisition module is used to acquire the second stroke segment based on the ignition switch signal when the first fuel level difference is greater than or equal to the target threshold; the second stroke segment is the stroke segment corresponding to the ignition switch switching from the on state to the off state.

[0035] The second liquid level acquisition module is used to acquire the second fuel liquid level difference and fuel consumption value corresponding to the second stroke segment;

[0036] The status detection module is used to detect the fuel usage status of the target vehicle based on the second fuel level difference and fuel consumption value.

[0037] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method steps of any one of the first aspects.

[0038] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method steps of any one of the first aspects.

[0039] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the method steps of any one of the first aspects.

[0040] The aforementioned fuel usage status detection method, device, computer equipment, storage medium, and computer program product acquire the ignition switch signal of the target vehicle, obtain the first fuel level difference corresponding to the first stroke segment when the ignition switch switches from the off state to the on state, and if the first fuel level difference is greater than or equal to a target threshold, acquire the second fuel level difference corresponding to the second stroke segment when the ignition switch switches from the on state to the off state and the fuel consumption value. Based on the second fuel level difference and the fuel consumption value, the fuel usage status of the target vehicle is detected, which can accurately detect abnormal fuel usage and realize real-time monitoring of vehicle fuel usage. Attached Figure Description

[0041] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0042] Figure 1 This is an application environment diagram of the oil usage status detection method in one embodiment;

[0043] Figure 2 This is a flowchart illustrating a method for detecting oil usage status in one embodiment;

[0044] Figure 3 This is a flowchart illustrating a method for detecting oil usage status in one embodiment;

[0045] Figure 4 This is a structural block diagram of an oil usage status detection device in one embodiment;

[0046] Figure 5 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0047] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0048] The oil usage status detection method provided in this application embodiment can be applied to, for example... Figure 1In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 104 or placed in the cloud or on another network server. Terminal 102 is used to acquire the ignition switch signal of the target vehicle, and based on the ignition switch signal, acquire the first stroke segment corresponding to the ignition switch switching from the off state to the on state. It then acquires the first fuel level difference value corresponding to the first stroke segment through server 104. If the first fuel level difference value is greater than or equal to a target threshold, it acquires the second stroke segment corresponding to the ignition switch switching from the on state to the off state based on the ignition switch signal, and acquires the second fuel level difference value and fuel consumption value corresponding to the second stroke segment through server 104. Based on the second fuel level difference value and fuel consumption value, it detects the fuel usage status of the target vehicle. Terminal 102 can be an in-vehicle terminal. Server 104 can be implemented using a standalone server or a server cluster composed of multiple servers.

[0049] In one exemplary embodiment, such as Figure 2 As shown, a method for detecting oil usage status is provided, which is applied to... Figure 1 Taking terminal 102 as an example, the explanation includes the following steps 202 to 212. Wherein:

[0050] S202: Obtain the ignition switch signal of the target vehicle.

[0051] The fuel usage status is divided into two types: normal and abnormal. Abnormal status refers to unusual changes in fuel level, mainly including refueling, fuel leaks, and fuel theft. Since refueling and fuel theft usually require the vehicle to be stationary, changes in fuel level when the vehicle is stationary can distinguish refueling events. Specifically, the terminal obtains the ignition switch signal of the target vehicle and determines the vehicle's status based on the ignition switch's state. When the ignition switch is on, the target vehicle is in motion; when the ignition switch is off, the target vehicle is stationary.

[0052] S204: Obtain the first travel segment based on the ignition switch signal; the first travel segment is the travel segment corresponding to the ignition switch switching from the off state to the on state.

[0053] The travel distance of the target vehicle is divided according to the state of the ignition switch. The travel distance from the ignition switch to the on state is one travel distance. The travel distance between two travel distances is the first travel distance, which is the travel distance corresponding to the ignition switch switching from the off state to the on state.

[0054] S206: Obtain the first fuel level difference corresponding to the first stroke segment.

[0055] Specifically, the terminal obtains the first fuel level difference value corresponding to the first travel segment through the server. Specifically, the terminal obtains the fuel level value at the start time of the first travel segment and the fuel level value at the end time of the first travel segment from the vehicle network data platform to obtain the first fuel level difference value corresponding to the first travel segment.

[0056] S208: When the first fuel level difference is greater than or equal to the target threshold, the second stroke segment is obtained according to the ignition switch signal; the second stroke segment is the stroke segment corresponding to the ignition switch switching from the on state to the off state.

[0057] Specifically, if the first fuel level difference is greater than or equal to the target threshold, it indicates that the fuel level has dropped and exceeded the normal threshold, thus ruling out refueling. At this point, abnormal situations such as fuel theft or leakage may occur. To further determine the fuel usage status, given the initial assessment of potential abnormalities, the specific abnormal situation is identified by the fuel level difference and fuel consumption during the driving journey. The second travel segment is obtained during the ignition switch switching from the off state to the on state.

[0058] S210: Obtain the second fuel level difference and fuel consumption value corresponding to the second stroke segment.

[0059] Specifically, the terminal obtains the second fuel level difference corresponding to the second travel segment from the server. Specifically, the terminal obtains the fuel level at the start and end of the second travel segment from the vehicle-to-everything (V2X) data platform to obtain the second fuel level difference corresponding to the second travel segment. The fuel consumption value is calculated based on the instantaneous fuel consumption and the travel duration corresponding to the second travel segment, where the instantaneous fuel consumption is obtained from the V2X data platform.

[0060] S212: Detect the fuel usage status of the target vehicle based on the second fuel level difference and fuel consumption value.

[0061] Specifically, the terminal determines the specific abnormal state based on the ratio of the second fuel level difference to the fuel consumption value. If the ratio of the second fuel level difference to the fuel consumption value is within a preset range, an abnormal state can be determined. Furthermore, if the instantaneous fuel consumption is within a certain range, it indicates that the fuel is being consumed at a near-uniform rate, which can be determined as a fuel leak. If the instantaneous fuel consumption shows abnormal fluctuations, it can also be determined as a fuel leak.

[0062] In the above-mentioned fuel usage status detection method, by acquiring the ignition switch signal of the target vehicle, the first fuel level difference corresponding to the first stroke segment when the ignition switch switches from the off state to the on state is acquired. If the first fuel level difference is greater than or equal to a target threshold, the second fuel level difference and fuel consumption value corresponding to the second stroke segment when the ignition switch switches from the on state to the off state are acquired. Based on the second fuel level difference and fuel consumption value, the fuel usage status of the target vehicle is detected, which can accurately detect abnormal fuel usage and realize real-time monitoring of vehicle fuel usage.

[0063] In an exemplary embodiment, the step of obtaining the first fuel level difference value corresponding to the first stroke segment includes: for the first stroke segment, obtaining the first fuel level value of the target vehicle when the ignition switch is in the off state; obtaining the second fuel level value of the target vehicle when the ignition switch is in the on state; obtaining the difference between the first fuel level value and the second fuel level value to obtain the first fuel level difference value corresponding to the first stroke segment.

[0064] In this process, upon obtaining the first travel segment, the terminal obtains the first fuel level value at the start of the first travel segment and the second fuel level value at the end of the first travel segment through the vehicle network data platform. The start of the first travel segment is the fuel level value at the instant when the ignition switch switches from the on state to the off state at the end of one travel segment, and the end of the first travel segment is the fuel level value at the instant when the ignition switch switches from the off state to the on state of the next travel segment. This allows the terminal to obtain the first fuel level difference value corresponding to the first travel segment.

[0065] In this embodiment, for the first stroke segment, the first fuel level value of the target vehicle is obtained when the ignition switch is off, and the second fuel level value of the target vehicle is obtained when the ignition switch is on. The difference between the first fuel level value and the second fuel level value is obtained to obtain the first fuel level difference value corresponding to the first stroke segment. The first fuel level difference value can be accurately obtained, thereby accurately detecting abnormal fuel usage.

[0066] In an exemplary embodiment, the step of obtaining the second fuel level difference value corresponding to the second stroke segment includes: for the second stroke segment, obtaining the third fuel level value of the target vehicle when the ignition switch is in the on state; obtaining the fourth fuel level value of the target vehicle when the ignition switch is in the off state; obtaining the difference between the third fuel level value and the fourth fuel level value to obtain the second fuel level difference value corresponding to the second stroke segment.

[0067] In the case of obtaining the second stroke segment, the terminal obtains the third fuel level value at the start time of the second stroke segment and the fourth fuel level value at the end time of the second stroke segment through the vehicle network data platform. The start time of the second stroke segment is the fuel level value at the instant when the ignition switch switches from the off state to the on state, and the end time of the second stroke segment is the fuel level value at the instant when the ignition switch switches from the on state to the off state. In this way, the second fuel level difference value corresponding to the second stroke segment is obtained.

[0068] In this embodiment, for the second stroke segment, the third fuel level value of the target vehicle is obtained when the ignition switch is on, and the fourth fuel level value of the target vehicle is obtained when the ignition switch is off. The difference between the third fuel level value and the fourth fuel level value is obtained to obtain the second fuel level difference value corresponding to the second stroke segment. The second fuel level difference value can be accurately obtained, thereby accurately detecting abnormal fuel usage.

[0069] In an exemplary embodiment, the step of obtaining the fuel consumption value corresponding to the second travel segment includes: obtaining the instantaneous fuel consumption of the target vehicle; and calculating the fuel consumption value of the target vehicle within the second travel segment based on the instantaneous fuel consumption.

[0070] The fuel consumption value is calculated based on the instantaneous fuel consumption and the travel time corresponding to the second travel segment. The instantaneous fuel consumption is obtained through the vehicle network data platform.

[0071] In this embodiment, by obtaining the instantaneous fuel consumption of the target vehicle, the fuel consumption value of the target vehicle in the second travel segment is calculated based on the instantaneous fuel consumption. This allows for accurate calculation of the fuel consumption value and accurate detection of abnormal fuel usage.

[0072] In an exemplary embodiment, the step of detecting the fuel usage status of a target vehicle based on a second fuel level difference and a fuel consumption value includes: if the ratio of the second fuel level difference to the fuel consumption value meets a first threshold range condition and the instantaneous fuel consumption meets a second threshold range condition, determining that the fuel usage status of the target vehicle is a leaking state, and sending a leaking alarm message to the cloud to instruct management personnel to check the fuel tank status of the target vehicle; if the ratio of the second fuel level difference to the fuel consumption value meets the first threshold range condition but the instantaneous fuel consumption does not meet the second threshold range condition, determining that the fuel usage status of the target vehicle is a fuel theft state, and sending a fuel theft alarm message to the cloud to instruct management personnel to monitor the target vehicle.

[0073] Specifically, if the ratio of the second fuel level difference to the fuel consumption value meets the first threshold range condition, and the instantaneous fuel consumption meets the second threshold range condition, it indicates that the fuel is consumed at a nearly uniform rate, and the target vehicle's fuel usage status can be determined to be a leaking state. In this case, the terminal sends a fuel leak alarm message to the cloud server so that management personnel can remotely check the target vehicle's fuel tank status. If the ratio of the second fuel level difference to the fuel consumption value meets the first threshold range condition, but the instantaneous fuel consumption does not meet the second threshold range condition, it indicates that the fuel has suddenly been consumed in large quantities at a certain moment, and the target vehicle's fuel usage status can be determined to be a fuel theft state. The terminal sends a fuel theft alarm message to the cloud server so that management personnel can remotely monitor the target vehicle.

[0074] In this embodiment, by using the ratio of the second fuel level difference to the fuel consumption value, as well as the magnitude of the instantaneous fuel consumption, abnormal fuel usage can be accurately detected, enabling real-time monitoring of vehicle fuel usage.

[0075] In an exemplary embodiment, the method further includes: determining that the fuel usage status of the target vehicle is normal when the first fuel level difference is greater than or equal to zero and the first fuel level difference is less than a target threshold; and determining that the fuel usage status of the target vehicle is refueling when the first fuel level difference is less than zero, and sending a refueling information prompt to the cloud to instruct the management personnel to verify the location information of the target vehicle.

[0076] Specifically, if the first fuel level difference is greater than or equal to zero and less than the target threshold, it indicates that the fuel level has not changed or has changed little, and the fuel usage status of the target vehicle can be determined to be normal. If the first fuel level difference is less than zero, it indicates that the fuel level has risen, and the fuel usage status of the target vehicle can be determined to be refueling. At this time, the terminal can send a refueling information prompt to the cloud, and the management personnel can remotely verify the location information of the target vehicle to determine whether the target vehicle is near a gas station.

[0077] In this embodiment, the fuel level difference can be used to accurately detect the fuel usage and achieve real-time monitoring of vehicle fuel usage.

[0078] In one exemplary embodiment, such as Figure 3 As shown, a method for detecting oil usage status is provided, which includes the following steps:

[0079] Obtain the ignition switch signal of the target vehicle.

[0080] The first travel segment is obtained based on the ignition switch signal; the first travel segment is the travel segment corresponding to the ignition switch switching from the off state to the on state.

[0081] For the first stroke segment, with the ignition switch in the off state, the first fuel level value of the target vehicle is obtained; with the ignition switch in the on state, the second fuel level value of the target vehicle is obtained; the difference between the first fuel level value and the second fuel level value is obtained to obtain the first fuel level difference value corresponding to the first stroke segment.

[0082] If the first fuel level difference is greater than or equal to the target threshold, the second stroke segment is obtained based on the ignition switch signal; the second stroke segment is the stroke segment corresponding to the ignition switch switching from the on state to the off state.

[0083] For the second stroke segment, with the ignition switch on, the third fuel level value of the target vehicle is obtained; with the ignition switch off, the fourth fuel level value of the target vehicle is obtained; the difference between the third fuel level value and the fourth fuel level value is obtained to obtain the second fuel level difference value corresponding to the second stroke segment.

[0084] Obtain the instantaneous fuel consumption of the target vehicle; based on the instantaneous fuel consumption, calculate the fuel consumption value of the target vehicle in the second travel segment.

[0085] If the ratio of the second fuel level difference to the fuel consumption value meets the first threshold range condition and the instantaneous fuel consumption meets the second threshold range condition, the fuel usage status of the target vehicle is determined to be a fuel leak state, and a fuel leak alarm message is sent to the cloud to instruct the management personnel to check the fuel tank status of the target vehicle; if the ratio of the second fuel level difference to the fuel consumption value meets the first threshold range condition but the instantaneous fuel consumption does not meet the second threshold range condition, the fuel usage status of the target vehicle is determined to be a fuel theft state, and a fuel theft alarm message is sent to the cloud to instruct the management personnel to monitor the target vehicle.

[0086] If the first fuel level difference is greater than or equal to zero and less than the target threshold, the fuel usage status of the target vehicle is determined to be normal; if the first fuel level difference is less than zero, the fuel usage status of the target vehicle is determined to be refueling status, and a refueling information prompt is sent to the cloud to instruct the management personnel to verify the location information of the target vehicle.

[0087] In this embodiment, by acquiring the ignition switch signal of the target vehicle, the first fuel level difference corresponding to the first stroke segment when the ignition switch switches from the off state to the on state is acquired. If the first fuel level difference is greater than or equal to the target threshold, the second fuel level difference and fuel consumption value corresponding to the second stroke segment when the ignition switch switches from the on state to the off state are acquired. Based on the second fuel level difference and fuel consumption value, the fuel usage status of the target vehicle is detected, which can accurately detect abnormal fuel usage and realize real-time monitoring of vehicle fuel usage.

[0088] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0089] Based on the same inventive concept, this application also provides an oil usage status detection device for implementing the oil usage status detection method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more embodiments of the oil usage status detection device provided below can be found in the limitations of the oil usage status detection method described above, and will not be repeated here.

[0090] In one exemplary embodiment, such as Figure 4 As shown, an oil usage status detection device is provided, comprising: a switch signal acquisition module 10, a first stroke acquisition module 20, a first liquid level acquisition module 30, a second stroke acquisition module 40, a second liquid level acquisition module 50, and a usage status detection module 60, wherein:

[0091] The switch signal acquisition module 10 is used to acquire the ignition switch signal of the target vehicle.

[0092] The first stroke acquisition module 20 is used to acquire the first stroke segment based on the ignition switch signal; the first stroke segment is the stroke segment corresponding to the ignition switch switching from the off state to the on state.

[0093] The first liquid level acquisition module 30 is used to acquire the first fuel level difference corresponding to the first stroke segment.

[0094] The second stroke acquisition module 40 is used to acquire the second stroke segment based on the ignition switch signal when the first fuel level difference is greater than or equal to the target threshold; the second stroke segment is the stroke segment corresponding to the ignition switch switching from the on state to the off state.

[0095] The second liquid level acquisition module 50 is used to acquire the second fuel level difference and fuel consumption value corresponding to the second stroke segment.

[0096] The status detection module 60 is used to detect the fuel usage status of the target vehicle based on the second fuel level difference and fuel consumption value.

[0097] In an exemplary embodiment, the first fuel level acquisition module 30 is further configured to, for the first stroke segment, acquire a first fuel level value of the target vehicle when the ignition switch is in the off state; acquire a second fuel level value of the target vehicle when the ignition switch is in the on state; and acquire the difference between the first fuel level value and the second fuel level value to obtain a first fuel level difference value corresponding to the first stroke segment.

[0098] In an exemplary embodiment, the second fuel level acquisition module 50 is further configured to, for the second stroke segment, acquire a third fuel level value of the target vehicle when the ignition switch is in the on state; acquire a fourth fuel level value of the target vehicle when the ignition switch is in the off state; and acquire the difference between the third fuel level value and the fourth fuel level value to obtain a second fuel level difference value corresponding to the second stroke segment.

[0099] In an exemplary embodiment, the second liquid level acquisition module 50 is further configured to acquire the instantaneous fuel consumption of the target vehicle; and calculate the fuel consumption value of the target vehicle within the second travel segment based on the instantaneous fuel consumption.

[0100] In an exemplary embodiment, the status detection module 60 is further configured to determine that the fuel usage status of the target vehicle is in a leaking state when the ratio of the second fuel level difference to the fuel consumption value meets the first threshold range condition and the instantaneous fuel consumption meets the second threshold range condition, and send a leaking alarm message to the cloud to instruct the management personnel to check the fuel tank status of the target vehicle; and to determine that the fuel usage status of the target vehicle is in a fuel theft state when the ratio of the second fuel level difference to the fuel consumption value meets the first threshold range condition but the instantaneous fuel consumption does not meet the second threshold range condition, and send a fuel theft alarm message to the cloud to instruct the management personnel to monitor the target vehicle.

[0101] In an exemplary embodiment, if the first fuel level difference is greater than or equal to zero and less than a target threshold, the fuel usage status of the target vehicle is determined to be normal; if the first fuel level difference is less than zero, the fuel usage status of the target vehicle is determined to be refueling status, and a refueling information prompt is sent to the cloud to instruct the management personnel to verify the location information of the target vehicle.

[0102] Each module in the aforementioned fuel usage status detection device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.

[0103] In one exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 5 As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When executed by the processor, the computer program implements a method for detecting fuel usage status. The display unit is used to form a visually visible image and can be a display screen, projection device, or virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0104] Those skilled in the art will understand that Figure 5 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0105] In one exemplary embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to perform the following steps: acquiring an ignition switch signal of a target vehicle; acquiring a first travel segment based on the ignition switch signal; the first travel segment being the travel segment corresponding to the ignition switch switching from an off state to an on state; acquiring a first fuel level difference value corresponding to the first travel segment; if the first fuel level difference value is greater than or equal to a target threshold, acquiring a second travel segment based on the ignition switch signal; the second travel segment being the travel segment corresponding to the ignition switch switching from an on state to an off state; acquiring a second fuel level difference value and a fuel consumption value corresponding to the second travel segment; and detecting the fuel usage status of the target vehicle based on the second fuel level difference value and the fuel consumption value.

[0106] In one embodiment, the processor executing a computer program to obtain a first fuel level difference corresponding to a first travel segment includes: for the first travel segment, obtaining a first fuel level value of the target vehicle when the ignition switch is in the off state; obtaining a second fuel level value of the target vehicle when the ignition switch is in the on state; and obtaining the difference between the first fuel level value and the second fuel level value to obtain the first fuel level difference corresponding to the first travel segment.

[0107] In one embodiment, the step of obtaining the second fuel level difference corresponding to the second stroke segment when the processor executes the computer program includes: for the second stroke segment, obtaining the third fuel level value of the target vehicle when the ignition switch is in the on state; obtaining the fourth fuel level value of the target vehicle when the ignition switch is in the off state; obtaining the difference between the third fuel level value and the fourth fuel level value to obtain the second fuel level difference corresponding to the second stroke segment.

[0108] In one embodiment, the step of obtaining the fuel consumption value corresponding to the second travel segment when the processor executes the computer program includes: obtaining the instantaneous fuel consumption of the target vehicle; and calculating the fuel consumption value of the target vehicle within the second travel segment based on the instantaneous fuel consumption.

[0109] In one embodiment, the processor executing the computer program involves detecting the fuel usage status of a target vehicle based on a second fuel level difference and a fuel consumption value. This includes: if the ratio of the second fuel level difference to the fuel consumption value meets a first threshold range condition and the instantaneous fuel consumption meets a second threshold range condition, determining that the target vehicle's fuel usage status is a leaking state, and sending a leaking alarm message to the cloud to instruct management personnel to check the fuel tank status of the target vehicle; if the ratio of the second fuel level difference to the fuel consumption value meets the first threshold range condition but the instantaneous fuel consumption does not meet the second threshold range condition, determining that the target vehicle's fuel usage status is a fuel theft state, and sending a fuel theft alarm message to the cloud to instruct management personnel to monitor the target vehicle.

[0110] In one embodiment, when the processor executes the computer program, it further performs the following steps: when the first fuel level difference is greater than or equal to zero and the first fuel level difference is less than a target threshold, it determines that the fuel usage status of the target vehicle is normal; when the first fuel level difference is less than zero, it determines that the fuel usage status of the target vehicle is refueling, and sends a refueling information prompt to the cloud to instruct the management personnel to verify the location information of the target vehicle.

[0111] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, it performs the following steps: acquiring an ignition switch signal of a target vehicle; acquiring a first travel segment based on the ignition switch signal; the first travel segment being the travel segment corresponding to the ignition switch switching from an off state to an on state; acquiring a first fuel level difference value corresponding to the first travel segment; if the first fuel level difference value is greater than or equal to a target threshold, acquiring a second travel segment based on the ignition switch signal; the second travel segment being the travel segment corresponding to the ignition switch switching from an on state to an off state; acquiring a second fuel level difference value and a fuel consumption value corresponding to the second travel segment; and detecting the fuel usage status of the target vehicle based on the second fuel level difference value and the fuel consumption value.

[0112] In one embodiment, the computer program, when executed by a processor, involves obtaining a first fuel level difference corresponding to a first travel segment, including: for the first travel segment, obtaining a first fuel level value of the target vehicle when the ignition switch is in the off state; obtaining a second fuel level value of the target vehicle when the ignition switch is in the on state; and obtaining the difference between the first fuel level value and the second fuel level value to obtain the first fuel level difference corresponding to the first travel segment.

[0113] In one embodiment, the step of obtaining the second fuel level difference corresponding to the second stroke segment when the computer program is executed by the processor includes: for the second stroke segment, obtaining a third fuel level value of the target vehicle when the ignition switch is in the on state; obtaining a fourth fuel level value of the target vehicle when the ignition switch is in the off state; obtaining the difference between the third fuel level value and the fourth fuel level value to obtain the second fuel level difference corresponding to the second stroke segment.

[0114] In one embodiment, the step of obtaining the fuel consumption value corresponding to the second travel segment when the computer program is executed by the processor includes: obtaining the instantaneous fuel consumption of the target vehicle; and calculating the fuel consumption value of the target vehicle within the second travel segment based on the instantaneous fuel consumption.

[0115] In one embodiment, when the computer program is executed by the processor, it involves detecting the fuel usage status of a target vehicle based on a second fuel level difference and a fuel consumption value. This includes: if the ratio of the second fuel level difference to the fuel consumption value meets a first threshold range condition and the instantaneous fuel consumption meets a second threshold range condition, determining that the target vehicle's fuel usage status is a leaking state, and sending a leaking alarm message to the cloud to instruct management personnel to check the fuel tank status of the target vehicle; if the ratio of the second fuel level difference to the fuel consumption value meets the first threshold range condition but the instantaneous fuel consumption does not meet the second threshold range condition, determining that the target vehicle's fuel usage status is a fuel theft state, and sending a fuel theft alarm message to the cloud to instruct management personnel to monitor the target vehicle.

[0116] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: when the first fuel level difference is greater than or equal to zero and the first fuel level difference is less than a target threshold, it determines that the fuel usage status of the target vehicle is normal; when the first fuel level difference is less than zero, it determines that the fuel usage status of the target vehicle is refueling, and sends a refueling information prompt to the cloud to instruct the management personnel to verify the location information of the target vehicle.

[0117] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps: acquiring an ignition switch signal of a target vehicle; acquiring a first travel segment based on the ignition switch signal; the first travel segment being the travel segment corresponding to the ignition switch switching from an off state to an on state; acquiring a first fuel level difference value corresponding to the first travel segment; if the first fuel level difference value is greater than or equal to a target threshold, acquiring a second travel segment based on the ignition switch signal; the second travel segment being the travel segment corresponding to the ignition switch switching from an on state to an off state; acquiring a second fuel level difference value and a fuel consumption value corresponding to the second travel segment; and detecting the fuel usage status of the target vehicle based on the second fuel level difference value and the fuel consumption value.

[0118] In one embodiment, the computer program, when executed by a processor, involves obtaining a first fuel level difference corresponding to a first travel segment, including: for the first travel segment, obtaining a first fuel level value of the target vehicle when the ignition switch is in the off state; obtaining a second fuel level value of the target vehicle when the ignition switch is in the on state; and obtaining the difference between the first fuel level value and the second fuel level value to obtain the first fuel level difference corresponding to the first travel segment.

[0119] In one embodiment, the step of obtaining the second fuel level difference corresponding to the second stroke segment when the computer program is executed by the processor includes: for the second stroke segment, obtaining a third fuel level value of the target vehicle when the ignition switch is in the on state; obtaining a fourth fuel level value of the target vehicle when the ignition switch is in the off state; obtaining the difference between the third fuel level value and the fourth fuel level value to obtain the second fuel level difference corresponding to the second stroke segment.

[0120] In one embodiment, the step of obtaining the fuel consumption value corresponding to the second travel segment when the computer program is executed by the processor includes: obtaining the instantaneous fuel consumption of the target vehicle; and calculating the fuel consumption value of the target vehicle within the second travel segment based on the instantaneous fuel consumption.

[0121] In one embodiment, when the computer program is executed by the processor, it involves detecting the fuel usage status of a target vehicle based on a second fuel level difference and a fuel consumption value. This includes: if the ratio of the second fuel level difference to the fuel consumption value meets a first threshold range condition and the instantaneous fuel consumption meets a second threshold range condition, determining that the target vehicle's fuel usage status is a leaking state, and sending a leaking alarm message to the cloud to instruct management personnel to check the fuel tank status of the target vehicle; if the ratio of the second fuel level difference to the fuel consumption value meets the first threshold range condition but the instantaneous fuel consumption does not meet the second threshold range condition, determining that the target vehicle's fuel usage status is a fuel theft state, and sending a fuel theft alarm message to the cloud to instruct management personnel to monitor the target vehicle.

[0122] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: when the first fuel level difference is greater than or equal to zero and the first fuel level difference is less than a target threshold, it determines that the fuel usage status of the target vehicle is normal; when the first fuel level difference is less than zero, it determines that the fuel usage status of the target vehicle is refueling, and sends a refueling information prompt to the cloud to instruct the management personnel to verify the location information of the target vehicle.

[0123] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0124] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0125] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for detecting oil usage status, characterized in that, The method includes: Obtain the ignition switch signal of the target vehicle; The first travel segment is obtained based on the ignition switch signal; the first travel segment is the travel segment corresponding to the ignition switch switching from the off state to the on state. Obtain the first fuel level difference value corresponding to the first stroke segment; If the first fuel level difference is greater than or equal to the target threshold, the second stroke segment is obtained according to the ignition switch signal; the second stroke segment is the stroke segment corresponding to the ignition switch switching from the on state to the off state. Obtain the second fuel level difference and fuel consumption value corresponding to the second stroke segment; The fuel usage status of the target vehicle is detected based on the second fuel level difference and the fuel consumption value. Specifically, obtaining the first fuel level difference value corresponding to the first stroke segment includes: For the first stroke segment, when the ignition switch is in the off state, the first fuel level value of the target vehicle is obtained; With the ignition switch in the ON state, the second fuel level value of the target vehicle is obtained; The difference between the first fuel level value and the second fuel level value is obtained to obtain the first fuel level difference value corresponding to the first stroke segment; The step of obtaining the second fuel level difference value corresponding to the second stroke segment includes: For the second stroke segment, when the ignition switch is in the on state, the third fuel level value of the target vehicle is obtained; With the ignition switch in the off state, obtain the fourth fuel level value of the target vehicle; The difference between the third fuel level value and the fourth fuel level value is obtained to obtain the second fuel level difference value corresponding to the second stroke segment; The step of obtaining the fuel consumption value corresponding to the second travel segment includes: Obtain the instantaneous fuel consumption of the target vehicle; Based on the instantaneous fuel consumption, the fuel consumption value of the target vehicle during the second travel segment is calculated; The step of detecting the fuel usage status of the target vehicle based on the second fuel level difference and the fuel consumption value specifically includes: If the ratio of the second fuel level difference to the fuel consumption value meets the first threshold range condition and the instantaneous fuel consumption meets the second threshold range condition, the fuel usage status of the target vehicle is determined to be a leaking state, and a leaking alarm message is sent to the cloud to instruct the management personnel to check the fuel tank status of the target vehicle. If the ratio of the second fuel level difference to the fuel consumption value meets the first threshold range condition and the instantaneous fuel consumption does not meet the second threshold range condition, the fuel usage status of the target vehicle is determined to be fuel theft, and a fuel theft alarm message is sent to the cloud to instruct the management personnel to monitor the target vehicle. If the first fuel level difference is greater than or equal to zero and the first fuel level difference is less than the target threshold, the fuel usage status of the target vehicle is determined to be normal. If the first fuel level difference is less than zero, the target vehicle's fuel usage status is determined to be refueling status, and a refueling information prompt is sent to the cloud to instruct the administrator to verify the target vehicle's location information.

2. A device for detecting oil usage status, characterized in that, Applied to the oil usage status detection method as described in claim 1; the device comprises: The switch signal acquisition module is used to acquire the ignition switch signal of the target vehicle. The first stroke acquisition module is used to acquire a first stroke segment based on the ignition switch signal; the first stroke segment is the stroke segment corresponding to the ignition switch switching from the off state to the on state; The first liquid level acquisition module is used to acquire the first fuel liquid level difference corresponding to the first stroke segment; The second stroke acquisition module is used to acquire a second stroke segment based on the ignition switch signal when the first fuel level difference is greater than or equal to a target threshold; the second stroke segment is the stroke segment corresponding to the ignition switch switching from the on state to the off state. The second liquid level acquisition module is used to acquire the second fuel liquid level difference and fuel consumption value corresponding to the second stroke segment; The status detection module is used to detect the fuel usage status of the target vehicle based on the second fuel level difference and the fuel consumption value.

3. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method of claim 1.

4. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method of claim 1.

5. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method of claim 1.

Citation Information

Patent Citations

  • Remaining fuel display device

    CN107020947A

  • Vehicle fuel oil liquid level measuring method and device, and readable storage medium

    CN111486925A