CN117726982A - Method and device for monitoring oil discharge flow of gas station, electronic equipment and storage medium - Google Patents

Method and device for monitoring oil discharge flow of gas station, electronic equipment and storage medium Download PDF

Info

Publication number
CN117726982A
CN117726982A CN202311561685.2A CN202311561685A CN117726982A CN 117726982 A CN117726982 A CN 117726982A CN 202311561685 A CN202311561685 A CN 202311561685A CN 117726982 A CN117726982 A CN 117726982A
Authority
CN
China
Prior art keywords
oil
detection result
oil discharge
discharge flow
monitoring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311561685.2A
Other languages
Chinese (zh)
Inventor
老家浩
陈恩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Yunzhiyi Internet Of Things Co ltd
Original Assignee
Guangzhou Yunzhiyi Internet Of Things Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Yunzhiyi Internet Of Things Co ltd filed Critical Guangzhou Yunzhiyi Internet Of Things Co ltd
Priority to CN202311561685.2A priority Critical patent/CN117726982A/en
Publication of CN117726982A publication Critical patent/CN117726982A/en
Pending legal-status Critical Current

Links

Landscapes

  • Loading And Unloading Of Fuel Tanks Or Ships (AREA)

Abstract

The invention relates to the technical field of artificial intelligence, and provides a method and a device for monitoring an oil discharge flow of a gas station, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring a video stream; based on the video stream, extracting frame images according to preset interval time to obtain an image set; inputting frame images in the image set to a target detection model one by one to obtain a detection result; if the target number of the oil tank trucks in the oil tank truck detection result is greater than zero, starting an oil unloading flow of the oil tank truck; and visually displaying the oil discharge flow state event. According to the oil discharge flow monitoring method for the gas station, provided by the invention, the oil discharge flow of the oil tank truck is monitored based on the flow standardization rule and the detection result, so that the automatic oil discharge monitoring capability can be realized, the manpower monitoring cost is reduced, the oil discharge monitoring efficiency is improved, the risk of manual monitoring is reduced, meanwhile, the oil discharge flow state event is visually displayed, the whole flow is not required to be monitored, the efficiency of abnormal flow monitoring can be improved, and the monitoring cost is reduced.

Description

