Oil gas station on-line monitoring system based on real-time multidimensional dataTechnical Field
The invention relates to the technical field of on-line monitoring of oil and gas stations, in particular to an on-line monitoring system of an oil and gas station based on real-time multidimensional data.
Background
In the current fueling operation of a gas station, part of fueling machine equipment accords with the requirements of the fuel fueling machine verification regulations (JJG 443-2015), and the fueling machine has the anti-cheating function; however, with the continuous expansion of the oil and gas retail market and the iteration of technology, means for updating, avoiding and coping with the metering and tax check of oiling machines are endlessly layered.
There are two main monitoring modes at present:
the method mainly aims at retrospective tracing and punishment, lacks monitoring of real-time working conditions, and is difficult to find and early warn abnormal conditions in time.
Secondly, the working state of the oiling machine part is monitored remotely, and the field information of the oiling machine is uploaded to the supervision platform at regular time, but due to the fact that the field situation is complex, the data sources are various, most of acquisition systems only can obtain main information such as an encoder, a metering main board state and the like, and the situation of an endless evasion technology cannot be dealt with.
Disclosure of Invention
Therefore, the invention aims to provide an oil gas station online monitoring system based on real-time multidimensional data, which can obtain the multidimensional data of an on-site oiling machine and upload the monitoring platform in real time. Meanwhile, aiming at the retail business characteristics of the oiling machine, a monitoring flow of the whole process is formed.
The invention solves the technical problems by adopting the following technical scheme:
an on-line monitoring system for an oil and gas station based on real-time multidimensional data, comprising: the system comprises an online monitoring platform and a multidimensional data monitoring main board, wherein the online monitoring platform is communicated with a gas station control system through a wide area network; the multidimensional data detection main board comprises an acquisition module and a data processing and transmitting module; the acquisition module is used for acquiring metering data of the oiling machine and station control information of a station control system of the gas station, the data processing and transmitting module is in communication connection with the acquisition module, the data are uploaded to the online monitoring platform, the online monitoring platform analyzes whether the comparison data are normal or not, if the comparison data are normal, the data return to the multidimensional data detection main board, if the comparison data are abnormal, the data return to the multidimensional data monitoring main board, and the abnormal information are uploaded to the metering supervision department.
Further, the acquisition module comprises an RS-232 interface, a GPIO interface, a switching value interface, an SPI interface, an RS-485 interface and a ferroelectric storage module.
Further, the data processing and transmitting module comprises a network port module, a wireless 433 module, a 4G module, a storage module, a voice module and an RS-232 interface.
Furthermore, the multidimensional data monitoring main board is in wide area network communication with the online monitoring platform through the data processing and sending module and the network port module or the 4G module.
Further, the acquisition module and the data processing and transmitting module are communicated through the RS-232 interface;
the acquisition module acquires oil tank system information through the RS-232 interface;
the acquisition module acquires encrypted tax control system information through the RS-232 interface;
the acquisition module acquires encrypted metering main board information of the oiling machine through the RS-232 interface;
the acquisition module acquires the encryption information of the encoder through the RS-232 interface;
the acquisition module acquires an encoder pulse signal through the GPIO interface;
the acquisition module acquires electronic seal information through the GPIO interface;
the acquisition module acquires electronic seal information through the switching value interface;
the acquisition module acquires display screen information through the SPI interface;
the acquisition module acquires environmental parameter information of the oiling machine through the RS-485 interface;
the ferroelectric memory module of the acquisition module is used for temporarily storing the acquired information and preventing the information from being not transmitted to the abnormal state of the data processing and transmitting module.
Further, the tank system information includes basic information, liquid level information, water level information, oil amount information, tank temperature and air pressure information of a plurality of tanks of the gas station.
Further, the tax control system information comprises pulse equivalent information, total accumulated amount information of the oil filling amount and total accumulated amount information of the amount of money.
Further, the oiling machine metering main board information comprises a monitoring microprocessor serial number, an oiling machine encoder serial number, oiling machine self-locking function running state information and abnormal oiling amount information on the oiling machine metering main board.
Further, the environmental parameter information comprises temperature information of a temperature sensor in the oiling machine and air pressure information of an air pressure instrument.
Further, the data processing and transmitting module is communicated with the station control system of the gas station through two modes of the internet access module or the wireless 433 module to acquire control information and station control information of the station control system of the gas station;
the data processing and transmitting module is communicated with the online monitoring platform through the network port module or the 4G module, uploads information acquired on site in real time and receives control information, configuration information and decision judgment information of the online monitoring platform;
and the online monitoring platform receives the on-site real-time information uploaded by the data monitoring main board, judges whether the uploaded data is normal or not, marks abnormal data, records, early warns and reports to a metering supervision department.
The invention discloses an oil and gas station online monitoring system based on real-time multidimensional data, which comprises the following steps of
The beneficial effects are that:
(1) Real-time monitoring, timely finding and early warning abnormal conditions in daily business of a gas station;
(2) The flexible diversity of the monitoring and anomaly analysis method can deploy new monitoring and analysis strategies according to the newly-emerging metering and evading method, and the optimization system can cope with the endlessly-formed cheating mode;
(3) And recording and analyzing massive multidimensional data, providing a data base of online metering verification for metering verification departments through long-term data accumulation and method iteration, and providing a method and verification for online metering verification through a big data analysis and detection algorithm.
Drawings
FIG. 1 is a block diagram of the structure of the present invention;
FIG. 2 is a flow chart of a method according to an embodiment of the invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments 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 of the present invention. 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.
Referring to fig. 1, the invention discloses an on-line monitoring system for an oil and gas station based on real-time multidimensional data, which comprises: an online monitoring platform (cloud platform) and a multidimensional data monitoring main board (front end), wherein the online monitoring platform and a station control system of a gas station are communicated through a wide area network; the multidimensional data detection main board comprises an acquisition module and a data processing and transmitting module; the acquisition module is used for acquiring metering data of the oiling machine and station control information of a station control system of the gas station, the data processing and transmitting module is in communication connection with the acquisition module, the data are uploaded to the online monitoring platform, the online monitoring platform analyzes whether the comparison data are normal or not, if the comparison data are normal, the data return to the multidimensional data detection main board, if the comparison data are abnormal, the data return to the multidimensional data monitoring main board, and the abnormal information are uploaded to the metering supervision department.
The acquisition module comprises an RS-232 interface (acquisition), a GPIO interface, a switching value interface, an SPI interface, an RS-485 interface and a ferroelectric storage module. The data processing and transmitting module comprises a network port module, a wireless 433 module, a 4G module, a storage module, a voice module and an RS-232 interface (number).
And the multidimensional data monitoring main board is in wide area network communication with the online monitoring platform through the data processing and transmitting module and the network port module or the 4G module.
And the acquisition module and the data processing and transmitting module are communicated through the RS-232 interface.
The acquisition module acquires oil tank system information through the RS-232 interface (acquisition), wherein the oil tank system information comprises basic information, liquid level information, water level information, oil quantity information, oil tank temperature and air pressure information of a plurality of oil tanks of a gas station;
the acquisition module acquires encrypted tax control system information through the RS-232 interface, wherein the tax control system information comprises pulse equivalent information, total accumulated amount information of oil filling amount and total accumulated amount information of amount.
The acquisition module acquires encrypted oiling machine metering main board information through the RS-232 interface (acquisition), wherein the oiling machine metering main board information comprises a monitoring microprocessor serial number, an oiling machine encoder serial number, oiling machine self-locking function running state information and abnormal oiling amount information on the oiling machine metering main board.
The acquisition module acquires the encryption information of the encoder through the RS-232 interface (acquisition), and the encryption information of the encoder comprises metering information such as oil filling quantity and the like.
The acquisition module acquires an encoder pulse signal through the GPIO interface, wherein the encoder pulse signal refers to a pulse signal obtained by converting mechanical rotation information by an encoder in the oiling process.
The acquisition module can acquire electronic seal information through the GPIO interface, the electronic seal refers to an electronic element which is arranged under physical lead sealing of key parts such as an encoder device, a metering main board and the like and used for preventing damage of the tax control oiling machine, and if the electronic seal is an element with information such as an electronic tag, an electronic coding address and the like, the electronic seal is communicated with the acquisition module through the GPIO interface.
The acquisition module can acquire electronic seal information through the switching value interface, and the electronic seal is connected with the acquisition module through the switching value interface if the electronic seal is a simple metal wire.
The acquisition module acquires display screen information through the SPI interface, wherein the display screen information comprises information such as oil filling amount, unit price, consumption amount, time and the like.
The acquisition module acquires environmental parameter information of the oiling machine through the RS-485 interface, wherein the environmental parameter information comprises temperature information of a temperature sensor in the oiling machine and air pressure information of an air pressure instrument.
The ferroelectric memory module of the acquisition module is used for temporarily storing the acquired information and preventing the information from not being transmitted to the abnormal state of the data processing and transmitting module, such as power failure and the like.
The data processing and transmitting module can communicate with the station control system of the gas station through two modes of the internet access module or the wireless 433 module to acquire control information and station control information of the station control system of the gas station, wherein the station control information comprises license plate numbers, identity information and bound refueling information.
The data processing and transmitting module can communicate with the online monitoring platform through the network port module or the 4G module, upload information acquired on site in real time, and receive control information, configuration information, decision judgment information and the like of the online monitoring platform.
And the online monitoring platform receives the on-site real-time information uploaded by the data monitoring main board, judges whether the uploaded data is normal or not according to the comparison of the existing rules and algorithms, marks abnormal data, records, early warns and reports to a metering supervision department.
The invention has the real-time monitoring performance, and the abnormal situation in the daily business of the gas station can be found and early-warned in time; the method has flexible diversity of monitoring and anomaly analysis methods, new monitoring and analysis strategies can be deployed according to the newly-emerging metering and evading method, and the system is optimized to cope with the endlessly-formed cheating mode; the method can record and analyze massive multidimensional data, provide a data basis for online metering verification for metering verification departments after long-term data accumulation and method iteration, and also provide a method and verification for online metering verification through a big data analysis and detection algorithm.
Examples
Taking a one-time filling station fueling service as an example, see fig. 2.
The vehicle drives into the front of the oiling machine, an oiling machine gun is lifted by an oiling machine operator, a gun lifting signal is received by the multidimensional data detection main board, an electronic seal state is collected by the GPIO interface or the switching value interface of the collecting module, the liquid level data 1 of the oil tank system and the state data of the metering main board of the oiling machine are collected by the RS-232 interface, the collecting module stores data and transmits the electronic seal state, the liquid level of the oil tank system and the state data of the metering main board of the oiling machine to the RS-232 interface (number) of the data processing module through the RS-232 interface, the data processing and transmitting module stores data to the storage module, the data is uploaded to the online monitoring platform through the network port module or the 4G module, the online monitoring platform analyzes whether the data are normal or not, the data are returned to the multidimensional data detection main board if the data are normal, the multidimensional data are returned to the multidimensional data monitoring main board if the data are abnormal, and the multidimensional data monitoring main board are returned to the multidimensional data monitoring main board and abnormal information are uploaded to the monitoring and supervision; the multidimensional data monitoring main board closes the oiling machine oil gun through the switching value interface of the acquisition module when abnormal return is received, and carries out voice early warning reminding through the voice module; the multi-dimensional data monitoring main board starts a oiling machine oil gun to start oiling when receiving normal return, the GPIO interface of the acquisition module continuously acquires an encoder pulse signal and converts the encoder pulse signal into oil quantity data in the oiling process, the RS-232 interface (acquisition) continuously acquires the encoder encryption data and decodes the encoder encryption data into the oil quantity data, and the RS-485 interface acquires environment data of oiling machines such as a temperature sensor, a barometer and the like; after the oiling machine finishes oiling an oiling machine hanging gun, the multidimensional data detection main board receives a hanging gun signal, an SPI interface acquires information such as the current oiling amount, the oil price, the total price and the like of an oiling machine display screen, an RS-232 interface (acquisition) acquires relevant information such as final oil tank system liquid level meter data 2 and tax control system oiling amount, the acquisition module acquires oil amount data converted by an encoder pulse signal, oil amount data decoded by the encoder, oil amount data decoded by an acquisition encoder, data such as an acquisition temperature sensor (barometer) and the like, display screen data, tax control data, oil tank system liquid level meter data 1 (data 2) and the like are stored and transmitted to the data processing and transmitting module through an RS-232 interface (acquisition), the data processing and transmitting module stores the data to the storage module, the data is uploaded to the online monitoring platform through the network interface module or the 4G module, the online monitoring platform analyzes whether a data analysis ratio is normal or not, the multidimensional data detection is returned to the multidimensional data detection, the multidimensional data detection is carried out when the data is abnormal, the multidimensional data is carried out to the multidimensional data monitoring main board, the multidimensional data is returned to the multidimensional data monitoring main board through the data monitoring main board, and the multidimensional data monitoring main board receives the multidimensional data after the multidimensional data monitoring main board receives the abnormality data and the multidimensional data monitoring main board and the data monitoring main board receives the abnormality data after the data monitoring main board.
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.