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

The image detection technology determines the refueling time of the refueling vehicle and the flow of the refueling machine, calculates the refueling volume, and solves the problem of installing data acquisition modules for the refueling machine in the prior art, and improves the efficiency and safety of gas station supervision data.

CN120146390AActive Publication Date: 2025-06-13HANGZHOU HIKVISION SYST TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202510237874.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-11
Publication Date
2025-06-13
Estimated Expiration
2044-10-11

AI Technical Summary

Technical Problem

When determining gas station supervision data, the prior art requires installing a data acquisition module on the gas machine, which is difficult to implement and has safety risks, affecting efficiency and safety.

Method used

Based on the image detection results of the target refueling engine and the refueling vehicle, the refueling time of the refueling vehicle is determined, and the refueling volume related to the target refueling engine is calculated as the gas station supervision data.

Benefits of technology

It realizes that the refueling volume can be accurately estimated without installing a data acquisition module, improves the determination efficiency and safety of gas station supervision data, and reduces manual participation and safety risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120146390A_ABST
    Figure CN120146390A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of computers, and provides a gas station supervision data determination method and device, electronic equipment and a supervision system. The method comprises the steps of determining refueling duration of a refueling vehicle based on image detection results of a target refueling machine and the refueling vehicle; determining the flow of the target oiling machine in unit time; and based on the refueling duration and the flow of the target refueling machine in the unit time, the refueling amount related to the refueling event of the target refueling machine is determined. According to the invention, the determination efficiency and safety of the gas station supervision data are improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is based on a divisional application with application number 202411413173.6, application date October 11, 2024, and invention name “Method, device, electronic device and supervision system for determining supervision data of gas stations”. The entire contents of the original application are incorporated into this application by reference. Technical Field

[0002] The present application belongs to the field of computer technology, and in particular, relates to a method, device, electronic equipment and supervision system for determining supervision data of a gas station. Background Art

[0003] Based on the information obtained by the tax authorities during their inspections of tax sources, gas stations are widely distributed and scattered, and their actual operating conditions are difficult to fully grasp. The tax data reported by some gas stations themselves deviate from the actual gas station supervision data, and there are cases of tax evasion. Therefore, how to determine the gas station supervision data is a technical problem that needs to be solved urgently.

[0004] The existing technology determines the gas station supervision data by installing a data collection module on the gas station. This method requires the installation of a data collection module on the gas station, which is difficult to implement and has certain safety risks. When implementing it, the gas station's refueling business needs to be temporarily interrupted, which affects the efficiency and safety of determining the gas station supervision data. Summary of the invention

[0005] The embodiments of the present application provide a method, device, electronic device and supervision system for determining supervision data of a gas station, which can improve the efficiency and security of determining supervision data of a gas station.

[0006] In a first aspect, an embodiment of the present application provides a method for determining gas station supervision data, comprising:

[0007] Based on the image detection results of the target fuel dispenser and the refueling vehicle, the refueling time of the refueling vehicle is determined; wherein the refueling vehicle is a vehicle in 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 fuel dispenser per unit time;

[0009] Based on the refueling duration and the flow rate of the target refueling machine per unit time, a refueling amount associated with the current refueling event of the target refueling machine is determined.

[0010] In the embodiments of the present application, based on the image detection results of the target fuel dispenser and the refueling vehicle, the refueling duration of the refueling vehicle can be determined. Based on the refueling duration and the flow rate of the target fuel dispenser per unit time, the refueling volume related to the current refueling event of the target fuel dispenser can be determined, and the refueling volume is the gas station supervision data. That is, in this solution, the refueling volume can be estimated through image detection, without installing a data acquisition module on the fuel dispenser and without manual participation, improving the determination efficiency and security of the gas station supervision data.

[0011] In a second aspect, an embodiment of the present application provides a device for determining gas station supervision data, including:

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

[0013] A flow rate determination module, configured to determine the flow rate of the target fuel dispenser per unit time;

[0014] A refueling volume determination module, configured 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 dispenser per unit time.

[0015] In a third aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for determining gas station supervision data described in the first aspect above is implemented.

[0016] In a fourth aspect, an embodiment of the present application provides a gas station supervision system. The gas station supervision system includes an image acquisition device and the electronic device described in the third aspect above; the image acquisition device is configured to acquire images of the target fuel dispenser and the refueling vehicle, and send the images to the electronic device;

[0017] Alternatively, the gas station supervision system includes an intelligent image acquisition device and the electronic device described in the third aspect above; the intelligent image acquisition is configured to acquire the images, detect the images to obtain image detection results, and send the image detection results to the electronic device;

[0018] Alternatively, the gas station supervision system includes an image acquisition device, an intelligent device, and the electronic device described in the third aspect above; the image acquisition device is configured to acquire the images and send the images to the intelligent device; the intelligent device is configured to analyze the images to obtain the image detection results, and send the image detection results to the electronic device.

[0019] Fifth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, which when executed by a processor, implements the method for determining gas station supervision data as described in the first aspect above.

[0020] Sixth aspect, an embodiment of the present application provides a computer program product, which when running on an electronic device, causes the electronic device to execute the method for determining gas station supervision data as described in the first aspect above.

[0021] It can be understood that the beneficial effects of the above second aspect to the sixth aspect can be referred to the relevant descriptions in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0023] Figure 1 is a schematic diagram of a gas station supervision system provided by an embodiment of the present application;

[0024] Figure 2 is an example diagram of the deployment of an image acquisition device;

[0025] Figure 3 is an example diagram of a parking detection area displayed in the display screen of the image acquisition device;

[0026] Figure 4 is another schematic diagram of a gas station supervision system provided by an embodiment of the present application;

[0027] Figure 5 is yet another schematic diagram of a gas station supervision system provided by an embodiment of the present application;

[0028] Figure 6 is a schematic diagram of the implementation process of the method for determining gas station supervision data provided by an embodiment of the present application;

[0029] Figure 7 is an example diagram of a refueling vehicle driving into a target parking detection area;

[0030] Figure 8 is an example diagram of a shielding area;

[0031] Figure 9 is an example diagram of a first detection area;

[0032] Figure 10 It is a schematic structural diagram of a gas station supervision data determination device provided by an embodiment of the present application;

[0033] Figure 11 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners

[0034] In the following description, for the purpose of illustration rather than limitation, specific details such as specific system architectures and technologies are set forth in order to provide a thorough understanding of the embodiments of the present application. However, those skilled in the art should understand that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary details.

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

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

[0037] It should also be understood that in the embodiments of the present application, "a plurality of" means two or more.

[0038] As used in the specification and appended claims of the present application, the term "if" can be interpreted as "when", "once", "in response to determining", or "in response to detecting" depending on the context. Similarly, the phrase "if determined" or "if detecting [the described condition or event]" can be interpreted as meaning "once determined", "in response to determining", "once detecting [the described condition or event]", or "in response to detecting [the described condition or event]" depending on the context.

[0039] In addition, in the description of the specification and appended claims of the present application, the terms "first", "second", "third", etc. are only used for distinguishing descriptions and cannot be understood as indicating or implying relative importance.

[0040] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that specific features, structures, or characteristics described in connection with that embodiment are included in one or more embodiments of this application. Thus, statements such as "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments", etc. that appear in different places in this specification do not necessarily all refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized. The terms "comprising", "including", "having" and their variants all mean "including but not limited to", unless otherwise specifically emphasized.

[0041] A method for determining gas station supervision data provided by an embodiment of this application can be applied to electronic devices such as desktop computers, servers, laptop computers, ultra-mobile personal computers (UMPCs), etc. This application does not impose any restrictions on the specific type of the electronic device. Exemplarily, the electronic device in an embodiment of this application can be a server in the computer room of a gas station supervision department, and can determine gas station supervision data based on the refueling duration of refueling vehicles in a target parking detection area and the flow rate of a target fuel dispenser corresponding to the target parking detection area per unit time, so as to facilitate the gas station supervision department to view the gas station supervision data or verify the tax data self-declared by the gas station based on the gas station supervision data, etc.

[0042] Please refer to Figure 1 , Figure 1 FIG. shows a schematic diagram of a gas station supervision system provided by an embodiment of this application. By way of example and not limitation, the gas station supervision system 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 acquisition field of view of the image acquisition device 101 is large enough, the deployment of the image acquisition device 101 aims mainly at realizing parking detection and realizing fuel gun detection, that is, the image acquisition device 101 is deployed at the gas station and the acquisition field of view covers the parking area of the fuel dispenser and the fuel gun of the fuel dispenser in the gas station.