Method and device for monitoring oil discharge flow of gas station, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of artificial intelligence, in particular to a method and a device for monitoring an oil discharge flow of a gas station, electronic equipment and a storage medium.
Background
The gas station is a typical daily living place, and can not leave the support of the gas station even if the automobile travels down to industrial production. The safety problem of the gas station is also closely related to government safety indexes, enterprise safety production and public safety consumption. Because, in case of accident, the gas station will not be as simple as fire fighting team to extinguish fire, and will rise to the security problem of provincial and national level, and even become a network hotspot which is rapidly spread by the masses. Government agencies and businesses are struggling to stop such events from happening, they are setting strict security standards and performing extensive supervision.
The traditional supervision work requires a great deal of time and effort for enterprise personnel to determine the oil discharge time period, pay attention to the oil discharge process and check and point out the problem in the oil discharge process in a reciprocating manner, so that the oil discharge monitoring efficiency is low. Moreover, in the process of manual monitoring, enterprise personnel need to keep high concentration of attention, but the situation of error leakage is also unavoidable, so that the risk of finding safety accidents in the future is increased. In order to reduce the risk of monitoring, enterprises can only increase the cost of manpower and perform multi-person review and shift-by-shift monitoring.
Disclosure of Invention
The embodiment of the invention provides a method, a device, electronic equipment and a storage medium for monitoring a filling station oil discharge flow, which are used for solving the problem of low efficiency of monitoring the filling station oil discharge flow.
In a first aspect, an embodiment of the present invention provides a method for monitoring an oil discharge flow of a gas station, including:
acquiring a video stream;
based on the video stream, extracting frame images according to preset interval time to obtain an image set;
inputting the frame images in the image set to a target detection model one by one to obtain a detection result; the detection results comprise an oil tank truck detection result, a fire extinguishing equipment detection result, a wheel block detection result, an electrostatic clamp detection result, an oil delivery pipe detection result and a human body detection result;
if the target number of the oil tank trucks in the oil tank truck detection result is greater than zero, starting an oil unloading flow of the oil tank truck;
monitoring the oil discharge flow of the oil tank truck based on a flow standardization rule and the detection result to obtain an oil discharge flow state event; the flow standardization rule is used for feeding back an oil discharging flow state normal event and an oil discharging flow state abnormal event;
and visually displaying the oil discharge flow state event.
In one embodiment, the inputting the frame images in the image set to the target detection model one by one to obtain a detection result includes:
inputting frame images in the image set to the tank truck detection model one by one to obtain the tank truck detection result output by the tank truck detection model; the tank truck detection result comprises the tank truck target number of the frame image;
inputting the frame images in the image set to a fire-extinguishing equipment detection model one by one to obtain the fire-extinguishing equipment detection result output by the fire-extinguishing equipment detection model; the fire extinguishing equipment detection result comprises the target number of fire extinguishing equipment of the frame image;
inputting frame images in the image set to a wheel guard detection model one by one to obtain the wheel guard detection result output by the wheel guard detection model; the wheel guard detection result comprises the number of wheel guard targets of the frame image;
inputting frame images in the image set to an electrostatic clamp detection model one by one to obtain the electrostatic clamp detection result output by the electrostatic clamp detection model; the electrostatic clamp detection result comprises the electrostatic clamp target number of the frame image;
inputting the frame images in the image set to an oil delivery pipe detection model one by one to obtain the oil delivery pipe detection result output by the oil delivery pipe detection model; the oil delivery pipe detection result comprises the oil delivery pipe target number of the frame image;
Inputting frame images in the image set to a human body detection model one by one to obtain the human body detection result output by the human body detection model; the human body detection result includes the number of human body targets of the frame image.
In one embodiment, the monitoring the oil discharge flow of the tank truck based on the flow standardization rule and the detection result to obtain an oil discharge flow state event includes:
if the target number of the fire extinguishing equipment is monitored to be larger than a first preset value in a first time interval, generating a normal event in a safety protection state;
if the number of the gear targets is monitored to be larger than a second preset value in a second time interval, generating a normal gear placing state event;
if the target number of the electrostatic clamps is monitored to be larger than a third preset value in a third time interval, generating a normal event of a safety check state;
and if the target number of the oil delivery pipes is monitored to be larger than a fourth preset value after a fourth time interval, generating a normal event of the oil unloading preparation state.
In one embodiment, after the generating the normal event of the oil discharge ready state if the monitored target number of oil delivery pipes is greater than the fourth preset value after the fourth time interval, the method includes:
If the number of the human body targets is monitored to be larger than or equal to a fifth preset value, generating a normal event of the oil discharge monitoring state.
In one embodiment, the monitoring of the oil discharge flow of the tank truck based on the flow standardization rule and the detection result, to obtain an oil discharge flow state event, further includes:
if the target quantity of the fire extinguishing equipment is monitored to be a first preset value in a first time interval, generating a safety protection state abnormal event;
if the number of the gear targets is monitored to be a second preset value in a second time interval, generating an abnormal event of the gear placing state;
and if the target number of the electrostatic clamps is monitored to be a third preset value in a third time interval, generating a security check state abnormal event.
In one embodiment, if the target number of fire extinguishing apparatuses is monitored to be a first preset value in a first time interval, generating a safety protection state exception event includes:
the first time interval is divided evenly according to a preset interval to obtain at least two first time sub-intervals;
and if the target number of the fire extinguishing equipment is monitored to be the first preset value in each first time sub-interval, generating the abnormal event of the safety protection state.
In one embodiment, after the monitoring of the oil discharge flow of the tank truck based on the flow standardization rule and the detection result, the method further includes:
and if any one of the target number of the oil tank trucks is zero, ending the oil unloading flow of the oil tank truck.
In a second aspect, an embodiment of the present invention provides a device for monitoring an oil discharge flow of a gas station, including:
the acquisition module is used for acquiring the video stream;
the image extraction module is used for extracting frame images according to preset interval time based on the video stream to obtain an image set;
the target detection module is used for inputting the frame images in the image set into a target detection model one by one to obtain a detection result; the detection results comprise an oil tank truck detection result, a fire extinguishing equipment detection result, a wheel block detection result, an electrostatic clamp detection result, an oil delivery pipe detection result and a human body detection result;
the starting flow module is used for starting the oil unloading flow of the oil tank truck if the target number of the oil tank truck in the oil tank truck detection result is greater than zero;
the flow state monitoring module is used for monitoring the oil discharge flow of the oil tank truck based on a flow standardization rule and the detection result to obtain an oil discharge flow state event; the flow standardization rule is used for feeding back an oil discharging flow state normal event and an oil discharging flow state abnormal event;
And the display module is used for visually displaying the oil discharge flow state event.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor and a memory storing a computer program, where the processor implements the method for monitoring a fuel discharge flow of a fuel station according to the first aspect when executing the program.
In a fourth aspect, an embodiment of the present invention provides a storage medium, where the storage medium is a computer readable storage medium, including a computer program, where the computer program when executed by a processor implements the method for monitoring a fuel unloading flow of a fuel station according to the first aspect.
According to the oil discharge flow monitoring method, the device, the electronic equipment and the storage medium for the gas station, the oil discharge flow is started based on the detection result of the oil tank truck output by the target detection model, and further oil discharge flow monitoring of the oil tank truck is performed based on all the detection results and the flow standardization rules, so that automatic oil discharge monitoring capability can be realized, labor monitoring cost is reduced, oil discharge monitoring efficiency is improved, risk of manual monitoring is reduced, meanwhile, oil discharge flow state events are visually displayed, monitoring of the whole flow is not needed, efficiency of flow abnormal monitoring can be improved, and monitoring cost is reduced.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow diagram of a method for monitoring a fuel unloading flow of a fuel station according to an embodiment of the present invention;
FIG. 2 is a flow state visualization diagram provided by an embodiment of the present invention;
FIG. 3 is a schematic diagram of functional modules of an embodiment of the oil discharge flow monitoring device of the gas station of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the embodiments of the present invention. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The following describes in detail the method, the device, the electronic device and the storage medium for monitoring the oil discharge flow of the gas station according to the embodiments.
Fig. 1 is a flow diagram of a method for monitoring a fuel unloading flow of a fuel station according to an embodiment of the present invention. Referring to fig. 1, an embodiment of the present invention provides a method for monitoring an oil discharge flow of a gas station, where the method may include:
step 100, obtaining a video stream;
step 200, based on the video stream, extracting frame images according to a preset interval time to obtain an image set;
step 300, inputting the frame images in the image set to a target detection model one by one to obtain a detection result;
step 400, if the target number of the oil tank trucks in the oil tank truck detection result is greater than zero, starting an oil unloading flow of the oil tank truck;
step 500, monitoring the oil discharge flow of the tank truck based on a flow standardization rule and the detection result to obtain an oil discharge flow state event;
and 600, visually displaying the oil discharge flow state event.
It should be noted that, the method for monitoring the oil discharge flow of the filling station provided by the embodiment of the invention is realized based on the oil discharge flow monitoring device of the filling station, and the oil discharge flow monitoring device of the filling station is used for monitoring the process of unloading oil products of the tank truck at the filling station. Therefore, the embodiment of the invention describes the oil discharge flow monitoring method of the gas station by taking the oil discharge flow monitoring device of the gas station as an execution main body as an example.
It should be further noted that, before the oil discharge process monitoring device of the gas station performs the oil discharge process monitoring, it is first determined whether the tank truck exists in the oil discharge area of the oil tank of the gas station. The oil discharge flow monitoring device of the gas station comprises, but is not limited to, a video image intercepting module and a plurality of target artificial intelligence reasoning modules, wherein the video image intercepting module is used for accessing a video stream and carrying out regular screenshot on the video stream, and the target artificial intelligence detection module is used for detecting target objects and the number of the target objects on screenshot contents.
Specifically, before the oil discharge flow monitoring device of the gas station performs the oil discharge flow monitoring process, the oil discharge flow monitoring device of the gas station acquires real-time video stream data, and video frame image interception is performed according to preset interval time based on the real-time video stream data to obtain an image set, wherein the preset interval time is set according to actual conditions. It should be noted that the image set includes a plurality of frame images obtained by capturing video frame images according to a preset interval time, that is, the oil discharge flow monitoring device of the gas station generates one frame image each time the video frame images are captured, and integrates all the generated frame images into the image set.
It should be noted that, the plurality of target artificial intelligence detection modules include 6 artificial intelligence models, and the 6 artificial intelligence models are respectively an oil tank truck detection model, a fire extinguishing equipment detection model, a wheel guard detection model, an electrostatic clamp detection model, an oil delivery pipe detection model and a human body detection model, wherein the oil tank truck detection model is used for detecting the quantity of oil tank trucks in video frame images, the fire extinguishing equipment detection model is used for detecting the quantity of fire extinguishing equipment in video frame images, the wheel guard detection model is used for detecting the wheel guard quantity in video frame images, the electrostatic clamp detection model is used for detecting the electrostatic clamp quantity in video frame images, the oil delivery pipe detection model is used for detecting the oil delivery pipe quantity in video frame images, and the human body detection model is used for detecting the human body quantity in video frame images. Tank truck detection model, fire-extinguishing equipment detection model, wheel guard detection model, electrostatic clamp detection model, oil delivery pipe detection model and human body detection model are all trained based on YOLOv5 model, YOLOv5 is a target detection model which is the latest version of You Only Look Once (YOLO) series model, it predicts whether there are target objects in each grid by dividing the whole image into grids and using convolutional neural network, and determines the number of target objects.
Further, the oil discharge flow monitoring device of the gas station inputs frame images in the image set to the target detection model one by one to obtain a detection result. It should be noted that the target detection model includes a tank truck detection model, a fire-extinguishing equipment detection model, a wheel block detection model, an electrostatic clamp detection model, an oil delivery pipe detection model and a human body detection model, so that the detection results include a tank truck detection result, a fire-extinguishing equipment detection result, a wheel block detection result, an electrostatic clamp detection result, an oil delivery pipe detection result and a human body detection result, and each frame image can obtain a corresponding tank truck detection result, a fire-extinguishing equipment detection result, a wheel block detection result, an electrostatic clamp detection result, an oil delivery pipe detection result and a human body detection result.
It should be noted that, the oil discharge flow monitoring device of the gas station includes, but is not limited to, a detection result obtaining module, a flow start judging module, a flow process standardization judging module, a flow process feedback module and a flow end judging module, where the detection result obtaining module is used to obtain the detection result output by the target detection model, that is, the detection result output by the 6 models is obtained, the flow start judging module is used to judge the start of the oil discharge flow of the tank truck, the flow process standardization judging module is used to judge that the oil discharge flow is normal and the oil discharge flow is abnormal, the flow process feedback module is used to feed back the normal event of the oil discharge flow state and the abnormal event of the oil discharge flow state, and the flow end judging module is used to judge the end of the oil discharge flow of the tank truck.
Further, if it is determined that the target number of the tank trucks in the tank truck detection result is greater than 0, that is, if it is determined that the tank truck exists based on the tank truck detection result, the filling station oil discharge flow monitoring device starts the oil discharge flow of the tank truck to monitor the oil discharge flow of the tank truck. The embodiment of the invention is described for the case that an oil tank truck exists.
Further, the oil discharge flow monitoring device of the gas station monitors the oil discharge flow of the oil tank truck based on the flow standardization rule and the detection result to obtain an oil discharge flow state event, wherein the flow standardization rule is used for judging that the oil discharge flow state is normal and feeding back the oil discharge flow state normal event, and judging that the oil discharge flow state is abnormal and feeding back the oil discharge flow state abnormal event.
It should be noted that, the oil discharge flow monitoring device of the gas station includes, but is not limited to, an integration service module and a front end visualization module, where the integration service module is used to collect normal events of the oil discharge flow state and abnormal events of the oil discharge flow state, and arrange the events according to the flow state sequence, where the flow state sequence is 7 states of guiding in place, placing a wheel gear, safety checking, safety protecting, preparing oil discharge, supervising oil discharge, and post-processing, and the front end visualization module is used to arrange and display a flow record list according to a date, and display each flow state.
Further, the oil discharge flow monitoring device of the gas station visually displays the oil discharge flow state event. Referring to fig. 2, fig. 2 is a flow state visualization diagram provided in an embodiment of the present invention.
According to the oil discharge flow monitoring method for the gas station, the oil discharge flow is started by taking the detection result of the oil tank truck output by the target detection model as a reference, and the oil discharge flow of the oil tank truck is further monitored based on all the detection results and the flow standardization rules, so that the automatic oil discharge monitoring capability can be realized, the manpower monitoring cost is reduced, the oil discharge monitoring efficiency is improved, the risk of manual monitoring is reduced, meanwhile, the oil discharge flow state event is visually displayed, the whole flow is not required to be monitored, the flow abnormal monitoring efficiency can be improved, and the monitoring cost is reduced.
Further, the inputting the frame images in the image set to the target detection model one by one to obtain a detection result includes:
inputting frame images in the image set to the tank truck detection model one by one to obtain the tank truck detection result output by the tank truck detection model; the tank truck detection result comprises the tank truck target number of the frame image;
Inputting the frame images in the image set to a fire-extinguishing equipment detection model one by one to obtain the fire-extinguishing equipment detection result output by the fire-extinguishing equipment detection model; the fire extinguishing equipment detection result comprises the target number of fire extinguishing equipment of the frame image;
inputting frame images in the image set to a wheel guard detection model one by one to obtain the wheel guard detection result output by the wheel guard detection model; the wheel guard detection result comprises the number of wheel guard targets of the frame image;
inputting frame images in the image set to an electrostatic clamp detection model one by one to obtain the electrostatic clamp detection result output by the electrostatic clamp detection model; the electrostatic clamp detection result comprises the electrostatic clamp target number of the frame image;
inputting the frame images in the image set to an oil delivery pipe detection model one by one to obtain the oil delivery pipe detection result output by the oil delivery pipe detection model; the oil delivery pipe detection result comprises the oil delivery pipe target number of the frame image;
inputting frame images in the image set to a human body detection model one by one to obtain the human body detection result output by the human body detection model; the human body detection result includes the number of human body targets of the frame image.
Specifically, the oil discharge flow monitoring device of the gas station inputs frame images in the image set to the oil tank truck detection model one by one to obtain oil tank truck detection results output by the oil tank truck detection model, wherein the oil tank truck detection results comprise the target number of oil tank trucks of each frame image. The detection of the target number of the oil tank truck can determine whether the oil tank truck exists in the oil tank unloading area after the oil unloading process of the oil tank truck is started, and further determine whether the oil unloading process of the oil tank truck is finished.
Further, the oil discharge flow monitoring device of the gas station inputs frame images in the image set to the fire-extinguishing equipment detection model one by one to obtain a fire-extinguishing equipment detection result output by the fire-extinguishing equipment detection model, wherein the fire-extinguishing equipment detection result comprises the target number of fire-extinguishing equipment of each frame image. It should be noted that the fire extinguishing apparatus is one of the necessary safety apparatuses of the gas station, and the detection of the target number of fire extinguishing apparatuses is to ensure that the gas station can timely take appropriate fire extinguishing measures under emergency conditions, so as to ensure that the safety protection state is normal.
Further, the oil discharge flow monitoring device of the gas station inputs frame images in the image set to the wheel guard detection model one by one to obtain a wheel guard detection result output by the wheel guard detection model, wherein the wheel guard detection result comprises the number of wheel guard targets of each frame image. It should be noted that, the wheel guard is a safety device for fixing the tank truck, and can prevent the tank truck from moving accidentally in the unloading process, and the detection of the target number of the wheel guard is to ensure that the tank truck can use the wheel guard correctly to avoid accidents, so as to ensure that the placement state of the wheel guard is normal.
Further, the oil discharge flow monitoring device of the gas station inputs frame images in the image set to the electrostatic clamp detection model one by one to obtain an electrostatic clamp detection result output by the electrostatic clamp detection model, wherein the electrostatic clamp detection result comprises the electrostatic clamp target number of each frame image. It should be noted that, the electrostatic clamp is an important device for placing electrostatic sparks to cause fire, during oil discharge, static accumulation may occur due to oil flow and friction, if the static clamp is not suitable to discharge the accumulated static, fire may be caused, and the target number of the electrostatic clamp is detected to ensure that the oil discharge area is provided with the electrostatic clamp to ensure that the safety inspection state is normal.
Further, the oil discharge flow monitoring device of the gas station inputs frame images in the image set to the oil delivery pipe detection model one by one to obtain an oil delivery pipe detection result output by the oil delivery pipe detection model, wherein the oil delivery pipe detection result comprises the target number of oil delivery pipes of each frame image. It should be noted that, the detection of the target number of the oil delivery pipes is to determine whether there are oil discharge pipes, so as to ensure that the oil discharge preparation state is normal, and the subsequent oil discharge process can be performed.
Further, the oil discharge flow monitoring device of the gas station inputs frame images in the image set to the human body detection model one by one to obtain a human body detection result output by the human body detection model, wherein the human body detection result comprises the human body target number of each frame image. It should be noted that, in the process of unloading oil from the tank truck, at least two workers are usually required to monitor the operation, so as to ensure the safety and standardization of the oil unloading operation.
According to the embodiment of the invention, the number of each target object and the number of the target objects in each frame of image are detected through the oil tank truck detection model, the fire extinguishing equipment detection model, the wheel guard detection model, the electrostatic clamp detection model, the oil pipeline detection model and the human body detection model, so that the automatic detection of the number of the target objects is realized, the detection is not needed manually, the manual detection cost is reduced, and the detection efficiency is improved.
Further, the monitoring of the oil discharge flow of the tank truck based on the flow standardization rule and the detection result, to obtain an oil discharge flow state event, includes:
if the target number of the fire extinguishing equipment is monitored to be larger than a first preset value in a first time interval, generating a normal event in a safety protection state;
If the number of the gear targets is monitored to be larger than a second preset value in a second time interval, generating a normal gear placing state event;
if the target number of the electrostatic clamps is monitored to be larger than a third preset value in a third time interval, generating a normal event of a safety check state;
and if the target number of the oil delivery pipes is monitored to be larger than a fourth preset value after a fourth time interval, generating a normal event of the oil unloading preparation state.
Specifically, if the target number of the fire extinguishing equipment is monitored to be larger than a first preset value within a first time interval, the oil discharge flow monitoring device of the gas station determines that the safety protection state is normal, and generates a normal event of the safety protection state, wherein the first time interval and the first preset value are set according to actual conditions.
In an embodiment, the target number of fire extinguishing apparatuses is 1, the first time interval is 12 minutes, and the first preset value is 0, so that the oil discharge flow monitoring device of the gas station monitors that the target number of fire extinguishing apparatuses is 1 and is greater than the first preset value and is 0 within 12 minutes, and then the oil discharge flow monitoring device of the gas station determines that the safety protection state is normal and generates a normal event of the safety protection state.
Further, if the number of the wheel stops is monitored to be larger than a second preset value within a second time interval, the oil discharge flow monitoring device of the gas station determines that the wheel stops are placed normally, and generates a normal event of the wheel stops, wherein the second time interval and the second preset value are set according to actual conditions.
In an embodiment, the target number of the gear is 1, the second time interval is 12 minutes, and the second preset value is 0, so that the oil discharge flow monitoring device of the gas station monitors that the target number of the gear is 1 and is greater than the second preset value and is 0 within 12 minutes, and then the oil discharge flow monitoring device of the gas station determines that the gear is in a normal state and generates a normal event of the gear.
Further, if the target number of the electrostatic clamps is monitored to be larger than a third preset value within a third time interval, the oil discharge flow monitoring device of the gas station determines that the safety inspection state is normal, and generates a normal event of the safety inspection state, wherein the third time interval and the third preset value are set according to actual conditions.
In an embodiment, the target number of electrostatic clamps is 1, the third time interval is 12 minutes, and the third preset value is 0, so that the oil discharge flow monitoring device of the gas station monitors that the target number of electrostatic clamps is 1 and greater than the third preset value is 0 within 12 minutes, and then the oil discharge flow monitoring device of the gas station determines that the safety inspection state is normal, and generates a normal event of the safety inspection state.
Further, if the target number of the oil delivery pipes is monitored to be larger than a fourth preset value after a fourth time interval, the oil discharge flow monitoring device of the gas station determines that the oil discharge preparation state is normal, and generates an event that the oil discharge preparation state is normal, wherein the fourth time interval and the fourth preset value are set according to actual conditions.
In an embodiment, the target number of oil delivery pipes is 1, the fourth time interval is 15 minutes, and the fourth preset value is 0, so after the oil delivery flow monitoring device of the gas station monitors 15 minutes, the target number of oil delivery pipes is 1 and is greater than the fourth preset value to be 0, and then the oil delivery flow monitoring device of the gas station determines that the oil delivery preparation state is normal, and generates an event that the oil delivery preparation state is normal.
It should be noted that the first time interval, the second time interval, the third time interval, and the fourth time interval are all calculated after the oil unloading process of the tank truck is started. Since the monitoring of the target number of fire extinguishing apparatuses, the target number of wheels and the target number of electrostatic clamps can be performed simultaneously, that is, each monitoring operation is independent and is a preparation operation before the tank truck discharges oil, the first time interval, the second time interval and the third time interval are generally set to be the same time interval. Since the monitoring of the target number of oil delivery pipes is performed in preparation for oil discharge, the fourth time interval is typically set to a time interval that is larger than the first time interval, the second time interval and the third time interval. And the monitoring of the target number of the fire extinguishing equipment, the monitoring of the target number of the wheel blocks, the monitoring of the target number of the electrostatic clamps and the monitoring of the target number of the oil delivery pipes are all performed asynchronously, namely each monitoring operation is mutually independent.
According to the embodiment of the invention, the normal state of the oil discharge flow is determined by changing the number of targets of the fire extinguishing equipment, the number of the wheel blocks, the number of the static clamps and the number of the targets of the oil delivery pipe, and the normal event of the oil discharge flow is generated, so that the automatic oil discharge monitoring capability can be realized, the manpower monitoring cost is reduced, the oil discharge monitoring efficiency is improved, and the risk of manual monitoring is reduced.
Further, after the step of generating the normal event of the oil discharge preparation state if the monitored target number of the oil delivery pipes is greater than a fourth preset value after a fourth time interval, the step of:
if the number of the human body targets is monitored to be larger than or equal to a fifth preset value, generating a normal event of the oil discharge monitoring state.
Specifically, if the number of the human body targets is larger than or equal to a fifth preset value, the oil discharge flow monitoring device of the gas station determines that the oil discharge monitoring state is normal, and generates an event of normal oil discharge monitoring state, wherein the fifth preset value is set according to actual conditions.
It should be noted that, in the process of oil discharge, at least two workers are usually required to monitor the operation of the tank truck, which may be the monitoring operation of one worker responsible for the oil discharge operation, specifically responsible for opening the oil discharge valve and safely discharging the oil delivery pipe, so as to ensure that the oil can be safely and effectively delivered to the designated location, and the other worker responsible for the safety monitoring, mainly ensuring the safety state of the oil discharge site, including checking whether other workers stay in the operation area and monitoring possible leakage risks, etc., where the actual worker work arrangement is determined according to the actual situation.
In an embodiment, the target number of human bodies is 3, and the fifth preset value is 2, so that the oil discharge flow monitoring device of the gas station monitors that the target number of human bodies is 3 and greater than the fifth preset value is 2, and then the oil discharge flow monitoring device of the gas station determines that the oil discharge monitoring state is normal, and generates an event of normal oil discharge monitoring state.
According to the embodiment of the invention, whether staff monitor the oil discharge process of the oil tank truck, the normal state of the oil discharge process is determined, and the normal event of the oil discharge process is generated, so that potential safety risks can be avoided, the safety and standardability of oil discharge operation are improved, meanwhile, the automatic oil discharge monitoring capability can be realized, the manpower monitoring cost is reduced, the oil discharge monitoring efficiency is improved, and the risk of manual monitoring is reduced.
Further, the monitoring of the oil discharge flow of the tank truck based on the flow standardization rule and the detection result to obtain an oil discharge flow state event, and the method further comprises:
if the target quantity of the fire extinguishing equipment is monitored to be a first preset value in a first time interval, generating a safety protection state abnormal event;
if the number of the gear targets is monitored to be a second preset value in a second time interval, generating an abnormal event of the gear placing state;
And if the target number of the electrostatic clamps is monitored to be a third preset value in a third time interval, generating a security check state abnormal event.
Specifically, if the target number of the fire extinguishing equipment is a first preset value in a first time interval, the oil discharge flow monitoring device of the gas station determines that the safety protection state is abnormal and generates an abnormal event of the safety protection state, wherein the first time interval and the first preset value are set according to actual conditions.
In an embodiment, the target number of fire extinguishing apparatuses is 0, the first time interval is 12 minutes, and the first preset value is 0, so that the oil discharge flow monitoring device of the gas station monitors that the target number of fire extinguishing apparatuses is equal to the first preset value within 12 minutes, and then the oil discharge flow monitoring device of the gas station determines that the safety protection state is abnormal and generates an abnormal event of the safety protection state.
Further, if the number of the wheel blocks is monitored to be a second preset value in the second time interval, the oil discharge flow monitoring device of the gas station determines that the wheel block placement state is abnormal, and generates an abnormal event of the wheel block placement state, wherein the second time interval and the second preset value are set according to actual conditions.
In an embodiment, the target number of the gear is 0, the second time interval is 12 minutes, and the second preset value is 0, so that the oil discharge flow monitoring device of the gas station monitors that the target number of the gear is equal to the second preset value within 12 minutes, and then the oil discharge flow monitoring device of the gas station determines that the gear is in an abnormal state and generates an abnormal event of the gear.
Further, if the target number of the electrostatic clamps is monitored to be a third preset value in a third time interval, the oil discharge flow monitoring device of the gas station determines that the safety inspection state is abnormal, and generates a safety inspection state abnormal event, wherein the third time interval and the third preset value are set according to actual conditions.
In an embodiment, the target number of electrostatic clamps is 0, the third time interval is 12 minutes, and the third preset value is 0, so that the oil discharge flow monitoring device of the gas station monitors that the target number of electrostatic clamps is equal to the third preset value within 12 minutes, and then the oil discharge flow monitoring device of the gas station determines that the safety inspection state is abnormal and generates an abnormal event of the safety inspection state.
According to the embodiment of the invention, the abnormal conditions of the oil discharge flow state are determined by changing the number of the targets of the fire extinguishing equipment, the number of the wheels and the number of the targets of the electrostatic clamps, and the abnormal events of the oil discharge flow state are generated, so that the automatic oil discharge monitoring capability can be realized, the manpower monitoring cost is reduced, the oil discharge monitoring efficiency is improved, the risk of manual monitoring is reduced, and meanwhile, the abnormal events of the oil discharge flow state are visually displayed without monitoring the whole flow, the efficiency of monitoring the abnormal flow state can be improved, and the monitoring cost is reduced.
Further, if it is detected that the target number of fire extinguishing apparatuses is a first preset value in the first time interval, generating a safety protection state abnormal event includes:
the first time interval is divided evenly according to a preset interval to obtain at least two first time sub-intervals;
and if the target number of the fire extinguishing equipment is monitored to be the first preset value in each first time sub-interval, generating the abnormal event of the safety protection state.
Specifically, the oil discharge flow monitoring device of the gas station equally divides the first time intervals according to preset intervals to obtain at least two first time sub-intervals, and further, if the target number of the fire extinguishing equipment is monitored to be a first preset value in each first time sub-interval, the oil discharge flow monitoring device of the gas station generates a safety protection state abnormal event, wherein the preset intervals are set according to actual conditions.
In an embodiment, the first time interval is 12 minutes, the preset interval is 4 minutes, and the first preset value is 0, so that the oil discharge flow monitoring device of the gas station averagely divides 12 minutes into 3 intervals to obtain 3 first time sub-intervals, further, the oil discharge flow monitoring device of the gas station monitors that the target number of fire extinguishing equipment is 0 in the first time sub-intervals, then the oil discharge flow monitoring device of the gas station generates a safety protection state abnormal event, further, the oil discharge flow monitoring device of the gas station monitors that the target number of fire extinguishing equipment is 0 in the second first time sub-intervals, then the oil discharge flow monitoring device of the gas station generates a safety protection state abnormal event, further, the oil discharge flow monitoring device of the gas station monitors that the target number of fire extinguishing equipment is 0 in the third first time sub-intervals, and then the oil discharge flow monitoring device of the gas station generates a safety protection state abnormal event.
Further, the second time interval is divided evenly according to a preset interval by the oil discharge flow monitoring device of the gas station, at least two second time sub-intervals are obtained, and further, if the number of the monitored gear targets is a second preset value in each second time sub-interval, the oil discharge flow monitoring device of the gas station generates an abnormal event of the gear placement state, wherein the preset interval is set according to actual conditions.
In an embodiment, the second time interval is 12 minutes, the preset interval is 4 minutes, and the second preset value is 0, so that the filling station oil discharge flow monitoring device divides the 12 minutes into 3 minutes as one interval to obtain 3 second time sub-intervals, further, the filling station oil discharge flow monitoring device monitors that the number of the gear targets is 0 in the first second time sub-interval, the filling station oil discharge flow monitoring device generates a gear placement state abnormal event, further, the filling station oil discharge flow monitoring device monitors that the number of the gear targets is 0 in the second time sub-interval, the filling station oil discharge flow monitoring device generates a gear placement state abnormal event, further, the filling station oil discharge flow monitoring device monitors that the number of the gear targets is 0 in the third second time sub-interval, and the filling station oil discharge flow monitoring device generates a gear placement state abnormal event.
Further, the oil discharge flow monitoring device of the gas station averagely divides the third time interval according to a preset interval to obtain at least two third time sub-intervals, and further, if the target number of the electrostatic clamps is monitored to be a third preset value in each third time sub-interval, the oil discharge flow monitoring device of the gas station generates a security check state abnormal event, wherein the preset interval is set according to actual conditions.
In an embodiment, the third time interval is 12 minutes, the preset interval is 4 minutes, and the third preset value is 0, so that the oil flow monitoring device of the gas station averagely divides 12 minutes into 3 intervals to obtain 3 third time sub-intervals, further, the oil flow monitoring device of the gas station monitors that the target number of electrostatic clamps is 0 in the first third time sub-interval, the oil flow monitoring device of the gas station generates a security check state abnormal event, further, the oil flow monitoring device of the gas station monitors that the target number of electrostatic clamps is 0 in the second third time sub-interval, the oil flow monitoring device of the gas station generates a security check state abnormal event, further, the oil flow monitoring device of the gas station monitors that the target number of electrostatic clamps is 0 in the third time sub-interval, and the oil flow monitoring device of the gas station generates a security check state abnormal event.
According to the embodiment of the invention, the time intervals are divided evenly according to the preset intervals to obtain the plurality of time sub-intervals, whether the abnormal events of the oil discharge flow state are generated in each time sub-interval is determined according to the number change of the target number of the fire extinguishing equipment, the target number of the wheel blocks and the target number of the static clamps, so that the automatic oil discharge monitoring capability can be realized, the manpower monitoring cost is reduced, the oil discharge monitoring efficiency is improved, the risk of manual monitoring is reduced, meanwhile, the abnormal events of the oil discharge flow state are visually displayed, the whole flow is not required to be monitored, the abnormal monitoring efficiency of the flow is improved, and the monitoring cost is reduced.
Further, after the oil discharge flow monitoring of the tank truck is performed based on the flow standardization rule and the detection result, the oil discharge flow state event is obtained, the method further comprises:
and if any one of the target number of the oil tank trucks is zero, ending the oil unloading flow of the oil tank truck.
Specifically, after the oil discharge flow monitoring of the oil tank truck is performed based on the flow standardization rule and the detection result, if the target number of any oil tank truck in the detection result is zero after the oil discharge flow state event is obtained, the oil discharge flow monitoring device of the gas station ends the oil discharge flow of the oil tank truck, and further, the oil discharge flow monitoring device of the gas station continues to detect the next oil tank truck and monitors the oil discharge flow of the next oil tank truck after a preset time threshold value is set according to the actual situation.
According to the embodiment of the invention, the oil discharge flow of the oil tank truck is ended by determining that the target number of the oil tank truck in the detection result is zero, so that the automatic oil discharge monitoring capability can be realized, the manpower monitoring cost is reduced, the oil discharge monitoring efficiency is improved, and the risk of manual monitoring is reduced.
Further, the invention also provides a device for monitoring the oil discharge flow of the gas station.
Referring to fig. 3, fig. 3 is a schematic functional block diagram of an embodiment of the oil discharge flow monitoring device for a gas station according to the present invention.
The oil discharge flow monitoring device of the gas station comprises:
an acquisition module 310, configured to acquire a video stream;
the image extraction module 320 is configured to extract frame images according to a preset interval time based on the video stream, so as to obtain an image set;
the target detection module 330 is configured to input the frame images in the image set to a target detection model one by one, so as to obtain a detection result; the detection results comprise an oil tank truck detection result, a fire extinguishing equipment detection result, a wheel block detection result, an electrostatic clamp detection result, an oil delivery pipe detection result and a human body detection result;
a start flow module 340, configured to start an oil unloading flow of the tank truck if the target number of the tank truck in the tank truck detection result is greater than zero;
The flow state monitoring module 350 is configured to monitor an oil discharge flow of the tank truck based on a flow standardization rule and the detection result, so as to obtain an oil discharge flow state event; the flow standardization rule is used for feeding back an oil discharging flow state normal event and an oil discharging flow state abnormal event;
and the display module 360 is used for visually displaying the oil discharge flow state event.
According to the oil discharge flow monitoring device for the gas station, provided by the embodiment of the invention, the oil discharge flow is started by taking the detection result of the oil tank truck output by the target detection model as a reference, and the oil discharge flow of the oil tank truck is further monitored based on all the detection results and the flow standardization rules, so that the automatic oil discharge monitoring capability can be realized, the manpower monitoring cost is reduced, the oil discharge monitoring efficiency is improved, the risk of manual monitoring is reduced, meanwhile, the oil discharge flow state event is visually displayed, the whole flow is not required to be monitored, the flow abnormal monitoring efficiency can be improved, and the monitoring cost is reduced.
In one embodiment, the object detection module 330 is further configured to:
inputting frame images in the image set to the tank truck detection model one by one to obtain the tank truck detection result output by the tank truck detection model; the tank truck detection result comprises the tank truck target number of the frame image;
Inputting the frame images in the image set to a fire-extinguishing equipment detection model one by one to obtain the fire-extinguishing equipment detection result output by the fire-extinguishing equipment detection model; the fire extinguishing equipment detection result comprises the target number of fire extinguishing equipment of the frame image;
inputting frame images in the image set to a wheel guard detection model one by one to obtain the wheel guard detection result output by the wheel guard detection model; the wheel guard detection result comprises the number of wheel guard targets of the frame image;
inputting frame images in the image set to an electrostatic clamp detection model one by one to obtain the electrostatic clamp detection result output by the electrostatic clamp detection model; the electrostatic clamp detection result comprises the electrostatic clamp target number of the frame image;
inputting the frame images in the image set to an oil delivery pipe detection model one by one to obtain the oil delivery pipe detection result output by the oil delivery pipe detection model; the oil delivery pipe detection result comprises the oil delivery pipe target number of the frame image;
inputting frame images in the image set to a human body detection model one by one to obtain the human body detection result output by the human body detection model; the human body detection result includes the number of human body targets of the frame image.
In one embodiment, the process state monitoring module 350 is further configured to:
if the target number of the fire extinguishing equipment is monitored to be larger than a first preset value in a first time interval, generating a normal event in a safety protection state;
if the number of the gear targets is monitored to be larger than a second preset value in a second time interval, generating a normal gear placing state event;
if the target number of the electrostatic clamps is monitored to be larger than a third preset value in a third time interval, generating a normal event of a safety check state;
and if the target number of the oil delivery pipes is monitored to be larger than a fourth preset value after a fourth time interval, generating a normal event of the oil unloading preparation state.
In one embodiment, the process state monitoring module 350 is further configured to:
if the number of the human body targets is monitored to be larger than or equal to a fifth preset value, generating a normal event of the oil discharge monitoring state.
In one embodiment, the process state monitoring module 350 is further configured to:
if the target quantity of the fire extinguishing equipment is monitored to be a first preset value in a first time interval, generating a safety protection state abnormal event;
if the number of the gear targets is monitored to be a second preset value in a second time interval, generating an abnormal event of the gear placing state;
And if the target number of the electrostatic clamps is monitored to be a third preset value in a third time interval, generating a security check state abnormal event.
In one embodiment, the process state monitoring module 350 is further configured to:
the first time interval is divided evenly according to a preset interval to obtain at least two first time sub-intervals;
and if the target number of the fire extinguishing equipment is monitored to be the first preset value in each first time sub-interval, generating the abnormal event of the safety protection state.
In one embodiment, the oil discharge flow monitoring device of the gas station is further configured to:
and if any one of the target number of the oil tank trucks is zero, ending the oil unloading flow of the oil tank truck.
Fig. 4 illustrates a physical schematic diagram of an electronic device, as shown in fig. 4, which may include: processor 410, communication interface (Communication Interface) 420, memory 430 and communication bus 440, wherein processor 410, communication interface 420 and memory 430 communicate with each other via communication bus 440. The processor 410 may invoke a computer program in the memory 430 to perform the steps of the filling station flow monitoring method, including, for example:
Acquiring a video stream;
based on the video stream, extracting frame images according to preset interval time to obtain an image set;
inputting the frame images in the image set to a target detection model one by one to obtain a detection result; the detection results comprise an oil tank truck detection result, a fire extinguishing equipment detection result, a wheel block detection result, an electrostatic clamp detection result, an oil delivery pipe detection result and a human body detection result;
if the target number of the oil tank trucks in the oil tank truck detection result is greater than zero, starting an oil unloading flow of the oil tank truck;
monitoring the oil discharge flow of the oil tank truck based on a flow standardization rule and the detection result to obtain an oil discharge flow state event; the flow standardization rule is used for feeding back an oil discharging flow state normal event and an oil discharging flow state abnormal event;
and visually displaying the oil discharge flow state event.
Further, the logic instructions in the memory 430 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, an embodiment of the present invention further provides a medium, where the medium is a computer readable storage medium, where the computer readable storage medium stores a computer program, where the computer program is configured to cause a processor to execute the steps of the method provided in the foregoing embodiments, where the method includes:
acquiring a video stream;
based on the video stream, extracting frame images according to preset interval time to obtain an image set;
inputting the frame images in the image set to a target detection model one by one to obtain a detection result; the detection results comprise an oil tank truck detection result, a fire extinguishing equipment detection result, a wheel block detection result, an electrostatic clamp detection result, an oil delivery pipe detection result and a human body detection result;
if the target number of the oil tank trucks in the oil tank truck detection result is greater than zero, starting an oil unloading flow of the oil tank truck;
monitoring the oil discharge flow of the oil tank truck based on a flow standardization rule and the detection result to obtain an oil discharge flow state event; the flow standardization rule is used for feeding back an oil discharging flow state normal event and an oil discharging flow state abnormal event;
and visually displaying the oil discharge flow state event.
The computer readable storage medium may be any available medium or data storage device that can be accessed by a processor including, but not limited to, magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CD, DVD, BD, HVD, etc.), and semiconductor memory (e.g., ROM, EPROM, EEPROM, nonvolatile memory (NAND FLASH), solid State Disk (SSD)), etc.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. The method for monitoring the oil discharge flow of the gas station is characterized by comprising the following steps of:
acquiring a video stream;
based on the video stream, extracting frame images according to preset interval time to obtain an image set;
inputting the frame images in the image set to a target detection model one by one to obtain a detection result; the detection results comprise an oil tank truck detection result, a fire extinguishing equipment detection result, a wheel block detection result, an electrostatic clamp detection result, an oil delivery pipe detection result and a human body detection result;
if the target number of the oil tank trucks in the oil tank truck detection result is greater than zero, starting an oil unloading flow of the oil tank truck;
monitoring the oil discharge flow of the oil tank truck based on a flow standardization rule and the detection result to obtain an oil discharge flow state event; the flow standardization rule is used for feeding back an oil discharging flow state normal event and an oil discharging flow state abnormal event;
And visually displaying the oil discharge flow state event.
2. The method for monitoring the oil discharge flow of the gas station according to claim 1, wherein the step of inputting the frame images in the image set to the target detection model one by one to obtain the detection result comprises the steps of:
inputting frame images in the image set to the tank truck detection model one by one to obtain the tank truck detection result output by the tank truck detection model; the tank truck detection result comprises the tank truck target number of the frame image;
inputting the frame images in the image set to a fire-extinguishing equipment detection model one by one to obtain the fire-extinguishing equipment detection result output by the fire-extinguishing equipment detection model; the fire extinguishing equipment detection result comprises the target number of fire extinguishing equipment of the frame image;
inputting frame images in the image set to a wheel guard detection model one by one to obtain the wheel guard detection result output by the wheel guard detection model; the wheel guard detection result comprises the number of wheel guard targets of the frame image;
inputting frame images in the image set to an electrostatic clamp detection model one by one to obtain the electrostatic clamp detection result output by the electrostatic clamp detection model; the electrostatic clamp detection result comprises the electrostatic clamp target number of the frame image;
Inputting the frame images in the image set to an oil delivery pipe detection model one by one to obtain the oil delivery pipe detection result output by the oil delivery pipe detection model; the oil delivery pipe detection result comprises the oil delivery pipe target number of the frame image;
inputting frame images in the image set to a human body detection model one by one to obtain the human body detection result output by the human body detection model; the human body detection result includes the number of human body targets of the frame image.
3. The method for monitoring the oil discharge flow of the fuel tank truck according to claim 2, wherein the step of monitoring the oil discharge flow of the fuel tank truck based on the flow standardization rule and the detection result to obtain an oil discharge flow state event comprises the steps of:
if the target number of the fire extinguishing equipment is monitored to be larger than a first preset value in a first time interval, generating a normal event in a safety protection state;
if the number of the gear targets is monitored to be larger than a second preset value in a second time interval, generating a normal gear placing state event;
if the target number of the electrostatic clamps is monitored to be larger than a third preset value in a third time interval, generating a normal event of a safety check state;
And if the target number of the oil delivery pipes is monitored to be larger than a fourth preset value after a fourth time interval, generating a normal event of the oil unloading preparation state.
4. The method for monitoring the oil discharge flow of a gas station according to claim 3, wherein after the step of generating the normal event of the oil discharge preparation state if the target number of the oil delivery pipes is monitored to be greater than a fourth preset value after a fourth time interval, the method comprises:
if the number of the human body targets is monitored to be larger than or equal to a fifth preset value, generating a normal event of the oil discharge monitoring state.
5. The method for monitoring the oil discharge flow of the fuel tank truck according to claim 2, wherein the oil discharge flow monitoring of the fuel tank truck is performed based on the flow standardization rule and the detection result to obtain an oil discharge flow state event, further comprising:
if the target quantity of the fire extinguishing equipment is monitored to be a first preset value in a first time interval, generating a safety protection state abnormal event;
if the number of the gear targets is monitored to be a second preset value in a second time interval, generating an abnormal event of the gear placing state;
and if the target number of the electrostatic clamps is monitored to be a third preset value in a third time interval, generating a security check state abnormal event.
6. The method for monitoring the oil discharge flow of a gas station according to claim 5, wherein if the target number of the fire extinguishing apparatuses is monitored to be a first preset value within a first time interval, generating a security protection state exception event comprises:
the first time interval is divided evenly according to a preset interval to obtain at least two first time sub-intervals;
and if the target number of the fire extinguishing equipment is monitored to be the first preset value in each first time sub-interval, generating the abnormal event of the safety protection state.
7. The method for monitoring the oil discharge flow of a fuel station according to any one of claims 1 to 6, wherein after the oil discharge flow of the tank truck is monitored based on the flow normalization rule and the detection result, further comprising:
and if any one of the target number of the oil tank trucks is zero, ending the oil unloading flow of the oil tank truck.
8. The utility model provides a filling station oil discharge flow monitoring devices which characterized in that includes:
the acquisition module is used for acquiring the video stream;
the image extraction module is used for extracting frame images according to preset interval time based on the video stream to obtain an image set;
The target detection module is used for inputting the frame images in the image set into a target detection model one by one to obtain a detection result; the detection results comprise an oil tank truck detection result, a fire extinguishing equipment detection result, a wheel block detection result, an electrostatic clamp detection result, an oil delivery pipe detection result and a human body detection result;
the starting flow module is used for starting the oil unloading flow of the oil tank truck if the target number of the oil tank truck in the oil tank truck detection result is greater than zero;
the flow state monitoring module is used for monitoring the oil discharge flow of the oil tank truck based on a flow standardization rule and the detection result to obtain an oil discharge flow state event; the flow standardization rule is used for feeding back an oil discharging flow state normal event and an oil discharging flow state abnormal event;
and the display module is used for visually displaying the oil discharge flow state event.
9. An electronic device comprising a processor and a memory storing a computer program, characterized in that the processor, when executing the computer program, implements the method for monitoring the oil discharge flow of a filling station according to any one of claims 1 to 7.
10. A storage medium, which is a computer-readable storage medium comprising a computer program, characterized in that the computer program, when executed by a processor, implements the method for monitoring the oil discharge flow of a filling station according to any one of claims 1 to 7.
CN202311561685.2A 2023-11-21 2023-11-21 Method and device for monitoring oil discharge flow of gas station, electronic equipment and storage medium Pending CN117726982A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311561685.2A CN117726982A (en) 2023-11-21 2023-11-21 Method and device for monitoring oil discharge flow of gas station, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311561685.2A CN117726982A (en) 2023-11-21 2023-11-21 Method and device for monitoring oil discharge flow of gas station, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117726982A true CN117726982A (en) 2024-03-19

