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, solves the difficulty and safety issues of the data collection of refueling machine in the prior art, and improves the efficiency and safety of the regulatory data.
Patent Information
- Application Number
- CN202510238021.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-11
- Publication Date
- 2025-06-13
AI Technical Summary
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.
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.
There is no need to install a data acquisition module on the refueling machine, which reduces the difficulty of implementation and safety risks and improves the efficiency and safety of gas station supervision data determination.
Smart Images

Figure CN120146391A_ABST
Abstract
Description
[0001] This application is a divisional application based on the application with the application number 202411413173.6, the application date of October 11, 2024, and the invention title of "Method, Device, Electronic Equipment and Supervision System for Determining Gas Station Supervision Data". The entire content of the original application is incorporated herein by reference. Technical Field
[0002] This application belongs to the field of computer technology, and particularly relates to a method, device, electronic equipment and supervision system for determining gas station supervision data. Background Art
[0003] Judging from the situation grasped by the tax authorities during the inspection of tax sources, gas stations are widely distributed and scattered, and it is difficult to fully understand their actual operating conditions. There are certain deviations between the tax data self-reported by some gas stations and the actual gas station supervision data, and there are cases of tax evasion. Therefore, how to determine gas station supervision data is a technical problem to be solved urgently.
[0004] The prior art determines gas station supervision data by installing a data acquisition module on the fuel dispenser. This method requires installing a data acquisition module on the fuel dispenser, which has a high implementation difficulty, certain safety risks during installation, and requires temporarily interrupting the refueling operation of the fuel dispenser during implementation, affecting the determination efficiency and safety of gas station supervision data. Summary of the Invention
[0005] Embodiments of this application provide a method, device, electronic equipment and supervision system for determining gas station supervision data, which can improve the determination efficiency and safety of gas station supervision data.
[0006] In a first aspect, embodiments of this application provide a method for determining gas station supervision data, including:
[0007] Based on the image detection result of the target fuel dispenser and the refueling vehicle, determine the refueling duration of 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;
[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 fuel dispenser per unit time, determine the refueling volume related to the current refueling event of the target fuel dispenser.
[0010] In an 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 refueling volume related to the current refueling event of the target fuel dispenser can be determined, and the refueling volume is the supervision data of the gas station. 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 safety 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, it implements the method for determining gas station supervision data described in the first aspect above.
[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, 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, obtain the image detection results, and send the image detection results to the electronic device.
[0019] In a 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 gas station supervision data determination method described in the first aspect above.
[0020] In a 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 gas station supervision data determination method described in the first aspect above.
[0021] It can be understood that the beneficial effects of the second to sixth aspects above can be referred to the relevant descriptions in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] 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 gas station supervision data determination method 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, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. However, those skilled in the art should clearly 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 to avoid unnecessary details from interfering with the description of the present application.
[0035] It should be understood that when used in the specification of the present application and the appended claims, 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" used in the specification of the present application and the appended claims 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 before and after 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 of the present application and the appended claims, the term "if" can be interpreted as "when", "once", "in response to determining", or "in response to detecting" according to the context. Similarly, the phrase "if determined" or "if [the described condition or event] is detected" can be interpreted as meaning "once determined", "in response to determining", "once [the described condition or event] is detected", or "in response to detecting [the described condition or event]" according to the context.
[0039] In addition, in the description of the specification of the present application and the appended claims, 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 a particular feature, structure, or characteristic described in connection with that embodiment is 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. The embodiment of this application does not impose any restrictions on the specific type of the electronic device. Exemplarily, the electronic device in the embodiment of this application can be a server in the computer room of the gas station supervision department, and can determine the gas station supervision data based on the refueling duration of the refueling vehicles in the target parking detection area and the flow rate of the 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 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. As an example but not a 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] As an example but not a limitation, Figure 2 is an example diagram of the deployment of the image acquisition device. Taking the No. 1 fuel dispenser and the No. 3 fuel dispenser in the gas station as an example, the image acquisition devices 1011 and 1012 are respectively the first image acquisition device and the second image acquisition device configured for the No. 1 fuel dispenser, and the image acquisition devices 1013 and 1014 are respectively the first image acquisition device and the second image acquisition device configured for the No. 3 fuel dispenser. The image acquisition device 1011 can be installed on the side column 3 of the No. 3 fuel dispenser to collect the parking detection area on both sides or one side of the No. 1 fuel dispenser. The image acquisition device 1012 can be installed on the side column 1 of the No. 1 fuel dispenser to collect the area where the fuel nozzle of the No. 1 fuel dispenser 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 nozzle of the No. 1 fuel dispenser is located. The image acquisition device 1013 can be installed on the side column 1 of the No. 1 fuel dispenser to collect the parking detection area on both sides or one side of the No. 3 fuel dispenser. The image acquisition device 1013 can be installed on the side column 3 of the No. 3 fuel dispenser to collect the area where the fuel nozzle of the No. 3 fuel dispenser 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 nozzle of the No. 3 fuel dispenser is located.
[0049] To achieve time synchronization for each device and the fuel dispenser 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 time-calibrated through 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 time-calibrated 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 in which the two black rectangular frames on both sides of the fuel dispenser 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 in the case where 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 this 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 this parking detection area is the target parking detection area, and the electronic device can, based on the identification information of this parking detection area and the pre-stored association relationship between the identification information of the parking detection area and the fuel dispenser information, determine the fuel dispenser that provides refueling services for this vehicle. Among them, the above-mentioned gas station supervision platform can 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 nozzle, detecting the fuel nozzle and connecting line, analyzing the refueling vehicle, analyzing the refueling data, and warning of unreported refueling involved in this application. The analysis of the refueling vehicle includes, but is not limited to, analyzing the fuel dispenser information, refueling model, vehicle information of the refueling vehicle, refueling start time, refueling end time, and refueling duration, etc. The analysis of the refueling data includes, but is not limited to, further analyzing and filtering the data generated after analyzing the refueling vehicle to estimate the refueling volume.
[0057] Please refer to Figure 4 , in another embodiment, the gas station supervision system can 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 this 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 nozzle, detecting the fuel nozzle and connecting line involved in this application. The electronic device 102 can implement functions such as analyzing the refueling vehicle, analyzing the 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 a smart device 104. The smart 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 smart device 104. The smart 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 smart device 104 can implement functions such as vehicle information extraction for vehicles entering and leaving the parking detection area, fuel dispenser nozzle lifting and lowering detection, and fuel nozzle and connection 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, based on the image detection result of the target fuel dispenser and the refueling vehicle, determine the refueling duration of 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 the incoming vehicle. 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
[0066] is the refueling vehicle.
[0067] 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 smart device to the electronic device. This application does not limit this.
[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 of the target fuel dispenser 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 start 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 solution 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 connection between the nozzle of the target fuel dispenser gun and the refueling vehicle is first detected 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 solution 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 connection between the nozzle of the target fuel dispenser gun and the refueling vehicle is first detected 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 receiving the above first connection detection result, the electronic device 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 receiving the above first connection detection result, the electronic device 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 acquire 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 indicates that the nozzle of the target fuel gun disconnects 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 nozzle of the target fuel gun is first recognized to disconnect from the refueling vehicle during the current refueling event of the target fuel dispenser, a first disconnection detection result is generated, and the third image when the disconnection is first recognized is saved for subsequent viewing by specific personnel, and the acquisition time of the third image is used as the refueling end time, or the system time when the disconnection is first recognized is used 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 disconnects 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 approaching 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 can 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 can save the fourth image for subsequent viewing by specific personnel, and use the image acquisition time in the fourth image as the refueling end time.
[0082] After receiving the above first disconnection detection result, the electronic device can also use the current system time as the refueling end time, obtain 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 connected with a connecting line is connected to the refueling vehicle, it generates a second connection detection result, and saves the fifth image of the first detected connection, facilitating subsequent viewing of the fifth image by the supervision personnel, and taking the acquisition time of the fifth image as the start time of refueling, or taking 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 connected 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 the electronic device receives the above second connection detection result, it 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, facilitating subsequent viewing of the sixth image by the supervision personnel, and taking the image acquisition time in the sixth image as the start time of refueling.
[0088] After the electronic device receives the above second connection detection result, it may also take the current system time as the start time of refueling, acquire and save the above sixth image, facilitating subsequent viewing of the sixth image by the supervision personnel.
[0089] Among them, the above second disconnection detection result indicates that the nozzle of the target fueling gun connected 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, in the current refueling event of the target fuel dispenser, it first identifies that the nozzle of the target fueling gun connected with a connecting line is disconnected from the refueling vehicle, it generates a second disconnection detection result, and saves the seventh image of the first identified disconnection, facilitating subsequent viewing of the seventh image by specific personnel, and taking the acquisition time of the seventh image as the end time of refueling, or taking the system time of the first identified disconnection as the end time of refueling.
[0091] By way of example and not limitation, the electronic device can detect the connection or disconnection of the nozzle connected to the connecting line with the refueling vehicle in the following manner: Based on the images of the target fuel dispenser and the 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 the distance threshold, it can be determined that the nozzle connected to the connecting line is connected to the refueling vehicle. The fifth image can be the image in which it is first 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 can be determined that the nozzle connected to the connecting line is disconnected from the refueling vehicle. The seventh image can be the image in which it is first 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 can also identify and track the nozzle connected to the connecting line based on the 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 can be determined that the nozzle connected to the connecting line is connected to the refueling vehicle. The fifth image can 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 the images of the target fuel dispenser and the refueling vehicle. If the nozzle connected to the connecting line is identified, it can be determined that the nozzle connected to the connecting line is disconnected from the refueling vehicle. The seventh image can be the image in which the nozzle connected to the connecting line is identified for the first time during the continuous identification process, or the previous frame image of this image.
[0093] The above solution for determining the refueling end time can 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 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 can 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 can include the corresponding image acquisition time (i.e., the acquisition time of the eighth image). After receiving the eighth image, the electronic device can save the eighth image for subsequent viewing by specific personnel, and use the image acquisition time in the eighth image as the refueling end time.
[0095] After 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 the supervisor 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 from 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 from 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 scheme 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 shows an example diagram of the shielding area. Figure 8 The two dashed boxes in 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 images 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 data volume 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 in this refueling event; if the verification result shows that the refueling start time and the refueling end time marked as to be confirmed 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 refueling start time or the refueling end time marked as to be confirmed 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 determined as 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 parking start time, and control the image acquisition device to start recording to record the refueling process of the target vehicle.
[0103] In response to the detection result of the refueling vehicle leaving the target parking detection area by the 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 parking end time, control the image acquisition device to end the recording, and extract the recorded video segment of the refueling vehicle from the image acquisition device.
[0104] In another possible implementation 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 parking start time. 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 parking end time. 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 solutions for detecting the entry and exit of refueling vehicles into and out of the parking detection area and the vehicle information extraction solutions 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 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 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 refueling end time or the validity of the refueling start time and refueling end time can be judged based on the parking start time and parking end time; if the parking duration is less than or equal to the parking duration threshold, it is determined that the event of the refueling vehicle passing through the target parking area is a vehicle-passing event. Among them, the parking duration threshold is used to judge whether the event of the refueling vehicle passing 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 fueling 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, parking start time, parking end time, fuel dispenser information, license plate information, etc. related to the vehicle-passing event, so as to facilitate the supervisor to view the vehicle-passing event later.
[0110] In order to provide refueling services to vehicles in a timely manner, the 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 block 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 the nozzle with the connecting line connected 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] Based on the gun-lifting detection result of the target fueling gun, determine the gun-lifting detection time of the target fueling gun;
[0114] 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. 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. 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] Based on the gun-lowering detection result of the target fueling gun, determine the gun-lowering time of the target fueling gun;
[0119] 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-lowering time. The second absolute value is the absolute value of the difference between the gun-lowering 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 of correcting the refueling end time. For example, based on the refueling end time and the gun release detection time as described above, correcting the refueling end time may include: updating the refueling end time to the gun release detection time, or calculating the average value of the refueling end time and the gun release detection time, and updating the refueling end time to this average value, or adding the gun release detection time and the 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 the third method, 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 release detection time of the target fueling gun based on the gun release detection result of the target fueling gun; and determines the refueling end time of the refueling vehicle based on the gun release 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 the first time to obtain a sum value, and this sum value is used as the refueling start time.
[0124] The electronic device may use the gun release 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 release, the gun release detection time may also be added to the second time to obtain a sum value, and this sum value is used as the refueling end time.
[0125] In a possible implementation manner, the electronic device can detect the gun lifting and gun release of the target fuel dispenser by detecting the gun hanging hole on the target fuel dispenser. Its implementation scheme 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, then generating a gun release detection result of the target fueling gun.
[0126] Among them, the image of the above-mentioned target fuel dispenser includes the image of the area where the target fuel dispenser is located. Based on this image, it can be detected 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 above-mentioned 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 can 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 of this image as the gun - discharging detection time. It can also use the system time when the gun - hanging hole is not detected at the position information of the gun - hanging hole first detected in the current refueling event of the target fuel dispenser as the gun - discharging detection time.
[0128] When the electronic device detects that there is a gun - hanging hole in the area where the target fuel dispenser is located, it can 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 of this image as the gun - lifting detection time. It can 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 - lifting detection time.
[0129] In a possible implementation, 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 detection of the presence of 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] Detect 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 with a detected gun - hanging hole is detected, it is determined that there is a gun - hanging hole in the area where the target fuel dispenser is located; the determination of 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 detection of the presence of 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] Detect 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 with a detected gun - hanging hole is detected, it is determined that there is a gun - hanging hole in the area where the target fuel dispenser is located.
[0135] Among them, 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 suspended.
[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 a fueling model of No. 92 gasoline. The No. 95 fueling gun can refer to the fueling gun with a 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 are gun - hanging holes 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 holes.
[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 are gun - hanging holes 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 holes.
[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 fiscal 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. Enter these data into the fueling data supervision platform, and 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 tax 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 tax 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, where 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 include 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, the 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 fuel 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 fuel dispenser information of the target fuel dispenser and the pre-stored association relationship between the fuel dispenser information and the refueling model, without determining it based on the image 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, then update the flow rate of the target fuel dispenser per unit time 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, then update the refueling volume 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 sports utility vehicle is 100L. If the vehicle type of the refueling vehicle is a sports 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 use the Optical Character Recognition (OCR) algorithm to recognize the fueling volume in the fueling data display area, so as to obtain the fueling volume related to the current fueling event of the target fuel dispenser.
[0163] In a 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 an early 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 tax 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 of each fueling event, the fuel dispenser information of the target fuel dispenser, the fueling start time, the fueling end time, the fueling duration, and the fueling volume 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 can display the data matching results corresponding to each first data item for the supervisor to view; it can also determine whether there is a result indicating a mismatch among the data matching results corresponding to each first data item. If there is a result indicating a mismatch among the data matching results corresponding to each first data item, it can be determined that there is a first abnormal event in the second refueling data list, and 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 can 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 can 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, it is determined that the abnormal level of the first abnormal event is high; if the first data item corresponding to the result indicating a mismatch is the refueling duration, it is determined that the abnormal level of the first abnormal event is medium; if the first data item corresponding to the result indicating a mismatch is the refueling start time, it is determined that the abnormal level of the first abnormal event is 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 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 of the gas station provided by the fiscal control system or the refueling data of the gas station 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 a 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 can display the data matching results corresponding to each second data item for the convenience of the supervisors to view; it can also 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 can be determined that there is a second abnormal event in the fourth refueling data list. The second abnormal event indicates that there is a false 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 fuel quantity of refueling event B in the third refueling data list with the fuel quantity of refueling event B in the fourth refueling data list may refer to calculating the absolute value of the difference between the fuel quantity of refueling event B in the third refueling data list and the fuel quantity of refueling event B in the fourth refueling data list. If this absolute value is within a preset range (for example, the preset range is 0 to 10 L), it is determined that the fuel quantity of refueling event B in the third refueling data list matches the fuel quantity of refueling event B in the fourth refueling data list. If this absolute value is not within the preset range, it is determined that the fuel quantity of refueling event B in the third refueling data list does not match the fuel quantity 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 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 fuel quantity related to the current refueling event of the target fuel dispenser can be determined, and the fuel quantity is the gas station supervision data. That is, in this solution, the fuel quantity 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 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 order of execution 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 embodiments of the present application is shown. For the sake of convenience of description, only the parts related to the embodiments of the present application are shown.
[0181] Refer 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 for determining the flow rate of the target fuel dispenser per unit time;
[0184] A fuel quantity determination module 1003 for determining 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] Determine the refueling start time of the refueling vehicle based on the first connection detection result, 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] Determine the refueling end time of the refueling vehicle based on the first disconnection detection result, 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, determine the refueling start time based on the second connection detection result, 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] Determine the refueling end time based on the second disconnection detection result, 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 for determining 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 for 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; and / or,
[0195] A second determination module for determining the gun-lowering detection time of the target fuel nozzle based on the gun-lowering 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 fueling end time based on the fueling end time and the gun-releasing detection time, where the second absolute value is the absolute value of the difference between the gun-releasing detection time and the fueling 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 fueling start time of the fueling vehicle based on the gun-lifting detection time;
[0200] Determine the gun-releasing detection time of the target fueling gun based on the gun-releasing detection result of the target fueling gun;
[0201] Determine the fueling end time of the fueling vehicle based on the gun-releasing detection time;
[0202] Calculate the fueling duration based on the fueling start time and the fueling 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 fueling 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 of the target oil product of the target fuel dispenser per unit time; the target oil product is the oil product corresponding to the target fueling model;
[0208] The above-mentioned fueling volume determination module 1003 is specifically configured to:
[0209] Determine the fueling volume based on the fueling duration and the flow rate of the target oil product of the target fuel dispenser per unit time.
[0210] Optionally, the above-mentioned device further includes:
[0211] An information determination module, configured to determine that there is a gun hanging hole in the area where the target fuel dispenser is located based on an image of the target fuel dispenser, determine the position information of the gun hanging hole, and 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;
[0212] A result generation module, configured to generate a gun placing detection result of the target fuel 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.
[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 of the first detection areas includes one fuel gun;
[0215] If a first detection area where a gun hanging hole is detected is found, 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 of the second detection areas includes at least two fuel guns;
[0218] If a second detection area where a gun hanging hole is detected is found, 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 the information interaction, execution process, etc. between the above devices / units, due to being based on the same concept as the method embodiment of the present application, for their specific functions and the technical effects brought, please refer to the method embodiment part for details, and will not be elaborated here.
[0223] Figure 11 This is a schematic structural diagram of an electronic device provided in 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, and 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 / 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 equipped on the electronic device 11, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. 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. 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-mentioned division of each functional unit and module is used as an example. In actual applications, the above-mentioned functions can be allocated to different functional units and modules according to needs, that is, the internal structure of the device is 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-mentioned 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-mentioned system can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[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 enabled 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-described embodiment methods 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-described 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 each 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 conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or 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 for each specific application to implement the described functions, 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 merely 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 couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.
[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 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 embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it; 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 embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for determining gas station supervision data, characterized in that: include: Determining a refueling start time and a refueling end time of the refueling vehicle based on an image detection result of a connection between a target refueling machine and a refueling vehicle; The refueling start time is the time when the target refueling machine is detected to be connected to the refueling vehicle, and the refueling end time is the time when the target refueling machine is detected to be disconnected from the refueling vehicle; 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; 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 raising detection time, wherein the first absolute value is the absolute value of the difference between the gun raising detection time and the refueling start time; and / or, Determining a gun discharge detection time of the target fueling gun based on a gun discharge detection result of the target fueling gun; A second absolute value is calculated, and when the second absolute value is greater than a second time threshold, the refueling end time is corrected based on the refueling end time and the gun discharge detection time, wherein the second absolute value is the absolute value of the difference between the gun discharge detection time and the refueling end time.
2. The method for determining gas station supervision data according to claim 1, characterized in that: The step of determining the refueling start time and refueling end time of the refueling vehicle based on the image detection result of the connection between the target refueling machine and the refueling vehicle comprises: 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 the gun head of the target refueling gun 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; The refueling end time is determined based on a second disconnection detection result, where the second disconnection detection result is a disconnection detection result between a gun head of the target refueling gun connected with a connection line and the refueling vehicle.
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 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.
5. The method for determining gas station supervision data according to claim 4, 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.
6. A gas station supervision data determination device, characterized in that: include: A duration determination module, used to determine the refueling start time and refueling end time of the refueling vehicle based on the image detection results of the target refueling machine and the refueling vehicle; The refueling start time is the time when the target refueling machine is detected to be connected to the refueling vehicle, and the refueling end time is the time when the target refueling machine is detected to be disconnected from the refueling vehicle; A first determination module is used to determine the gun raising detection time of the target fueling gun based on the gun raising detection result of the target fueling gun of the target fueling machine; 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 raising detection time, wherein the first absolute value is an absolute value of a difference between the gun raising detection time and the refueling start time; and / or, A second determination module is used to determine the gun discharge detection time of the target fueling gun based on the gun discharge detection result of the target fueling gun; The second calculation module is used to calculate a second absolute value, and when the second absolute value is greater than a second time threshold, correct the refueling end time based on the refueling end time and the gun discharge detection time, the second absolute value being the absolute value of the difference between the gun discharge detection time and the refueling end time.
7. 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 5 is implemented.
8. 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 7; 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 7; 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 7; 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.