[0044] When the acquisition field of view of the image acquisition device 101 is limited, the image acquisition device 101 can include a first image acquisition device and a second image acquisition device. The deployment of the first image acquisition device aims mainly at realizing parking detection, that is, the first image acquisition device is deployed at the gas station and the acquisition field of view covers the parking detection area of the fuel dispenser in the gas station. The deployment of the second image acquisition device aims mainly at realizing fuel gun detection, that is, the second image acquisition device is deployed at the gas station and the acquisition field of view covers the fuel gun of the corresponding fuel dispenser.

[0045] It should be understood that the number of deployed image acquisition devices 101 and the product forms can be adjusted according to the layout of fuel dispensers in the gas station and the data acquisition capabilities of the image acquisition devices 101. The product forms include, but are not limited to, 360-degree panoramic devices, explosion-proof dome cameras, wide-angle cameras, fixed-focus cameras, etc.

[0046] In order to more accurately implement the supervision of the gas station, an image acquisition device 101 can be separately configured for each fuel dispenser in the gas station, and the supervision of the corresponding fuel dispenser can be realized based on this image acquisition device 101.

[0047] Of course, it can be understood that if the acquisition field of view of the image acquisition device 101 is relatively large, multiple fuel dispensers can also 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 acquisition field of view of the first image acquisition device is relatively large, multiple fuel dispensers can share one first image acquisition device; if the acquisition field of view of the second image acquisition device is relatively large, multiple fuel dispensers can also share one second image acquisition device, and this application does not limit this.

[0048] By way of example and not limitation, Figure 2 is an example diagram of the deployment of the image acquisition device. Taking fuel dispenser No. 1 and fuel dispenser No. 3 in the gas station as an example, image acquisition devices 1011 and 1012 are respectively the first image acquisition device and the second image acquisition device configured for fuel dispenser No. 1, and image acquisition devices 1013 and 1014 are respectively the first image acquisition device and the second image acquisition device configured for fuel dispenser No. 3. The image acquisition device 1011 can be installed on the side column 3 of fuel dispenser No. 3 to collect the parking detection area on both sides or one side of fuel dispenser No. 1. The image acquisition device 1012 can be installed on the side column 1 of fuel dispenser No. 1 to collect the area where the fuel gun of fuel dispenser No. 1 is located. The field of view (i.e., the field of vision) of the image acquisition device 1012 is from top to bottom, which can prevent personnel from blocking the area where the fuel gun of fuel dispenser No. 1 is located. The image acquisition device 1013 can be installed on the side column 1 of fuel dispenser No. 1 to collect the parking detection area on both sides or one side of fuel dispenser No. 3. The image acquisition device 1013 can be installed on the side column 3 of fuel dispenser No. 3 to collect the area where the fuel gun of fuel dispenser No. 3 is located. The field of view of the image acquisition device 1014 is from top to bottom, which can prevent personnel from blocking the area where the fuel gun of fuel dispenser No. 3 is located.

[0049] To achieve time synchronization for various devices and fuel dispensers in the gas station supervision system, so as to provide accurate time information for gas station supervision, the fuel dispenser, the image acquisition device 101 corresponding to the fuel dispenser, and the electronic device 102 can be uniformly calibrated for time by a time calibration server. Of course, it can be understood that in addition to the time calibration server, the above-mentioned multiple devices can also be uniformly calibrated for time through other time calibration methods.

[0050] In a possible implementation manner, a parking detection area can be configured based on the deployment position of the fuel nozzles of the fuel dispenser. For example, if fuel nozzles are deployed on both sides of the fuel dispenser, then parking detection areas can be configured on both sides of the fuel dispenser; if a fuel nozzle is deployed on one side of the fuel dispenser, then the side where the fuel nozzle is deployed can be configured as the parking detection area.

[0051] Optionally, a parking detection area can be configured for the fuel dispenser on the image acquisition device 101. When the electronic device 102 displays the image collected by the image acquisition device 101, the parking detection area can be displayed or not displayed in the displayed picture, and this application does not limit this. As Figure 3 shown is an example diagram of the parking detection area displayed in the display picture of the image acquisition device, Figure 3 where the two black rectangular frames on both sides of the fuel dispenser in it are the parking detection areas.

[0052] As an example but not a limitation, after the image acquisition device 101 is installed, its position and acquisition field of view are usually fixed. Therefore, after installation, the image acquisition device 101 can first collect data on the fuel dispenser to obtain a fuel dispenser image, and the position information of the parking detection area can be determined from the fuel area image and stored. On this basis, the image acquisition device 101 can identify whether a vehicle has entered or exited the parking area based on the pre-stored position information of the parking detection area and the collected image.

[0053] Of course, it can be understood that when the image acquisition device 101 is communicatively connected to the electronic device 102, the above step of determining the position information of the parking detection area from the fuel dispenser image can also be executed on the electronic device 102. After the electronic device 102 obtains the position information of the parking detection area, it then sends the position information of the parking detection area to the image acquisition device 101.

[0054] After configuring the parking detection area for any fuel dispenser, the electronic device can associate the identification information of the parking detection area with the fuel dispenser information of the corresponding fuel dispenser, and store the association relationship in the gas station supervision platform. When the gas station supervision platform is installed on the electronic device 102, after identifying that a vehicle has entered a parking detection area, it can be determined that the parking detection area is the target parking detection area, and the electronic device can determine the fuel dispenser that provides refueling services for the vehicle based on the identification information of the parking detection area and the pre-stored association relationship between the identification information of the parking detection area and the fuel dispenser information. Among them, the above-mentioned gas station supervision platform may refer to the software for implementing the solution of this application.

[0055] By running the gas station supervision platform, the electronic device 102 can analyze the images of the target fuel dispenser and the refueling vehicle collected by the image acquisition device 101, obtain the image detection result, and determine the gas station supervision data based on the image detection result. The specific implementation solution can refer to the gas station supervision data determination method described in the following embodiments.

[0056] In this embodiment, the electronic device 102 can also implement functions such as extracting vehicle information of vehicles entering and leaving the parking detection area, detecting the lifting and lowering of the fuel dispenser gun, detecting the fuel gun and connecting line, analyzing refueling vehicles, analyzing refueling data, and warning of unreported refueling involved in this application. Analyzing refueling vehicles includes, but is not limited to, analyzing fuel dispenser information, refueling model, vehicle information of refueling vehicles, refueling start time, refueling end time, and refueling duration, etc. Analyzing refueling data includes, but is not limited to, further analyzing and filtering the data generated after analyzing refueling vehicles to estimate the refueling volume.

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

[0058] In addition to being able to implement the image acquisition function as described in the above image acquisition device 101, the intelligent image acquisition device 103 can also detect the collected images, obtain the image detection result, and send the image detection result to the electronic device 102. The electronic device 102 can determine the gas station supervision data based on the image detection result and implement the supervision of the gas station.

[0059] In this embodiment, the intelligent image acquisition device 103 can also implement functions such as extracting vehicle information of vehicles entering and leaving the parking detection area and detecting the lifting and lowering of the fuel dispenser gun, detecting the fuel gun and connecting line involved in this application. The electronic device 102 can implement functions such as analyzing refueling vehicles, analyzing refueling data, and warning of unreported refueling involved in this application.

[0060] Please refer to Figure 5 , in another embodiment, the gas station supervision system may include an image acquisition device 101, an electronic device 102, and an intelligent device 104. The intelligent device 104 is communicatively connected to the image acquisition device 101 and the electronic device 102 respectively.

[0061] The image acquisition device 101 acquires images of the target fuel dispenser and the refueling vehicle, and sends the images of the target fuel dispenser and the refueling vehicle to the intelligent device 104. The intelligent device 104 detects the images, obtains an image detection result, and sends the image detection result to the electronic device 102. The electronic device 102 can determine gas station supervision data based on the image detection result and implement the supervision of the gas station.

[0062] In this embodiment, the intelligent device 104 can implement functions such as vehicle information extraction for vehicles entering and exiting the parking detection area, fuel dispenser nozzle lifting and lowering detection, and fuel nozzle and connecting line detection involved in this application. The electronic device can implement functions such as refueling vehicle analysis, refueling data analysis, and refueling unreported warning involved in this application.

[0063] Please refer to Figure 6 , Figure 6 shows a schematic implementation flow diagram of the gas station supervision data determination method provided by an embodiment of this application, which is applied to an electronic device. By way of example and not limitation, the method includes the following steps:

[0064] Step 601, determine the refueling duration of the refueling vehicle based on the image detection result of the target fuel dispenser and the refueling vehicle.

[0065] Among them, the refueling vehicle is a vehicle within the target parking detection area, and the target parking detection area is the parking detection area for vehicles entering. The target fuel dispenser corresponds to the target parking detection area. As Figure 7 shown is an example diagram of a refueling vehicle entering the target parking detection area, Figure 7 and the vehicle in it is the refueling vehicle.