Family

ID=90198794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311561685.2A Pending CN117726982A (en) 2023-11-21 2023-11-21 Method and device for monitoring oil discharge flow of gas station, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117726982A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118609064A (en) * 2024-08-09 2024-09-06 深圳鲲云信息科技有限公司 Method for monitoring oil discharge operation of gas station and computing equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118609064A (en) * 2024-08-09 2024-09-06 深圳鲲云信息科技有限公司 Method for monitoring oil discharge operation of gas station and computing equipment

Similar Documents

Publication Publication Date Title
CN117726982A (en) Method and device for monitoring oil discharge flow of gas station, electronic equipment and storage medium
CN109583758B (en) Early warning rule correction method and device of monitoring system and computer equipment
CN101090007B (en) Burst slug position detection method
JP6821085B1 (en) Plant maintenance management method and maintenance management system
CN114398913A (en) Fuel handling system detection method and device, storage medium and electronic equipment
CN114546864A (en) Software quality evaluation method, device, equipment and storage medium
CN113537743A (en) Emergency state grading method and device, computer equipment and storage medium
CN113610338A (en) Rail transit signal system safety risk evaluation and risk early warning method and device
US20180010982A1 (en) Engine performance modeling based on wash events
CN110826882A (en) Gas pipeline toughness evaluation method and device
Choi et al. Fault detection coverage quantification of automatic test functions of digital I&C system in NPPS
KR102276952B1 (en) Method of improving human reliability analysis for internal flooding probabilistic safety assessment of nuclear power plant
CN114334194A (en) High-temperature gas cooled reactor helium gas leakage early warning method, device, equipment and storage medium
Meléndez et al. Standardized probabilistic safety assessment models: first results and conclusions of a feasibility study
Cheraghi et al. Developing and Implementation of Leading and Lagging Indicators in Process Safety Management
Choi et al. A process for identifying unsafe act for HEP quantification with simulated off-normal training records
Vrbanic et al. Risk significance of near misses and safety issues from operational experience of NPPs
CN115422339A (en) Method and device for processing operation events of nuclear power plant, electronic equipment and storage medium
CN111929216A (en) Civil air defense equipment detection method, platform, computer equipment and storage medium
Dupuy et al. Treatment of the loss of ultimate heat sink initiating events in the IRSN Level 1 PSA
Tyrväinen et al. Extensions to cable room fire PRA study and method
Kancev et al. Human reliability analysis in NPP: A plant-specific sensitivity analysis considering dynamic operator actions versus accident management actions
Parrish SUBJECT: COLUMBIA GENERATING STATION-NRC INTEGRATED INSPECTION REPORT 05000397/2005005 Dear Mr. Parrish: On December 31, 2005, the US Nuclear Regulatory Commission (NRC) completed an inspection at your Columbia Generating Station. The enclosed inspection report documents the
CN117522108A (en) Nuclear power plant configuration risk management method, system and computer storage medium
Yang et al. Improvement Strategy of Probabilistic Safety Assessment Quality for Domestic CANDU Nuclear Power Plants

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination