Gas station supervision data determination method and device, electronic equipment and supervision system

CN120146390BActive Publication Date: 2026-09-25HANGZHOU HIKVISION SYST TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510237874.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-11
Publication Date
2026-09-25
Estimated Expiration
2044-10-11

AI Technical Summary

Technical Problem

该方式需要在加油机上安装数据采集模块,实施难度较高,安装有一定的安全风险,实施时需要临时中断加油机的加油业务,影响加油站监管数据的确定效率和安全性

Benefits of technology

[0020]第六方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在电子设备上运行时,使得所述电子设备执行上述第一方面所述的加油站监管数据确定方法。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120146390B_ABST
    Figure CN120146390B_ABST
Patent Text Reader

Abstract

The application is suitable for the technical field of computers, and provides a gas station supervision data determination method and device, an electronic device and a supervision system. The method comprises the following steps: determining the fueling time of a fueling vehicle based on the image detection result of a target fueling machine and the fueling vehicle; determining the flow rate of the target fueling machine per unit time; and determining the fueling amount related to the current fueling event of the target fueling machine based on the fueling time and the flow rate of the target fueling machine per unit time. The application improves the determination efficiency and safety of gas station supervision data.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of application number 202411413173.6, filed on October 11, 2024, entitled "Method, Apparatus, Electronic Device and Monitoring System for Determining Gas Station Monitoring Data". The entire contents of the original application are incorporated herein by reference. Technical Field

[0002] This application belongs to the field of computer technology, and in particular relates to a method, device, electronic device and monitoring system for determining gas station monitoring data. Background Technology

[0003] Based on the information obtained by tax authorities during their inspections of tax sources, gas stations are widely distributed and scattered, making it difficult to fully grasp their actual operating conditions. There are discrepancies between the tax data declared by some gas stations and the actual regulatory data, indicating tax evasion. Therefore, determining the regulatory data for gas stations is a technical problem that urgently needs to be solved.

[0004] Existing technologies determine gas station monitoring data by installing data acquisition modules on fuel dispensers. This method requires installing these modules, which is complex to implement, carries certain security risks, and necessitates a temporary interruption of refueling operations, impacting the efficiency and security of gas station monitoring data determination. Summary of the Invention

[0005] This application provides a method, apparatus, electronic device, and monitoring system for determining gas station monitoring data, which can improve the efficiency and security of determining gas station monitoring data.

[0006] In a first aspect, embodiments of this application provide a method for determining gas station monitoring data, including:

[0007] Based on the image detection results of the target fuel dispenser and the fueling vehicle, the refueling time of the fueling vehicle is determined; wherein, the fueling vehicle is a vehicle within the target parking detection area, and the target fuel dispenser corresponds to the target parking detection area;

[0008] Determine the flow rate of the target refueling machine per unit time;

[0009] Based on the refueling duration and the flow rate of the target fuel dispenser per unit time, the amount of fuel dispensed related to this refueling event of the target fuel dispenser is determined.

[0010] In this embodiment, the refueling duration of the vehicle can be determined based on the image detection results of the target fuel dispenser and the refueling vehicle. Based on the refueling duration and the flow rate of the target fuel dispenser per unit time, the amount of fuel dispensed related to this refueling event at the target fuel dispenser can be determined. This amount of fuel dispensed is considered gas station monitoring data. In other words, this solution can estimate the amount of fuel dispensed through image detection, eliminating the need for a data acquisition module on the fuel dispenser and requiring no manual intervention, thus improving the efficiency and security of determining gas station monitoring data.

[0011] Secondly, embodiments of this application provide a gas station monitoring data determination device, comprising:

[0012] The duration determination module is used to determine the refueling duration of the refueling vehicle based on the image detection results of the target refueling pump and the refueling vehicle; wherein the refueling vehicle is a vehicle within the target parking detection area, and the target refueling pump corresponds to the target parking detection area;

[0013] The flow rate determination module is used to determine the flow rate of the target refueling machine per unit time;

[0014] The refueling volume determination module is used to determine the refueling volume related to the current refueling event of the target refueling machine based on the refueling duration and the flow rate of the target refueling machine per unit time.

[0015] Thirdly, embodiments of this application provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the gas station monitoring data determination method described in the first aspect above.

[0016] Fourthly, embodiments of this application provide a gas station monitoring system, which includes an image acquisition device and an electronic device as described in the third aspect above; the image acquisition device is used to acquire images of the target fuel dispenser and the fueling vehicle, and to send the images to the electronic device;

[0017] Alternatively, the gas station monitoring system includes an intelligent image acquisition device and an electronic device as described in the third aspect above; the intelligent image acquisition device is used to acquire the image, detect the image, obtain the image detection result, and send the image detection result to the electronic device;

[0018] Alternatively, the gas station monitoring system may include an image acquisition device, a smart device, and an electronic device as described in the third aspect above; the image acquisition device is used to acquire the image and send the image to the smart device; the smart device is used to analyze the image, obtain the image detection result, and send the image detection result to the electronic device.

[0019] Fifthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the gas station monitoring data determination method as described in the first aspect above.

[0020] In a sixth aspect, embodiments of this application provide a computer program product that, when run on an electronic device, causes the electronic device to execute the gas station monitoring data determination method described in the first aspect.

[0021] It is understood that the beneficial effects of the second to sixth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description

[0022] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the 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.

[0023] Figure 1 This is a schematic diagram of a gas station monitoring system provided in an embodiment of this application;

[0024] Figure 2 This is an example diagram showing the deployment of image acquisition equipment;

[0025] Figure 3 This is an example image of the parking detection area displayed on the screen of the image acquisition device;

[0026] Figure 4 This is another schematic diagram of the gas station monitoring system provided in the embodiments of this application;

[0027] Figure 5 This is another schematic diagram of the gas station monitoring system provided in the embodiments of this application;

[0028] Figure 6 This is a schematic diagram illustrating the implementation process of the gas station monitoring data determination method provided in the embodiments of this application;

[0029] Figure 7 This is an example image of a refueling vehicle entering the target parking detection area;

[0030] Figure 8 This is an example diagram of the shielded area;

[0031] Figure 9 This is an example image of the first detection area;

[0032] Figure 10 This is a schematic diagram of the structure of the gas station monitoring data determination device provided in the embodiments of this application;

[0033] Figure 11 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0034] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0035] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0036] It should also be understood that the term "and / or" as used in this application specification and the appended claims refers to any combination of one or more of the associated listed items, as well as all possible combinations, and includes such combinations. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship.

[0037] It should also be understood that, in the embodiments of this application, "multiple" refers to two or more.

[0038] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."

[0039] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0040] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0041] The method for determining gas station regulatory data provided in this application can be applied to electronic devices such as desktop computers, servers, laptops, and ultra-mobile personal computers (UMPCs). This application does not limit the specific type of electronic device. For example, the electronic device in this application can be a server in the computer room of the gas station regulatory department. It can determine gas station regulatory data based on the refueling duration of vehicles within the target parking detection area and the flow rate of the target gas pump corresponding to the target parking detection area per unit time. This facilitates the gas station regulatory department in viewing the gas station regulatory data or verifying the tax data self-declared by the gas station based on the gas station regulatory data.

[0042] Please see Figure 1 , Figure 1 A schematic diagram of a gas station monitoring system provided in an embodiment of this application is shown. This is an example, not a limitation, and includes an image acquisition device 101 and an electronic device 102. The electronic device 102 is communicatively connected to the image acquisition device 101.

[0043] When the field of view of the image acquisition device 101 is large enough, the deployment of the image acquisition device 101 is mainly aimed at realizing parking detection and fuel nozzle detection. That is, the image acquisition device 101 is deployed in the gas station and the field of view covers the parking area of ​​the fuel dispenser and the fuel nozzle of the fuel dispenser in the gas station.

[0044] When the field of view of the image acquisition device 101 is limited, the image acquisition device 101 may include a first image acquisition device and a second image acquisition device. The deployment of the first image acquisition device is primarily aimed at achieving parking detection, that is, the first image acquisition device is deployed at the gas station and its field of view covers the parking detection area of ​​the gas pumps within the gas station. The deployment of the second image acquisition device is primarily aimed at achieving fuel nozzle detection, that is, the second image acquisition device is deployed at the gas station and its field of view covers the fuel nozzle of the corresponding gas pump.

[0045] It should be understood that the number and form of the image acquisition device 101 can be adjusted according to the layout of the gas station's fuel dispensers and the data acquisition capabilities of the image acquisition device 101. Product forms include, but are not limited to, 360-degree surround view devices, explosion-proof PTZ cameras, wide-angle cameras, and fixed-focus cameras.

[0046] In order to achieve more accurate supervision of gas stations, an image acquisition device 101 can be configured for each gas pump in the gas station, and the supervision of the corresponding gas pump can be realized based on the image acquisition device 101.

[0047] Of course, it is understandable that if the field of view of the image acquisition device 101 is relatively large, multiple fuel dispensers can share one image acquisition device 101, and this application does not limit this. By way of example and not limitation, the image acquisition device 101 includes a first image acquisition device and a second image acquisition device; if the field of view of the first image acquisition device is relatively large, multiple fuel dispensers can share one first image acquisition device; if the field of view of the second image acquisition device is relatively large, multiple fuel dispensers can share one second image acquisition device, and this application does not limit this.

[0048] As an example, not a limitation. Figure 2 This is a deployment example diagram of image acquisition equipment. Taking fuel dispensers #1 and #3 in a gas station as examples, image acquisition equipment 1011 and image acquisition equipment 1012 are the first and second image acquisition devices configured for fuel dispenser #1, respectively. Image acquisition equipment 1013 and image acquisition equipment 1014 are the first and second image acquisition devices configured for fuel dispenser #3, respectively. Image acquisition equipment 1011 can be installed on the side pillar 3 of fuel dispenser #3 to acquire the parking detection area on both sides or one side of fuel dispenser #1. Image acquisition equipment 1012 can be installed on the side pillar 1 of fuel dispenser #1 to acquire the area where the fuel nozzle of fuel dispenser #1 is located. The field of view (i.e., field of view) of image acquisition equipment 1012 is from top to bottom, which can prevent personnel from obstructing the area where the fuel nozzle of fuel dispenser #1 is located. Image acquisition equipment 1013 can be installed on the side pillar 1 of fuel dispenser #1 to acquire the parking detection area on both sides or one side of fuel dispenser #3. Image acquisition device 1013 can be installed on the side column 3 of fuel dispenser No. 3 to acquire the area where the fuel nozzle of fuel dispenser No. 3 is located. The field of view of image acquisition device 1014 is from top to bottom, which can prevent personnel from obstructing the area where the fuel nozzle of fuel dispenser No. 3 is located.

[0049] To achieve time synchronization among all devices and fuel dispensers in the gas station monitoring system, thereby providing accurate time information for gas station monitoring, a time synchronization server can be used to uniformly synchronize the time of the fuel dispensers, the corresponding image acquisition device 101, and the electronic device 102. Of course, it is understandable that, besides a time synchronization server, other time synchronization methods can also be used to uniformly synchronize the time of these multiple devices.

[0050] In one possible implementation, the parking detection area can be configured based on the deployment location of the fuel dispenser's nozzles. For example, if fuel dispensers are deployed on both sides, then parking detection areas can be configured on both sides; if fuel dispensers are deployed on one side, then the parking detection area can be configured on that side.

[0051] Optionally, a parking detection area can be configured for the fuel dispenser on the image acquisition device 101. When displaying the image acquired by the image acquisition device 101, the electronic device 102 may or may not display the parking detection area on the displayed screen; this application does not limit this. Figure 3 The image shown is an example of the parking detection area displayed on the screen of the image acquisition device. Figure 3 The two black rectangular frames on either side of the fuel dispenser are the parking detection areas.

[0052] As an example and not a limitation, the position and field of view of the image acquisition device 101 are usually fixed after installation. Therefore, after installation, the image acquisition device 101 can first acquire data from the fuel dispenser to obtain an image of the fuel dispenser. The location information of the parking detection area can be determined from the image of the fuel dispensing area and stored. Based on this, the image acquisition device 101 can identify whether a vehicle has entered or left the parking area based on the pre-stored location information of the parking detection area and the acquired image.

[0053] Of course, it is understandable that when the image acquisition device 101 and the electronic device 102 are connected in communication, the above-mentioned step of determining the location information of the parking detection area from the fuel dispenser image can also be performed on the electronic device 102. After obtaining the location information of the parking detection area, the electronic device 102 sends the location information of the parking detection area to the image acquisition device 101.

[0054] After configuring a parking detection zone for any fuel dispenser, the electronic device can associate the identification information of the parking detection zone with the corresponding fuel dispenser information and store this association on the gas station monitoring platform. When the gas station monitoring platform is installed on the electronic device 102, after detecting a vehicle entering a parking detection zone, the electronic device can determine that the parking detection zone is the target parking detection zone. Furthermore, based on the identification information of the parking detection zone and the pre-stored association between the parking detection zone identification information and the fuel dispenser information, the electronic device can determine the fuel dispenser that will provide refueling service to the vehicle. The aforementioned gas station monitoring platform can refer to the software used to implement the solution of this application.

[0055] The electronic device 102 can analyze the images of the target fuel dispenser and fueling vehicle collected by the image acquisition device 101 by running the gas station monitoring platform, obtain image detection results, and determine gas station monitoring data based on the image detection results. For a specific implementation scheme, please refer to the gas station monitoring data determination method described in the following embodiments.

[0056] In this embodiment, the electronic device 102 can also perform functions such as extracting vehicle information entering and exiting the parking detection area, detecting the fuel dispenser nozzle, detecting the fuel nozzle and its connecting cable, analyzing refueling vehicles, analyzing refueling data, and issuing warnings for unreported refueling. Refueling vehicle analysis includes, but is not limited to, analyzing fuel dispenser information, fuel type, vehicle information, refueling start time, refueling end time, and refueling duration. Refueling data analysis includes, but is not limited to, further analyzing and filtering the data generated after refueling vehicle analysis to estimate the refueling volume.

[0057] Please see Figure 4 In another embodiment, the gas station monitoring system may include an intelligent image acquisition device 103 and an electronic device 102. The electronic device 102 is communicatively connected to the intelligent image acquisition device 103.

[0058] In addition to performing the image acquisition function described in the image acquisition device 101 above, the intelligent image acquisition device 103 can also detect the acquired images, obtain image detection results, and send the image detection results to the electronic device 102. Based on the image detection results, the electronic device 102 can determine the gas station supervision data and realize the supervision of the gas station.

[0059] In this embodiment, the intelligent image acquisition device 103 can also perform functions such as extracting vehicle information entering and leaving the parking detection area, detecting the lifting and lowering of the fuel dispenser nozzle, and detecting the fuel dispenser nozzle and connecting cable, as described in this application. The electronic device 102 can perform functions such as analyzing refueling vehicles, analyzing refueling data, and issuing early warnings for unreported refueling, as described in this application.

[0060] Please see Figure 5 In another embodiment, the gas station monitoring system may include an image acquisition device 101, an electronic device 102, and a smart device 104. The smart device 104 is communicatively connected to the image acquisition device 101 and the electronic device 102, respectively.

[0061] Image acquisition device 101 acquires images of the target fuel dispenser and fueling vehicle, and sends the images to intelligent device 104. Intelligent device 104 detects the images, obtains image detection results, and sends the image detection results to electronic device 102. Electronic device 102 can determine gas station monitoring data based on the image detection results and realize the monitoring of the gas station.

[0062] In this embodiment, the intelligent device 104 can perform functions such as extracting vehicle information entering and leaving the parking detection area, detecting the fuel dispenser nozzle, and detecting the fuel dispenser nozzle and connecting cable, as described in this application. The electronic device can perform functions such as refueling vehicle analysis, refueling data analysis, and refueling non-reporting warning, as described in this application.

[0063] Please see Figure 6 , Figure 6 The illustration shows a schematic diagram of the implementation process of the gas station monitoring data determination method provided in an embodiment of this application, applied to an electronic device. As an example and not a limitation, the method includes the following steps:

[0064] Step 601: Based on the image detection results of the target fuel dispenser and the fuel vehicle, determine the refueling time of the fuel vehicle.

[0065] Among them, refueling vehicles are vehicles within the target parking detection area, the target parking detection area is the parking detection area for vehicles entering the area, and the target refueling pump corresponds to the target parking detection area. For example... Figure 7 The image shown is an example of a refueling vehicle entering the target parking detection area. Figure 7 The vehicles listed are refueling vehicles.

[0066] The aforementioned image detection results can be obtained by electronic devices detecting images of the target fuel dispenser and fuel vehicle acquired by image acquisition devices, or they can be sent by intelligent image acquisition devices or intelligent devices to electronic devices. This application does not limit this.

[0067] In one possible implementation, the electronic device can determine the refueling start and end times of the vehicle based on image detection results of the target fuel dispenser and the refueling vehicle; and calculate the refueling duration based on the start and end times. For example, the refueling duration can be obtained by subtracting the start time from the end time.

[0068] Electronic devices can determine the start and end times of refueling in the following three ways.

[0069] Method 1: Based on the first connection detection result, determine the refueling start time of the refueling vehicle. The first connection detection result is the connection detection result between the nozzle of the target refueling machine and the refueling vehicle. Based on the first disconnection detection result, determine the refueling start time of the refueling vehicle. The first disconnection detection result is the disconnection detection result between the nozzle of the target refueling machine and the refueling vehicle.

[0070] The target refueling nozzle is used to provide refueling services to refueling vehicles. The aforementioned first connection detection result indicates that the nozzle head of the target refueling nozzle is connected to the refueling vehicle.

[0071] The above-mentioned scheme for determining the refueling start time may include: electronic equipment detecting images of the target refueling machine and the refueling vehicle; when the nozzle of the target refueling machine is first detected to be connected to the refueling vehicle in this refueling event, a first connection detection result is generated and the first image of the first detected connection is saved, so that the supervisory personnel can view the first image later, and the acquisition time of the first image is used as the refueling start time, or the system time of the first detected connection is used as the refueling start time.