[0066] The above image detection result may be obtained by the electronic device detecting the images of the target fuel dispenser and the refueling vehicle collected by the image acquisition device, or may be sent by the intelligent image acquisition device or the intelligent device to the electronic device. This application does not limit this.

[0067] In a possible implementation manner, the electronic device can determine the refueling start time and the refueling end time of the refueling vehicle based on the image detection result of the target fuel dispenser and the refueling vehicle; based on the refueling start time and the refueling end time, calculate the refueling duration of the refueling vehicle. For example, subtracting the refueling start time from the refueling end time can obtain the refueling duration.

[0068] The electronic device can determine the refueling start time and the refueling end time in the following three ways.

[0069] In the first way, based on the first connection detection result, which is the connection detection result between the nozzle of the target fuel dispenser gun and the refueling vehicle, determine the refueling start time of the refueling vehicle; based on the first disconnection detection result, which is the disconnection detection result between the nozzle of the target fuel dispenser gun and the refueling vehicle, determine the refueling end time of the refueling vehicle.

[0070] Among them, the target fuel dispenser gun is used to provide refueling services for the refueling vehicle. The above first connection detection result indicates that the nozzle of the target fuel dispenser gun is connected to the refueling vehicle.

[0071] The above scheme for determining the refueling start time may include: the electronic device detects the images of the target fuel dispenser and the refueling vehicle. When the nozzle of the target fuel dispenser gun is first detected to be connected to the refueling vehicle during the current refueling event of the target fuel dispenser, generate the first connection detection result, and save the first image of the first detected connection for subsequent viewing by the supervision personnel, and use the acquisition time of the first image as the refueling start time, or use the system time of the first detected connection as the refueling start time.

[0072] The above scheme for determining the refueling start time may also include: the intelligent device or the intelligent image acquisition device detects the images of the target fuel dispenser and the refueling vehicle. When the nozzle of the target fuel dispenser gun is first detected to be connected to the refueling vehicle during the current refueling event of the target fuel dispenser, generate the first connection detection result, and send the above first connection detection result to the electronic device. The electronic device determines the refueling start time of the refueling vehicle based on this first connection detection result.

[0073] After the electronic device receives the above first connection detection result, it can send an image acquisition instruction to the corresponding image acquisition device or the intelligent image acquisition device. After receiving this image acquisition instruction, the image acquisition device or the intelligent image acquisition device feeds back the currently acquired second image to the electronic device. The second image may include 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 subsequent viewing by the supervision personnel, and use the image acquisition time in the second image as the refueling start time.

[0074] After the electronic device receives the above first connection detection result, it can also use the current system time as the refueling start time, obtain and save the above second image for subsequent viewing by the supervision personnel.

[0075] Among them, the above image acquisition device or intelligent image acquisition device is deployed at the first position of the gas station, and the acquisition field of view covers the target parking area and the target fuel dispenser, and is used to collect images of the target parking area and the target fuel dispenser. The above first position can be determined based on the acquisition field of view of the image acquisition device or the intelligent image acquisition device, and it is necessary to ensure that the acquisition field of view covers the parking area corresponding to the fuel dispenser.

[0076] Among them, the above first disconnection detection result represents that the nozzle of the target fuel gun is disconnected from the refueling vehicle.

[0077] The above solution for determining the refueling end time may include: the electronic device detects the images of the target fuel dispenser and the refueling vehicle. When the electronic device first recognizes that the nozzle of the target fuel gun is disconnected from the refueling vehicle during the current refueling event of the target fuel dispenser, it generates a first disconnection detection result, saves the third image when the disconnection is first recognized for subsequent viewing by specific personnel, and takes the acquisition time of the third image as the refueling end time, or takes the system time when the disconnection is first recognized as the refueling end time.

[0078] As an example rather than a limitation, the electronic device can detect the connection or disconnection of the nozzle of the target fuel gun from the refueling vehicle in the following way: based on the images of the target fuel dispenser and the refueling vehicle, determine the distance between the nozzle of the target fuel gun and the fuel tank of the refueling vehicle; if the distance between the nozzle of the target fuel gun and the fuel tank of the refueling vehicle is less than the distance threshold, it can be determined that the nozzle of the target fuel gun is connected to the refueling vehicle, and the first image can be the first frame of the image that detects that the distance between the nozzle of the target fuel gun and the fuel tank of the refueling vehicle is less than the distance threshold, or the previous frame of this image; if the distance between the nozzle of the target fuel gun 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 gun is disconnected from the refueling vehicle, and the third image can be the first frame of the image that detects that the distance between the nozzle of the target fuel gun and the fuel tank of the refueling vehicle is greater than or equal to the distance threshold, or the previous frame of this image. Optionally, the above distance threshold can be preset according to the actual scenario requirements.

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

[0080] The above solution for determining the refueling end time may also include: The intelligent device or the intelligent image acquisition device detects the images of the target fuel dispenser and the refueling vehicle, generates a first disconnection detection result when the nozzle of the target fuel dispenser is first identified as being disconnected from the refueling vehicle during the current refueling event of the target fuel dispenser, and sends the above first disconnection detection result to the electronic device. The electronic device determines the refueling end time of the refueling vehicle based on this first disconnection detection result.

[0081] After receiving the above first disconnection detection result, the electronic device may send an image acquisition instruction to the corresponding image acquisition device or intelligent image acquisition device. After receiving the image acquisition instruction, the image acquisition device or intelligent image acquisition device feeds back the currently acquired fourth image to the electronic device. The fourth image may include the corresponding image acquisition time (i.e., the acquisition time of the fourth image). After receiving the fourth image, the electronic device may 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 above first disconnection detection result, the electronic device may also use the current system time as the refueling end time, acquire and save the fourth image for subsequent viewing by specific personnel.

[0083] In the second method, the electronic device determines the refueling start time based on the second connection detection result, where the second connection detection result is the connection detection result of the nozzle of the target fuel dispenser with a connecting line to the refueling vehicle; and determines the refueling end time based on the second disconnection detection result, where the second disconnection detection result is the disconnection detection result of the nozzle of the target fuel dispenser with a connecting line from the refueling vehicle.

[0084] Among them, the above second connection detection result indicates that the nozzle of the target fuel dispenser with a connecting line is connected to the refueling vehicle.

[0085] The above solution for determining the start time of refueling may include: The electronic device detects the images of the target fuel dispenser and the refueling vehicle. When, in the current refueling event of the target fuel dispenser, it first detects that the nozzle of the target fueling gun with a connecting line is connected to the refueling vehicle, it generates a second connection detection result, saves the fifth image of the first detected connection for the subsequent viewing by the supervisor, and takes the acquisition time of the fifth image as the start time of refueling, or takes the system time of the first detected connection as the start time of refueling.

[0086] The above solution for determining the start time of refueling may also include: The intelligent device or intelligent image acquisition device detects the images of the target fuel dispenser and the refueling vehicle. When it first detects that the nozzle of the target fueling gun with a connecting line is connected to the refueling vehicle in the current refueling event of the target fuel dispenser, it generates a second connection detection result and sends the above second connection detection result to the electronic device. The electronic device determines the start time of refueling for the refueling vehicle based on this second connection detection result.

[0087] After receiving the above second connection detection result, the electronic device may send an image acquisition instruction to the corresponding image acquisition device or intelligent image acquisition device. After receiving this image acquisition instruction, the image acquisition device or intelligent image acquisition device feeds back the currently acquired sixth image to the electronic device. The sixth image may include the corresponding image acquisition time (i.e., the acquisition time of the sixth image). After receiving the sixth image, the electronic device may save the sixth image for the subsequent viewing by the supervisor and take the image acquisition time in the sixth image as the start time of refueling.

[0088] After receiving the above second connection detection result, the electronic device may also take the current system time as the start time of refueling, obtain and save the above sixth image for the subsequent viewing by the supervisor.

[0089] Among them, the above second disconnection detection result indicates that the nozzle of the target fueling gun with a connecting line is disconnected from the refueling vehicle.

[0090] The above solution for determining the end time of refueling may include: The electronic device detects the images of the target fuel dispenser and the refueling vehicle. When it first identifies that the nozzle of the target fueling gun with a connecting line is disconnected from the refueling vehicle in the current refueling event of the target fuel dispenser, it generates a second disconnection detection result, saves the seventh image of the first identified disconnection for the subsequent viewing by specific personnel, and takes the acquisition time of the seventh image as the end time of refueling, or takes the system time of the first identified disconnection as the end time of refueling.

