Vehicle refueling monitoring method and device and electronic equipment
By installing an image acquisition device in the fuel tank, video shooting and storage of refueling videos, the problem of difficulty in verifying the amount of fuel during vehicle refueling is solved, and effective evidence is provided to protect the interests of car owners.
Patent Information
- Application Number
- CN202510438204.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-08
- Publication Date
- 2025-07-11
AI Technical Summary
During the refueling of a vehicle, it is difficult for the owner to accurately verify the amount of fuel, resulting in a lack of weight in refueling and a lack of effective evidence to protect the interests of the owner.
By installing an image acquisition device in the fuel tank, the video captures the oil scale and saves the refueling video when the fuel tank cover is closed, providing evidence to protect the rights and interests of the vehicle owner.
Accurately sense the amount of oil, provide evidence of refueling video, reduce losses of car owners, and protect the interests of car owners.
Smart Images

Figure CN120302010A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of fueling monitoring, and more particularly, to a method, apparatus, and electronic device for monitoring vehicle fueling. Background Art
[0002] With the improvement of people's living standards, the use of vehicles is becoming more and more common, and disputes arising from vehicles are also increasing. For example, during the vehicle fueling process, disputes occur due to oil theft and leakage. Based on this, in related technologies, there is a challenge of monitoring vehicle fueling to protect the interests of vehicle owners. Summary of the Invention
[0003] In view of this, embodiments of the present application propose a method, apparatus, and electronic device for monitoring vehicle fueling to improve the above problems.
[0004] In a first aspect, an embodiment of the present application provides a method for monitoring vehicle fueling. The method includes: if it is detected that the fuel tank lid of the vehicle is opened, a video camera located in the fuel tank of the vehicle is used to take a video of the fuel level scale in the fuel tank; if it is detected that the fuel tank lid is closed, the video shooting is stopped, and the fueling video obtained from this shooting is stored.
[0005] In a second aspect, an embodiment of the present application provides a device for monitoring vehicle fueling. The device includes: a video shooting module and a video storage module. Among them, the video shooting module is used to, if it is detected that the fuel tank lid of the vehicle is opened, use an image acquisition device located in the fuel tank of the vehicle to take a video of the fuel level scale in the fuel tank;
[0006] The video storage module is used to, if it is detected that the fuel tank lid is closed, stop the video shooting and store the fueling video obtained from this shooting.
[0007] In a third aspect, an embodiment of the present application provides an electronic device, including a memory and a processor. The memory is coupled to the processor, and the memory stores instructions. When the instructions are executed by the processor, the processor executes the above method.
[0008] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium. Program code is stored in the computer-readable storage medium, and the program code can be called by a processor to execute the above method.
[0009] In the solution of this application, if it is detected that the fuel tank cap of the vehicle is opened, a video camera in the fuel tank of the vehicle is used to take a video of the fuel level scale in the fuel tank; if it is detected that the fuel tank cap is closed, the video shooting is stopped, and the refueling video obtained from this shooting is stored. Thus, during the refueling process of the vehicle, a video of the fuel level scale in the fuel tank is taken, the refueling video is obtained and saved, enabling the user to accurately perceive the fuel quantity while using the refueling video as evidence for rights protection, reducing the losses caused by short-weight refueling when the vehicle owner refuels, and safeguarding the rights and interests of the user. Brief Description of the Drawings
[0010] To more clearly illustrate the technical solutions in the embodiments of this application, the following briefly introduces the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of this application. For those skilled in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0011] Figure 1 Shows a flowchart of the vehicle refueling monitoring method provided by an embodiment of this application;
[0012] Figure 2 Shows a structural block diagram of an electronic device provided by an embodiment of this application;
[0013] Figure 3 Shows a flowchart of the vehicle refueling monitoring method provided by an embodiment of this application;
[0014] Figure 4 Shows a flowchart of the vehicle refueling monitoring method provided by an embodiment of this application;
[0015] Figure 5 Shows a flowchart of the vehicle refueling monitoring method provided by an embodiment of this application;
[0016] Figure 6 Shows a module block diagram of the vehicle refueling monitoring device provided by an embodiment of this application;
[0017] Figure 7 Shows a block diagram of the electronic device for executing the vehicle refueling monitoring method according to the embodiment of this application;
[0018] Figure 8 Shows a storage unit for saving or carrying the program code for implementing the vehicle refueling monitoring method according to the embodiment of this application. Detailed Description of the Embodiments
[0019] To enable those skilled in the art to better understand the solution of this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of this application.
[0020] In the related art, when a vehicle is refueled, the vehicle often only displays the approximate fuel level and the remaining driving range, and the vehicle owner cannot verify it repeatedly by himself. Therefore, the gas station can claim any amount of fuel added, and it is very difficult to detect the problem of "shortweight" in refueling. Currently, a solution has been proposed to install an inlet pipe at the fuel tank inlet, with a liquid flow rate sensor attached to the inlet pipe, and calculate the refueling amount through the data of the sensor. Although this solution can detect the amount of fuel, it is difficult to obtain evidence. The vehicle owner has no means to verify the refueling of the vehicle. When a dispute occurs, even if the vehicle owner knows that there is a shortweight, he lacks substantial evidence and cannot avoid damage to his economic interests. Therefore, in the related art, there is a challenge in monitoring vehicle refueling and protecting the interests of vehicle owners.
[0021] In view of the above problems, through long-term research, the inventor has proposed a vehicle refueling monitoring method, device, and electronic device provided in the embodiments of this application. By taking a video of the fuel level scale in the fuel tank during vehicle refueling, obtaining and saving the refueling video, the user can accurately perceive the fuel amount and use the refueling video as evidence to safeguard their rights, reducing the losses caused by shortweight in vehicle refueling and protecting the rights and interests of users. Among them, the specific vehicle refueling monitoring method will be described in detail in the subsequent embodiments.
[0022] The embodiments of this application will be described below in conjunction with the accompanying drawings.
[0023] Please refer to Figure 1 , Figure 1 which shows a schematic flowchart of a vehicle refueling monitoring method provided in an embodiment of this application. In a specific embodiment, the vehicle refueling monitoring method can be applied to a vehicle refueling monitoring device 200 as shown in Figure 6 and an electronic device 100 configured with the vehicle refueling monitoring device 200 ( Figure 7 ). The following will take the electronic device as an example to illustrate the specific process of this embodiment. Of course, it can be understood that the electronic device to which this embodiment is applied can include devices such as vehicles, robots, in-vehicle terminals, and fuel engines, which are not limited here. The following will elaborate on the process shown in Figure 1 . The vehicle refueling monitoring method can specifically include the following steps:
[0024] Step S110: If it is detected that the fuel tank cap of the vehicle is opened, the fuel level scale in the fuel tank is video-recorded by an image acquisition device located in the fuel tank of the vehicle.
[0025] In some embodiments, the electronic device can be disposed on a vehicle (hereinafter referred to as "this vehicle" in the following description). The electronic device can include a power module, and the power module can include a power supply battery (such as, lithium-ion battery, lithium iron phosphate battery, lead-acid battery, etc.); wherein, this vehicle can also supply power to the electronic device, and the vehicle can charge the electronic device when powered on. The power module can supply power to the electronic device to monitor the refueling of the vehicle by the electronic device.
[0026] The electronic device can include a fuel tank cap switch sensor, such as, reed switch sensor, potentiometer sensor, vibration sensor, etc. The electronic device can detect the opening and closing state of the fuel tank cap of this vehicle through the fuel tank cap switch sensor.
[0027] In this embodiment, the electronic device can further include an image acquisition device located in the fuel tank of this vehicle, such as, camera, vision sensor, etc. The electronic device can control the working state of the image acquisition device according to the opening and closing state of the fuel tank cap of this vehicle detected by the fuel tank cap switch sensor. Exemplarily, if it is detected that the fuel tank cap of this vehicle is closed, the image acquisition device can be controlled to be in a sleep state; if it is detected that the fuel tank cap of this vehicle is opened, the image acquisition device can be controlled to be in a wake-up state. When the image acquisition device is in the wake-up state, it can take a video of the fuel level scale in the fuel tank of this vehicle.
[0028] Exemplarily, please refer to Figure 2 , which shows the structural block diagram of the electronic device provided in an embodiment of the present application. The electronic device can include a fuel tank cap switch sensor, an image acquisition device, a fuel tank level gauge, a wifi module, and a video data storage module. The image acquisition device can be a night vision camera and is disposed on the fuel tank body. The electronic device can start the night vision camera when it detects that the fuel tank cap is opened through the fuel tank cap switch sensor, and take a video of the fuel level scale in the fuel tank through the night vision camera. During the process that the electronic device continuously takes a video of the fuel level scale in the fuel tank through the night vision camera, if it detects that the fuel tank cap is closed through the fuel tank cap switch sensor, it can turn off the night vision camera, stop the video shooting, and can store the refueling video obtained in this shooting into the video data storage module. The electronic device can also send the refueling video to the mobile phone through the wifi module when it detects that the mobile phone is connected to the wifi module, so that the user can view the video of this refueling through the mobile phone and verify the refueling amount of this refueling. Thus, the image acquisition device is triggered to start based on the signal of the fuel tank cap opening output by the fuel tank cap sensor, without starting monitoring throughout the process, saving the storage space of the video.
[0029] Step S120: If it is detected that the fuel tank cap is closed, stop video shooting and store the refueling video obtained from this shooting.
[0030] In some embodiments, during the process of the electronic device shooting the fuel level scale in the fuel tank of the vehicle through the image acquisition device, if it is detected by the fuel tank cap switch sensor that the fuel tank cap is closed, the electronic device can control the image acquisition device to stop video shooting and can store the refueling video obtained from this shooting. It can be understood that the detection by the fuel tank cap switch sensor that the fuel tank cap is closed can indicate that the vehicle has completed refueling. Thus, the electronic device can trigger the image acquisition device to stop video shooting after refueling is completed, without starting monitoring throughout the process, saving the storage space of the video.
[0031] In some embodiments, a storage unit can be provided in the electronic device. Correspondingly, the electronic device can store the refueling video obtained from this shooting in this storage unit. Optionally, before storing the refueling video obtained from this shooting in this storage unit, the electronic device can detect the storage space of the storage unit. If the size of this storage space is less than the preset space, the video with the longest storage duration stored in this storage unit can be deleted until the storage space of this storage unit is greater than or equal to the preset space to ensure the integrity of the saved refueling video.
[0032] Optionally, after the electronic device obtains the refueling video obtained from this shooting, it can perform compression processing on this refueling video and store the compressed refueling video, saving the storage space of the video.
[0033] It can be understood that the electronic device stores the refueling video obtained from this shooting, enabling the user to accurately review the refueling volume of this refueling based on this refueling video, obtain the actual refueling volume, and can obtain an evidentiary video of refueling to form an evidence chain, effectively safeguarding the user's rights and interests.
[0034] The vehicle refueling monitoring method provided by an embodiment of this application shoots a video of the fuel level scale in the fuel tank by the image acquisition device located in the fuel tank of the vehicle if it is detected that the fuel tank cap of the vehicle is opened; if it is detected that the fuel tank cap is closed, stop video shooting and store the refueling video obtained from this shooting, thereby shooting a video of the fuel level scale in the fuel tank during the vehicle refueling process, obtaining and saving the refueling video, enabling the user to accurately perceive the fuel volume while using the refueling video as evidence for rights protection, reducing the losses caused by short-weight refueling when the vehicle owner refuels, and safeguarding the rights and interests of the user.
[0035] Please refer to Figure 3 , Figure 3The flowchart shows the monitoring method for vehicle refueling provided by an embodiment of the present application. This method is applied to the above-mentioned electronic device. Next, a detailed description will be given for Figure 3 the process shown below. The monitoring method for vehicle refueling may specifically include the following steps:
[0036] Step S210: If it is detected that the fuel tank cap of the vehicle is opened, a video of the fuel level scale in the fuel tank is taken by an image acquisition device located in the fuel tank of the vehicle.
[0037] For the specific description of step S210, please refer to the description of step S110 above and will not be elaborated here in detail.
[0038] Step S220: If it is detected that the fuel tank cap is closed, stop the video shooting and obtain the refueling video obtained from this shooting.
[0039] In some embodiments, the electronic device can, when detecting that the fuel tank cap of the vehicle is opened, take a video of the fuel level scale in the fuel tank by an image acquisition device located in the fuel tank of the vehicle, and can, when detecting that the fuel tank cap of the vehicle is closed, stop the video shooting and obtain the refueling video obtained from this shooting.
[0040] Step S230: Determine the refueling amount for this time according to the refueling video.
[0041] In some embodiments, the electronic device can, after obtaining the refueling video obtained from this shooting, determine the refueling amount for this time according to the refueling video. Among them, the electronic device can determine the refueling amount for this refueling according to the change in the fuel level scale in the refueling video.
[0042] As an implementable way, the electronic device can obtain the fuel level scale in the initial frame image of the refueling video as the first fuel level scale, and can obtain the fuel level scale in the end frame image of the refueling video as the second fuel level scale, and can determine the refueling amount for this time according to the first fuel level scale and the second fuel level scale. Among them, the first fuel level scale can be understood as the fuel level scale before refueling, and the second fuel level scale can be understood as the fuel level scale after refueling; among them, the electronic device can determine the difference between the second fuel level scale minus the first fuel level scale as the refueling amount for this time, so as to accurately obtain the refueling amount.
[0043] Step S240: After associating the refueling amount with the refueling video, store them.
[0044] In some embodiments, after the electronic device obtains the fueling volume and the fueling video of the current fueling, it may associate the fueling volume with the fueling video and then store them. Among them, the ways of associating the fueling volume with the fueling video include, but are not limited to, naming the fueling video based on the fueling volume and labeling the fueling volume in the fueling video obtained by this shooting. Thereby enabling the user to directly perceive the fueling volume of the current fueling, while providing a video evidence chain for vehicle fueling monitoring and improving the user experience.
[0045] The vehicle fueling monitoring method provided by an embodiment of the present application, compared with Figure 1 the vehicle fueling monitoring method shown, this embodiment can also determine the fueling volume of this time according to the fueling video; associate the fueling volume with the fueling video and then store them, so as to save the fueling volume of this time while saving the video monitoring of vehicle fueling, improving the speed at which the user obtains the fueling volume and improving the user experience.
[0046] Please refer to Figure 4 , Figure 4 which shows a schematic flowchart of the vehicle fueling monitoring method provided by an embodiment of the present application. This method is applied to the above-mentioned electronic device, and the following will elaborate on the Figure 4 shown process in detail. The vehicle fueling monitoring method may specifically include the following steps:
[0047] Step S301: If it is detected that the fuel tank lid of the vehicle is opened, the fuel level scale in the fuel tank is video-shot by an image acquisition device located in the fuel tank of the vehicle.
[0048] Among them, for the specific description of step S301, please refer to the description of step S110 above and will not be elaborated in detail here.
[0049] Step S302: If it is detected that the fuel tank lid is closed, stop the video shooting and obtain the fueling video obtained by this shooting.
[0050] Among them, for the specific description of step S302, please refer to the description of step S220 above and will not be elaborated in detail here.
[0051] Step S303: Obtain the location information of the vehicle's current location.
[0052] In some embodiments, the electronic device may include a positioning device, such as a Global Positioning System (GPS), an Inertial Navigation System (INS), a Light Detection and Ranging (LiDAR), etc. Among them, when the electronic device performs video shooting on the fuel level scale in the fuel tank of the vehicle through an image acquisition device located in the fuel tank of the vehicle, the electronic device may obtain the current position information of the vehicle through the positioning device. Herein, the geographical location may include the geographical coordinates where the vehicle is located, the city where the vehicle is located, the gas station where the vehicle is located, etc., which is not limited herein.
[0053] Step S304: Mark the position information in the refueling video obtained from this shooting.
[0054] In some embodiments, after obtaining the current position information of the vehicle during the process of the electronic device performing video shooting on the fuel level scale in the fuel tank of the vehicle through an image acquisition device located in the fuel tank of the vehicle, the electronic device may associate the position information with the refueling video obtained from this shooting and then store it.
[0055] Optionally, the manner of associating the position information with the refueling video may include naming the refueling video based on the position information, or marking the position information in the refueling video obtained from this shooting, which is not limited herein. Exemplarily, the electronic device may mark the position information in the refueling video obtained from this shooting in the form of watermark annotation; the electronic device may also mark the position information in the refueling video obtained from this shooting in the form of bounding box annotation. In this embodiment, the manner of marking the position information in the refueling video obtained from this shooting is not limited herein.
[0056] It can be understood that the electronic device marks the position information in the refueling video obtained from this shooting, enabling the user to obtain the position information of this refueling while obtaining the refueling video as evidence for safeguarding rights, improving the reliability and effectiveness of the evidence, and enhancing the effectiveness of safeguarding rights.
[0057] Step S305: Mark the shooting time of the video shooting in the refueling video obtained from this shooting.
[0058] In some embodiments, during the process of the electronic device performing video shooting on the fuel level scale in the fuel tank of the vehicle through an image acquisition device located in the fuel tank of the vehicle, the electronic device may mark the shooting time of the video shooting in the refueling video obtained from this shooting and then store it. Among them, the electronic device may include a timer, and the electronic device may obtain the shooting time of the video shooting based on this timer; optionally, the electronic device may also obtain the shooting time of the video shooting from an associated cloud or electronic device. In this embodiment, the manner of obtaining the shooting time of the video shooting is not limited herein. Herein, the shooting time of the video shooting may include time data such as date and moment.
[0059] Among them, the electronic device can mark the shooting time of the video shooting on the refueling video obtained from this shooting in the form of watermark annotation; the electronic device can also mark the shooting time of the video shooting on the refueling video obtained from this shooting in the form of bounding box annotation. The electronic device can also mark the shooting time of the video shooting on the refueling video obtained from this shooting in the way of timeline annotation. In this embodiment, the method of marking the shooting time of the video shooting on the refueling video obtained from this shooting is not limited herein.
[0060] Among them, it can be understood that the electronic device marks the shooting time of the video shooting on the refueling video obtained from this shooting, so that when the user obtains the refueling video as evidence for rights protection, the user can obtain the time information of this refueling, which improves the reliability and effectiveness of the evidence and improves the effectiveness of rights protection.
[0061] Step S306: Collect the environmental image of the environment where the vehicle is located.
[0062] In some embodiments, the electronic device may further include a camera disposed on the outer shell of the vehicle. For example, the camera may be located at the fuel tank cap, and the camera may be located at the vehicle's rearview mirror, etc., which is not limited herein. Among them, the camera can be used to collect the environmental image of the environment where the vehicle is located. Among them, the electronic device can turn on the camera to collect the environmental image of the environment where the vehicle is located during the process of shooting the fuel level scale in the fuel tank of the vehicle through the image acquisition device located in the fuel tank of the vehicle. Optionally, the electronic device can also turn off the camera when detecting that the fuel tank cap of the vehicle is closed.
[0063] Among them, the environmental image of the environment where the vehicle is located may include the image that can be collected by the camera. Among them, the content in the environmental image includes but is not limited to the weather condition of the environment where the vehicle is located, the fuel dispenser refueling the vehicle, the staff of the gas station, the relationship between various objects, etc.
[0064] Step S307: Determine the fuel dispenser number corresponding to the refueling of the vehicle according to the environmental image.
[0065] In some embodiments, after the electronic device obtains the environmental image of the environment where the vehicle is located, it can determine the fuel dispenser number corresponding to the refueling of the vehicle according to the environmental image. Among them, the electronic device can identify the fuel dispenser in the environmental image, and can obtain the fuel dispenser connected to the vehicle from the identified fuel dispensers as the fuel dispenser refueling the vehicle, and can identify the number of the fuel dispenser from the environmental image as the fuel dispenser number corresponding to the refueling of the vehicle.
[0066] Step S308: Mark the fuel dispenser number on the refueling video obtained from this shooting.
[0067] In some embodiments, during the process of the electronic device taking a video of the fuel level scale in the fuel tank of the vehicle, the fuel dispenser number corresponding to the refueling of the vehicle determined according to the environmental image of the environment where the vehicle is located can be marked on the refueling video obtained from this shooting and stored.
[0068] Among them, the electronic device can mark the fuel dispenser number corresponding to the refueling of the vehicle on the refueling video obtained from this shooting in the form of watermark annotation; the electronic device can also mark the fuel dispenser number corresponding to the refueling of the vehicle on the refueling video obtained from this shooting in the form of bounding box annotation. In this embodiment, the method of marking the fuel dispenser number corresponding to the refueling of the vehicle on the refueling video obtained from this shooting is not limited herein.
[0069] Among them, it can be understood that the electronic device marks the fuel dispenser number corresponding to the refueling of the vehicle on the refueling video obtained from this shooting, so that when the user obtains the refueling video as evidence for rights protection, the fuel dispenser number corresponding to this refueling can be obtained, which improves the reliability and effectiveness of the evidence and the effectiveness of rights protection.
[0070] Step S309: Store the refueling video obtained from this shooting.
[0071] In some embodiments, after the electronic device obtains the refueling video obtained from this shooting, the refueling video can be stored. Optionally, the electronic device can mark the fuel quantity of this refueling on the refueling video obtained from this shooting and store it, or mark the location information of the vehicle's current location on the refueling video obtained from this shooting and store it, or mark the shooting time of the video shooting on the refueling video obtained from this shooting and store it, or store the fuel dispenser number corresponding to the refueling of the vehicle marked on the refueling video obtained from this shooting. Thus, while storing the refueling video as evidence for rights protection, the electronic device can quickly and accurately review the fuel quantity, obtain the gas station where the refueling occurs, and the fuel dispenser corresponding to the refueling, which improves the effectiveness of the evidence and protects the interests of the user.
[0072] Optionally, the electronic device can send the refueling video to an associated cloud or store it in the electronic device. Exemplarily, the electronic device can transfer the refueling video to the vehicle's storage when detecting that the vehicle is powered on to save the storage resources of the electronic device.
[0073] Step S310: Send the refueling video to the electronic device when wirelessly connected to the electronic device.
[0074] In some embodiments, the electronic device can be wirelessly connected to an associated electronic device or the cloud. Exemplarily, the electronic devices wirelessly connected to the electronic device can be electronic devices such as mobile phones, vehicles, computers, servers, etc. Among them, the wireless connection methods can include Wi-Fi connection, Bluetooth connection, ZigBee connection, etc., which are not limited herein.
[0075] Among them, when the electronic device is wirelessly connected to an electronic device, it can send the stored refueling video of this refueling to the wirelessly connected electronic device for the user to view the refueling video based on this wirelessly connected electronic device. Optionally, the electronic device can also, when receiving an export instruction sent by the wirelessly connected electronic device, in response to this instruction, send the stored refueling video of this refueling to this wirelessly connected electronic device.
[0076] In some embodiments, the refueling video can be stored after being associated with the refueling volume. Correspondingly, when the electronic device sends the refueling video to the wirelessly connected electronic device, it can send this refueling video and the associated refueling volume to the wirelessly connected electronic device. Optionally, the refueling video stored in the electronic device can be marked with information such as the refueling position of this vehicle, the fuel dispenser number for refueling, the time when the refueling video was taken, etc.; correspondingly, the user can export this refueling video based on the electronic device wirelessly connected to the electronic device to view information such as the refueling video, position information, fuel dispenser number, video shooting time, etc., so as to monitor the refueling of this vehicle and protect their own interests.
[0077] Exemplarily, please refer to Figure 2 and Figure 5 . Figure 5 shows a schematic flowchart of a method for monitoring vehicle refueling provided by an embodiment of the present application. Among them, after obtaining the refueling video of this refueling, the electronic device can obtain the fuel volume scale in the initial frame image of the refueling video as the first fuel volume scale, and can obtain the fuel volume scale in the end frame image of the refueling video as the second fuel volume scale, and can determine the refueling volume of this time according to this first fuel volume scale and this second fuel volume scale. The electronic device can also associate the refueling volume with this refueling video and store it in the video data storage module, and can, when detecting that the mobile phone is connected to the Wi-Fi module, send this refueling video and refueling volume to this mobile phone through this Wi-Fi module, so that the user can accurately and quickly perceive the refueling volume of this refueling while obtaining the refueling video as evidence for rights protection, reducing the losses caused by short-weight refueling when the vehicle owner refuels and safeguarding the rights and interests of the user.
[0078] The method for monitoring vehicle refueling provided by an embodiment of the present application, compared with Figure 1The vehicle refueling monitoring method shown in the figure. In this embodiment, before storing the refueling video obtained in this shooting, the position information of the vehicle at the current location can be obtained; the position information is marked on the refueling video obtained in this shooting, so that when the user obtains the refueling video as evidence for rights protection, the position information of this refueling is obtained, improving the reliability and effectiveness of the evidence and the effectiveness of rights protection. At the same time, in this embodiment, before storing the refueling video obtained in this shooting, the shooting time of the video shooting can be marked on the refueling video obtained in this shooting, so that when the user obtains the refueling video as evidence for rights protection, the time information of this refueling is obtained, improving the reliability and effectiveness of the evidence and the effectiveness of rights protection. At the same time, in this embodiment, before storing the refueling video obtained in this shooting, the environmental image of the vehicle's location can be collected; the fuel dispenser number corresponding to the vehicle's refueling is determined according to the environmental image; the fuel dispenser number is marked on the refueling video obtained in this shooting, so that when the user obtains the refueling video as evidence for rights protection, the fuel dispenser number corresponding to this refueling is obtained, improving the reliability and effectiveness of the evidence and the effectiveness of rights protection. In addition, in this embodiment, if it is detected that the fuel tank cap is closed, video shooting is stopped, and after storing the refueling video obtained in this shooting, in the case of wireless connection with the electronic device, the refueling video is sent to the electronic device, so that the user can export the refueling video for viewing based on the electronic device wirelessly connected to the electronic device, realizing the monitoring of the vehicle's refueling, protecting their own interests, and improving the user experience.
[0079] Please refer to Figure 6 , Figure 6 shows a block diagram of a vehicle refueling monitoring device provided by an embodiment of the present application. The vehicle refueling monitoring device 200 is applied to the above-mentioned electronic device. The following will elaborate in detail on Figure 6 the process shown in the figure. The vehicle refueling monitoring device 200 includes: a video shooting module 210 and a video storage module 220, where:
[0080] The video shooting module 210 is configured to, if it is detected that the fuel tank cap of the vehicle is opened, perform video shooting on the fuel level scale in the fuel tank through an image acquisition device located in the fuel tank of the vehicle.
[0081] The video storage module 220 is configured to, if it is detected that the fuel tank cap is closed, stop video shooting and store the refueling video obtained in this shooting.
[0082] Further, the video storage module 220 may include: a fuel quantity determination unit and a video storage sub-unit, where:
[0083] A fuel quantity determination unit for determining the fuel quantity of this time according to the refueling video.
[0084] A video storage subunit for storing the fuel quantity after associating it with the refueling video.
[0085] Further, the fuel quantity determination unit may include: a first fuel level acquisition unit, a second fuel level acquisition unit, and a fuel quantity determination subunit, where:
[0086] The first fuel level acquisition unit for acquiring the fuel level in the initial frame image of the refueling video as the first fuel level.
[0087] The second fuel level acquisition unit for acquiring the fuel level in the end frame image of the refueling video as the second fuel level.
[0088] The fuel quantity determination subunit for determining the fuel quantity of this time according to the first fuel level and the second fuel level.
[0089] Further, before storing the refueling video obtained by this shooting, the vehicle refueling monitoring device 200 may further include: a location information acquisition unit and a location annotation unit, where:
[0090] The location information acquisition unit for acquiring the location information of the vehicle at the current location.
[0091] The location annotation unit for annotating the location information to the refueling video obtained by this shooting.
[0092] Further, before storing the refueling video obtained by this shooting, the vehicle refueling monitoring device 200 may further include: a time annotation unit, where:
[0093] The time annotation unit for annotating the shooting time of the video shooting to the refueling video obtained by this shooting.
[0094] Further, before storing the refueling video obtained by this shooting, the vehicle refueling monitoring device 200 may further include: an environmental image acquisition unit, a fuel dispenser number determination unit, and a fuel dispenser number annotation unit, where:
[0095] The environmental image acquisition unit for acquiring the environmental image of the environment where the vehicle is located.
[0096] The fuel dispenser number determination unit for determining the fuel dispenser number corresponding to the vehicle refueling according to the environmental image.
[0097] The fuel dispenser number annotation unit for annotating the fuel dispenser number to the refueling video obtained by this shooting.
[0098] Further, after detecting that the fuel tank cap is closed, stopping video shooting, and storing the refueling video obtained from this shooting, the vehicle refueling monitoring device 200 may further include: a video sending unit, where:
[0099] The video sending unit is configured to send the refueling video to the electronic device when wirelessly connected to the electronic device.
[0100] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein.
[0101] In several embodiments provided by the present application, the coupling between modules may be electrical, mechanical, or other forms of coupling.
[0102] In addition, in each embodiment of the present application, the various functional modules may be integrated in one processing module, or each module may exist physically alone, or two or more modules may be integrated in one module. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of software functional modules.
[0103] Please refer to Figure 7 , which shows a structural block diagram of an electronic device provided by an embodiment of the present application. The electronic device 100 may be an in-vehicle terminal, a gasoline vehicle, a robot, an intelligent transportation device, or other electronic devices with processing capabilities. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more application programs, where one or more application programs may be stored in the memory 120 and configured to be executed by one or more processors 110, and one or more programs are configured to execute the methods described in the foregoing method embodiments.
[0104] Among them, the processor 110 may include one or more processing cores. The processor 110 is connected to various parts within the entire vehicle 100 through various interfaces and lines. By running or executing instructions, programs, code sets, or instruction sets stored in the memory 120, and by calling the data stored in the memory 120, it performs various functions of the electronic device 100 and processes data. Optionally, the processor 110 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), or programmable logic array (PLA). The processor 110 may integrate a combination of one or several of a central processing unit (CPU), a graphics processing unit (GPU), and a modem, etc. Among them, the CPU mainly processes the operating system, user interface, application programs, etc.; the GPU is responsible for the rendering and drawing of the content to be displayed; the modem is used to process wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 110 and may be implemented separately through a communication chip.
[0105] The memory 120 may include random access memory (RAM) and may also include read-only memory. The memory 120 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 120 may include a program storage area and a data storage area. Among them, the program storage area may store instructions for implementing the operating system, instructions for implementing at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store the data created during the use of the electronic device 100 (such as phone book, audio and video data, chat record data, etc.).
[0106] Please refer to Figure 8 , which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. Program code is stored in the computer-readable medium 300, and the program code can be called by the processor to execute the methods described in the above method embodiments.
[0107] The computer-readable storage medium 300 may be an electronic memory such as a flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, a hard disk, or a ROM. Optionally, the computer-readable storage medium 300 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 300 has a storage space for program code 310 that executes any of the method steps in the above-described methods. These program codes may be read out from or written into one or more computer program products. The program code 310 may be compressed in a suitable form, for example.
[0108] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A monitoring method for vehicle refueling, characterized in that, The method includes: If it is detected that the fuel tank cap of the vehicle is open, a video is taken of the fuel level scale in the fuel tank through an image acquisition device located in the fuel tank of the vehicle; If it is detected that the fuel tank cap is closed, the video shooting is stopped, and the refueling video obtained from this shooting is stored.
2. The method according to claim 1, wherein The storing of the refueling video obtained from this shooting includes: Determining the refueling volume for this time based on the refueling video; Associating the refueling volume with the refueling video and then storing it.
3. The method according to claim 2, wherein The determining of the refueling volume for this time based on the refueling video includes: Obtaining the fuel level scale in the initial frame image of the refueling video as the first fuel level scale; Obtaining the fuel level scale in the ending frame image of the refueling video as the second fuel level scale; Determining the refueling volume for this time based on the first fuel level scale and the second fuel level scale.
4. The method according to any one of claims 1 to 3, characterized in that Before the storing of the refueling video obtained from this shooting, the method further includes: Obtaining the location information of the vehicle at the current time; Annotating the location information to the refueling video obtained from this shooting.
5. The method according to any one of claims 1 to 3, characterized in that, Before the storing of the refueling video obtained from this shooting, it further includes: Annotating the shooting time of the video shooting to the refueling video obtained from this shooting.
6. The method according to any one of claims 1 to 3, characterized in that Before the storing of the refueling video obtained from this shooting, the method further includes: Collecting the environmental image of the environment where the vehicle is located; Determining the fuel dispenser number corresponding to the vehicle refueling based on the environmental image; Annotating the fuel dispenser number to the refueling video obtained from this shooting.
7. The method according to any one of claims 1 to 3, characterized in that, After the step of if it is detected that the fuel tank cap is closed, the video shooting is stopped, and the refueling video obtained from this shooting is stored, it further includes: When wirelessly connected to an electronic device, sending the refueling video to the electronic device.
8. A monitoring device for vehicle refueling, characterized in that, The device includes: A video shooting module, configured to, if it is detected that the fuel tank cap of the vehicle is open, take a video of the fuel level scale in the fuel tank through an image acquisition device located in the fuel tank of the vehicle; A video storage module, configured to, if it is detected that the fuel tank cap is closed, stop the video shooting, and store the refueling video obtained from this shooting.
9. An electronic device, characterized in that, It includes: One or more processors; A memory; One or more applications, where the one or more applications are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1 - 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores program codes, and the program codes can be called by a processor to execute the method according to any one of claims 1 - 7.