Disclosure of Invention
The technical problem to be solved by the embodiment of the invention is to provide a method and a system for early warning illegal operation of oil discharge operation of a gas station, which not only have high speed, but also have high pre-judging accuracy, thereby solving the problems of low speed and low accuracy of the existing manual judging mode and well reducing the potential safety hazard in the oil discharge operation.
In order to solve the technical problem, an embodiment of the present invention provides a method for early warning an illegal operation of a fuel discharge operation of a gas station, where the method includes the following steps:
s1, determining the oil unloading operation steps of the gas station and the target object to be identified in each oil unloading operation step; the oil discharge operation steps of the gas station comprise vehicle arrival, vehicle electrostatic discharge and vehicle oil discharge; the target objects to be identified in the vehicle station entering step comprise an oil unloading vehicle license plate, an electrostatic identification, fire-fighting equipment and an operator; the objects to be identified in the vehicle static electricity releasing step comprise an oil discharge port cover identification, a static electricity identification, fire-fighting equipment and an operator; the objects to be identified in the oil unloading step of the vehicle comprise an electrostatic identification, fire-fighting equipment and an operator;
s2, acquiring operation videos appearing in each oil unloading operation step of the gas station, sequentially identifying the corresponding target object to be identified in each oil unloading operation step in the acquired operation videos based on each oil unloading operation step of the gas station, and when the target object to be identified is judged to be abnormal in a certain oil unloading operation step, identifying that the oil unloading operation of the gas station has an illegal operation phenomenon in the oil unloading operation step with the abnormal target object, and further performing early warning.
Wherein, the step S2 specifically includes:
extracting the time interval of each oil unloading operation step from the operation video appearing in each oil unloading operation step of the gas station;
performing curve fitting according to the time interval of each oil unloading operation step to obtain a time interval model corresponding to each oil unloading operation step;
determining the detection time of the time interval model corresponding to each oil unloading operation step according to the obtained time interval model corresponding to each oil unloading operation step, and further combining the target objects to be identified in each oil unloading operation step to obtain the identification time sequence of each target object to be identified; the detection time of the time interval model corresponding to the vehicle arrival step is t 1; the detection time of the time interval model corresponding to the vehicle electrostatic discharge step is t 2; the detection time of the time interval model corresponding to the oil unloading step of the vehicle is t 3;
and according to the identification time sequence of each object to be identified, carrying out abnormity identification on the object to be identified in each oil unloading operation step, and when a certain object to be identified is judged to be abnormal in a certain oil unloading operation step, identifying that the oil unloading operation of the gas station has illegal operation phenomena in the oil unloading operation step in which the object is abnormal, and further carrying out early warning.
The specific steps of performing curve fitting according to the time interval of each oil unloading operation step to obtain time interval models corresponding to vehicle station entering, vehicle electrostatic discharge and vehicle oil unloading respectively comprise:
classifying and sorting the time intervals and the required time of the oil unloading operation steps, calculating the time interval variance of the oil unloading operation steps, drawing corresponding scatter diagrams respectively, and determining the time interval model of each oil unloading operation step according to the trend of points on the scatter diagrams drawn by the oil unloading operation steps.
The specific steps of identifying the abnormality of the target object to be identified in each oil discharge operation step according to the identification time sequence of each target object to be identified, and identifying that the oil discharge operation of the gas station has an illegal operation phenomenon in the oil discharge operation step in which the target object abnormality occurs when the target object to be identified is judged to be abnormal in a certain oil discharge operation step include:
determining the time sequence of a license plate of an oil unloading vehicle as t1, the time sequence of electrostatic identification as t1+ t2+ t3, the time sequence of oil unloading cover identification as t2, the time sequence of fire-fighting equipment as t1+ t2+ t3 and the time sequence of an operator as t1+ t2+ t 3;
if at least one of the first preset condition to the fourth preset condition is met during the abnormal recognition of the license plate of the oil discharge vehicle, the electrostatic identification, the fire-fighting equipment and the operating personnel in the vehicle station entering step, judging that the object meeting the corresponding preset condition is abnormal, determining that the oil discharge operation of the oil filling station has illegal operation phenomenon in the vehicle station entering step, and further performing early warning;
if at least one of the second preset condition to the fifth preset condition is met during abnormal recognition of the oil discharge port cover identification, the electrostatic identification, the fire-fighting equipment and the operating personnel in the static electricity releasing step of the vehicle, judging that the object meeting the corresponding preset condition is abnormal, determining that the oil discharge operation of the gas station has illegal operation phenomenon in the vehicle entering step, and further performing early warning;
if at least one of the second preset condition to the fourth preset condition is met during the abnormal recognition of the electrostatic identification, the fire-fighting equipment and the operating personnel in the vehicle oil discharge step, judging that the object meeting the corresponding preset condition is abnormal, determining that the oil discharge operation of the gas station has an illegal operation phenomenon in the vehicle entering step, and further performing early warning;
the first preset condition is that the license plate number of the oil unloading vehicle does not accord with the pre-registered license plate number; the second predetermined condition is that the electrostatic mark is not recognized; the third predetermined condition is that the fire-fighting equipment is not recognized; the fourth predetermined condition is that the operator is not recognized; the fifth predetermined condition is that the oil discharge port cover identification is not recognized.
Wherein, early warning is carried out through voice or a pop-up window mode.
The embodiment of the invention also provides a violation operation early warning system for the oil discharge operation of the gas station, which comprises the following steps:
the system comprises an acquisition unit, a storage unit and a control unit, wherein the acquisition unit is used for determining the oil unloading operation steps of a gas station and a target object to be identified in each oil unloading operation step; the oil discharge operation steps of the gas station comprise vehicle arrival, vehicle electrostatic discharge and vehicle oil discharge; the target objects to be identified in the vehicle station entering step comprise an oil unloading vehicle license plate, an electrostatic identification, fire-fighting equipment and an operator; the objects to be identified in the vehicle static electricity releasing step comprise an oil discharge port cover identification, a static electricity identification, fire-fighting equipment and an operator; the objects to be identified in the oil unloading step of the vehicle comprise an electrostatic identification, fire-fighting equipment and an operator;
and the early warning unit is used for acquiring operation videos appearing in all oil unloading operation steps of the gas station, sequentially identifying the corresponding target objects to be identified in all the oil unloading operation steps in the acquired operation videos on the basis of all the oil unloading operation steps of the gas station, and identifying that the oil unloading operation of the gas station has an illegal operation phenomenon in the oil unloading operation step with the abnormal target objects when the target objects to be identified are judged to be abnormal in a certain oil unloading operation step, so as to further carry out early warning.
Wherein, early warning unit includes:
the extracting module is used for extracting the time interval of each oil unloading operation step from the operation video appearing in each oil unloading operation step of the gas station;
the calculation module is used for performing curve fitting according to the time interval of each oil unloading operation step to obtain a time interval model corresponding to each oil unloading operation step;
the acquisition module is used for determining the detection time of the time interval model corresponding to each oil unloading operation step according to the obtained time interval model corresponding to each oil unloading operation step, and further combining the target objects to be identified in each oil unloading operation step to obtain the identification time sequence of each target object to be identified; the detection time of the time interval model corresponding to the vehicle arrival step is t 1; the detection time of the time interval model corresponding to the vehicle electrostatic discharge step is t 2; the detection time of the time interval model corresponding to the oil unloading step of the vehicle is t 3;
and the abnormity early warning module is used for carrying out abnormity identification on the target objects to be identified in each oil unloading operation step according to the identification time sequence of each target object to be identified, and when a certain target object to be identified is judged to be abnormal in a certain oil unloading operation step, the illegal operation phenomenon of the oil unloading operation of the gas station in the oil unloading operation step with the abnormal target object is determined, and the early warning is further carried out.
The embodiment of the invention has the following beneficial effects:
the invention is based on the operation video appearing in each oil unloading operation step (including vehicle entering, vehicle static electricity releasing and vehicle oil unloading) of the gas station, combines each oil unloading operation step of the gas station, carries out abnormity identification on the corresponding target object to be identified in each oil unloading operation step in sequence in the operation video, and determines that the oil unloading operation of the gas station has an illegal operation phenomenon in the oil unloading operation step with the abnormal target object when the certain oil unloading operation step determines that the certain target object appears abnormity, and further carries out early warning, thereby not only having high speed, but also having high prejudgment accuracy, solving the problems of low speed and high accuracy of the existing manual judgment mode, and well reducing the potential safety hazard in the oil unloading operation.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings.
As shown in fig. 1, in an embodiment of the present invention, a method for warning illegal operation of fuel discharge operation of a gasoline station is provided, and is used at each gasoline station, where the method includes the following steps:
step S1, determining the oil unloading operation steps of the gas station and the target object to be identified in each oil unloading operation step; the oil discharge operation steps of the gas station comprise vehicle arrival, vehicle electrostatic discharge and vehicle oil discharge; the target objects to be identified in the vehicle station entering step comprise an oil unloading vehicle license plate, an electrostatic identification, fire-fighting equipment and an operator; the objects to be identified in the vehicle static electricity releasing step comprise an oil discharge port cover identification, a static electricity identification, fire-fighting equipment and an operator; the objects to be identified in the oil unloading step of the vehicle comprise an electrostatic identification, fire-fighting equipment and an operator;
the method comprises the specific process that the oil unloading operation steps are divided into three steps of vehicle arrival, vehicle static electricity release, vehicle oil unloading and the like, so that the illegal operation early warning of the oil unloading operation is mainly to detect whether the target objects such as the license plate of the oil unloading vehicle, the static electricity identification, the oil unloading opening cover identification, fire-fighting equipment, operating personnel and the like are abnormal or not in the three steps to judge.
The number of the above-mentioned targets detected in the above three steps can be specifically divided into: (1) the target objects to be identified in the vehicle station entering step comprise an oil unloading vehicle license plate, an electrostatic identification, fire-fighting equipment and an operator; (2) the objects to be identified in the vehicle static electricity discharge step comprise an oil discharge port cover mark, a static electricity mark, fire-fighting equipment and an operator; (3) the objects to be identified in the vehicle oil discharge step include electrostatic marks, fire-fighting equipment, and workers.
In one embodiment, the detection sequence of each object to be recognized is that the license plate of the oil unloading vehicle is firstly detected, and the electrostatic identification, the fire-fighting equipment and the operator are simultaneously detected; then, the electrostatic discharge connection is started, the oil discharge port cover identification is detected, meanwhile, the electrostatic identification, the fire-fighting equipment and the operating personnel are kept to be detected, and the detection of the license plate of the oil discharge vehicle is finished; and then, starting oil discharge of the vehicle, finishing detection of the oil discharge opening cover mark, and keeping detection of the electrostatic mark, the operator and the fire-fighting equipment until oil discharge of the vehicle is finished in the oil discharge operation process of the vehicle.
Step S2, acquiring the operation videos appearing in the oil discharge operation steps of the gas station, and based on the oil discharge operation steps of the gas station, sequentially performing anomaly identification on the corresponding target objects to be identified in the oil discharge operation steps in the acquired operation videos, and when it is determined that a certain target object to be identified is abnormal in a certain oil discharge operation step, determining that the oil discharge operation of the gas station has an illegal operation phenomenon in the oil discharge operation step in which the target object is abnormal, and further performing early warning.
Specifically, in step S21, the time interval of each oil discharge operation step is extracted from the operation video appearing in each oil discharge operation step at the gas station.
And step S22, performing curve fitting according to the time interval of each oil unloading operation step to obtain a time interval model corresponding to each oil unloading operation step. It should be noted that step S22 is implemented by classifying the time intervals and required times of the oil discharge operation steps, calculating the time interval variance of the oil discharge operation steps, drawing corresponding scatter diagrams, and further determining the time interval model of each oil discharge operation step according to the trend of points on the scatter diagrams drawn by the oil discharge operation steps.
Step S23, determining the detection time of the time interval model corresponding to each oil unloading operation step according to the obtained time interval model corresponding to each oil unloading operation step, and further combining the target objects to be identified in each oil unloading operation step to obtain the identification time sequence of each target object to be identified; the detection time of the time interval model corresponding to the vehicle arrival step is t 1; the detection time of the time interval model corresponding to the vehicle electrostatic discharge step is t 2; the detection time of the time interval model corresponding to the oil unloading step of the vehicle is t 3.
Step S24, according to the identification time sequence of each object to be identified, carrying out abnormal identification on the object to be identified in each oil unloading operation step, and when judging that a certain object to be identified is abnormal in a certain oil unloading operation step, determining that the oil unloading operation of the gas station has illegal operation phenomenon in the oil unloading operation step in which the object is abnormal, and further carrying out early warning; the method comprises the steps of carrying out early warning in a voice or pop-up window mode, wherein the content of the early warning comprises but is not limited to abnormal objects and corresponding oil unloading operation steps with illegal operation phenomena.
It should be noted that step S24 is implemented as follows:
firstly, determining a time sequence of a license plate of an oil unloading vehicle as t1, a time sequence of electrostatic identification as t1+ t2+ t3, a time sequence of oil unloading cover identification as t2, a time sequence of fire-fighting equipment as t1+ t2+ t3 and a time sequence of an operator as t1+ t2+ t 3;
and secondly, according to each oil unloading operation step, carrying out abnormal identification on the corresponding target object to be identified to judge whether an illegal operation phenomenon exists or not, wherein the following three conditions are mainly adopted:
(1) a vehicle arrival step: if at least one of the first preset condition to the fourth preset condition is met during the abnormal recognition of the license plate of the oil discharge vehicle, the electrostatic identification, the fire-fighting equipment and the operating personnel in the vehicle station entering step, judging that the object meeting the corresponding preset condition is abnormal, determining that the oil discharge operation of the oil filling station has illegal operation phenomenon in the vehicle station entering step, and further performing early warning;
(2) vehicle electrostatic discharge step: if at least one of the second preset condition to the fifth preset condition is met during abnormal recognition of the oil discharge port cover identification, the electrostatic identification, the fire-fighting equipment and the operating personnel in the static electricity releasing step of the vehicle, judging that the object meeting the corresponding preset condition is abnormal, determining that the oil discharge operation of the gas station has illegal operation phenomenon in the vehicle entering step, and further performing early warning;
(3) and (3) oil unloading of the vehicle: if at least one of the second preset condition to the fourth preset condition is met during the abnormal recognition of the electrostatic identification, the fire-fighting equipment and the operating personnel in the vehicle oil discharge step, judging that the object meeting the corresponding preset condition is abnormal, determining that the oil discharge operation of the gas station has an illegal operation phenomenon in the vehicle entering step, and further performing early warning;
it should be noted that the first predetermined condition is that the license plate number of the oil discharge vehicle does not coincide with a pre-registered license plate number; the second predetermined condition is that the electrostatic mark is not recognized; the third predetermined condition is that the fire-fighting equipment is not recognized; the fourth predetermined condition is that the operator is not recognized; the fifth predetermined condition is that the oil discharge cap identification is not recognized.
As shown in fig. 2, in an embodiment of the present invention, an illegal operation early warning system for a fuel discharge operation of a gas station includes:
an acquisition unit 110 for determining the oil discharge operation steps of the gas station and the target object to be identified in each oil discharge operation step; the oil discharge operation steps of the gas station comprise vehicle arrival, vehicle electrostatic discharge and vehicle oil discharge; the target objects to be identified in the vehicle station entering step comprise an oil unloading vehicle license plate, an electrostatic identification, fire-fighting equipment and an operator; the objects to be identified in the vehicle static electricity releasing step comprise an oil discharge port cover identification, a static electricity identification, fire-fighting equipment and an operator; the objects to be identified in the oil unloading step of the vehicle comprise an electrostatic identification, fire-fighting equipment and an operator;
the early warning unit 120 is configured to acquire an operation video appearing in each oil unloading operation step of the gas station, sequentially identify an abnormality of a corresponding target object to be identified in each oil unloading operation step in the acquired operation video based on each oil unloading operation step of the gas station, and determine that the oil unloading operation of the gas station has an irregular operation phenomenon in the oil unloading operation step in which the target object is abnormal when it is determined that the target object to be identified is abnormal in a certain oil unloading operation step, thereby further performing early warning.
Wherein the early warning unit 120 includes:
the extracting module is used for extracting the time interval of each oil unloading operation step from the operation video appearing in each oil unloading operation step of the gas station;
the calculation module is used for performing curve fitting according to the time interval of each oil unloading operation step to obtain a time interval model corresponding to each oil unloading operation step;
the acquisition module is used for determining the detection time of the time interval model corresponding to each oil unloading operation step according to the obtained time interval model corresponding to each oil unloading operation step, and further combining the target objects to be identified in each oil unloading operation step to obtain the identification time sequence of each target object to be identified; the detection time of the time interval model corresponding to the vehicle arrival step is t 1; the detection time of the time interval model corresponding to the vehicle electrostatic discharge step is t 2; the detection time of the time interval model corresponding to the oil unloading step of the vehicle is t 3;
and the abnormity early warning module is used for carrying out abnormity identification on the target objects to be identified in each oil unloading operation step according to the identification time sequence of each target object to be identified, and when a certain target object to be identified is judged to be abnormal in a certain oil unloading operation step, the illegal operation phenomenon of the oil unloading operation of the gas station in the oil unloading operation step with the abnormal target object is determined, and the early warning is further carried out.
The embodiment of the invention has the following beneficial effects:
the invention is based on the operation video appearing in each oil unloading operation step (including vehicle entering, vehicle static electricity releasing and vehicle oil unloading) of the gas station, combines each oil unloading operation step of the gas station, carries out abnormity identification on the corresponding target object to be identified in each oil unloading operation step in sequence in the operation video, and determines that the oil unloading operation of the gas station has an illegal operation phenomenon in the oil unloading operation step with the abnormal target object when the certain oil unloading operation step determines that the certain target object appears abnormity, and further carries out early warning, thereby not only having high speed, but also having high prejudgment accuracy, solving the problems of low speed and high accuracy of the existing manual judgment mode, and well reducing the potential safety hazard in the oil unloading operation.
It should be noted that, in the above system embodiment, each included unit is only divided according to functional logic, but is not limited to the above division as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It will be understood by those skilled in the art that all or part of the steps in the method for implementing the above embodiments may be implemented by relevant hardware instructed by a program, and the program may be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.