[0091] By way of example and not limitation, an electronic device may detect the connection or disconnection of a nozzle connected to a connecting line with a refueling vehicle in the following manner: Based on images of a target fuel dispenser and a refueling vehicle, determine the distance between the nozzle connected to the connecting line and the fuel tank of the refueling vehicle; if the distance between the nozzle connected to the connecting line and the fuel tank of the refueling vehicle is less than a distance threshold, it may be determined that the nozzle connected to the connecting line is connected to the refueling vehicle. The fifth image may be the first image in which it is detected that the distance between the nozzle connected to the connecting line and the fuel tank of the refueling vehicle is less than the distance threshold, or the previous frame image of this image; if the distance between the nozzle connected to the connecting line 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 may be determined that the nozzle connected to the connecting line is disconnected from the refueling vehicle. The seventh image may be the first image in which it is detected that the distance between the nozzle connected to the connecting line and the fuel tank of the refueling vehicle is greater than or equal to the distance threshold, or the previous frame image of this image.

[0092] Of course, the electronic device may also identify and track the nozzle connected to the connecting line based on images of the target fuel dispenser and the refueling vehicle. If the nozzle connected to the connecting line cannot be identified when tracking near the refueling vehicle, it may be determined that the nozzle connected to the connecting line is connected to the refueling vehicle. The fifth image may be the image in which the nozzle connected to the connecting line cannot be identified for the first time during the tracking process, or the previous frame image of this image; on this basis, continuously identify the nozzle connected to the connecting line based on images of the target fuel dispenser and the refueling vehicle. If the nozzle connected to the connecting line is identified, it may be determined that the nozzle connected to the connecting line is disconnected from the refueling vehicle. The seventh image may be the first image in which the nozzle connected to the connecting line is identified during the continuous identification process, or the previous frame image of this image.

[0093] The above solution for determining the refueling end time may also include: An intelligent device or an intelligent image acquisition device detects images of the target fuel dispenser and the refueling vehicle, generates a second disconnection detection result when it is first identified in the current refueling event of the target fuel dispenser that the nozzle of the target fuel gun connected to the connecting line is disconnected from the refueling vehicle, and sends the above second disconnection detection result to the electronic device. The electronic device determines the refueling end time of the refueling vehicle based on this second disconnection detection result.

[0094] After receiving the above second disconnection detection result, the electronic device may send an image acquisition instruction to the corresponding image acquisition device or intelligent image acquisition device. After receiving the image acquisition instruction, the image acquisition device or intelligent image acquisition device feeds back the currently acquired eighth image to the electronic device. The eighth image may include the corresponding image acquisition time (i.e., the acquisition time of the eighth image). After receiving the eighth image, the electronic device may 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 the electronic device receives the above second disconnection detection result, it can also use the current system time as the refueling end time, obtain and save the eighth image, which is convenient for supervisors to view the eighth image later.

[0096] In the implementation solutions of the above method 1 and method 2, for any fueling gun on the target fuel dispenser, when the gun head of the fueling gun is not pulled out of the gun hanging hole, the fueling gun is always suspended in the gun hanging area. That is to say, the connection line can be detected in this gun hanging area. When the gun head is just pulled out of the gun hanging hole and the fueling vehicle is not refueled, the gun head or the gun head connected with the connection line (that is, the connection line and the gun head) can also be detected in the gun hanging area. Therefore, in order to avoid the interference of the above two situations on detecting the gun head connected with the connection line in the solution for determining the refueling start time, the gun hanging area of the target fuel dispenser can be set as a shielding area, such as Figure 8 The figure shown is an example diagram of the shielding area. Figure 8 The two dashed boxes in it are the shielding areas. When detecting the first connection detection result and the second connection detection result, the shielding area is not detected. That is, when detecting the first connection detection result and the second connection detection result, only the area outside the shielding area in the image of the target fuel dispenser and the fueling vehicle needs to be identified and tracked for the gun head or the gun head connected with the connection line, which can reduce the amount of data in the process of detecting the first connection detection result and the second connection detection result and improve the detection efficiency of the above two connection detection results.

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

[0098] Based on the detection result of the refueling vehicle entering the target parking detection area, the electronic device determines the start time of the refueling vehicle's parking; based on the detection result of the refueling vehicle leaving the target parking detection area, the electronic device determines the end time of the refueling vehicle's parking; if the refueling start time is earlier than the parking start time, the refueling start time and the parking end time are marked as to be confirmed; if the refueling end time is later than the parking end time, the refueling end time and the parking end time are marked as to be confirmed; based on the video clip of the refueling vehicle, the time marked as to be confirmed is verified to obtain a verification result, and the video clip records the refueling process of the refueling vehicle during this refueling event; if the verification result shows that the marked refueling start time and refueling end time are correct, the refueling duration is calculated based on the refueling start time and the refueling end time; if the verification result shows that the marked refueling start time or refueling end time is incorrect, the refueling duration is not calculated based on the refueling start time and the refueling end time. 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 the refueling end time are confirmed as valid times, and the refueling duration is calculated based on the refueling start time and the refueling end time.

[0099] Among them, the detection result of the refueling vehicle entering the target parking detection area indicates that the refueling vehicle enters the target parking detection area. The detection result of the refueling vehicle leaving the target parking detection area indicates that the refueling vehicle leaves the target parking detection area.

[0100] In a possible implementation, the image acquisition device continuously acquires images of the parking detection area of the target fuel dispenser. Based on the acquired images, it can identify whether a vehicle enters the parking detection area of the target fuel dispenser. If it is identified that a vehicle enters the parking detection area of the target fuel dispenser, the vehicle is determined as the refueling vehicle, the parking detection area is the target parking detection area, and the acquired images are sent to the intelligent device. The intelligent device can extract the vehicle information of the refueling vehicle based on the images acquired by the image acquisition device, and send the detection result of the refueling vehicle entering the target parking detection area to the electronic device. This detection result is used to instruct the electronic device to determine the start time of parking. When the refueling vehicle enters the target parking detection area, the image acquisition device can identify whether the refueling vehicle leaves the target parking detection area based on the acquired images; if it is identified that the refueling vehicle leaves the target parking detection area, the acquired images are sent to the intelligent device. The intelligent device can extract the vehicle information of the refueling vehicle again based on the images acquired by the image acquisition device, and send the detection result of the refueling vehicle leaving the target parking detection area to the electronic device. This detection result is used to instruct the electronic device to determine the end time of parking.

[0101] The detection results of the refueling vehicle entering the target parking detection area and the detection results of the refueling vehicle leaving the target parking detection area may carry vehicle information extracted by the intelligent device. After receiving the above detection results, the electronic device can extract the vehicle information, which is convenient for the supervision personnel to view the vehicle information of the vehicle entering or leaving the parking detection area subsequently.

[0102] In a possible implementation manner, in response to the detection result of the refueling vehicle entering the target parking detection area by the intelligent device, the electronic device may send an image acquisition instruction to the image acquisition device. After receiving the image acquisition instruction, the image acquisition device feeds back the currently acquired ninth image data to the electronic device. The ninth image may include the corresponding image acquisition time (i.e., the acquisition time of the ninth image). After receiving the ninth image, the electronic device may save the ninth image, use the image acquisition time in the ninth image as the start time of parking, 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 intelligent device, the electronic device may send an image acquisition instruction to the image acquisition device. After receiving the image acquisition instruction, the image acquisition device feeds back the currently acquired tenth image data to the electronic device. The tenth image may include the corresponding image acquisition time (i.e., the acquisition time of the tenth image). After receiving the tenth image, the electronic device may save the tenth image, use the image acquisition time in the tenth image as the end time of parking, 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 manner, in response to the detection result of the refueling vehicle entering the target parking detection area by the intelligent device, the electronic device may use the current system time as the start time of parking. In this implementation manner, the electronic device may also acquire and save the above-mentioned ninth image.

[0105] In response to the detection result of the refueling vehicle leaving the target parking detection area by the intelligent device, the electronic device may use the current system time as the end time of parking. In this implementation manner, the electronic device may also acquire and save the above-mentioned tenth image, control the image acquisition device to record, and extract the recorded video segment of the refueling vehicle.

[0106] The electronic device saves the ninth image, the tenth image, and the video segment, which is convenient for the supervision personnel to view the ninth image, the tenth image, and the video segment subsequently.

[0107] It should be noted that the above detection schemes for the refueling vehicle entering and leaving the parking detection area and the vehicle information extraction scheme, etc. are based on Figure 5The following takes the gas station supervision system shown as an example for introduction. For Figure 1 and Figure 4 For the gas station supervision systems shown, the detection schemes for detecting when a refueling vehicle enters and exits the parking detection area and the vehicle information extraction schemes are similar to those introduced above, and will not be elaborated here.