[0072] The above-mentioned scheme for determining the refueling start time may also include: intelligent devices or intelligent image acquisition devices detect the images of the target fuel dispenser and the refueling vehicle, and when the nozzle of the target fuel dispenser is first detected to be connected to the refueling vehicle in the current refueling event, a first connection detection result is generated and sent to the electronic device. The electronic device determines the refueling start time of the refueling vehicle based on the first connection detection result.

[0073] After receiving the first connection detection result, the electronic device can send an image acquisition command to the corresponding image acquisition device or intelligent image acquisition device. After receiving the image acquisition command, the image acquisition device or intelligent image acquisition device will send back the currently acquired second image to the electronic device. The second image may contain the corresponding image acquisition time (i.e., the acquisition time of the second image). After receiving the second image, the electronic device can save the second image for the convenience of the supervisor to view the second image later, and use the image acquisition time in the second image as the refueling start time.

[0074] After receiving the first connection detection result, the electronic device can also use the current system time as the refueling start time, acquire and save the second image, so that regulatory personnel can view the second image later.

[0075] The aforementioned image acquisition device or intelligent image acquisition device is deployed at a first location within the gas station, with its field of view covering the target parking area and the target fuel dispenser, for image acquisition of the target parking area and the target fuel dispenser. The first location can be determined based on the field of view of the image acquisition device or intelligent image acquisition device, ensuring that the field of view covers the parking area of ​​the corresponding fuel dispenser.

[0076] The first disconnection detection result indicates that the nozzle of the target refueling gun has been disconnected from the refueling vehicle.

[0077] The above-mentioned scheme for determining the refueling end time may include: electronic equipment detecting images of the target refueling machine and the refueling vehicle; when the nozzle of the target refueling machine is first detected to be disconnected from the refueling vehicle in this refueling event, a first disconnection detection result is generated, and a third image of the first detection of disconnection is saved for subsequent viewing by specific personnel; and the acquisition time of the third image is used as the refueling end time, or the system time of the first detection of disconnection is used as the refueling end time.

[0078] As an example and not a limitation, the electronic device can detect the connection or disconnection between the nozzle of the target fuel dispenser and the fuel tank of the refueling vehicle in the following manner: Based on images of the target fuel dispenser and the refueling vehicle, determine the distance between the nozzle of the target fuel dispenser and the fuel tank of the refueling vehicle; if the distance between the nozzle of the target fuel dispenser and the fuel tank of the refueling vehicle is less than a distance threshold, it can be determined that the nozzle of the target fuel dispenser is connected to the refueling vehicle. The first image can be the first frame in which the distance between the nozzle of the target fuel dispenser and the fuel tank of the refueling vehicle is detected to be less than the distance threshold, or it can be the previous frame of that image; if the distance between the nozzle of the target fuel dispenser and the fuel tank of the refueling vehicle changes from less than the distance threshold to greater than or equal to the distance threshold, it can be determined that the nozzle of the target fuel dispenser is disconnected from the refueling vehicle. The third image can be the first frame in which the distance between the nozzle of the target fuel dispenser and the fuel tank of the refueling vehicle is detected to be greater than or equal to the distance threshold, or it can be the previous frame of that image. Optionally, the above distance threshold can be preset according to the actual scenario requirements.

[0079] Of course, electronic devices can also identify and track the nozzle of the target fuel dispenser based on images of the target fuel dispenser and the fuel vehicle. If the nozzle of the target fuel dispenser cannot be identified when it is tracked near the fuel vehicle, it can be determined that the nozzle of the target fuel dispenser is connected to the fuel vehicle. The first image can be the first frame in the tracking process where the nozzle of the target fuel dispenser cannot be identified, or it can be the previous frame. Based on this, the nozzle of the target fuel dispenser is continuously identified based on images of the target fuel dispenser and the fuel vehicle. If the nozzle of the target fuel dispenser is identified, it can be determined that the nozzle of the target fuel dispenser has been disconnected from the fuel vehicle. The third image can be the first frame in the continuous identification process where the nozzle of the target fuel dispenser is identified, or it can be the previous frame.

[0080] The above-mentioned scheme for determining the refueling end time may also include: intelligent devices or intelligent image acquisition devices detect the images of the target fuel dispenser and the refueling vehicle, and when the nozzle of the target fuel dispenser is first detected to be disconnected from the refueling vehicle in the current refueling event, a first disconnection detection result is generated and sent to the electronic device. The electronic device determines the refueling end time of the refueling vehicle based on the first disconnection detection result.

[0081] After receiving the first disconnection detection result, the electronic device can send an image acquisition command to the corresponding image acquisition device or intelligent image acquisition device. After receiving the image acquisition command, the image acquisition device or intelligent image acquisition device will send the currently acquired fourth image back to the electronic device. The fourth image may contain the corresponding image acquisition time (i.e., the acquisition time of the fourth image). After receiving the fourth image, the electronic device can save the fourth image for subsequent viewing by specific personnel, and use the image acquisition time in the fourth image as the refueling end time.

[0082] After receiving the first disconnection detection result, the electronic device can also use the current system time as the refueling end time, acquire and save the fourth image, so that specific personnel can view the fourth image later.

[0083] Method 2: The electronic device determines the refueling start time based on the second connection detection result, which is the connection detection result between the nozzle of the target refueling gun with the connecting wire and the refueling vehicle; and determines the refueling end time based on the second disconnection detection result, which is the disconnection detection result between the nozzle of the target refueling gun with the connecting wire and the refueling vehicle.

[0084] Among them, the second connection detection result indicates that the nozzle of the target refueling gun is connected to the refueling vehicle by a connecting wire.

[0085] The above-mentioned scheme for determining the refueling start time may include: electronic equipment detecting images of the target refueling pump and the refueling vehicle; when the nozzle of the target refueling pump with a connecting wire is first detected to be connected to the refueling vehicle in the current refueling event, a second connection detection result is generated, and a fifth image of the first detected connection is saved for the convenience of regulatory personnel to view the fifth image later, and the acquisition time of the fifth image is used as the refueling start time, or the system time of the first detected connection is used as the refueling start time.

[0086] The above-mentioned scheme for determining the refueling start time may also include: intelligent devices or intelligent image acquisition devices detect the images of the target fuel dispenser and the refueling vehicle; when the nozzle of the target fuel dispenser with a connecting wire is first detected to be connected to the refueling vehicle in the current refueling event of the target fuel dispenser, a second connection detection result is generated and sent to the electronic device; the electronic device determines the refueling start time of the refueling vehicle based on the second connection detection result.

[0087] After receiving the second connection detection result, the electronic device can send an image acquisition command to the corresponding image acquisition device or intelligent image acquisition device. After receiving the image acquisition command, the image acquisition device or intelligent image acquisition device will send the currently acquired sixth image back to the electronic device. The sixth image may contain the corresponding image acquisition time (i.e., the acquisition time of the sixth image). After receiving the sixth image, the electronic device can save the sixth image for the convenience of supervisors to view the sixth image later, and use the image acquisition time in the sixth image as the refueling start time.

[0088] After receiving the second connection detection result, the electronic device can also use the current system time as the refueling start time, acquire and save the sixth image, so that the supervisory personnel can view the sixth image later.

[0089] Among them, the second disconnection detection result indicates that the nozzle head of the target refueling nozzle, which has a connecting wire, is disconnected from the refueling vehicle.

[0090] The above-mentioned scheme for determining the refueling end time may include: electronic equipment detecting images of the target refueling machine and the refueling vehicle; when the nozzle of the target refueling machine is first detected to be disconnected from the refueling vehicle during the current refueling event, a second disconnection detection result is generated, and a seventh image of the first detection of the disconnection is saved for subsequent viewing by specific personnel. The acquisition time of the seventh image is used as the refueling end time, or the system time of the first detection of the disconnection is used as the refueling end time.

[0091] As an example and not a limitation, the electronic device can detect the connection or disconnection between the nozzle with the connecting cable and the refueling vehicle in the following manner: Based on the images of the target refueling machine and the refueling vehicle, determine the distance between the nozzle with the connecting cable and the fuel tank of the refueling vehicle; if the distance between the nozzle with the connecting cable and the fuel tank of the refueling vehicle is less than a distance threshold, it can be determined that the nozzle with the connecting cable is connected to the refueling vehicle, and the fifth image can be the first frame image in which the distance between the nozzle with the connecting cable and the fuel tank of the refueling vehicle is detected to be less than the distance threshold, or it can be the previous frame image; if the distance between the nozzle with the connecting cable and the fuel tank of the refueling vehicle changes from less than the distance threshold to greater than or equal to the distance threshold, it can be determined that the nozzle with the connecting cable is disconnected from the refueling vehicle, and the seventh image can be the first frame image in which the distance between the nozzle with the connecting cable and the fuel tank of the refueling vehicle is detected to be greater than or equal to the distance threshold, or it can be the previous frame image.

