Gas station supervision data determination method, device, electronic equipment and supervision system
Through image detection technology, the refueling time of the refueling vehicle and the unit time flow of the refueling machine are determined, and the refueling volume is calculated, which solves the problem of installing data acquisition modules for the refueling machine in the prior art, and improves the efficiency and safety of gas station supervision data.
Patent Information
- Application Number
- CN202411413173.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-11
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2044-10-11
AI Technical Summary
When determining gas station supervision data, the prior art requires the installation of data acquisition module on the gas tanker, which is difficult to implement, poses safety risks, and affects efficiency.
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.
This method does not require the installation of a data acquisition module on the gas tanker, which reduces the difficulty of implementation and safety risks, and improves the determination efficiency and safety of gas station supervision data.
Smart Images

Figure CN118917561B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of computer technology, and in particular, relates to a method, device, electronic equipment and supervision system for determining supervision data of a gas station. Background Art
[0002] Based on the information obtained by the tax authorities during their inspections of tax sources, gas stations are widely distributed and scattered, and their actual operating conditions are difficult to fully grasp. The tax data reported by some gas stations themselves deviate from the actual gas station supervision data, and there are cases of tax evasion. Therefore, how to determine the gas station supervision data is a technical problem that needs to be solved urgently.
[0003] The existing technology determines the gas station supervision data by installing a data collection module on the gas station. This method requires the installation of a data collection module on the gas station, which is difficult to implement and has certain safety risks. When implementing it, the gas station's refueling business needs to be temporarily interrupted, which affects the efficiency and safety of determining the gas station supervision data. Summary of the invention
[0004] The embodiments of the present application provide a method, device, electronic device and supervision system for determining supervision data of a gas station, which can improve the efficiency and security of determining supervision data of a gas station.
[0005] In a first aspect, an embodiment of the present application provides a method for determining gas station supervision data, comprising:
[0006] Based on the image detection results of the target fuel dispenser and the refueling vehicle, the refueling time of the refueling vehicle is determined; wherein the refueling vehicle is a vehicle in the target parking detection area, and the target fuel dispenser corresponds to the target parking detection area;
[0007] Determine the flow rate of the target fuel dispenser per unit time;
[0008] Based on the refueling duration and the flow rate of the target refueling machine per unit time, a refueling amount associated with the current refueling event of the target refueling machine is determined.
[0009] In the embodiment of the present application, the refueling time of the refueling vehicle can be determined based on the image detection results of the target refueling machine and the refueling vehicle, and the refueling amount related to the refueling event of the target refueling machine can be determined based on the refueling time and the flow rate of the target refueling machine per unit time, and the refueling amount is the gas station supervision data. That is, this solution can estimate the refueling amount through image detection, without installing a data acquisition module on the refueling machine, and without manual participation, which improves the efficiency and security of determining the gas station supervision data.
[0010] In a second aspect, an embodiment of the present application provides a gas station supervision data determination device, including:
[0011] A duration determination module, used to determine the refueling duration of the refueling vehicle based on the image detection results of the target refueling machine and the refueling vehicle; wherein the refueling vehicle is a vehicle in the target parking detection area, and the target refueling machine corresponds to the target parking detection area;
[0012] A flow determination module, used to determine the flow rate of the target fuel dispenser per unit time;
[0013] The refueling quantity determination module is used to determine the refueling quantity related to the current refueling event of the target refueling machine based on the refueling duration and the flow rate of the target refueling machine per unit time.
[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for determining gas station supervision data described in the first aspect above is implemented.
[0015] In a fourth aspect, an embodiment of the present application provides a gas station supervision system, the gas station supervision system comprising an image acquisition device and the electronic device as described in the third aspect above; the image acquisition device is used to acquire images of a target gas station and a refueling vehicle, and send the images to the electronic device;
[0016] Alternatively, the gas station supervision system includes an intelligent image acquisition device and the electronic device as described in the third aspect above; 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;
[0017] Alternatively, the gas station supervision system includes an image acquisition device, an intelligent device and an electronic device as described in the third aspect above; the image acquisition device is used to acquire the image and send the image to the 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.
[0018] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for determining gas station supervision data as described in the first aspect above is implemented.
[0019] In a sixth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the gas station supervision data determination method described in the first aspect above.
[0020] It can be understood that the beneficial effects of the second to sixth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0022] Figure 1 is a schematic diagram of a gas station supervision system provided by an embodiment of the present application;
[0023] Figure 2 is a deployment example diagram of an image acquisition device;
[0024] Figure 3 is an example diagram of a parking detection area displayed on a display screen of an image acquisition device;
[0025] Figure 4 is another schematic diagram of the gas station supervision system provided by an embodiment of the present application;
[0026] Figure 5 is another schematic diagram of a gas station supervision system provided by an embodiment of the present application;
[0027] Figure 6 It is a schematic diagram of the implementation process of the gas station supervision data determination method provided in the embodiment of the present application;
[0028] Figure 7 This is an example image of a refueling vehicle entering a target parking detection area;
[0029] Figure 8 is an example diagram of the shielded area;
[0030] Fig. 9 is an example diagram of the first detection area;
[0031] Fig.10 It is a structural diagram of a gas station supervision data determination device provided in an embodiment of the present application;
[0032] Fig.11 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0033] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may 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 prevent unnecessary details from obstructing the description of the present application.
[0034] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of 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 combinations thereof.
[0035] It should also be understood that the term "and / or" used in the present specification 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 objects associated before and after are in an "or" relationship.
[0036] It should also be understood that in the embodiments of the present application, "plurality" refers to two or more than two.
[0037] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0038] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0039] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0040] The method for determining gas station supervision data provided in the embodiment of the present application can be applied to electronic devices such as desktop computers, servers, laptop computers, and ultra-mobile personal computers (UMPCs). The embodiment of the present application does not impose any restrictions on the specific types of electronic devices. For example, the electronic device in the embodiment of the present application can be a server in the computer room of the gas station supervision department, and the gas station supervision data can be determined based on the refueling time of the refueling vehicles in the target parking detection area and the flow rate per unit time of the target gas station corresponding to the target parking detection area, so as to facilitate the gas station supervision department to view the gas station supervision data or to verify the tax data reported by the gas station based on the gas station supervision data.
[0041] See also Figure 1 , Figure 1 A schematic diagram of a gas station monitoring system provided in an embodiment of the present application is shown. As an example but not a limitation, the gas station monitoring system includes an image acquisition device 101 and an electronic device 102. The electronic device 102 is in communication connection with the image acquisition device 101.
[0042] When the image acquisition device 101 has a large enough field of view, the image acquisition device 101 is deployed with the main goals of achieving parking detection and 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 and fuel gun of the fuel pump in the gas station.
[0043] When the image acquisition device 101 has a limited acquisition field of view, the image acquisition device 101 may include a first image acquisition device and a second image acquisition device. The first image acquisition device is deployed to achieve parking detection as the main goal, 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 gas station's gas station. The second image acquisition device is deployed to achieve gas station gun detection as the main goal, that is, the second image acquisition device is deployed at the gas station and the acquisition field of view covers the corresponding gas station's gas station's gas station's gas station's gas station's gas station.
[0044] It should be understood that the number of deployed image acquisition devices 101 and the product form can be adjusted according to the layout of the gas station's gas pumps and the data acquisition capabilities of the image acquisition devices 101. Product forms include but are not limited to 360-degree surround view devices, explosion-proof ball cameras, wide-angle cameras, fixed-focus cameras, etc.
[0045] In order to more accurately monitor the gas station, an image acquisition device 101 may be configured for each gas station dispenser, and the corresponding gas station dispenser may be monitored based on the image acquisition device 101 .
[0046] Of course, it is understandable that if the image acquisition device 101 has a relatively large acquisition field of view, multiple fuel dispensers may share one image acquisition device 101, and this application does not limit this. As an example and not a limitation, the image acquisition device 101 includes a first image acquisition device and a second image acquisition device; if the first image acquisition device has a relatively large acquisition field of view, multiple fuel dispensers may share one first image acquisition device; if the second image acquisition device has a relatively large acquisition field of view, multiple fuel dispensers may share one second image acquisition device, and this application does not limit this.
[0047] By way of example and not limitation, Figure 2 : is a deployment example diagram of image acquisition devices. Taking the No. 1 and No. 3 gas station gas station gas station gas station as an example, image acquisition device 1011 and image acquisition device 1012 are respectively configured for the No. 1 gas station gas station first image acquisition device and the second image acquisition device, and image acquisition device 1013 and acquisition device 1014 are respectively configured for the No. 3 gas station gas station first image acquisition device and the second image acquisition device. Image acquisition device 1011 can be installed on the side column 3 of the No. 3 gas station gas station for collecting parking detection areas on both sides or one side of the No. 1 gas station gas station. Image acquisition device 1012 can be installed on the side column 1 of the No. 1 gas station gas station for collecting the area where the gas pump of the No. 1 gas station gas station is located. The field of view (i.e., the field of view) of image acquisition device 1012 is from top to bottom, which can prevent personnel from blocking the area where the gas pump of the No. 1 gas station gas station is located. Image acquisition device 1013 can be installed on the side column 1 of the No. 1 gas station gas station for collecting parking detection areas on both sides or one side of the No. 3 gas station gas station. The image acquisition device 1013 can be installed on the side column 3 of the No. 3 gas station to capture the area where the gas gun of the No. 3 gas station is located. The field of view of the image acquisition device 1014 is from top to bottom, which can prevent people from blocking the area where the gas gun of the No. 3 gas station is located.
[0048] In order to achieve time synchronization of various devices in the gas station supervision system and the gas station, thereby providing accurate time information for gas station supervision, the gas station, the image acquisition device 101 corresponding to the gas station, and the electronic device 102 can be uniformly calibrated through the time calibration server. Of course, it is understandable that in addition to the time calibration server, other time calibration methods can also be used to uniformly calibrate the time of the above multiple devices.
[0049] In a possible implementation, the parking detection area can be configured based on the deployment position of the fuel gun of the fuel dispenser. For example, if the fuel gun is deployed on both sides of the fuel dispenser, the parking detection area can be configured on both sides of the fuel dispenser; if the fuel gun is deployed on one side of the fuel dispenser, the parking detection area can be configured on the side where the fuel gun is deployed.
[0050] Optionally, a parking detection area may be configured for the gas station on the image acquisition device 101. When the electronic device 102 displays the image acquired by the image acquisition device 101, the parking detection area may be displayed in the displayed image, or the parking detection area may not be displayed, and this application does not limit this. Figure 3 The following is an example of a parking detection area displayed on a display screen of an image acquisition device. Figure 3 The two black rectangular boxes on both sides of the gas pump are the parking detection areas.
[0051] 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 gas pump to obtain an image of the gas pump, and can determine the position information of the parking detection area from the refueling area image and store the position information of the parking detection area. On this basis, the image acquisition device 101 can identify whether a vehicle enters or exits the parking area based on the pre-stored position information of the parking detection area and the acquired image.
[0052] Of course, it is understandable that when the image acquisition device 101 is communicatively connected with the electronic device 102, the above-mentioned step of determining the location information of the parking detection area from the gas pump image can also be performed on the electronic device 102. After the electronic device 102 obtains the location information of the parking detection area, it sends the location information of the parking detection area to the image acquisition device 101.
[0053] After configuring a parking detection area for any gas station, the electronic device can associate the identification information of the parking detection area with the gas station information of the corresponding gas station, and store the association relationship in the gas station supervision platform. In the case where the gas station supervision platform is installed on the electronic device 102, after identifying that a vehicle has entered a parking detection area, the parking detection area can be determined as a target parking detection area, and the electronic device can determine the gas station that provides refueling services for the vehicle based on the identification information of the parking detection area and the association relationship between the identification information of the pre-stored parking detection area and the gas station information. Among them, the above-mentioned gas station supervision platform can refer to the software used to implement the solution of the present application.
[0054] By running the gas station supervision platform, the electronic device 102 can analyze the images of the target gas pump and the refueling vehicle captured by the image acquisition device 101, obtain image detection results, and determine the gas station supervision data based on the image detection results. The specific implementation scheme can be found in the gas station supervision data determination method described in the embodiment below.
[0055] In this embodiment, the electronic device 102 can also realize the functions involved in this application, such as the extraction of vehicle information entering and exiting the parking detection area, detection of the lifting and lowering gun of the fuel dispenser, detection of the fuel dispenser and the connection line, analysis of fueling vehicles, analysis of fueling data, and warning of non-reporting of fueling. The fueling vehicle analysis includes but is not limited to analyzing the fuel dispenser information, fueling model, vehicle information of the fueling vehicle, fueling start time, fueling end time, and fueling duration. The fueling data analysis includes but is not limited to further analyzing and filtering the data generated after the fueling vehicle analysis, so as to estimate the fueling amount.
[0056] See also Figure 4 In another embodiment, the gas station monitoring system may include an intelligent image acquisition device 103 and an electronic device 102. The electronic device 102 is in communication connection with the intelligent image acquisition device 103.
[0057] In addition to being able to implement the image acquisition function as described in the above-mentioned image acquisition device 101, the intelligent image acquisition device 103 can also detect the acquired image, obtain image detection results, and send the image detection results to the electronic device 102. The electronic device 102 can determine the gas station supervision data based on the image detection results and implement supervision of the gas station.
[0058] In this embodiment, the intelligent image acquisition device 103 can also realize the functions involved in this application, such as the extraction of vehicle information entering and exiting the parking detection area, the detection of the lifting and lowering gun of the fuel dispenser, and the detection of the fuel dispenser and the connection line. The electronic device 102 can realize the functions involved in this application, such as the analysis of fueling vehicles, the analysis of fueling data, and the warning of non-reporting of fueling.
[0059] See also 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 with the image acquisition device 101 and the electronic device 102, respectively.
[0060] The image acquisition device 101 acquires images of the target gas station and the refueling vehicle, and sends the images of the target gas station and the refueling vehicle to the smart device 104. The smart device 104 detects the image, obtains the image detection result, and sends the image detection result to the electronic device 102. The electronic device 102 can determine the gas station supervision data based on the image detection result and realize the supervision of the gas station.
[0061] In this embodiment, the smart device 104 can realize the functions involved in this application, such as the extraction of vehicle information entering and exiting the parking detection area, detection of the lifting and lowering gun of the fuel dispenser, and detection of the fuel dispenser and the connection line. The electronic device can realize the functions involved in this application, such as the analysis of fueling vehicles, analysis of fueling data, and warning of non-reporting of fueling.
[0062] See also Figure 6 , Figure 6 The following is a schematic diagram of the implementation process of the gas station supervision data determination method provided in the embodiment of the present application, which is applied to an electronic device. As an example but not a limitation, the method includes the following steps:
[0063] Step 601, based on the image detection results of the target fuel dispenser and the fueling vehicle, determine the refueling time of the refueling vehicle.
[0064] The refueling vehicle is a vehicle in the target parking detection area, the target parking detection area is the parking detection area for the vehicle entering, and the target refueling machine corresponds to the target parking detection area. Figure 7 The following is an example of a refueling vehicle entering the target parking detection area. Figure 7 The vehicle in the figure is a refueling vehicle.
[0065] The above-mentioned image detection results can be obtained by the electronic device detecting the images of the target gas station and the refueling vehicle captured by the image acquisition device, or can be sent by the intelligent image acquisition device or the intelligent device to the electronic device, and this application does not limit this.
[0066] In a possible implementation, the electronic device can 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; and calculate the refueling duration of the refueling vehicle based on the refueling start time and refueling end time. For example, the refueling duration can be obtained by subtracting the refueling start time from the refueling end time.
[0067] The electronic device can determine the refueling start time and refueling end time in the following three ways.
[0068] Method 1: Based on the first connection detection result, the refueling start time of the refueling vehicle is determined, and the first connection detection result is the connection detection result between the gun head of the target refueling gun of the target refueling machine and the refueling vehicle; based on the first disconnection detection result, the refueling start time of the refueling vehicle is determined, and the first disconnection detection result is the disconnection detection result between the gun head of the target refueling gun and the refueling vehicle.
[0069] The target fueling gun is used to provide fueling service for the fueling vehicle. The first connection detection result indicates that the gun head of the target fueling gun is connected to the fueling vehicle.
[0070] The above-mentioned scheme for determining the start time of refueling may include: the electronic device detects the images of the target gas station and the refueling vehicle, and when the target gas station gun tip is detected to be connected to the refueling vehicle for the first time in the refueling event of the target gas station, a first connection detection result is generated, and the first image in which the connection is first detected is saved to facilitate the subsequent review of the first image by the supervisor, and the acquisition time of the first image is used as the start time of refueling, or the system time when the connection is first detected is used as the start time of refueling.
[0071] The above-mentioned scheme for determining the start time of refueling may also include: a smart device or a smart image acquisition device detects the images of the target gas station and the refueling vehicle, generates a first connection detection result when the target gas station gun tip is detected to be connected to the refueling vehicle for the first time in the refueling event of the target gas station, and sends the above-mentioned first connection detection result to the electronic device, and the electronic device determines the start time of refueling for the refueling vehicle based on the first connection detection result.
[0072] After the electronic device receives the above-mentioned first connection detection result, it 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 second image to the electronic device. The second image can 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 to facilitate the subsequent viewing of the second image by the supervisor, and use the image acquisition time in the second image as the start time of refueling.
[0073] After receiving the first connection detection result, the electronic device may also use the current system time as the refueling start time, obtain and save the second image, so as to facilitate the subsequent viewing of the second image by the supervisor.
[0074] The 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 gas station, and is used to acquire images of the target parking area and the target gas station. The 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 of the corresponding gas station.
[0075] The first disconnection detection result indicates that the gun head of the target fueling gun is disconnected from the fueling vehicle.
[0076] The above-mentioned scheme for determining the end time of refueling may include: the electronic device detects the images of the target gas station and the refueling vehicle, and when it is first identified that the gun head of the target gas station is disconnected from the refueling vehicle during the refueling event of the target gas station, a first disconnection detection result is generated, and a third image in which the disconnection is first identified is saved to facilitate subsequent viewing of the third image by specific personnel, and the acquisition time of the third image is used as the end time of refueling, or the system time when the disconnection is first identified is used as the end time of refueling.
[0077] As an example but not limitation, the electronic device can detect the connection or disconnection between the target fuel gun and 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 target fuel gun and the fuel tank of the refueling vehicle; if the distance between the target fuel gun and the fuel tank of the refueling vehicle is less than the distance threshold, it can be determined that the target fuel gun is connected to the refueling vehicle, and the first image can be an image in which the distance between the target fuel gun and the fuel tank of the refueling vehicle is less than the distance threshold in the first frame, or it can be the previous frame image of the image; if the distance between 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 target fuel gun is disconnected from the refueling vehicle, and the third image can be an image in which the distance between the target fuel gun and the fuel tank of the refueling vehicle is greater than or equal to the distance threshold in the first frame, or it can be the previous frame image of the image. Optionally, the above distance threshold can be pre-set according to actual scene requirements.
[0078] Of course, the electronic device can also identify and track the gun head of the target gas gun based on the image recognition of the target gas pump and the refueling vehicle. If the gun head of the target gas gun cannot be identified when tracking near the refueling vehicle, it can be determined that the gun head of the target gas gun is connected to the refueling vehicle. The first image can be an image in which the gun head of the target gas gun cannot be identified in the first frame during the tracking process, or it can be the previous frame image of the image; on this basis, the gun head of the target gas gun is continuously identified based on the images of the target gas pump and the refueling vehicle. If the gun head of the target gas gun is identified, it can be determined that the gun head of the target gas gun is disconnected from the refueling vehicle. The third image can be an image in which the gun head of the target gas gun is identified in the first frame during the continuous identification process, or it can be the previous frame image of the image.
[0079] The above-mentioned scheme for determining the end time of refueling may also include: a smart device or a smart image acquisition device detects the images of the target gas station and the refueling vehicle, generates a first disconnection detection result when it is first identified that the gun head of the target gas station is disconnected from the refueling vehicle during the refueling event of the target gas station, and sends the above-mentioned first disconnection detection result to the electronic device, and the electronic device determines the end time of refueling for the refueling vehicle based on the first disconnection detection result.
[0080] After the electronic device receives the above-mentioned first disconnection detection result, it 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 can include the corresponding image acquisition time (i.e., the acquisition time of the fourth image). After the electronic device receives the fourth image, it can save the fourth image to facilitate subsequent viewing of the fourth image by specific personnel, and use the image acquisition time in the fourth image as the refueling end time.
[0081] After receiving the first disconnection detection result, the electronic device may also use the current system time as the refueling end time, obtain and save the fourth image, so as to facilitate subsequent viewing of the fourth image by specific personnel.
[0082] Method 2: The electronic device determines the start time of refueling based on the second connection detection result, where the second connection detection result is the connection detection result between the gun head of the target refueling gun connected with the connection line and the refueling vehicle; and determines the end time of refueling based on the second disconnection detection result, where the second disconnection detection result is the disconnection detection result between the gun head of the target refueling gun connected with the connection line and the refueling vehicle.
[0083] The second connection detection result indicates that the gun head of the target refueling gun connected with the connecting wire is connected to the refueling vehicle.
[0084] The above-mentioned scheme for determining the start time of refueling may include: the electronic device detects the images of the target gas station and the refueling vehicle, and when it is first detected that the gun head of the target gas station gun connected with the connecting wire is connected to the refueling vehicle during the refueling event of the target gas station, a second connection detection result is generated, and a fifth image in which the connection is first detected is saved to facilitate the subsequent review of the fifth image by the supervisor, and the acquisition time of the fifth image is used as the start time of refueling, or the system time when the connection is first detected is used as the start time of refueling.
[0085] The above-mentioned scheme for determining the start time of refueling may also include: a smart device or a smart image acquisition device detects the images of the target gas station and the refueling vehicle, generates a second connection detection result when it is detected for the first time in the current refueling event of the target gas station that the gun head connected with the connecting wire is connected to the refueling vehicle, and sends the above-mentioned second connection detection result to the electronic device, and the electronic device determines the start time of refueling for the refueling vehicle based on the second connection detection result.
[0086] After the electronic device receives the above-mentioned second connection detection result, it 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 sixth image to the electronic device. The sixth image can include the corresponding image acquisition time (i.e., the acquisition time of the sixth image). After the electronic device receives the sixth image, it can save the sixth image to facilitate the subsequent review of the sixth image by the supervisor, and use the image acquisition time in the sixth image as the start time of refueling.
[0087] After receiving the second connection detection result, the electronic device may also use the current system time as the refueling start time, obtain and save the sixth image, so as to facilitate the subsequent review of the sixth image by the supervisor.
[0088] The second disconnection detection result indicates that the gun head of the target refueling gun connected with the connecting wire is disconnected from the refueling vehicle.
[0089] The above-mentioned scheme for determining the end time of refueling may include: the electronic device detects the images of the target gas station and the refueling vehicle, and when it is first identified in the current refueling event of the target gas station that the gun head connected to the connecting wire is disconnected from the refueling vehicle, a second disconnection detection result is generated, and the seventh image in which the disconnection is first identified is saved to facilitate subsequent viewing of the seventh image by specific personnel, and the acquisition time of the seventh image is used as the end time of refueling, or the system time when the disconnection is first identified is used as the end time of refueling.
[0090] As an example and not limitation, the electronic device can detect the connection or disconnection between the gun tip connected with the connecting line and the refueling vehicle in the following manner: based on the images of the target gas pump and the refueling vehicle, determine the distance between the gun tip connected with the connecting line and the fuel tank of the refueling vehicle; if the distance between the gun tip connected with the connecting line and the fuel tank of the refueling vehicle is less than a distance threshold, it can be determined that the gun tip connected with the connecting line is connected to the refueling vehicle, and the fifth image can be an image in which the first frame detects that the distance between the gun tip connected with the connecting line and the fuel tank of the refueling vehicle is less than the distance threshold, or it can be an image in the previous frame; if the distance between the gun tip connected with 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 gun tip connected with the connecting line is disconnected from the refueling vehicle, and the seventh image can be an image in which the first frame detects that the distance between the gun tip connected with the connecting line and the fuel tank of the refueling vehicle is greater than or equal to the distance threshold, or it can be an image in the previous frame.
[0091] Of course, the electronic device can also identify and track the gun head connected with the connecting line based on the image recognition of the target gas station and the refueling vehicle. If the gun head connected with the connecting line cannot be identified when tracking near the refueling vehicle, it can be determined that the gun head connected with the connecting line is connected to the refueling vehicle. The fifth image can be the image in which the gun head connected with the connecting line is not identified for the first time during the tracking process, or it can be the previous frame image of the image; on this basis, the gun head connected with the connecting line is continuously identified based on the images of the target gas station and the refueling vehicle. If the gun head connected with the connecting line is identified, it can be determined that the gun head connected with the connecting line is disconnected from the refueling vehicle. The seventh image can be the image in which the gun head connected with the connecting line is identified in the first frame during the continuous identification process, or it can be the previous frame image of the image.
[0092] The above-mentioned scheme for determining the end time of refueling may also include: a smart device or a smart image acquisition device detects the images of the target gas station and the refueling vehicle, and generates a second disconnection detection result when the first frame in the current refueling event of the target gas station recognizes that the gun head connected to the connecting wire of the target gas station is disconnected from the refueling vehicle, and sends the above-mentioned second disconnection detection result to the electronic device, and the electronic device determines the end time of refueling for the refueling vehicle based on the second disconnection detection result.
[0093] After the electronic device receives the above-mentioned second disconnection detection result, it 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 the electronic device receives the eighth image, it can save the eighth image to facilitate subsequent viewing of the eighth image by specific personnel, and use the image acquisition time in the eighth image as the refueling end time.
[0094] After receiving the above-mentioned second disconnection detection result, the electronic device can also use the current system time as the refueling end time, obtain and save the eighth image, so as to facilitate the subsequent review of the eighth image by the supervisor.
[0095] In the implementation schemes of the above-mentioned method 1 and method 2, for any refueling gun on the target refueling machine, when the gun head of the refueling gun is not pulled out from the gun hanging hole, the refueling gun is always hanging in the gun hanging area, that is, the connection line can be detected in the gun hanging area, and when the gun head is just pulled out from the gun hanging hole and the refueling 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 are detected) can also be detected in the gun hanging area. Therefore, in order to avoid the above two situations interfering with the detection of the gun head connected with the connection line in the scheme of determining the refueling start time, the gun hanging area of the target refueling machine can be set as a shielding area, such as Figure 8Shown is an example diagram of the shielded area. Figure 8 The two dotted boxes in the figure are shielded areas. When detecting the first connection detection result and the second connection detection result, the shielded area is not detected, that is, when detecting the first connection detection result and the second connection detection result, only the gun tip or the gun tip connected with the connection line needs to be identified and tracked in the area outside the shielded area in the image of the target tanker and the tanker vehicle, which can reduce the amount of data in the process of detecting the first connection detection result and the second connection detection result, and improve the detection efficiency of the above two connection detection results.
[0096] Before calculating the refueling duration based on the refueling start time and the refueling end time, the electronic device may also determine the validity of the refueling start time and the refueling end time through the following steps.
[0097] The electronic device determines the parking start time of the refueling vehicle based on the detection result of the refueling vehicle entering the target parking detection area; determines the parking end time of the refueling vehicle based on the detection result of the refueling vehicle exiting the target parking detection area; if the refueling start time is earlier than the parking start time, the refueling start time and the parking end time are marked as pending confirmation; if the refueling end time is later than the parking end time, the refueling end time and the parking end time are marked as pending confirmation; based on the video clip of the refueling vehicle, the time marked as pending confirmation 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 is that the refueling start time and the refueling end time marked as pending confirmation are correct, the refueling duration is calculated based on the refueling start time and the refueling end time; if the verification result is that the refueling start time or the refueling end time in the pending confirmation state 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.
[0098] 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 exiting the target parking detection area indicates that the refueling vehicle exits the target parking detection area.
[0099] In a possible implementation, the image acquisition device acquires the parking detection area of the target fuel dispenser in real time, and based on the acquired images, it can be identified 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 to be a fueling vehicle, the parking detection area is a target parking detection area, and the acquired images are sent to the smart device. The smart device can extract the vehicle information of the fueling vehicle based on the images acquired by the image acquisition device, and send the detection result of the fueling vehicle entering the target parking detection area to the electronic device, and the detection result is used to instruct the electronic device to determine the parking start time. In the case where the fueling vehicle enters the target parking detection area, the image acquisition device can identify whether the fueling vehicle leaves the target parking detection area based on the acquired images; if it is identified that the fueling vehicle leaves the target parking detection area, the acquired images are sent to the smart device, and the smart device can extract the vehicle information of the fueling vehicle again based on the images acquired by the image acquisition device, and send the detection result of the fueling vehicle leaving the target parking detection area to the electronic device, and the detection result is used to instruct the electronic device to determine the parking end time.
[0100] 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 can carry vehicle information extracted by the smart device. After the electronic device receives the above detection results, it can extract the vehicle information to facilitate the subsequent review of the vehicle information entering or leaving the parking detection area by the supervisory personnel.
[0101] In one possible implementation, in response to a detection result of the smart device that a refueling vehicle enters a target parking detection area, 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 ninth image data currently acquired to the electronic device. The ninth image may include a 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.
[0102] In response to the detection result of the smart device that the refueling vehicle has left the target parking detection area, the electronic device can send an image acquisition instruction to the image acquisition device. After receiving the image acquisition instruction, the image acquisition device feeds back the tenth image data currently acquired to the electronic device. The tenth image can include the corresponding image acquisition time (i.e., the acquisition time of the tenth image). After receiving the tenth image, the electronic device can save the tenth image and use the image acquisition time in the tenth image as the parking end time, control the image acquisition device to end the recording, and extract the recorded video clip of the refueling vehicle from the image acquisition device.
[0103] In another possible implementation, in response to the detection result of the smart device that the refueling vehicle enters the target parking detection area, the electronic device can use the current system time as the parking start time. In this implementation, the electronic device can also obtain and save the ninth image.
[0104] In response to the detection result of the smart device that the refueling vehicle has left the target parking detection area, the electronic device can use the current system time as the parking end time. In this implementation, the electronic device can also obtain and save the tenth image, control the image acquisition device to record, and extract the recorded video clip of the refueling vehicle.
[0105] The electronic device stores the ninth image, the tenth image and the video clip, which can facilitate subsequent review of the ninth image, the tenth image and the video clip by supervisory personnel.
[0106] It should be noted that the above-mentioned detection scheme of refueling vehicles entering and leaving the parking detection area and the vehicle information extraction scheme are based on Figure 5 The gas station supervision system shown in the figure is used as an example to introduce Figure 1 and Figure 4 The gas station supervision system shown is similar to the above description in implementing the detection scheme for the refueling vehicle entering and exiting the parking detection area and the vehicle information extraction scheme, which will not be repeated here.
[0107] In a possible implementation, after determining the parking start time and parking end time of the refueling vehicle, the parking time of the refueling vehicle can also be calculated based on the parking start time and parking end time; if the parking time is greater than the parking time threshold, the refueling time is calculated based on the refueling start time and refueling end time, or the validity of the refueling start time and refueling end time is judged based on the parking start time and parking end time; if the parking time is less than or equal to the parking time threshold, it is determined that the event of the refueling vehicle passing through the target parking area is a passing event. Among them, the parking time threshold is used to determine whether the event of the refueling vehicle passing through the target parking area is a passing event. Optionally, the parking time threshold can be pre-set according to the actual scenario. A passing event may refer to an event in which a vehicle passes through the parking area of a refueling pump but does not use the refueling pump to provide refueling services.
[0108] After determining a vehicle passing event, the electronic device can store data related to the vehicle passing event, such as gas station information, parking start time, parking end time, gas pump information, license plate information, etc., to facilitate subsequent review of the vehicle passing event by supervisors.
[0109] In order to provide refueling services to vehicles in a timely manner, gas station staff are usually located near the gas station. Therefore, in the process of analyzing the refueling vehicle based on the image of the target gas station and the refueling vehicle, there may be a situation where the staff blocks the gun head or the connecting line, which easily leads to errors in the determined refueling start time and refueling end time. As an example and not a limitation, when the gun head connected with the connecting line is connected to the refueling vehicle, although the gun head cannot be identified, the connecting line can be identified near the refueling vehicle. In the process of the electronic device identifying and tracking the gun head connected with the connecting line based on the image of the target gas station and the refueling vehicle, when tracking near the refueling vehicle, if the process of the connecting line connecting the gun head with the connecting line to the refueling vehicle is blocked by the staff, it will lead to the connection line not being identified near the refueling vehicle, but the refueling vehicle may have been refueled at this time, and the refueling start time determined in this case has an error. In the case where the gun head connected with the connecting line is connected to the refueling vehicle, that is, when the refueling vehicle is refueled, the connecting line exists near the refueling vehicle, but the connecting line is not identified near the refueling vehicle due to the blocking of the staff, the electronic device will misjudge that the gun head connected with the connecting line is disconnected from the refueling vehicle, and the refueling end time determined in this case has an error.
[0110] In order to ensure the accuracy of the refueling start time and the refueling end time, the refueling start time and / or the refueling end time may be corrected based on the state of the target refueling gun.
[0111] In a possible implementation, the refueling start time is corrected based on the state of the target refueling gun, including:
[0112] Determine the target fueling gun lifting detection time based on the target fueling gun lifting detection result;
[0113] The first absolute value is calculated, and when the first absolute value is greater than the first time threshold, the refueling start time is corrected based on the refueling start time and the gun raising detection time. The first absolute value is the absolute value of the difference between the gun raising detection time and the refueling start time.
[0114] The above-mentioned gun raising detection result indicates that the target fueling gun is in the gun raising state. The above-mentioned first time threshold and the above-mentioned second time threshold may be the same or different, and may be preset according to the actual scenario.
[0115] It should be noted that the present application does not limit the correction method of the refueling start time. For example, based on the refueling start time and the gun raising detection time, the correction of the refueling start time may include: updating the refueling start time to the gun raising detection time, or calculating the average value of the refueling start time and the gun raising detection time, and updating the refueling start time to the average value, or adding the gun raising detection time to the first time to obtain the added value, and updating the refueling start time to the added value, and the first time may be a preset experience value.
[0116] In a possible implementation, the refueling end time is corrected based on the state of the target refueling gun, including:
[0117] Determine the firing time of the target fueling gun based on the firing detection result of the target fueling gun;
[0118] The second absolute value is calculated, and when the second absolute value is greater than the second time threshold, the refueling end time is corrected based on the refueling end time and the gun discharge time, and the second absolute value is the absolute value of the difference between the gun discharge time and the refueling end time.
[0119] Among them, the above-mentioned discharge detection result indicates that the target refueling gun is in a discharge state.
[0120] It should be noted that the present application does not limit the correction method of the refueling end time. For example, the correction of the refueling end time based on the refueling end time and the gun discharge detection time may include: updating the refueling end time to the gun discharge detection time, or calculating the average value of the refueling end time and the gun discharge detection time, and updating the refueling end time to the average value, or adding the gun discharge detection time to the second time to obtain the added value, and updating the refueling end time to the added value, and the second time may be a preset empirical value.
[0121] Method three, the electronic device determines the target fuel gun raising detection time based on the target fuel gun raising detection result of the target fuel gun of the target fuel dispenser; determines the refueling start time of the refueling vehicle based on the gun raising detection time; determines the target fuel gun releasing detection time based on the target fuel gun releasing detection result; determines the refueling end time of the refueling vehicle based on the gun releasing detection time.
[0122] The electronic device can use the gun raising detection time as the refueling start time. Considering that there is a certain time difference from raising the gun to starting to refuel the vehicle, the gun raising detection time can also be added to the first time to obtain the value obtained by the camera, and the added value can be used as the refueling start time.
[0123] The electronic device can use the gun discharge detection time as the refueling end time. Considering that there is a certain time difference from the end of refueling to the gun discharge, the gun discharge detection time can also be added to the second time to obtain the value obtained by the camera, and the added value can be used as the refueling end time.
[0124] In one possible implementation, the electronic device can detect the gun lifting and releasing detection of the target fuel dispenser by detecting the gun hanging hole on the target fuel dispenser. The implementation scheme includes: detecting the existence of 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 that the fuel dispenser gun corresponding to the gun hanging hole is the target fuel dispenser gun, and generating a gun lifting detection result of the target fuel dispenser 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 releasing detection result of the target fuel dispenser gun.
[0125] The image of the target fuel dispenser includes an image of the area where the target fuel dispenser is located, and based on the image, it can be detected whether there is a gun hanging hole in the area where the target fuel dispenser is located, and the gun hanging hole is used to place the gun head when hanging the gun. The position information of the gun hanging hole may refer to the position information of the gun hanging hole in the area where the target fuel dispenser is located.
[0126] When the electronic device detects that there is no gun hanging hole at the location information of the gun hanging hole based on the image of the target gas station, it can use the acquisition time of the image in which the first frame detects that there is no gun hanging hole at the location information of the gun hanging hole or the acquisition time of the previous frame of the image as the gun release detection time, or it can use the system time when the non-existence of the gun hanging hole at the location information of the gun hanging hole is first detected in the current refueling event of the target gas station as the gun release detection area.
[0127] When the electronic device detects that there is a gun hanging hole in the area where the target gas station is located, it can use the acquisition time of the first frame of the image in which the gun hanging hole is detected in the area where the target gas station is located, or the acquisition time of the previous frame of the image as the gun raising detection time, or it can use the system time when the gun hanging hole is first detected in the current refueling event of the target gas station as the gun raising detection area.
[0128] In a possible implementation, when the target fuel dispenser location includes the first detection areas of each fuel dispenser gun of the target fuel dispenser, the first detection area is the area where the corresponding fuel dispenser gun is located, and one of the first detection areas includes one fuel dispenser gun; the above-mentioned detecting the presence of a gun hanging hole in the target fuel dispenser location based on the image of the target fuel dispenser includes:
[0129] Detecting whether there is a gun hanging hole in each first detection area in the image of the target fuel dispenser;
[0130] If a first detection area with a 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 above-mentioned determination that the fuel gun corresponding to the gun hanging hole is the target fuel gun includes: determining that the fuel gun corresponding to the first detection area corresponding to the gun hanging hole is the target fuel gun.
[0131] In the case where the target fuel dispenser area includes the second detection area of the target fuel dispenser, one of the second detection areas includes at least two fuel dispensers; and the above-mentioned detection based on the image of the target fuel dispenser that there is a gun hanging hole in the target fuel dispenser area includes:
[0132] Detect whether there is a gun hanging hole in each second detection area in the image of the target fuel dispenser;
[0133] If the second detection area where a 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.
[0134] The target fuel dispenser area may refer to the entire area where the target fuel dispenser is located in the image of the target fuel dispenser. The fuel gun area may refer to the area where the fuel gun is hung on the target fuel dispenser.
[0135] Based on the position information of the gun hanging holes of each refueling gun on the target refueling machine, a refueling gun detection area (i.e., the first detection area) can be pre-configured for each gun hanging hole, or a refueling gun detection area (i.e., the second detection area) can be configured for at least two gun hanging holes.
[0136] like Fig. 9 Shown is an example diagram of the first detection area. Fig. 9 The two black rectangular frames in the figure are the first detection area of the No. 92 fuel gun and the first gun detection area of the No. 95 fuel gun. The No. 92 fuel gun is in the gun-lifting state, and the No. 95 fuel gun is in the gun-releasing state. The No. 92 fuel gun may refer to a fuel gun for No. 92 gasoline. The No. 95 fuel gun may refer to a fuel gun for No. 95 gasoline.
[0137] When a first detection area is pre-configured for each gun hanging hole, the electronic device can only detect whether there is a gun hanging hole in each first detection area based on the image of the target fuel dispenser, without having to detect all image data of the area where the target fuel dispenser is located, thereby improving the efficiency of gun hanging hole detection.
[0138] When a second detection area is pre-configured for at least two gun hanging holes, the electronic device can only detect whether there is a gun hanging hole in the second detection area based on the image of the target fuel dispenser, without having to detect all image data of the area where the target fuel dispenser is located, thereby improving the efficiency of gun hanging hole detection.
[0139] Step 602, determining the flow rate of the target fuel dispenser per unit time.
[0140] As an example but not limitation, the flow rate of a target gas station per unit time can be estimated based on the refueling data provided by the tax control system or the refueling data reported by the gas station. These refueling data include but are not limited to the total amount of refueling, total refueling time and other information of different gas stations in a certain time period. These data are entered into the refueling data supervision platform, and the electronic device equipped with the refueling data supervision platform can calculate the flow rate of the target gas station per unit time (i.e., the average refueling speed of the target gas station) based on these data.
[0141] Step 603: Determine the refueling amount related to the current refueling event of the target refueling machine based on the refueling duration and the flow rate of the target refueling machine per unit time.
[0142] The calculation formula for the refueling volume related to the refueling event of the target refueling machine is as follows:
[0143] Refueling amount=(T_jy_2- T_jy_1)* Y_zl / Y_sc
[0144] 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 amount of refueling, and Y_sc represents the total refueling duration.
[0145] In the case where the target gas station has only one type of refueling model, the electronic device can estimate the flow rate of the target gas station's oil per unit time based on the refueling data provided by the tax control system or the refueling data reported by the gas station, and determine the refueling amount based on the flow rate and refueling time.
[0146] In the case where the target gas station has multiple different refueling models, the electronic device can estimate the flow rate of each refueling model of the target gas station per unit time based on the refueling data provided by the tax control system or the refueling data reported by the gas station, calculate the flow rate of each refueling model of the oil per unit time, use the flow rate as the flow rate of the target gas station per unit time, and determine the refueling amount based on the flow rate and refueling time.
[0147] In actual application scenarios, the flow rates of different oil products per unit time may be different. Therefore, in order to make a more accurate estimate of the refueling volume for different oil products, the flow rate of the target oil product of the target refueling machine per unit time can be determined. The target oil product is the oil product corresponding to the target refueling model; the refueling volume is determined based on the refueling time and the flow rate of the target oil product of the target refueling machine per unit time.
[0148] Among them, the types of oil products provided by gas stations usually include diesel and gasoline. The types of gasoline include No. 92 gasoline, No. 95 gasoline and No. 98 gasoline. Therefore, diesel, No. 92 gasoline, No. 95 gasoline and No. 98 gasoline are all oil products for gas pumps.
[0149] The number of fuel guns on a fuel dispenser can be one or more, and the present application does not limit the number of fuel guns.
[0150] For a gas station with one refueling gun, the corresponding refueling model is fixed. For a gas station with multiple refueling guns, the refueling models corresponding to its refueling guns may be the same refueling model. Therefore, when the refueling guns of the target gas station all correspond to the same refueling model, the association between the refueling machine information of the target gas station 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 gas station gun (i.e., the target refueling model), it can determine the target refueling model based on the refueling machine information of the target gas station and the association between the pre-stored refueling machine information and the refueling model, without the need to determine it based on images captured by an image acquisition device or an intelligent image acquisition device, thereby saving hardware costs.
[0151] For a gas station with multiple gas guns, the refueling models corresponding to its gas guns may also be different refueling models. In this case, the association between the position information of each gun hanging hole on the target gas station and the refueling model can be set in advance. Therefore, based on the association and the position information of the gun hanging holes detected in the area where the target gas station is located, the target refueling model corresponding to the refueling vehicle can be determined.
[0152] Taking into account the non-uniform refueling speed, the flow rate and refueling amount per unit time of the target refueling machine can be corrected based on the estimated refueling amount.
[0153] In a possible implementation, the flow rate per unit time of the target fuel dispenser may be corrected in the following manner.
[0154] If the determined flow rate is greater than the preset maximum flow rate of the target fuel dispenser per unit time, the flow rate of the target fuel dispenser per unit time is updated to the maximum flow rate.
[0155] As an example but not limitation, the flow rate of the target fuel dispenser per unit time is 70 L / min, the maximum flow rate of the target fuel dispenser per unit time is 60 L / min, and the flow rate of the target fuel dispenser per unit time may be updated to 60 L / min.
[0156] In a possible implementation, after the refueling amount related to the current refueling event is determined, the refueling amount may be corrected in the following manner.
[0157] The electronic device obtains the maximum refueling amount corresponding to the model of the refueling vehicle; if the refueling amount is greater than the maximum refueling amount, the refueling amount is updated to the maximum refueling amount.
[0158] Among them, the model of the target vehicle is extracted from the vehicle information of the refueling vehicle.
[0159] The electronic device pre-stores the association between each vehicle model and the corresponding maximum refueling amount. Based on the association and the vehicle model of the target vehicle, the maximum refueling amount corresponding to the vehicle model can be determined. Optionally, the maximum refueling amount corresponding to each vehicle model can be set according to actual scene requirements.
[0160] As an example and not a limitation, the maximum refueling capacity of a compact car is 60L, and the maximum refueling capacity of a sport utility vehicle is 100L. The model of the refueling vehicle is a sport utility vehicle and its refueling capacity is 120L. This may be due to the target fuel gun not being engaged in time. By updating the target vehicle's refueling capacity to 100L, the target vehicle's refueling capacity can be corrected.
[0161] In another possible implementation, when the image acquisition device or the intelligent image acquisition device is able to capture the refueling data display area of the target fuel dispenser, the electronic device can use an optical character recognition (OCR) algorithm to display the refueling amount in the refueling data display area, thereby obtaining the refueling amount related to the current refueling event of the target fuel dispenser.
[0162] In one possible implementation, after determining the amount of refueling related to this refueling event, the electronic device can monitor the gas station from the perspective of the gas pump or from the perspective of the gas station, implement an early warning for unreported refueling, and provide supervisors with more comprehensive information.
[0163] The electronic device monitors the gas station from the dimension of the gas pump, including: determining a first gas pump data list of the target gas pump within a first preset time period based on the gas pump data related to the current gas pump event of the target gas pump; determining a second gas pump data list of the target gas pump within the first preset time period based on the gas pump data of the target gas pump provided by the tax control system or the gas pump data of the target gas pump reported by the gas station; matching each first data item of the first gas pump data list with the first data item corresponding to the second gas pump data list to obtain data matching results corresponding to each first data item, the first data item including the number of gas pump events and the gas pump model, gas pump start time, gas pump end time, gas pump duration, and gas pump amount of each gas pump event.
[0164] The number of refueling events can be understood as the number of refuelings. The refueling model, the refueling machine information of the target refueling machine, the refueling start time, the refueling end time, the refueling duration and the refueling amount of each refueling event can be understood as the refueling model, the refueling machine information, the refueling start time, the refueling end time, the refueling duration and the refueling amount of each refueling.
[0165] The above-mentioned matching of each first data item in the first refueling data list with the corresponding first data item in the second refueling data list 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 amount of each refueling event in the first refueling data list with the refueling amount of the same refueling event in the second refueling data list.
[0166] 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 convenience of supervisory personnel to view; it can also determine whether there is a result indicating a mismatch in the data matching results corresponding to each first data item. If there is a result indicating a mismatch in the data matching results corresponding to each first data item, it can be determined that there is a first abnormal event in the second refueling data list, 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, an early warning of false refueling reports can be implemented.
[0167] In the case where the first abnormal event exists 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 the mismatch. As an example and not a 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 the mismatch is the number of refueling events, the abnormal level of the first abnormal event is determined to be high; if the first data item corresponding to the result indicating the mismatch is the refueling duration, the abnormal level of the first abnormal event is determined to be medium; if the first data item corresponding to the result indicating the mismatch is the refueling start time, the abnormal level of the first abnormal event is determined to be low.
[0168] The electronic device monitors the gas station from the dimension of the gas station, including: determining the third refueling data list of the gas station within the second preset time period based on the refueling data related to the current refueling event of the target gas station; obtaining the 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 tax control system or the refueling data of the gas station reported by the gas station; matching each second data item of the third refueling data list with the second data item corresponding to the fourth refueling data list to obtain the data matching results corresponding to each second data item, the second data item including the number of refueling events and the refueling model, gas station information, refueling start time, refueling end time, refueling duration, and refueling amount of each refueling event.
[0169] The above-mentioned matching of each second data item of the third refueling data list with the corresponding second data item of 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 fueling machine information of each refueling event in the third refueling data list with the fueling machine 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 amount of each refueling event in the third refueling data list with the refueling amount of the same refueling event in the fourth refueling data list.
[0170] After obtaining the data matching results corresponding to each second data item, the electronic device can display the data matching results corresponding to each second data item for the convenience of supervisory personnel to view; it can also determine whether there is a result indicating a mismatch in the data matching results corresponding to each second data item. If there is a result indicating a mismatch in the data matching results corresponding to each second data item, it can be determined that there is a second abnormal event in the fourth refueling data list, and the second abnormal event indicates that there is a false alarm 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 implemented.
[0171] In the case where there is a second abnormal event 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 the mismatch. As an example and not a limitation, the abnormal level can be divided based on the importance of the second data item in the gas station supervision. For example, if the second data item corresponding to the result indicating the 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 the 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 the mismatch is the refueling start time, the abnormal level of the second abnormal event is determined to be low.
[0172] The embodiment of the present application can provide more comprehensive information for tax control audit by matching multiple data items in different refueling data lists.
[0173] It should be understood that, for the three data items of the number of refueling events, refueling model, and refueling machine information, the matching of data items in the above-mentioned different refueling data lists may refer to whether the data items in different refueling data lists are the same. For the four data items of refueling start time, refueling end time, refueling duration, and refueling amount, the matching of data items in the above-mentioned different refueling data lists may refer to whether the absolute value of the difference between the data items in different refueling data lists is within a preset range. Optionally, the above-mentioned preset range may be pre-set according to the actual scenario. The preset ranges corresponding to different data items may be the same or different, and this application does not limit this.
[0174] As an example but not limitation, for refueling event A, refueling event A is any refueling event in the first refueling data list, matching the refueling model of the refueling event in the first refueling data list with the refueling model of refueling event A in the second refueling data list may 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 not the same, 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.
[0175] For refueling event B, which is any refueling event in the third refueling data list, matching the refueling amount of refueling event B in the third refueling data list with the refueling amount of refueling event B in the fourth refueling data list may refer to calculating the absolute value of the difference between the refueling amount of refueling event B in the third refueling data list and the refueling amount of refueling event B in the fourth refueling data list. If the absolute value is within a preset range (for example, the preset range is 0 to 10L), it is determined that the refueling amount of refueling event B in the third refueling data list matches the refueling amount of refueling event B in the fourth refueling data list. If the absolute value is not within the preset range, it is determined that the refueling amount of refueling event B in the third refueling data list does not match the refueling amount of refueling event B in the fourth refueling data list.
[0176] In a possible implementation, a corresponding detail option may be set for each refueling event in the first refueling data list and the third refueling data list, and by clicking the detail option, relevant data of the data item of the corresponding refueling event may be viewed. For example, a video clip 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. may be viewed.
[0177] The embodiment of the present application can determine the refueling time of the refueling vehicle based on the image detection results of the target refueling machine and the refueling vehicle, and can determine the refueling volume related to the refueling event of the target refueling machine based on the refueling time and the flow rate of the target refueling machine per unit time, and the refueling volume is the gas station supervision data. That is, this solution can estimate the refueling volume through image detection, without installing a data acquisition module on the refueling machine, and without manual participation, which improves the efficiency and security of determining the gas station supervision data.
[0178] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0179] Corresponding to the gas station supervision data determination method described in the above embodiment, Fig.10 A schematic diagram of the structure of a gas station supervision data determination device provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.
[0180] Reference Fig.10 , the device comprises:
[0181] The duration determination module 1001 is used to determine the refueling duration of the refueling vehicle based on the image detection results of the target refueling machine and the refueling vehicle; wherein the refueling vehicle is a vehicle in the target parking detection area, and the target refueling machine corresponds to the target parking area;
[0182] The flow determination module 1002 is used to determine the flow rate of the target fuel dispenser per unit time;
[0183] The refueling quantity determination module 1003 is used to determine the refueling quantity related to the current refueling event of the target refueling machine based on the refueling duration and the flow rate of the target refueling machine per unit time.
[0184] Optionally, the duration determination module 1001 is specifically used for:
[0185] Determining a refueling start time of the refueling vehicle based on a first connection detection result, wherein the first connection detection result is a connection detection result between a gun head of a target refueling gun of the target refueling machine and the refueling vehicle;
[0186] 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;
[0187] 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;
[0188] Determining the refueling end time based on a second disconnection detection result, wherein the second disconnection detection result is a disconnection detection result of a gun head of the target refueling gun connected with a connection line and the refueling vehicle;
[0189] The refueling duration is calculated based on the refueling start time and the refueling end time.
[0190] Optionally, 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.
[0191] Optionally, the above device further includes:
[0192] A first determination module, configured to determine a gun raising detection time of the target fueling gun based on a gun raising detection result of the target fueling gun;
[0193] 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,
[0194] 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;
[0195] 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.
[0196] Optionally, the duration determination module 1001 is specifically used for:
[0197] 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;
[0198] Based on the gun raising detection time, determining the refueling start time of the refueling vehicle;
[0199] Determining a gun discharge detection time of the target fueling gun based on a gun discharge detection result of the target fueling gun;
[0200] Determining a refueling end time of the refueling vehicle based on the gun discharge detection time;
[0201] The refueling duration is calculated based on the refueling start time and the refueling end time.
[0202] Optionally, the above device further includes:
[0203] A position determination module, configured to determine position information of a gun hanging hole if a gun hanging hole is detected in the area where the target fuel dispenser is located based on the image of the target fuel dispenser;
[0204] A model determination module, used to determine the target refueling model corresponding to the refueling vehicle based on the position information of the gun hanging hole;
[0205] The above-mentioned flow determination module 1002 is specifically used for:
[0206] 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;
[0207] The refueling amount determination module 1003 is specifically used for:
[0208] The refueling amount is determined based on the refueling duration and the flow rate of the target oil product of the target refueling machine per unit time.
[0209] Optionally, the above device further includes:
[0210] An information determination module, configured to detect the existence of a gun hanging hole in the area where the target fuel dispenser is located based on the image of the target fuel dispenser, determine the position information of the gun hanging hole, determine that the fuel dispenser gun corresponding to the gun hanging hole is the target fuel dispenser gun, and generate a gun lifting detection result of the target fuel dispenser gun;
[0211] The result generating module is used for generating a gun discharge detection result of the target fuel dispenser gun if the gun hanging hole does not exist at the position information of the gun hanging hole detected based on the image of the target fuel dispenser gun.
[0212] Optionally, the information determination module is specifically used to:
[0213] 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;
[0214] 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;
[0215] Determine that the refueling gun corresponding to the first detection area corresponding to the hook hole is the target refueling gun;
[0216] Alternatively, it is detected 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;
[0217] 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.
[0218] Optionally, the above device further includes:
[0219] A refueling quantity acquisition module is used to obtain the maximum refueling quantity corresponding to the model of the refueling vehicle;
[0220] The refueling amount updating module is used to update the refueling amount to the maximum refueling amount if the refueling amount is greater than the maximum refueling amount.
[0221] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0222] Fig.11 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Fig.11 As shown, the electronic device 11 of this embodiment includes: at least one processor 1100 ( Fig.11Only one is shown in the figure), a memory 1101 and a computer program 1102 stored in the memory 1101 and executable on the at least one processor 1100, wherein the processor 1100 implements the steps of any of the above-mentioned method embodiments when executing the computer program 1102.
[0223] The electronic device may include, but is not limited to, a processor 1100 and a memory 1101. Those skilled in the art will appreciate that Fig.11 It 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 a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.
[0224] The processor 1100 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0225] In some embodiments, the memory 1101 may be an internal storage unit of the electronic device 11, such as a hard disk or memory of the electronic device 11. In other embodiments, the memory 1101 may also be an external storage device of the electronic device 11, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 11. Further, the memory 1101 may also include both an internal storage unit of the electronic device 11 and an external storage device. The memory 1101 is used to store an operating system, an application program, a boot loader (BootLoader), 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 is to be output.
[0226] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, 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 software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0227] An embodiment of the present application also provides an electronic device, which includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, wherein the processor implements the steps of any of the above-mentioned method embodiments when executing the computer program.
[0228] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0229] An embodiment of the present application provides a computer program product. When the computer program product runs on an electronic device, the electronic device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0230] If 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, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the device / electronic device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0231] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0232] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0233] In the embodiments provided in the present application, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as 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 mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0234] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0235] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions 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: Based on the image detection result of the connection between the target fuel dispenser and the refueling vehicle, the refueling start time and the refueling end time of the refueling vehicle are determined, and the refueling duration is calculated based on the refueling start time and the refueling end time; wherein, the refueling vehicle is a vehicle in the target parking detection area, and the target fuel dispenser corresponds to the target parking detection area; the refueling start time is the time when the target fuel dispenser is detected to establish a connection with the refueling vehicle, and the refueling end time is the time when the target fuel dispenser is detected to be disconnected from the refueling vehicle; Determine the flow rate of the target fuel dispenser per unit time; Determine the refueling amount related to the current refueling event of the target refueling machine based on the refueling duration and the flow rate of the target refueling machine per unit time; The method further comprises: 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 the refueling start time 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 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: Also includes: 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, the position information of the gun-hanging hole is determined, and the target fueling model corresponding to the fueling vehicle is determined based on the position information of the gun-hanging hole; Determining the flow rate of the target fuel dispenser per unit time includes: Determine the flow rate of the target oil product of the target fuel dispenser per unit time, the target oil product being the oil product corresponding to the target fueling model; The step of determining the refueling amount related to the refueling event of the target refueling machine based on the refueling duration and the flow rate of the target refueling machine per unit time includes: The refueling amount is determined based on the refueling duration and the flow rate of the target oil product of the target refueling machine per unit time.
5. 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.
6. The method for determining gas station supervision data according to claim 5, characterized in that: The detecting, based on the image of the target fuel dispenser, that there is a gun hanging hole in the area where the target fuel dispenser is located includes: Detect whether the gun hanging hole exists in each first detection area in the image of the target fuel dispenser; one of the first detection areas includes a fuel dispenser; If the first detection area where the gun hanging hole exists is detected, it is determined that the gun hanging hole exists in the area where the target fuel dispenser is located; The step of determining that the refueling gun corresponding to the gun hanging hole is the target refueling gun includes: Determine that the refueling gun corresponding to the first detection area corresponding to the gun hanging hole is the target refueling gun; or, The detecting, based on the image of the target fuel dispenser, that there is a gun hanging hole in the area where the target fuel dispenser is located includes: Detecting whether the gun hanging hole exists in each second detection area in the image of the target fuel dispenser; one of the second detection areas includes at least two fuel dispensers; If the second detection area where the gun hanging hole exists is detected, it is determined that the gun hanging hole exists in the area where the target fuel dispenser is located.
7. The method for determining gas station supervision data according to claim 4, characterized in that: After determining the refueling amount related to the current refueling event of the target refueling machine, the method further includes: Obtaining the maximum refueling volume corresponding to the model of the refueling vehicle; If the refueling amount is greater than the maximum refueling amount, the refueling amount is updated to the maximum refueling amount.
8. A gas station supervision data determination device, characterized in that: include: The duration determination module is used to determine the refueling start time and refueling end time of the refueling vehicle based on the image detection result of the connection between the target refueling machine and the refueling vehicle, and calculate the refueling duration based on the refueling start time and the refueling end time; wherein the refueling vehicle is a vehicle in a target parking detection area, and the target refueling machine corresponds to the target parking detection area; 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 flow determination module, used to determine the flow rate of the target fuel dispenser per unit time; A refueling quantity determination module, configured to determine the refueling quantity associated with the current refueling event of the target refueling machine based on the refueling duration and the flow rate of the target refueling machine per unit time; The device also includes: 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.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the gas station supervision data determination method according to any one of claims 1 to 7 is implemented.
10. A gas station supervision system, characterized in that: The gas station supervision system comprises an image acquisition device and the electronic device as claimed in claim 9; the image acquisition device is used to acquire images of the target gas station and the refueling vehicle, and send the images to the electronic device; Alternatively, the gas station supervision system comprises an intelligent image acquisition device and the electronic device as claimed in claim 9; the intelligent image acquisition is used to acquire the image, detect the image, obtain an image detection result of the connection between the target gas station and the refueling vehicle, and send the image detection result to the electronic device; Alternatively, the gas station supervision system includes an image acquisition device, an intelligent device and an electronic device as described in claim 9; the image acquisition device is used to acquire the image and send the image to the intelligent device; the intelligent device is used to analyze the image, obtain the image detection result, and send the image detection result to the electronic device.
Citation Information
Patent Citations
Oil gun and vehicle matching method and device, electronic equipment and storage medium
CN112489112A
Oil transportation information determination method and device, electronic equipment and storage medium
CN117953409A
System, method, and apparatus for fuel injection control
US20140283792A1