[0108] In a possible implementation manner, after determining the parking start time and the parking end time of the refueling vehicle, the parking duration of the refueling vehicle can also be calculated based on the parking start time and the parking end time; if the parking duration is greater than the parking duration threshold, the refueling duration can be calculated based on the refueling start time and the refueling end time or the validity of the refueling start time and the refueling end time can be judged based on the parking start time and the parking end time; if the parking duration is less than or equal to the parking duration threshold, it is determined that the event that the refueling vehicle passes through the target parking area is a vehicle passing event. Among them, the parking duration threshold is used to judge whether the event that the refueling vehicle passes through the target parking area is a vehicle passing event. Optionally, the parking duration threshold can be preset according to the actual scenario. A vehicle passing event may refer to an event where the vehicle passes through the parking area of the fuel dispenser but does not use the refueling service provided by the fuel dispenser.

[0109] After the electronic device determines the vehicle passing event, it can store data such as the gas station information, the parking start time, the parking end time, the fuel dispenser information, and the license plate information related to the vehicle passing event, so as to facilitate the subsequent viewing of the vehicle passing event by the supervision personnel.

[0110] In order to provide refueling services to vehicles in a timely manner, gas station staff are usually located near the fuel dispenser. Therefore, during the process of analyzing the refueling vehicle based on the images of the target fuel dispenser and the refueling vehicle, there may be a situation where the staff blocks the nozzle or the connecting line, which is likely to cause errors in the determined refueling start time and refueling end time. As an example rather than a limitation, when the nozzle connected with the connecting line is connected to the refueling vehicle, although the nozzle cannot be recognized, the connecting line can be recognized near the refueling vehicle. During the process of the electronic device recognizing and tracking the nozzle connected with the connecting line based on the images of the target fuel dispenser and the refueling vehicle, when tracking to near the refueling vehicle, if the process of connecting the nozzle with the connecting line to the refueling vehicle is blocked by the staff, it will result in the connecting line not being recognized near the refueling vehicle, but at this time, the refueling vehicle may already be refueled. In this case, the determined refueling start time has an error. When the nozzle connected with the connecting line is connected to the refueling vehicle, that is, when refueling the refueling vehicle, the connecting line exists near the refueling vehicle, but due to being blocked by the staff, the connecting line is not recognized near the refueling vehicle, and the electronic device will misjudge that the nozzle connected with the connecting line is disconnected from the refueling vehicle. In this case, the determined refueling end time has an error.

[0111] To ensure the accuracy of the refueling start time and the refueling end time, the refueling start time and / or the refueling end time can be corrected based on the state of the target fueling gun.

[0112] In a possible implementation, correcting the refueling start time based on the state of the target fueling gun includes:

[0113] Determining the gun-lifting detection time of the target fueling gun based on the gun-lifting detection result of the target fueling gun;

[0114] Calculating a first absolute value, and when the first absolute value is greater than a first time threshold, correcting the refueling start time based on the refueling start time and the gun-lifting detection time, where the first absolute value is the absolute value of the difference between the gun-lifting detection time and the refueling start time.

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

[0116] It should be noted that the present application does not limit the correction method of the refueling start time. For example, correcting the refueling start time based on the refueling start time and the gun-lifting detection time may include: updating the refueling start time to the gun-lifting detection time, or calculating the average value of the refueling start time and the gun-lifting detection time, and updating the refueling start time to the average value, or adding the gun-lifting detection time and a first time to obtain a sum value, and updating the refueling start time to the sum value, where the first time can be a preset empirical value.

[0117] In a possible implementation, correcting the refueling end time based on the state of the target fueling gun includes:

[0118] Determining the gun-lowering detection time of the target fueling gun based on the gun-lowering detection result of the target fueling gun;

[0119] Calculating a second absolute value, and when the second absolute value is greater than a second time threshold, correcting the refueling end time based on the refueling end time and the gun-lowering detection time, where the second absolute value is the absolute value of the difference between the gun-lowering detection time and the refueling end time.

[0120] Wherein, the above gun-lowering detection result indicates that the target fueling gun is in the gun-lowering state.

[0121] It should be noted that the present application does not limit the method for correcting the refueling end time. For example, based on the refueling end time and the gun discharge detection time as described above, correcting the refueling end time may include: updating the refueling end time to the gun discharge detection time, or calculating the average value of the refueling end time and the gun discharge detection time and updating the refueling end time to this average value, or adding the gun discharge detection time and a second time to obtain a sum value and updating the refueling end time to this sum value. The second time may be a preset empirical value.

[0122] In Method 3, the electronic device determines the gun lifting detection time of the target fueling gun of the target fuel dispenser based on the gun lifting detection result of the target fueling gun; determines the refueling start time of the refueling vehicle based on the gun lifting detection time; determines the gun discharge detection time of the target fueling gun based on the gun discharge detection result of the target fueling gun; and determines the refueling end time of the refueling vehicle based on the gun discharge detection time.

[0123] The electronic device may use the gun lifting detection time as the refueling start time. Considering that there is a certain time difference in the process from gun lifting to starting to refuel the vehicle, the gun lifting detection time may also be added to a first time to obtain a sum value, and this sum value may be used as the refueling start time.

[0124] The electronic device may use the gun discharge detection time as the refueling end time. Considering that there is a certain time difference in the process from the end of refueling to gun discharge, the gun discharge detection time may also be added to a second time to obtain a sum value, and this sum value may be used as the refueling end time.

[0125] In a possible implementation manner, the electronic device may detect the gun lifting and discharging of the target fuel dispenser by detecting the gun hanging hole on the target fuel dispenser. The implementation solution includes: detecting that there is a gun hanging hole in the area where the target fuel dispenser is located based on the image of the target fuel dispenser, determining the position information of the gun hanging hole, and determining the fueling gun corresponding to the gun hanging hole as the target fueling gun, and generating a gun lifting detection result of the target fueling gun; if it is detected based on the image of the target fuel dispenser that there is no gun hanging hole at the position information of the gun hanging hole, a gun discharge detection result of the target fueling gun is generated.

[0126] Among them, the image of the target fuel dispenser includes the image of the area where the target fuel dispenser is located. Based on this image, it is possible to detect whether there is a gun hanging hole in the area where the target fueling gun is located. This gun hanging hole is used to place the gun head when hanging the gun. The position information of the gun hanging hole may refer to the position information of the gun hanging hole in the area where the target fuel dispenser is located.

[0127] When the electronic device does not detect a gun hanging hole at the position information of the gun hanging hole detected based on the image of the target fuel dispenser, it may use the acquisition time of the image where the gun hanging hole is not detected at the position information of the first detected gun hanging hole or the acquisition time of the previous frame image of this image as the gun release detection time, or may also use the system time when the gun hanging hole is not detected at the position information of the first detected gun hanging hole in the current refueling event of the target fuel dispenser as the gun release detection area.

[0128] When the electronic device detects that there is a gun hanging hole in the area where the target fuel dispenser is located, it may use the acquisition time of the image where the gun hanging hole in the area where the target fuel dispenser is located is first detected or the acquisition time of the previous frame image of this image as the gun pick-up detection time, or may also use the system time when the gun hanging hole in the area where the target fuel dispenser is located is first detected in the current refueling event of the target fuel dispenser as the gun pick-up detection area.

[0129] In a possible implementation manner, when the area where the target fuel dispenser is located includes the first detection areas of each fueling gun of the target fuel dispenser, the first detection area is the area where the corresponding fueling gun is located, and one of the first detection areas includes one fueling gun; the detecting that there is a gun hanging hole in the area where the target fuel dispenser is located based on the image of the target fuel dispenser includes:

[0130] Detecting whether there is a gun hanging hole in each of the first detection areas in the image of the target fuel dispenser;

[0131] If a first detection area where a gun hanging hole is detected is found, it is determined that there is a gun hanging hole in the area where the target fuel dispenser is located; the determining the fueling gun corresponding to the gun hanging hole as the target fueling gun includes: determining the fueling gun corresponding to the first detection area where the gun hanging hole is located as the target fueling gun.

[0132] When the area where the target fuel dispenser is located includes the second detection area of the target fuel dispenser, one of the second detection areas includes at least 2 fueling guns; the detecting that there is a gun hanging hole in the area where the target fuel dispenser is located based on the image of the target fuel dispenser includes:

[0133] Detecting whether there is a gun hanging hole in each of the second detection areas in the image of the target fuel dispenser;

[0134] If a second detection area where a gun hanging hole is detected is found, it is determined that there is a gun hanging hole in the area where the target fuel dispenser is located.

[0135] Wherein, the area where the target fuel dispenser is located may refer to the entire area where the target fuel dispenser is located in the image of the target fuel dispenser. The area where the fueling gun is located may refer to the area on the target fuel dispenser where the fueling gun is hung.