[0092] Of course, electronic devices can also identify and track nozzles connected by connecting wires based on images of the target refueling pump and the refueling vehicle. If a nozzle connected by a connecting wire cannot be identified when tracking near the refueling vehicle, it can be determined that the nozzle connected by a connecting wire is connected to the refueling vehicle. The fifth image can be the image in which the nozzle connected by a connecting wire is not identified for the first time during the tracking process, or it can be the previous frame image. Based on this, nozzles connected by connecting wires are continuously identified based on images of the target refueling pump and the refueling vehicle. If a nozzle connected by a connecting wire is identified, it can be determined that the nozzle connected by a connecting wire is disconnected from the refueling vehicle. The seventh image can be the image in which the nozzle connected by a connecting wire is identified for the first time during the continuous identification process, or it can be the previous frame image.

[0093] The above-mentioned scheme for determining the refueling end time may also include: intelligent devices or intelligent image acquisition devices detect the images of the target fuel dispenser and the refueling vehicle; when the first frame of the current refueling event of the target fuel dispenser detects that the nozzle with the connecting wire is disconnected from the refueling vehicle, a second disconnection detection result is generated and sent to the electronic device; the electronic device determines the refueling end time of the refueling vehicle based on the second disconnection detection result.

[0094] After receiving the second disconnection detection result, the electronic device can send an image acquisition command to the corresponding image acquisition device or intelligent image acquisition device. After receiving the image acquisition command, the image acquisition device or intelligent image acquisition device will send the currently acquired eighth image back to the electronic device. The eighth image may contain the corresponding image acquisition time (i.e., the acquisition time of the eighth image). After receiving the eighth image, the electronic device can save the eighth image for subsequent viewing by specific personnel, and use the image acquisition time in the eighth image as the refueling end time.

[0095] After receiving the second disconnection detection result, the electronic device can also use the current system time as the refueling end time, acquire and save the eighth image, so that the supervisory personnel can view the eighth image later.

[0096] In the implementation schemes of Method 1 and Method 2 described above, for any fuel nozzle on the target fuel dispenser, the nozzle head remains suspended in the nozzle mounting area until it is pulled out of the mounting hole. This means that the connecting wire can be detected in this mounting area. Similarly, even when the nozzle head is just pulled out of the mounting hole and before refueling a vehicle, the nozzle head or a nozzle head connected to the connecting wire can still be detected in the mounting area (i.e., both the connecting wire and the nozzle head are detected). Therefore, to avoid interference from these two situations in detecting nozzle heads connected to the connecting wire in the scheme for determining the refueling start time, the nozzle mounting area of ​​the target fuel dispenser can be set as a shielded area, such as... Figure 8 The image shown is an example diagram of the shielded area. Figure 8 The two dashed boxes in the image represent the shielded area. The shielded area is not detected when detecting the first and second connection detection results. That is, when detecting the first and second connection detection results, only the area outside the shielded area in the image of the target fuel dispenser and fuel vehicle needs to be identified and tracked for the nozzle or nozzles connected by connecting lines. This reduces the amount of data involved in detecting the first and second connection detection results and improves the detection efficiency of these two connection detection results.

[0097] Before calculating the refueling duration based on the refueling start time and refueling end time, the electronic device can also determine the validity of the refueling start time and refueling end time through the following steps.

[0098] The electronic equipment determines the refueling vehicle's parking start time based on the detection result of the vehicle entering the target parking detection area; it determines the parking end time based on the detection result of the vehicle leaving the target parking detection area. If the refueling start time is earlier than the parking start time, both the refueling start time and parking end time are marked as pending confirmation. If the refueling end time is later than the parking end time, both are marked as pending confirmation. The times marked as pending confirmation are verified based on the video footage of the refueling vehicle, which records the refueling process during this event. If the verification result shows that the refueling start time and refueling end time marked as pending confirmation are correct, the refueling duration is calculated based on these times. If the verification result shows that either the refueling start time or the refueling end time is incorrect, the refueling duration is not calculated based on these times. If the refueling start time is later than or equal to the parking start time and the refueling end time is earlier than or equal to the parking end time, the refueling start time and refueling end time are confirmed as valid times, and the refueling duration is calculated based on these times.

[0099] The detection results of the refueling vehicle entering the target parking detection area indicate that the refueling vehicle has entered the target parking detection area. The detection results of the refueling vehicle leaving the target parking detection area indicate that the refueling vehicle has left the target parking detection area.

[0100] In one possible implementation, an image acquisition device continuously captures images of the target refueling pump's parking detection area. Based on the captured images, it can identify whether a vehicle has entered the parking detection area. If a vehicle is detected entering the parking detection area, the vehicle is identified as a refueling vehicle, the parking detection area is designated as the target parking detection area, and the captured images are sent to a smart device. The smart device, based on the images, extracts the vehicle information and sends the detection result of the refueling vehicle entering the target parking detection area to an electronic device. This detection result instructs the electronic device to determine the parking start time. If a refueling vehicle enters the target parking detection area, the image acquisition device can identify whether the vehicle has left the area. If the vehicle leaves the area, the image acquisition device sends the captured images to the smart device. Based on the images, the smart device can again extract the vehicle information and send the detection result of the vehicle leaving the target parking detection area to an electronic device. This detection result instructs the electronic device to determine the parking end time.

[0101] The detection results of refueling vehicles entering the target parking detection area and the detection results of refueling vehicles leaving the target parking detection area can carry vehicle information extracted by intelligent devices. After receiving the detection results, the electronic devices can extract the vehicle information, which facilitates the subsequent viewing of vehicle information entering or leaving the parking detection area by regulatory personnel.

[0102] In one possible implementation, in response to the detection result of the refueling vehicle entering the target parking detection area by the smart device, the electronic device can send an image acquisition command to the image acquisition device. After receiving the image acquisition command, the image acquisition device feeds back the currently acquired ninth image data to the electronic device. The ninth image may contain the corresponding image acquisition time (i.e., the acquisition time of the ninth image). After receiving the ninth image, the electronic device can save the ninth image, use the image acquisition time in the ninth image as the parking start time, and control the image acquisition device to start recording to record the refueling process of the target vehicle.

[0103] In response to the detection result of the refueling vehicle leaving the target parking detection area by the smart device, the electronic device can send an image acquisition command to the image acquisition device. After receiving the image acquisition command, the image acquisition device feeds back the currently acquired tenth image data to the electronic device. The tenth image may contain the corresponding image acquisition time (i.e., the acquisition time of the tenth image). After receiving the tenth image, the electronic device can save the tenth image and use the image acquisition time in the tenth image as the parking end time, control the image acquisition device to end the recording, and extract the recorded video segment of the refueling vehicle from the image acquisition device.

[0104] In another possible implementation, in response to the detection result of the refueling vehicle entering the target parking detection area by the smart device, the electronic device can use the current system time as the parking start time. In this implementation, the electronic device can also acquire and save the aforementioned ninth image.

[0105] In response to the detection result of the refueling vehicle leaving the target parking detection area by the smart device, the electronic device can use the current system time as the parking end time. In this implementation, the electronic device can also acquire and save the aforementioned tenth image, control the image acquisition device to record video, and extract the recorded video clips of the refueling vehicle.

[0106] The electronic device stores the ninth and tenth images and video clips, which facilitates subsequent viewing of these images and video clips by regulatory personnel.

[0107] It should be noted that the above-mentioned detection schemes for refueling vehicles entering and leaving the parking detection area, as well as the vehicle information extraction schemes, are based on... Figure 5The gas station monitoring system shown is used as an example for introduction. Figure 1 and Figure 4 The gas station monitoring system shown above is similar to the one described above in terms of its detection scheme for vehicles entering and leaving the parking detection area and its vehicle information extraction scheme, and will not be repeated here.

[0108] In one possible implementation, after determining the start and end times of the refueling vehicle's parking, the parking duration can be calculated based on these times. If the parking duration exceeds a parking duration threshold, the refueling duration is calculated based on the start and end times, or the validity of the start and end times is determined. If the parking duration is less than or equal to the parking duration threshold, the event of the refueling vehicle passing through the target parking area is defined as a vehicle passage event. The parking duration threshold is used to determine whether the event of the refueling vehicle passing through the target parking area is a vehicle passage event. Optionally, the parking duration threshold can be preset according to the actual scenario. A vehicle passage event can refer to an event where a vehicle passes through the refueling pump's parking area but does not use the pump to provide refueling service.

[0109] After confirming a vehicle passage event, electronic devices can store data related to the event, such as gas station information, parking start time, parking end time, fuel dispenser information, and license plate information, to facilitate subsequent review of the event by regulatory personnel.

[0110] To provide timely refueling services, gas station staff are typically located near the pumps. Therefore, during the analysis of vehicles refueling based on images of the target pump and the vehicle being refueled, staff may obstruct the nozzle or connecting cable, potentially leading to errors in the determined refueling start and end times. As an example, and not a limitation, when a nozzle with a connecting cable is connected to a vehicle, although the nozzle itself may not be detected, the connecting cable can be identified near the vehicle. During the process of electronic equipment identifying and tracking nozzles with connecting cables based on images of the target pump and vehicle, if the connection process is obstructed by a staff member, the connecting cable will not be detected near the vehicle, even though refueling may have already begun. In this case, the determined refueling start time will be inaccurate. Similarly, even when a nozzle with a connecting cable is connected to a vehicle, and refueling is underway, the connecting cable is present near the vehicle, but if it is not detected due to staff obstruction, the electronic equipment may mistakenly interpret it as a disconnection, leading to errors in the determined refueling end time.