[0136] Based on the position information of the gun - hanging holes of each fueling gun on the target fuel dispenser, a fueling gun detection area (i.e., the first detection area) can be pre - configured for each gun - hanging hole, or a fueling gun detection area (i.e., the second detection area) can be configured for at least two gun - hanging holes.

[0137] As Figure 9 shown is an example diagram of the first detection area. Figure 9 The two black rectangular frames in it are respectively the first detection area of the No. 92 fueling gun and the first detection area of the No. 95 fueling gun. The No. 92 fueling gun is in the state of lifting the gun, and the No. 95 fueling gun is in the state of lowering the gun. The No. 92 fueling gun can refer to the fueling gun with the fueling model of No. 92 gasoline. The No. 95 fueling gun can refer to the fueling gun with the fueling model of No. 95 gasoline.

[0138] In the case of pre - configuring a first detection area for each gun - hanging hole, based on the image of the target fuel dispenser, the electronic device can only detect whether there is a gun - hanging hole in each first detection area, without detecting all the image data of the area where the target fuel dispenser is located, thus improving the detection efficiency of the gun - hanging hole.

[0139] In the case of pre - configuring a second detection area for at least two gun - hanging holes, based on the image of the target fuel dispenser, the electronic device can only detect whether there is a gun - hanging hole in the second detection area, without detecting all the image data of the area where the target fuel dispenser is located, thus improving the detection efficiency of the gun - hanging hole.

[0140] Step 602, determine the flow rate of the target fuel dispenser per unit time.

[0141] As an example rather than a limitation, the flow rate of the target fuel dispenser per unit time can be estimated based on the fueling data provided by the tax control system or the fueling data declared by the gas station. These fueling data include, but are not limited to, information such as the total fueling volume and the total fueling duration of different fuel dispensers within a certain period of time. Entering these data into the fueling data supervision platform, the electronic device installed with the fueling data supervision platform can calculate the flow rate of the target fuel dispenser per unit time (i.e., the average fueling speed of the target fuel dispenser) based on these data.

[0142] Step 603, based on the fueling duration and the flow rate of the target fuel dispenser per unit time, determine the fueling volume related to the current fueling event of the target fuel dispenser.

[0143] The calculation formula for the fueling volume related to the current fueling event of the target fuel dispenser is as follows:

[0144] Fueling volume=(T_jy_2 - T_jy_1)*Y_zl / Y_sc