[0111] To ensure the accuracy of refueling start and end times, the refueling start and / or end times can be corrected based on the status of the target refueling nozzle.

[0112] In one possible implementation, the refueling start time is adjusted based on the state of the target refueling nozzle, including:

[0113] Based on the results of the nozzle lifting detection of the target refueling nozzle, the nozzle lifting detection time of the target refueling nozzle is determined;

[0114] Calculate the first absolute value, and when the first absolute value is greater than the first time threshold, correct the refueling start time based on the refueling start time and the nozzle lifting detection time. The first absolute value is the absolute value of the difference between the nozzle lifting detection time and the refueling start time.

[0115] The above-mentioned nozzle-lifting detection result indicates that the target refueling nozzle is in the lifted state. The above-mentioned first time threshold and the above-mentioned second time threshold can be the same or different, and can be preset according to the actual scenario.

[0116] It should be noted that this application does not limit the method of correcting the refueling start time. For example, the above-mentioned correction of the refueling start time based on the refueling start time and the nozzle lifting detection time may include: updating the refueling start time to the nozzle lifting detection time, or calculating the average of the refueling start time and the nozzle lifting detection time and updating the refueling start time to the average, or adding the nozzle lifting detection time to a first time and updating the refueling start time to the summed value. The first time may be a preset empirical value.

[0117] In one possible implementation, the refueling end time is adjusted based on the state of the target refueling nozzle, including:

[0118] Based on the nozzle release detection results of the target refueling nozzle, the nozzle release time of the target refueling nozzle is determined;

[0119] Calculate the second absolute value, and when the second absolute value is greater than the second time threshold, adjust the refueling end time based on the refueling end time and the nozzle release time. The second absolute value is the absolute value of the difference between the nozzle release time and the refueling end time.

[0120] The above-mentioned nozzle release test results indicate that the target refueling nozzle is in the nozzle release state.

[0121] It should be noted that this application does not limit the method of correcting the refueling end time. For example, the above-mentioned correction of the refueling end time based on the refueling end time and the nozzle release detection time may include: updating the refueling end time to the nozzle release detection time, or calculating the average of the refueling end time and the nozzle release detection time and updating the refueling end time to the average, or adding the nozzle release detection time to a second time and updating the refueling end time to the summed value. The second time may be a preset empirical value.

[0122] Method 3: The electronic equipment determines the nozzle lift detection time of the target fuel dispenser based on the nozzle lift detection result; determines the refueling start time of the refueling vehicle based on the nozzle lift detection time; determines the nozzle release detection time of the target fuel dispenser based on the nozzle release detection result; and determines the refueling end time of the refueling vehicle based on the nozzle release detection time.

[0123] Electronic devices can use the nozzle lifting detection time as the refueling start time. Considering that there is a certain time difference between lifting the nozzle and starting to refuel the vehicle, the nozzle lifting detection time can also be added to the first time to obtain the value after the camera is turned on, and the value obtained after the addition can be used as the refueling start time.

[0124] The electronic device can use the nozzle release detection time as the refueling end time. Considering that there is a certain time difference between the end of refueling and the nozzle release, the nozzle release detection time can also be added to the second time to obtain the value after the camera is turned on, and the value obtained after the addition can be used as the refueling end time.

[0125] In one possible implementation, the electronic device can detect the lifting and lowering of the nozzle on the target fuel dispenser by detecting the nozzle attachment hole on the target fuel dispenser. The implementation scheme includes: detecting the presence of a nozzle attachment hole in the area where the target fuel dispenser is located based on the image of the target fuel dispenser, determining the location information of the nozzle attachment hole, identifying the fuel dispenser corresponding to the nozzle attachment hole as the target fuel dispenser, and generating a nozzle lifting detection result for the target fuel dispenser; if no nozzle attachment hole is detected at the location information of the nozzle attachment hole based on the image of the target fuel dispenser, then generating a nozzle lowering detection result for the target fuel dispenser.

[0126] The image of the target refueling machine includes an image of the area where the target refueling machine is located. Based on this image, it is possible to detect whether there is a nozzle mounting hole in the area where the target refueling nozzle is located. This nozzle mounting hole is used to place the nozzle head when mounting the nozzle. The location information of the nozzle mounting hole can refer to the location information of the nozzle mounting hole within the area where the target refueling machine is located.

[0127] When the electronic device detects that there is no nozzle at the location of the nozzle based on the image of the target refueling machine, it can use the acquisition time of the first frame of the image where the nozzle is detected to be absent or the acquisition time of the previous frame of the image as the nozzle release detection time. Alternatively, it can use the system time when the nozzle is first detected to be absent in the current refueling event of the target refueling machine as the nozzle release detection area.

[0128] When an electronic device detects the presence of a nozzle in the area where the target refueling pump is located, it can use the acquisition time of the first frame of the image that detected the presence of a nozzle in the area where the target refueling pump is located, or the acquisition time of the previous frame of the image, as the nozzle-lifting detection time. Alternatively, it can use the system time when the presence of a nozzle in the area where the target refueling pump is located is first detected in the current refueling event as the nozzle-lifting detection area.

[0129] In one possible implementation, when the area where the target fuel dispenser is located includes a first detection area for each fuel nozzle of the target fuel dispenser, the first detection area is the area where the corresponding fuel nozzle is located, and one fuel nozzle is included in one first detection area; the above-mentioned detection of the presence of a nozzle mounting hole in the area where the target fuel dispenser is located based on the image of the target fuel dispenser includes:

[0130] Detect whether there is a nozzle mounting hole in each of the first detection areas of the image of the target refueling machine;

[0131] If a first detection area with a nozzle attachment hole is detected, then it is determined that a nozzle attachment hole exists in the area where the target fuel dispenser is located; the determination that the fuel dispenser corresponding to the nozzle attachment hole is the target fuel dispenser includes: determining that the fuel dispenser corresponding to the first detection area with the nozzle attachment hole is the target fuel dispenser.

[0132] In the case where the area where the target refueling pump is located includes a second detection area of ​​the target refueling pump, and the second detection area includes at least two refueling nozzles; the above-mentioned detection of the presence of nozzle mounting holes in the area where the target refueling pump is located based on the image of the target refueling pump includes:

[0133] Detect whether there is a nozzle mounting hole in each of the second detection areas of the image of the target refueling machine;

[0134] If a second detection area with a nozzle attachment hole is detected, it is determined that a nozzle attachment hole exists in the area where the target refueling machine is located.

[0135] The area where the target refueling machine is located can refer to the entire area where the target refueling machine is situated in the image. The area where the refueling nozzle is located can refer to the area on the target refueling machine where the refueling nozzle is suspended.

[0136] Based on the position information of the nozzle mounting holes of each nozzle on the target refueling machine, a refueling nozzle detection area (i.e., the first detection area) can be configured in advance for each nozzle mounting hole, or a refueling nozzle detection area (i.e., the second detection area) can be configured for at least two nozzle mounting holes.

[0137] like Figure 9 The image shown is an example of the first detection area. Figure 9 The two black rectangles in the image represent the first detection area for the 92-octane fuel nozzle and the first detection area for the 95-octane fuel nozzle, respectively. The 92-octane nozzle is in the raised position, and the 95-octane nozzle is in the lowered position. A 92-octane fuel nozzle refers to a fuel nozzle that dispenses 92-octane gasoline. A 95-octane fuel nozzle refers to a fuel nozzle that dispenses 95-octane gasoline.

[0138] With a first detection area pre-configured for each nozzle attachment point, the electronic device can detect the presence of nozzle attachment points only in each first detection area based on the image of the target refueling machine, without having to detect all image data of the area where the target refueling machine is located, thus improving the efficiency of nozzle attachment point detection.

[0139] With a second detection area pre-configured for at least two nozzle attachment points, the electronic device can detect the presence of nozzle attachment points only in the second detection area based on the image of the target refueling machine, without having to detect all image data of the area where the target refueling machine is located, thus improving the efficiency of nozzle attachment point detection.

[0140] Step 602: Determine the flow rate of the target refueling machine per unit time.

[0141] As an example and not a limitation, the flow rate of the target fuel dispenser per unit time can be estimated based on the fuel data provided by the tax control system or the fuel data declared by the gas station. This fuel data includes, but is not limited to, the total amount of fuel dispensed by different fuel dispensers in a certain period of time and the total fuel dispensing time. This data is entered into the fuel data monitoring platform, and electronic devices equipped with the fuel data monitoring platform can calculate the flow rate of the target fuel dispenser per unit time (i.e., the average fuel dispensing speed of the target fuel dispenser) based on this data.

[0142] Step 603: Based on the refueling duration and the flow rate of the target fuel dispenser per unit time, determine the amount of fuel dispensed that is related to the current refueling event of the target fuel dispenser.

[0143] The formula for calculating the amount of fuel dispensed in connection with this refueling event at the target fuel dispenser is as follows:

[0144] Refueling amount=(T_jy_2-T_jy_1)*Y_zl / Y_sc