[0145] Among them, \(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 refueling volume, and \(Y_{sc}\) represents the total refueling duration.

[0146] For the case where there is one refueling model for the target fuel dispenser, the electronic device can estimate the flow rate of the oil product of the target fuel dispenser per unit time based on the refueling data provided by the fiscal control system or the refueling data declared by the gas station, and determine the refueling volume based on this flow rate and the refueling duration.

[0147] For the case where there are multiple different refueling models for the target fuel dispenser, the electronic device can estimate the flow rate of the oil products of each refueling model of the target fuel dispenser per unit time based on the refueling data provided by the fiscal control system or the refueling data declared by the gas station, calculate the flow rate of the oil products of each refueling model per unit time, use this flow rate as the flow rate of the target fuel dispenser per unit time, and determine the refueling volume based on this flow rate and the refueling duration.

[0148] In the actual application scenario, the flow rates of different oil products per unit time may be different. Therefore, in order to estimate the refueling volume more accurately for different oil products, the flow rate of the target oil product of the target fuel dispenser per unit time can be determined, and the target oil product is the oil product corresponding to the target refueling model; the refueling volume is determined based on the refueling duration and the flow rate of the target oil product of the target fuel dispenser per unit time.

[0149] Among them, the types of oil products provided by the gas station usually include diesel and gasoline. The types of gasoline are gasoline No. 92, gasoline No. 95, and gasoline No. 98. Therefore, types such as diesel, gasoline No. 92, gasoline No. 95, and gasoline No. 98 are all oil products of the fuel dispenser.

[0150] The number of fuel nozzles on the fuel dispenser can be one or multiple. This application does not limit the number of fuel nozzles.

[0151] For a fuel dispenser with one fuel nozzle, its corresponding refueling model is fixed. For a fuel dispenser with multiple fuel nozzles, the refueling models corresponding to its fuel nozzles may be the same refueling model. Therefore, in the case where all the fuel nozzles of the target fuel dispenser correspond to the same refueling model, the association relationship between the dispenser information of the target fuel dispenser and the refueling model can be pre-stored on the electronic device. On this basis, when the electronic device needs to obtain the refueling model of the target fuel nozzle (i.e., the target refueling model), it can determine the target refueling model based on the dispenser information of the target fuel dispenser and the pre-stored association relationship between the dispenser information and the refueling model, without determining it based on the images collected by the image acquisition device or the intelligent image acquisition device, saving hardware costs.

[0152] For a fuel dispenser with multiple fuel nozzles, the fuel types corresponding to the fuel nozzles may also be different. For this case, the association relationship between the position information of each gun - hanging hole on the target fuel dispenser and the fuel type can be preset in advance. Therefore, based on this association relationship and the position information of the gun - hanging holes detected in the area where the target fuel dispenser is located, the target fuel type corresponding to the refueling vehicle can be determined.

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

[0154] In a possible implementation, the flow rate of the target fuel dispenser 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 fuel dispenser per unit time, the flow rate of the target fuel dispenser per unit time is updated to the maximum flow rate.

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

[0157] In a possible implementation, after determining the refueling volume related to the current refueling event, the refueling volume can be corrected in the following way.

[0158] The electronic device obtains the maximum refueling volume corresponding to the vehicle type of the refueling vehicle; if the refueling volume is greater than the maximum refueling volume, the refueling volume is updated to the maximum refueling volume.

[0159] Among them, the vehicle type of the target vehicle is extracted from the vehicle information of the refueling vehicle.

[0160] The association relationship between each vehicle type and the corresponding maximum refueling volume is pre - stored in the electronic device. Based on this association relationship and the vehicle type of the target vehicle, the maximum refueling volume corresponding to the vehicle type of the refueling vehicle can be determined. Optionally, the maximum refueling volume corresponding to each vehicle type can be set according to the actual scenario requirements.

[0161] As an example rather than a limitation, the maximum refueling volume of a small car is 60L, and the maximum refueling volume of a sport utility vehicle is 100L. If the vehicle type of the refueling vehicle is a sport utility vehicle and its refueling volume is 120L, it may be due to the target fuel nozzle not being hung up in time. By updating the refueling volume of the target vehicle to 100L, the correction of the refueling volume of the target vehicle can be achieved.

[0162] In another possible implementation, when the image acquisition device or the intelligent image acquisition device can capture the fueling data display area of the target fuel dispenser, the electronic device can obtain the fueling volume in the fueling data display area through an Optical Character Recognition (OCR) algorithm, so as to obtain the fueling volume related to the current fueling event of the target fuel dispenser.

[0163] In one possible implementation, after determining the fueling volume related to the current fueling event, the electronic device can supervise the gas station from the dimension of the fuel dispenser or from the dimension of the gas station, implement a warning for unreported fueling, and provide more comprehensive information for the supervisors.

[0164] The electronic device supervising the gas station from the dimension of the fuel dispenser includes: determining a first fueling data list of the target fuel dispenser within a first preset time period based on the fueling data related to the current fueling event of the target fuel dispenser; determining a second fueling data list of the target fuel dispenser within the first preset time period based on the fueling data of the target fuel dispenser provided by the fiscal control system or the fueling data of the target fuel dispenser declared by the gas station; matching each first data item in the first fueling data list with the corresponding first data item in the second fueling data list to obtain the data matching result corresponding to each first data item, and the first data item includes the number of fueling events and the fueling model, fueling start time, fueling end time, fueling duration, and fueling volume of each fueling event.

[0165] Among them, the above-mentioned number of fueling events can be understood as the number of fueling times. The fueling model, fuel dispenser information, fueling start time, fueling end time, fueling duration, and fueling volume of each fueling event can be understood as the fueling model, fuel dispenser information, fueling start time, fueling end time, fueling duration, and fueling volume of each fueling.

[0166] Matching each first data item in the first refueling data list with the corresponding first data item in the second refueling data list may 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 model of each refueling event in the first refueling data list with the refueling model 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 volume of each refueling event in the first refueling data list with the refueling volume 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 may display the data matching results corresponding to each first data item for the convenience of the supervisor to view; or it may determine whether there are results indicating mismatches among the data matching results corresponding to each first data item. If there are results indicating mismatches among the data matching results corresponding to each first data item, it may 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 in the second refueling data list. By outputting the second abnormal event, early warning of false refueling reports can be achieved.

[0168] In the case where there is a first abnormal event in the second refueling data list, the abnormal level of the first abnormal event may be determined based on the first data item corresponding to the result indicating a mismatch. By way of example and not limitation, the abnormal level may be divided based on the importance of the first data item in the supervision of the gas station. For example, if the first data item corresponding to the result indicating a mismatch is the number of refueling events, the abnormal level of the first abnormal event is determined to be high; if the first data item corresponding to the result indicating a mismatch is the refueling duration, the abnormal level of the first abnormal event is determined to be medium; and if the first data item corresponding to the result indicating a mismatch is the refueling start time, the abnormal level of the first abnormal event is determined to be low.

[0169] The electronic device monitors the gas station from the dimension of the gas station, including: determining a third refueling data list of the gas station within a second preset time period based on the refueling data related to the current refueling event of the target fuel dispenser; obtaining a fourth refueling data list of the gas station within the second preset time period based on the refueling data provided by the tax control system or the refueling data declared by the gas station; 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 corresponding to each second data item. The second data item includes the number of refueling events and the refueling model, fuel dispenser information, refueling start time, refueling end time, refueling duration, and refueling volume of 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 may 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 model of each refueling event in the third refueling data list with the refueling model 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 volume of each refueling event in the third refueling data list with the refueling volume of the same refueling event in the fourth refueling data list.

[0171] After the electronic device obtains the data matching results corresponding to each second data item, it may display the data matching results corresponding to each second data item for the convenience of the supervision personnel to view; or it may determine whether there is a result indicating a mismatch among the data matching results corresponding to each second data item. If there is a result indicating a mismatch among the data matching results corresponding to each second data item, it may determine that there is a second abnormal event in the fourth refueling data list. The second abnormal event indicates that there is a false report in the second data item in the fourth refueling data list. By outputting the second abnormal event, an early warning of false refueling reports can be realized.

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

[0173] By matching various data items in different refueling data lists, the embodiments of the present application can provide more comprehensive information for tax control inspection.

[0174] It should be understood that for the three data items of the number of refueling events, refueling model, and fuel dispenser information, the matching of the data items in the above 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 of refueling start time, refueling end time, refueling duration, and refueling volume, the matching of the data items in the above 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 above preset range can be set in advance according to the actual scenario. The preset ranges corresponding to different data items can be the same or different, and the present application does not limit this.

[0175] By way of example and not limitation, for refueling event A, where refueling event A is any refueling event in the first refueling data list, matching the refueling model of this refueling event in the first refueling data list with the refueling model of refueling event A in the second refueling data list can refer to determining whether the refueling model of refueling event A in the first refueling data list is the same as the refueling model of refueling event A in the second refueling data list. If they are the same, it is determined that the refueling model of refueling event A in the first refueling data list matches the refueling model of refueling event A in the second refueling data list; if they are different, it is determined that the refueling model of refueling event A in the first refueling data list does not match the refueling model of refueling event A in the second refueling data list.

[0176] For refueling event B, where refueling event B is any refueling event in the third refueling data list, matching the fueling volume of refueling event B in the third refueling data list with the fueling volume of refueling event B in the fourth refueling data list may refer to calculating the absolute value of the difference between the fueling volume of refueling event B in the third refueling data list and the fueling volume of refueling event B in the fourth refueling data list. If the absolute value is within a preset range (for example, the preset range is from 0 to 10 L), it is determined that the fueling volume of refueling event B in the third refueling data list matches the fueling volume of refueling event B in the fourth refueling data list. If the absolute value is not within the preset range, it is determined that the fueling volume of refueling event B in the third refueling data list does not match the fueling volume of refueling event B in the fourth refueling data list.

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

[0178] In the embodiment of the present application, based on the image detection results of the target fuel dispenser and the refueling vehicle, the refueling duration of the refueling vehicle can be determined. Based on the refueling duration and the flow rate of the target fuel dispenser per unit time, the fueling volume related to the current refueling event of the target fuel dispenser can be determined, and the fueling volume is the gas station supervision data. That is, in this solution, the fueling volume can be estimated through the image detection method, without installing a data acquisition module on the fuel dispenser and without manual participation, improving the determination efficiency and safety of the gas station supervision data.

[0179] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution. The execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.

[0180] Corresponding to the gas station supervision data determination method described in the above embodiments, Figure 10 The structural schematic diagram of the gas station supervision data determination device provided by the embodiment of the present application is shown. For the convenience of description, only the parts related to the embodiment of the present application are shown.

[0181] Referring to Figure 10 , the device includes:

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

[0183] A flow determination module 1002, configured to determine the flow rate of the target fuel dispenser per unit time;

[0184] A fuel quantity determination module 1003, configured to determine the fuel quantity related to the current refueling event of the target fuel dispenser based on the refueling duration and the flow rate of the target fuel dispenser per unit time.

[0185] Optionally, the above-mentioned duration determination module 1001 is specifically configured to:

[0186] Based on the first connection detection result, determine the refueling start time of the refueling vehicle, where the first connection detection result is the connection detection result between the nozzle of the target fuel dispenser's target fuel nozzle and the refueling vehicle;

[0187] Based on the first disconnection detection result, determine the refueling end time of the refueling vehicle, where the first disconnection detection result is the disconnection detection result between the nozzle of the target fuel nozzle and the refueling vehicle;

[0188] Alternatively, based on the second connection detection result, determine the refueling start time, where the second connection detection result is the connection detection result between the nozzle of the target fuel nozzle connected with a connecting line and the refueling vehicle;

[0189] Based on the second disconnection detection result, determine the refueling end time, where the second disconnection detection result is the disconnection detection result between the nozzle of the target fuel nozzle connected with a connecting line and the refueling vehicle;

[0190] Calculate the refueling duration 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 shielding area is not detected, and the shielding area includes the gun hanging area of the target fuel dispenser.

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

[0193] A first determination module, configured to determine the gun lifting detection time of the target fuel nozzle based on the gun lifting detection result of the target fuel nozzle;

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

[0195] A second determination module, configured to determine the gun placing detection time of the target fuel nozzle based on the gun placing detection result of the target fuel nozzle;

[0196] A second calculation module, configured to calculate a second absolute value, and when the second absolute value is greater than a second time threshold, correct the refueling end time based on the refueling end time and the gun discharging detection time, where the second absolute value is the absolute value of the difference between the gun discharging detection time and the refueling end time.

[0197] Optionally, the above-mentioned duration determination module 1001 is specifically configured to:

[0198] Determine the gun lifting detection time of the target fueling gun of the target fuel dispenser based on the gun lifting detection result of the target fueling gun;

[0199] Determine the refueling start time of the fueling vehicle based on the gun lifting detection time;

[0200] Determine the gun discharging detection time of the target fueling gun based on the gun discharging detection result of the target fueling gun;

[0201] Determine the refueling end time of the fueling vehicle based on the gun discharging detection time;

[0202] Calculate the refueling duration based on the refueling start time and the refueling end time.

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

[0204] A position determination module, configured to determine the position information of the gun hanging hole if a gun hanging hole is detected in the area where the target fuel dispenser is located based on the image of the target fuel dispenser;

[0205] A model determination module, configured to determine the target refueling model corresponding to the fueling vehicle based on the position information of the gun hanging hole;

[0206] The above-mentioned flow rate determination module 1002 is specifically configured to:

[0207] Determine the flow rate per unit time of the target oil product of the target fuel dispenser; the target oil product is the oil product corresponding to the target refueling model;

[0208] The above-mentioned refueling volume determination module 1003 is specifically configured to:

[0209] Determine the refueling volume based on the refueling duration and the flow rate per unit time of the target oil product of the target fuel dispenser.

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

[0211] An information determination module, configured to determine the position information of a gun hanging hole based on an image of the target fuel dispenser, determine that the fuel gun corresponding to the gun hanging hole is the target fuel gun, and generate a gun lifting detection result of the target fuel gun when it detects that there is a gun hanging hole in the area where the target fuel dispenser is located;

[0212] A result generation module, configured to generate a gun placing detection result of the target fuel gun if it detects that there is no gun hanging hole at the position information of the gun hanging hole based on the image of the target fuel dispenser.

[0213] Optionally, the above information determination module is specifically configured to:

[0214] Detect whether there is a gun hanging hole in each first detection area in the image of the target fuel dispenser; one first detection area includes one fuel gun;

[0215] If it detects a first detection area with a gun hanging hole, determine that there is a gun hanging hole in the area where the target fuel dispenser is located;

[0216] Determine that the fuel gun corresponding to the first detection area where the gun hanging hole is located is the target fuel gun;

[0217] Alternatively, detect whether there is a gun hanging hole in each second detection area in the image of the target fuel dispenser; one second detection area includes at least two fuel guns;

[0218] If it detects a second detection area with a gun hanging hole, determine that there is a gun hanging hole in the area where the target fuel dispenser is located.

[0219] Optionally, the above device further includes:

[0220] A fuel quantity acquisition module, configured to acquire the maximum fuel quantity corresponding to the vehicle type of the refueling vehicle;

[0221] A fuel quantity update module, configured to update the fuel quantity to the maximum fuel quantity if the fuel quantity is greater than the maximum fuel quantity.

[0222] It should be noted that for the information interaction, execution process, etc. between the above devices / units, since they are based on the same concept as the method embodiment of the present application, their specific functions and the technical effects brought are specifically described in the method embodiment part, and will not be elaborated here.

[0223] Figure 11 This is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As Figure 11 shown, the electronic device 11 in this embodiment includes: at least one processor 1100 ( Figure 11only one is shown), a memory 1101, and a computer program 1102 stored in the memory 1101 and executable on the at least one processor 1100. When the processor 1100 executes the computer program 1102, the steps in any of the above method embodiments are implemented.

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

[0225] The so-called processor 1100 may be a central processing unit (CPU), and the processor 1100 may also 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. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

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

[0227] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above division of each functional unit and module is used as an example. In actual applications, the above functions can be allocated to different functional units and modules according to needs, 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. Each functional unit and module in the embodiments can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. In addition, the specific names of each functional unit and module are only for the convenience of mutual distinction and do not limit the protection scope of this application. The specific working processes of the units and modules in the above system can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated here.

[0228] An embodiment of 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. When the processor executes the computer program, the steps in any of the foregoing method embodiments are implemented.

[0229] An embodiment of this application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in each of the foregoing method embodiments can be implemented.

[0230] An embodiment of this application provides a computer program product. When the computer program product runs on an electronic device, the electronic device is caused to execute the steps in each of the foregoing method embodiments.

[0231] When the integrated unit is implemented in the form of 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, to implement all or part of the processes in the above method embodiments of this application, a computer program can be used to instruct relevant hardware to complete. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file or some intermediate form, etc. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the device / electronic device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disc, etc. In some jurisdictions, according to legislation and patent practice, the computer-readable medium cannot be an electrical carrier signal and a telecommunication signal.

[0232] In the above embodiments, the descriptions of the various embodiments have their own emphases. For the parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0233] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed in this document can be implemented by electronic hardware, or by a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0234] In the embodiments provided in this application, it should be understood that the disclosed device / electronic device and method can be implemented in other ways. For example, the device / electronic device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical, mechanical or other form.