[0145] Where T_jy_1 represents the start time of refueling, T_jy_2 represents the end time of refueling, (T_jy_2-T_jy_1) represents the refueling duration, Y_zl represents the total amount of fuel to be refueled, and Y_sc represents the total refueling duration.

[0146] When a target fuel dispenser has only one type of fuel dispenser, the electronic equipment can estimate the flow rate of fuel in the target fuel dispenser per unit time based on the fuel data provided by the tax control system or the fuel data declared by the gas station, and determine the amount of fuel dispensed based on the flow rate and the fuel dispensing time.

[0147] When a target fuel dispenser has multiple different fuel models, the electronic device can estimate the flow rate of each fuel model per unit time based on the fuel data provided by the tax control system or the fuel data declared by the gas station. It can then calculate the flow rate of each fuel model per unit time, use this flow rate as the flow rate of the target fuel dispenser per unit time, and determine the amount of fuel dispensed based on this flow rate and the fueling duration.

[0148] In practical applications, the flow rate of different types of oil may vary per unit time. Therefore, in order to make a more accurate estimate of the refueling volume for different types of oil, the flow rate of the target type of oil in the target fuel dispenser per unit time can be determined. The target type of oil is the type of oil corresponding to the target fuel dispenser model. The refueling volume is determined based on the refueling time and the flow rate of the target type of oil in the target fuel dispenser per unit time.

[0149] Gas stations typically offer two types of fuel: diesel and gasoline. Gasoline types include 92-octane, 95-octane, and 98-octane. Therefore, diesel, 92-octane, 95-octane, and 98-octane are all types of fuel dispensers.

[0150] The number of fuel nozzles on a fuel dispenser can be one or more; this application does not limit the number of fuel nozzles.

[0151] For a fuel dispenser with a single nozzle, the corresponding fuel model is fixed. For a fuel dispenser with multiple nozzles, the fuel models corresponding to the nozzles may all be the same. Therefore, when all nozzles of the target fuel dispenser correspond to the same fuel model, the association between the fuel dispenser information and the fuel model can be pre-stored on the electronic device. Based on this, when the electronic device needs to obtain the fuel model of the target nozzle (i.e., the target fuel model), it can determine the target fuel model based on the fuel dispenser information and the pre-stored association between the fuel dispenser information and the fuel model, without needing to determine it based on images acquired by image acquisition devices or intelligent image acquisition devices, thus saving hardware costs.

[0152] For fuel dispensers with multiple nozzles, the fuel models corresponding to the nozzles may be different. In this case, the relationship between the location information of each nozzle on the target fuel dispenser and the fuel model can be preset. Therefore, based on this relationship and the location information of the nozzles in the area where the target fuel dispenser is located, the target fuel model corresponding to the refueling vehicle can be determined.

[0153] Considering that the refueling speed is not uniform, the flow rate and refueling volume of the target refueling machine per unit time can be corrected based on the estimated refueling volume.

[0154] In one possible implementation, the flow rate of the target refueling machine per unit time can be corrected in the following way.

[0155] If the determined flow rate is greater than the preset maximum flow rate of the target refueling machine per unit time, then the flow rate of the target refueling machine per unit time will be updated to the maximum flow rate.

[0156] As an example rather than a limitation, the target fuel dispenser has a flow rate of 70 L / min per unit time and a maximum flow rate of 60 L / min per unit time. The flow rate of the target fuel dispenser per unit time can be updated to 60 L / min.

[0157] In one possible implementation, after determining the amount of fuel to be refueled in relation to this refueling event, the amount of fuel to be refueled can be corrected in the following way.

[0158] The electronic device obtains the maximum refueling amount corresponding to the vehicle model being refueled; if the refueling amount is greater than the maximum refueling amount, the refueling amount is updated to the maximum refueling amount.

[0159] Among these methods, the vehicle model of the target vehicle is extracted from the vehicle information of the refueling vehicles.

[0160] The electronic device pre-stores the association between each vehicle model and its corresponding maximum refueling capacity. Based on this association and the target vehicle's model, the maximum refueling capacity corresponding to the vehicle model being refueled can be determined. Optionally, the maximum refueling capacity corresponding to each vehicle model can be set according to actual scenario requirements.

[0161] As an example, not a limitation, the maximum refueling capacity for a small car is 60L, and the maximum refueling capacity for a sports utility vehicle is 100L. If the refueling vehicle is a sports utility vehicle with a refueling capacity of 120L, it may be due to the target refueling nozzle not being hung up in time. By updating the refueling capacity of the target vehicle to 100L, the refueling capacity of the target vehicle can be corrected.

[0162] In another possible implementation, if the image acquisition device or intelligent image acquisition device can acquire the refueling data display area of ​​the target fuel dispenser, the electronic device can use the Optical Character Recognition (OCR) algorithm to analyze the refueling amount in the refueling data display area, thereby obtaining the refueling amount related to the current refueling event of the target fuel dispenser.

[0163] In one possible implementation, after determining the amount of fuel dispensed in connection with the refueling event, electronic devices can monitor the gas station from the perspective of the fuel dispenser or the gas station itself, providing early warnings for unreported refueling and offering more comprehensive information to regulators.

[0164] Electronic equipment monitors gas stations from the perspective of fuel dispensers, including: determining a first fuel dispenser data list within a first preset time period based on fuel dispensing data related to the current fuel dispensing event of the target fuel dispenser; determining a second fuel dispensing data list within the first preset time period based on fuel dispensing data of the target fuel dispenser provided by the tax control system or fuel dispensing data declared by the gas station for the target fuel dispenser; and matching each first data item in the first fuel dispensing data list with the corresponding first data item in the second fuel dispensing data list to obtain the data matching result for each first data item. The first data item includes the number of fuel dispensing events and the fuel type, fuel start time, fuel end time, fuel duration, and fuel quantity for each fuel dispensing event.

[0165] The number of refueling events mentioned above can be understood as the number of refueling sessions. The refueling model, target refueling machine information, refueling start time, refueling end time, refueling duration, and refueling volume of each refueling event can be understood as the refueling model, refueling machine information, refueling start time, refueling end time, refueling duration, and refueling volume of each refueling session.

[0166] The above-mentioned matching of each first data item in the first refueling data list with the corresponding first data item in the second refueling data list can refer to matching the number of refueling events in the first refueling data list with the number of refueling events in the second refueling data list; matching the refueling type of each refueling event in the first refueling data list with the refueling type of the same refueling event in the second refueling data list; matching the refueling start time of each refueling event in the first refueling data list with the refueling start time of the same refueling event in the second refueling data list; matching the refueling end time of each refueling event in the first refueling data list with the refueling end time of the same refueling event in the second refueling data list; matching the refueling duration of each refueling event in the first refueling data list with the refueling duration of the same refueling event in the second refueling data list; and matching the refueling quantity of each refueling event in the first refueling data list with the refueling quantity of the same refueling event in the second refueling data list.

[0167] After obtaining the data matching results corresponding to each first data item, the electronic device can display the data matching results corresponding to each first data item for easy viewing by supervisors; it can also determine whether there are any results indicating mismatch in the data matching results corresponding to each first data item. If there are results indicating mismatch in the data matching results corresponding to each first data item, it can be determined that there is a first abnormal event in the second refueling data list. The first abnormal event indicates that there is a false alarm in the first data item of the second refueling data list. By outputting the second abnormal event, a warning of false refueling reporting can be achieved.

[0168] If a first abnormal event exists in the second refueling data list, the abnormality level of the first abnormal event can be determined based on the first data item corresponding to the result of the mismatch. As an example, and not a limitation, the abnormality level can be classified based on the importance of the first data item in gas station supervision. For example, if the first data item corresponding to the result of the mismatch is the number of refueling events, the abnormality level of the first abnormal event is determined to be high; if the first data item corresponding to the result of the mismatch is the refueling duration, the abnormality level of the first abnormal event is determined to be medium; and if the first data item corresponding to the result of the mismatch is the refueling start time, the abnormality level of the first abnormal event is determined to be low.

[0169] Electronic equipment monitors gas stations from the perspective of gas stations, including: determining a third refueling data list for the gas station within a second preset time period based on refueling data related to the current refueling event of the target fuel dispenser; obtaining a fourth refueling data list for the gas station within the second preset time period based on refueling data provided by the tax control system or refueling data declared by the gas station; and matching each second data item in the third refueling data list with the corresponding second data item in the fourth refueling data list to obtain the data matching result for each second data item. The second data item includes the number of refueling events and the fuel type, fuel dispenser information, refueling start time, refueling end time, refueling duration, and refueling volume for each refueling event.

[0170] The above-mentioned matching of each second data item in the third refueling data list with the corresponding second data item in the fourth refueling data list can refer to matching the number of refueling events in the third refueling data list with the number of refueling events in the fourth refueling data list; matching the refueling type of each refueling event in the third refueling data list with the refueling type of the same refueling event in the fourth refueling data list; matching the fuel dispenser information of each refueling event in the third refueling data list with the fuel dispenser information of the same refueling event in the fourth refueling data list; matching the refueling start time of each refueling event in the third refueling data list with the refueling start time of the same refueling event in the fourth refueling data list; matching the refueling end time of each refueling event in the third refueling data list with the refueling end time of the same refueling event in the fourth refueling data list; matching the refueling duration of each refueling event in the third refueling data list with the refueling duration of the same refueling event in the fourth refueling data list; and matching the refueling quantity of each refueling event in the third refueling data list with the refueling quantity of the same refueling event in the fourth refueling data list.