[0235] The unit described as a separation component may or may not be physically separated. The component shown as a unit may or may not be a physical unit, that is, it may be located in one place or may be distributed across multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0236] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included within the protection scope of the present application.

Claims

1. A method for determining gas station supervision data, characterized in that: include: Determining the refueling time of the refueling vehicle based on the image detection results of the target refueling machine and the refueling vehicle; If a gun hanging hole is detected in the area where the target fuel dispenser is located based on the image of the target fuel dispenser, determining the position information of the gun hanging hole; Based on the position information of the gun hanging hole, determining the target refueling model corresponding to the refueling vehicle; Determine the flow rate of the target oil product of the target fuel dispenser per unit time, the target oil product being the oil product corresponding to the target fueling model; Based on the refueling duration and the flow rate of the target oil product of the target refueling machine per unit time, a refueling amount associated with the current refueling event of the target refueling machine is determined.

2. The method for determining gas station supervision data according to claim 1, characterized in that: The determining of the refueling time of the refueling vehicle based on the image detection results of the target refueling machine and the refueling vehicle includes: Determining a refueling start time of the refueling vehicle based on a first connection detection result, wherein the first connection detection result is a connection detection result between a gun head of a target refueling gun of the target refueling machine and the refueling vehicle; Determining the refueling end time of the refueling vehicle based on a first disconnection detection result, wherein the first disconnection detection result is a disconnection detection result of the gun head of the target refueling gun and the refueling vehicle; Alternatively, the refueling start time is determined based on a second connection detection result, where the second connection detection result is a connection detection result between the gun head of the target refueling gun connected with the connection line and the refueling vehicle; Determining the refueling end time based on a second disconnection detection result, wherein the second disconnection detection result is a disconnection detection result of a gun head of the target refueling gun connected with a connection line and the refueling vehicle; The refueling duration is calculated based on the refueling start time and the refueling end time.

3. The method for determining gas station supervision data according to claim 2, characterized in that: When detecting the first connection detection result and the second connection detection result, a shielded area is not detected, and the shielded area includes a gun hanging area of ​​the target fuel dispenser.

4. The method for determining gas station supervision data according to claim 1, characterized in that: The determining of the refueling time of the refueling vehicle based on the image detection results of the target refueling machine and the refueling vehicle includes: Determining a gun raising detection time of the target fueling gun based on a gun raising detection result of the target fueling gun of the target fueling machine; Based on the gun raising detection time, determining the refueling start time of the refueling vehicle; Determining a gun discharge detection time of the target fueling gun based on a gun discharge detection result of the target fueling gun; Determining a refueling end time of the refueling vehicle based on the gun discharge detection time; The refueling duration is calculated based on the refueling start time and the refueling end time.

5. The method for determining gas station supervision data according to claim 4, characterized in that: The target refueling gun's gun lifting detection result is determined by the following method: Based on the image of the target fuel dispenser, it is detected that there is a gun hanging hole in the area where the target fuel dispenser is located, the position information of the gun hanging hole is determined, and the fuel dispenser gun corresponding to the gun hanging hole is determined to be the target fuel dispenser gun, and a gun lifting detection result of the target fuel dispenser gun is generated; If it is detected based on the image of the target fuel dispenser that the gun hanging hole does not exist at the position information of the gun hanging hole, a gun discharge detection result of the target fuel dispenser gun is generated.

6. The method for determining gas station supervision data according to claim 5, characterized in that: The detecting, based on the image of the target fuel dispenser, that there is a gun hanging hole in the area where the target fuel dispenser is located includes: Detect whether the gun hanging hole exists in each first detection area in the image of the target fuel dispenser; one of the first detection areas includes a fuel dispenser; If the first detection area where the gun hanging hole exists is detected, it is determined that the gun hanging hole exists in the area where the target fuel dispenser is located; The step of determining that the refueling gun corresponding to the gun hanging hole is the target refueling gun includes: Determine that the refueling gun corresponding to the first detection area corresponding to the gun hanging hole is the target refueling gun; or, The detecting, based on the image of the target fuel dispenser, that there is a gun hanging hole in the area where the target fuel dispenser is located includes: Detecting whether the gun hanging hole exists in each second detection area in the image of the target fuel dispenser; one of the second detection areas includes at least two fuel dispensers; If the second detection area where the gun hanging hole exists is detected, it is determined that the gun hanging hole exists in the area where the target fuel dispenser is located.

7. The method for determining gas station supervision data according to claim 1, characterized in that: After determining the refueling amount related to the current refueling event of the target refueling machine, the method further includes: Obtaining the maximum refueling volume corresponding to the model of the refueling vehicle; If the refueling amount is greater than the maximum refueling amount, the refueling amount is updated to the maximum refueling amount.

8. A gas station supervision data determination device, characterized in that: include: A duration determination module, used to determine the refueling duration of the refueling vehicle based on the image detection results of the target refueling machine and the refueling vehicle; A position determination module, configured to determine position information of a gun hanging hole if a gun hanging hole is detected in the area where the target fuel dispenser is located based on the image of the target fuel dispenser; A model determination module, used to determine the target refueling model corresponding to the refueling vehicle based on the position information of the gun hanging hole; A flow determination module, used to determine the flow rate of a target oil product of the target fuel dispenser per unit time, wherein the target oil product is the oil product corresponding to the target fueling model; The refueling quantity determination module is used to determine the refueling quantity related to the current refueling event of the target refueling machine based on the refueling duration and the flow rate of the target oil product of the target refueling machine 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, the gas station supervision data determination method according to any one of claims 1 to 7 is implemented.

10. A gas station supervision system, characterized in that: The gas station supervision system comprises an image acquisition device and the electronic device as claimed in claim 9; the image acquisition device is used to acquire images of the target gas station and the refueling vehicle, and send the images to the electronic device; Alternatively, the gas station supervision system comprises an intelligent image acquisition device and the electronic device as claimed in claim 9; the intelligent image acquisition 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 supervision system includes an image acquisition device, an intelligent 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 intelligent device; the intelligent 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

  • Refueling method and device based on oil gun recognition

    CN111275890A

  • 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

  • Object recognition model training method and device and storage medium

    CN115147671A