[0171] After obtaining the data matching results corresponding to each second data item, the electronic device can display the data matching results corresponding to each second data item for easy viewing by supervisors; it can also determine whether there are any results indicating mismatch in the data matching results corresponding to each second data item. If there are results indicating mismatch in the data matching results corresponding to each second data item, it can be determined that there is a second abnormal event in the fourth refueling data list. The second abnormal event indicates that there is a false alarm in the second data item of the fourth refueling data list. By outputting the second abnormal event, a warning of false refueling reporting can be achieved.

[0172] If a second abnormal event exists in the fourth refueling data list, the abnormality level of the second abnormal event can be determined based on the second data item corresponding to the result of the mismatch. As an example, and not a limitation, the abnormality level can be classified based on the importance of the second data item in gas station supervision. For example, if the second data item corresponding to the result of the mismatch is the number of refueling events, the abnormality level of the second abnormal event is determined to be high; if the second data item corresponding to the result of the mismatch is the refueling duration, the abnormality level of the second abnormal event is determined to be medium; and if the second data item corresponding to the result of the mismatch is the refueling start time, the abnormality level of the second abnormal event is determined to be low.

[0173] This application embodiment can provide more comprehensive information for tax control and auditing by matching multiple data items in different fuel data lists.

[0174] It should be understood that, for the three data items—number of refueling events, refueling model, and refueling machine information—the matching of data items in the aforementioned different refueling data lists can refer to whether the data items in the different refueling data lists are the same. For the four data items—refueling start time, refueling end time, refueling duration, and refueling volume—the matching of data items in the aforementioned different refueling data lists can refer to whether the absolute value of the difference between the data items in the different refueling data lists is within a preset range. Optionally, the aforementioned preset range can be pre-set according to the actual scenario. The preset ranges corresponding to different data items can be the same or different; this application does not limit this.

[0175] As an example and not a limitation, for refueling event A, which is any refueling event in the first refueling data list, matching the refueling type of this refueling event in the first refueling data list with the refueling type of refueling event A in the second refueling data list can mean determining whether the refueling type of refueling event A in the first refueling data list is the same as the refueling type of refueling event A in the second refueling data list. If they are the same, it is determined that the refueling type of refueling event A in the first refueling data list matches the refueling type of refueling event A in the second refueling data list; if they are not the same, it is determined that the refueling type of refueling event A in the first refueling data list does not match the refueling type of refueling event A in the second refueling data list.

[0176] For refueling event B, which is any refueling event in the third refueling data list, matching the refueling amount of refueling event B in the third refueling data list with the refueling amount of refueling event B in the fourth refueling data list can refer to calculating the absolute value of the difference between the refueling amounts of refueling events B in the third and fourth refueling data lists. If the absolute value is within a preset range (for example, the preset range is 0 to 10L), then it is determined that the refueling amounts of refueling events B in the third and fourth refueling data lists match. If the absolute value is not within the preset range, then it is determined that the refueling amounts of refueling events B in the third and fourth refueling data lists do not match.

[0177] In one possible implementation, for each refueling event in the first and third refueling data lists, corresponding detail options can be set. By clicking on the detail options, users can view the relevant data items for the corresponding refueling event. For example, they can view video clips of the refueling process, image data corresponding to the refueling start time, and image data corresponding to the refueling end time.

[0178] This application embodiment can determine the refueling duration of a refueling vehicle by using image detection results of the target fuel dispenser and the refueling vehicle. Based on the refueling duration and the flow rate of the target fuel dispenser per unit time, the amount of fuel dispensed related to this refueling event at the target fuel dispenser can be determined. The amount of fuel dispensed is gas station monitoring data. In other words, this solution can estimate the amount of fuel dispensed through image detection, without the need to install a data acquisition module on the fuel dispenser or require manual intervention, thus improving the efficiency and security of determining gas station monitoring data.

[0179] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0180] Corresponding to the gas station monitoring data determination method described in the above embodiments, Figure 10 A schematic diagram of the structure of the gas station monitoring data determination device provided in the embodiments of this application is shown. For ease of explanation, only the parts related to the embodiments of this application are shown.

[0181] Reference Figure 10 The device includes:

[0182] The duration determination module 1001 is used to determine the refueling duration of the refueling vehicle based on the image detection results of the target refueling pump and the refueling vehicle; wherein the refueling vehicle is a vehicle within the target parking detection area, and the target refueling pump corresponds to the target parking area;

[0183] The flow rate determination module 1002 is used to determine the flow rate of the target fuel dispenser per unit time;

[0184] The refueling amount determination module 1003 is used to determine the refueling amount related to the current refueling event of the target refueling machine based on the refueling duration and the flow rate of the target refueling machine per unit time.

[0185] Optionally, the aforementioned duration determination module 1001 is specifically used for:

[0186] Based on the first connection detection result, the refueling start time of the refueling vehicle is determined. The first connection detection result is the connection detection result between the nozzle of the target refueling machine and the refueling vehicle.

[0187] Based on the first disconnection detection result, the refueling end time of the refueling vehicle is determined. The first disconnection detection result is the disconnection detection result between the nozzle of the target refueling nozzle and the refueling vehicle.

[0188] Alternatively, the refueling start time can be determined based on the second connection detection result, where the second connection detection result is the connection detection result between the nozzle of the target refueling gun with the connecting wire and the refueling vehicle.

[0189] Based on the second disconnection detection result, the refueling end time is determined. The second disconnection detection result is the disconnection detection result between the nozzle of the target refueling gun with the connecting wire and the refueling vehicle.

[0190] The refueling duration is calculated based on the refueling start time and the refueling end time.

[0191] Optionally, when detecting the first connection detection result and the second connection detection result, the shielded area is not detected, and the shielded area includes the nozzle mounting area of ​​the target refueling machine.

[0192] Optionally, the above-mentioned device further includes:

[0193] The first determining module is used to determine the lifting detection time of the target refueling nozzle based on the lifting detection result of the target refueling nozzle;

[0194] A first calculation module is used to calculate a first absolute value, and when the first absolute value is greater than a first time threshold, to correct the refueling start time based on the refueling start time and the nozzle lifting detection time, wherein the first absolute value is the absolute value of the difference between the nozzle lifting detection time and the refueling start time; and / or,

[0195] The second determining module is used to determine the discharge detection time of the target refueling nozzle based on the discharge detection result of the target refueling nozzle;

[0196] The second calculation module is used to calculate a second absolute value, and when the second absolute value is greater than a second time threshold, to correct the refueling end time based on the refueling end time and the nozzle release detection time, wherein the second absolute value is the absolute value of the difference between the nozzle release detection time and the refueling end time.

[0197] Optionally, the aforementioned duration determination module 1001 is specifically used for:

[0198] Based on the nozzle lifting detection result of the target refueling machine, the nozzle lifting detection time of the target refueling machine is determined;

[0199] Based on the nozzle detection time, the refueling start time of the refueling vehicle is determined;

[0200] Based on the nozzle release detection results of the target refueling nozzle, the nozzle release detection time of the target refueling nozzle is determined;

[0201] Based on the nozzle release detection time, the refueling end time of the refueling vehicle is determined;

[0202] The refueling duration is calculated based on the refueling start time and the refueling end time.

[0203] Optionally, the above-mentioned device further includes:

[0204] The location determination module is used to determine the location information of the nozzle if a nozzle is detected in the area where the target fuel dispenser is located based on the image of the target fuel dispenser.

[0205] The model determination module is used to determine the target refueling model corresponding to the refueling vehicle based on the location information of the gun mounting hole;

[0206] The aforementioned flow determination module 1002 is specifically used for:

[0207] Determine the flow rate of the target fuel type at the target fuel dispenser per unit time; the target fuel type is the fuel type corresponding to the target fuel dispenser model;

[0208] The aforementioned refueling quantity determination module 1003 is specifically used for:

[0209] The refueling volume is determined based on the refueling time and the flow rate of the target fuel in the target fuel dispenser per unit time.

[0210] Optionally, the above-mentioned device further includes:

[0211] The information determination module is used to detect the presence of a nozzle mounting hole in the area where the target fuel dispenser is located based on the image of the target fuel dispenser, determine the location information of the nozzle mounting hole, determine that the fuel dispenser corresponding to the nozzle mounting hole is the target fuel dispenser, and generate the nozzle lifting detection result of the target fuel dispenser;

[0212] The result generation module is used to generate a nozzle release detection result for the target refueling nozzle if the nozzle is not detected at the location information of the nozzle based on the image of the target refueling machine.

[0213] Optionally, the above information determination module is specifically used for:

[0214] The image of the target refueling machine is used to detect whether the nozzle mounting hole exists in each first detection area; each first detection area includes one refueling nozzle.

[0215] If the first detection area where the nozzle mounting hole is located is detected, it is determined that the nozzle mounting hole exists in the area where the target refueling machine is located;

[0216] The fuel nozzle corresponding to the first detection area corresponding to the gun mounting hole is identified as the target fuel nozzle.

[0217] Alternatively, the presence of the nozzle mounting hole can be detected in each of the second detection regions of the image of the target refueling machine; each second detection region includes at least two refueling nozzles;

[0218] If the second detection area where the nozzle mounting hole is located is detected, it is determined that the nozzle mounting hole exists in the area where the target refueling machine is located.

[0219] Optionally, the above-mentioned device further includes:

[0220] The refueling volume acquisition module is used to acquire the maximum refueling volume corresponding to the model of the refueling vehicle;

[0221] The refueling quantity update module is used to update the refueling quantity to the maximum refueling quantity if the refueling quantity is greater than the maximum refueling quantity.

[0222] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.

[0223] Figure 11 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 11 As shown, the electronic device 11 of this embodiment includes: at least one processor 1100 ( Figure 11(Only one is shown in the diagram), memory 1101, and computer program 1102 stored in said memory 1101 and executable on said at least one processor 1100, which, when executing said computer program 1102, implements the steps in any of the above method embodiments.

[0224] The electronic device may include, but is not limited to, a processor 1100 and a memory 1101. Those skilled in the art will understand that... Figure 11 This is merely an example of electronic device 11 and does not constitute a limitation on electronic device 11. It may include more or fewer components than shown, or combine certain components, or different components, such as input / output devices, network access devices, etc.

[0225] The processor 1100 may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0226] In some embodiments, the memory 1101 may be an internal storage unit of the electronic device 11, such as a hard disk or memory of the electronic device 11. In other embodiments, the memory 1101 may be an external storage device of the electronic device 11, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the electronic device 11. Furthermore, the memory 1101 may include both internal and external storage units of the electronic device 11. The memory 1101 is used to store the operating system, applications, bootloader, data, and other programs, such as the program code of the computer program. The memory 1101 can also be used to temporarily store data that has been output or will be output.

[0227] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0228] This application also provides an electronic device, which includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, wherein the processor executes the computer program to implement the steps in any of the above method embodiments.

[0229] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps described in the various method embodiments above.

[0230] This application provides a computer program product that, when run on an electronic device, enables the electronic device to perform the steps described in the various method embodiments above.

[0231] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a device / electronic device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.

[0232] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0233] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0234] In the embodiments provided in this application, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings or direct couplings or communication connections may be through some interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.

[0235] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0236] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions 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 this application, and should all be included within the protection scope of this application.

Claims

1. A method for determining gas station monitoring data, characterized in that, include: Based on the image detection results of the target fuel dispenser and the fuel vehicle, the refueling start time and refueling end time of the fuel vehicle are determined, and the refueling duration of the fuel vehicle is calculated based on the refueling start time and refueling end time; If a nozzle mounting hole is detected in the area where the target fuel dispenser is located based on the image of the target fuel dispenser, then the location information of the nozzle mounting hole is determined; Based on the location information of the nozzle, the target refueling model corresponding to the refueling vehicle is determined; Determine the flow rate of the target fuel type in the target fuel dispenser per unit time, wherein the target fuel type is the fuel type corresponding to the target fuel dispenser model; Based on the refueling duration and the flow rate of the target fuel in the target fuel dispenser per unit time, the amount of fuel dispensed related to this refueling event of the target fuel dispenser is determined.

2. The method for determining gas station monitoring data according to claim 1, characterized in that, The determination of the refueling start and end times of the refueling vehicle based on the image detection results of the target fuel dispenser and the refueling vehicle includes: Based on the first connection detection result, the refueling start time is determined. The first connection detection result is the connection detection result between the nozzle of the target refueling machine and the refueling vehicle. Based on the first disconnection detection result, the refueling end time is determined. The first disconnection detection result is the disconnection detection result between the nozzle of the target refueling nozzle and the refueling vehicle. Alternatively, the refueling start time can be determined based on the second connection detection result, where the second connection detection result is the connection detection result between the nozzle of the target refueling gun with the connecting wire and the refueling vehicle. Based on the second disconnection detection result, the refueling end time is determined. The second disconnection detection result is the disconnection detection result between the nozzle of the target refueling gun with the connecting wire and the refueling vehicle.

3. The method for determining gas station monitoring data according to claim 2, characterized in that, When detecting the first connection detection result and the second connection detection result, the shielded area is not detected. The shielded area includes the nozzle mounting area of ​​the target refueling machine.

4. The method for determining gas station monitoring data according to claim 1, characterized in that, The determination of the refueling start and end times of the refueling vehicle based on the image detection results of the target fuel dispenser and the refueling vehicle includes: Based on the nozzle lifting detection result of the target refueling machine, the nozzle lifting detection time of the target refueling machine is determined; The refueling start time is determined based on the gun lifting detection time; Based on the nozzle release detection results of the target refueling nozzle, the nozzle release detection time of the target refueling nozzle is determined; The refueling end time is determined based on the nozzle release detection time.

5. The method for determining gas station monitoring data according to claim 4, characterized in that, The result of the target refueling nozzle lift detection is determined in the following way: Based on the image of the target fuel dispenser, a nozzle mounting hole is detected in the area where the target fuel dispenser is located. The location information of the nozzle mounting hole is determined, and the fuel dispenser corresponding to the nozzle mounting hole is determined to be the target fuel dispenser. The nozzle lifting detection result of the target fuel dispenser is generated. If the image of the target refueling machine detects that the nozzle is not present at the location information of the nozzle mounting hole, then a nozzle release detection result for the target refueling machine is generated.

6. The method for determining gas station monitoring data according to claim 5, characterized in that, The detection of a nozzle mounting hole in the area where the target refueling machine is located based on the image of the target refueling machine includes: The image of the target refueling machine is used to detect whether the nozzle mounting hole exists in each first detection area; each first detection area includes one refueling nozzle. If the first detection area where the nozzle mounting hole is located is detected, it is determined that the nozzle mounting hole exists in the area where the target refueling machine is located; The step of determining that the fuel nozzle corresponding to the nozzle mounting hole is the target fuel nozzle includes: The fuel nozzle corresponding to the first detection area corresponding to the gun mounting hole is identified as the target fuel nozzle. or, The detection of a nozzle mounting hole in the area where the target refueling machine is located based on the image of the target refueling machine includes: The system detects whether the nozzle mounting hole exists in each second detection area of ​​the image of the target refueling machine; each second detection area includes at least two refueling nozzles. If the second detection area where the nozzle mounting hole is located is detected, it is determined that the nozzle mounting hole exists in the area where the target refueling machine is located.

7. The method for determining gas station monitoring data according to claim 1, characterized in that, After determining the amount of fuel dispensed in connection with the current refueling event at the target fuel dispenser, the process also includes: Obtain the maximum refueling volume corresponding to the vehicle model being refueled; If the amount of fuel added is greater than the maximum amount of fuel added, then the amount of fuel added is updated to the maximum amount of fuel added.

8. A device for determining monitoring data at gas stations, characterized in that, include: The duration determination module is used to determine the refueling start time and refueling end time of the refueling vehicle based on the image detection results of the target fuel dispenser and the refueling vehicle, and to calculate the refueling duration of the refueling vehicle based on the refueling start time and refueling end time; The location determination module is used to determine the location information of the nozzle if a nozzle is detected in the area where the target fuel dispenser is located based on the image of the target fuel dispenser. The model determination module is used to determine the target refueling model corresponding to the refueling vehicle based on the location information of the gun mounting hole; The flow rate determination module is used to determine the flow rate of the target oil product of the target fuel dispenser per unit time, wherein the target oil product is the oil product corresponding to the target fuel dispenser model; The refueling volume determination module is used to determine the refueling volume related to the current refueling event of the target fuel dispenser based on the refueling duration and the flow rate of the target fuel in the target fuel dispenser per unit time.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the gas station monitoring data determination method as described in any one of claims 1 to 7.

10. A gas station monitoring system, characterized in that, The gas station monitoring system includes an image acquisition device and an electronic device as described in claim 9; the image acquisition device is used to acquire images of the target fuel dispenser and the fueling vehicle, and send the images to the electronic device. Alternatively, the gas station monitoring system includes an intelligent image acquisition device and an electronic device as described in claim 9; the intelligent image acquisition device is used to acquire the image, detect the image, obtain the image detection result, and send the image detection result to the electronic device; Alternatively, the gas station monitoring system includes an image acquisition device, a smart device, and an electronic device as described in claim 9; the image acquisition device is used to acquire the image and send the image to the smart device; the smart device is used to analyze the image, obtain the image detection result, and send the image detection result to the electronic device.

Citation Information

Patent Citations

  • Refueling method based on Beidou system or GPS (Global Positioning System)

    CN103530910A

  • Oil gun and vehicle matching method and device, electronic equipment and storage medium

    CN112489112A

  • Target vehicle determination method and device, electronic equipment and storage medium

    CN113496211A

  • Oil transportation information determination method and device, electronic equipment and storage medium

    CN117953409A