WO2023241744A2 - 加油机数据处理装置、方法、存储介质、电子设备和系统 - Google Patents

加油机数据处理装置、方法、存储介质、电子设备和系统 Download PDF

Info

Publication number
WO2023241744A2
WO2023241744A2 PCT/CN2023/121016 CN2023121016W WO2023241744A2 WO 2023241744 A2 WO2023241744 A2 WO 2023241744A2 CN 2023121016 W CN2023121016 W CN 2023121016W WO 2023241744 A2 WO2023241744 A2 WO 2023241744A2
Authority
WO
WIPO (PCT)
Prior art keywords
data
tanker
oil gun
oil
gun
Prior art date
Application number
PCT/CN2023/121016
Other languages
English (en)
French (fr)
Other versions
WO2023241744A3 (zh
Inventor
张剑云
张国峰
Original Assignee
能链能科(青岛)控股有限公司
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 能链能科(青岛)控股有限公司 filed Critical 能链能科(青岛)控股有限公司
Publication of WO2023241744A2 publication Critical patent/WO2023241744A2/zh
Publication of WO2023241744A3 publication Critical patent/WO2023241744A3/zh

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B67OPENING, CLOSING OR CLEANING BOTTLES, JARS OR SIMILAR CONTAINERS; LIQUID HANDLING
    • B67DDISPENSING, DELIVERING OR TRANSFERRING LIQUIDS, NOT OTHERWISE PROVIDED FOR
    • B67D7/00Apparatus or devices for transferring liquids from bulk storage containers or reservoirs into vehicles or into portable containers, e.g. for retail sale purposes
    • B67D7/06Details or accessories
    • B67D7/08Arrangements of devices for controlling, indicating, metering or registering quantity or price of liquid transferred
    • B67D7/14Arrangements of devices for controlling, indicating, metering or registering quantity or price of liquid transferred responsive to input of recorded programmed information, e.g. on punched cards
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present application relates to the technical field of tankers, and in particular to a tanker data processing device, method, storage medium, electronic equipment and system.
  • a hub is mainly used to connect to the tanker, and the hub is used to collect data in the tanker in real time and control the oil gun.
  • this application provides a data processing device, method, storage medium, electronic device and system for a gas tank.
  • the main purpose is to solve the problem of refueling caused by insufficient communication lines reserved for the tanker or the tanker itself being a non-stuck tanker. A technical problem in which the machine cannot effectively communicate with the hub.
  • a data processing device for a tanker is provided.
  • the data processing device for the tanker is provided in the tanker.
  • the device includes:
  • the first communication module is connected to the control main board of the oil tanker and the oil gun card reader of the oil tanker, and is used to collect the original data sent by the oil tanker and the card data sent by the oil gun card reader;
  • a control module connected to the first communication module, is used to determine the data parsing protocol corresponding to the tanker according to the preconfigured tanker model, and to compare the original data and the tanker based on the data parsing protocol. Analyze the card data to obtain the operating data of the tanker and the status data of the oil gun;
  • the second communication module is connected to the control module and the communication module of the third-party device, and is used to send the operating data of the tanker and the status data of the oil gun to the third-party device.
  • a tanker data processing method which is applied to the above-mentioned tanker data processing device, and the tanker data processing device is provided in the tanker.
  • the method includes:
  • a storage medium on which a computer program is stored, and when the program is executed by a processor, the above fuel dispenser data processing method is implemented.
  • a computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor.
  • the processor executes the program, the above-mentioned refueling machine is implemented. Data processing methods.
  • a tanker data processing system which system includes a tanker, a hub, and the above-mentioned tanker data processing device, wherein,
  • the tanker data processing device is respectively connected to the control main board of the tanker, the oil gun card reader of the tanker and the communication module of the hub, wherein the tanker data processing device is used to collect data from the tanker.
  • the original data sent and the card data sent by the oil gun card reader are determined according to the pre-configured oil tanker model, and the data parsing protocol corresponding to the oil tanker is determined, and the original data is analyzed based on the data parsing protocol.
  • the data and the card data are analyzed to obtain the operating data of the oil dispenser and the oil gun status data, and the operating data and the oil gun status data of the oil dispenser are sent to the hub.
  • a computer program including computer-readable code.
  • the computer-readable code When the computer-readable code is run on a server, it causes the server to execute any of the foregoing gas dispenser data processing methods.
  • a computer-readable medium in which a computer program such as the foregoing tanker data processing method is stored.
  • This application provides a data processing device, method, storage medium, electronic equipment and system for a gas pump.
  • the data processing device of the gas tank By connecting the data processing device of the gas tank to the control mainboard and the oil gun card reader of the tanker, the original data sent by the tanker is collected. data and card data sent by the oil gun card reader, and then determine the data analysis protocol corresponding to the oil tanker based on the pre-configured oil tanker model, and analyze the original data and card data based on the data analysis protocol to obtain the information of the oil tanker.
  • the above-mentioned tanker data processing device can be connected to various types of tanker equipment, and is especially suitable for connecting to tanker equipment that lacks reserved communication lines or has a non-stuck oil machine transformed into a jammed machine. It has a wide range of applications and low transformation costs. Effectively promote the digital transformation process of tankers.
  • Figure 1 shows a schematic structural diagram of a gas tanker data processing device provided by an embodiment of the present application
  • Figure 2 shows a schematic structural diagram of a data processing device for a gas tanker provided by an embodiment of the present application
  • FIG. 3 shows a schematic flowchart of a tanker data processing method provided by an embodiment of the present application
  • FIG. 4 shows a schematic flowchart of a tanker data processing method provided by an embodiment of the present application
  • Figure 5 shows a schematic structural diagram of a gas tanker data processing system provided by an embodiment of the present application
  • Figure 6 shows a schematic structural diagram of a gas tanker data processing system provided by an embodiment of the present application
  • Figure 7 shows a schematic structural diagram of a gas tanker data processing system provided by an embodiment of the present application.
  • Figure 8 schematically shows a block diagram of a server for executing a method according to the present application
  • Figure 9 schematically shows a storage unit for holding or carrying program codes for implementing the method according to the present application.
  • a tanker data processing device 10 which includes a first communication module 11 , a control module 12 and a second communication module 13 .
  • the first communication module 11 is connected to the control main board of the tanker and the oil gun card reader of the tanker, and is used to collect the original data sent by the tanker and the card data sent by the oil gun card reader.
  • the control module 12 is connected with the first communication module 11 .
  • the communication module 11 is connected and used to determine the data analysis protocol corresponding to the tanker according to the preconfigured tanker model, and to analyze the original data and card data based on the data analysis protocol to obtain the operating data of the tanker and the status of the oil gun.
  • the second communication module 13 is connected to the control module 12 and the communication module of the third-party device, and is used to send the operating data of the oil tanker and the status data of the oil gun to the third-party device.
  • the data processing device of the oil tanker can be connected to the control main board of the oil tanker and the oil gun card reader through the first communication module.
  • the first communication module there are usually multiple control motherboards and multiple oil guns inside the oil tanker.
  • a card reader will be connected to each oil gun.
  • connection method of the control main board and the oil gun card reader can be determined according to the model of the oil tanker, and then the first communication module of the oil tanker data processing device is connected to the oil tanker control main board and the oil gun card reader through wires. The device is connected to realize the connection between the tanker data processing device and the tanker.
  • the first communication module in the tanker data processing device can connect to tankers of different models or brands according to actual conditions.
  • the first communication module may include multiple communication units, and each communication unit may be used to connect to a control mainboard of the gas pump or to connect to a card reader.
  • the communication unit may be any communication circuit among RS485 communication circuit, RS232 communication circuit and current loop communication circuit. Further, by reserving sufficient numbers and classes in the first communication module A type of communication unit is used to connect the control motherboard and card reader of the tanker, so that the tanker data processing device can be connected to the tanker, so that the original data and card data in the tanker can be collected.
  • the control module of the tanker data processing device can encapsulate multiple sets of data analysis protocols inside.
  • the control module can determine the data corresponding to the tanker based on the preconfigured tanker model. Parse the protocol, and then parse the received raw data and card data based on the data parsing protocol to obtain the operating data of the tanker and the status data of the oil gun.
  • the operating data of the refueling machine includes transactional data and real-time data
  • the transaction data refers to the data generated by the refueling machine during the vehicle refueling process, including transaction price, refueling liters, refueling time, etc.
  • Real-time data refers to information that may change during the transaction process of the tanker, such as the unit price of oil and the number of liters of oil, etc.
  • the oil gun status data refers to the usage status information of each oil gun in the tanker (including gun lifting state and gun releasing state) and their corresponding oil gun number and other information.
  • the tanker data processing device can send the data to a third-party device through the second communication module, where the third-party device refers to the device that is related to the tanker data.
  • Equipment that handles device communication connections such as a hub connected through a serial communication module, or a SAAS (Software-as-a-Service, Software as a Service) platform connected through the network, etc.
  • SAAS Software-as-a-Service, Software as a Service
  • the operating data of the tanker and the status data of the oil gun can be sent to the third-party device in a scheduled manner or in a real-time manner.
  • the oil tanker data processing device connects the oil tanker data processing device to the control main board of the oil tanker and the oil gun card reader, and collects the original data sent by the oil tanker and the card data sent by the oil gun card reader. , and then determine the data analysis protocol corresponding to the tanker based on the pre-configured tanker model, and analyze the original data and card data based on the data analysis protocol to obtain the tanker operating data and oil gun status data, and finally refuel
  • the machine's operating data and oil gun status data are sent to third-party equipment, enabling effective collection of oil tanker data.
  • the above-mentioned tanker data processing device can be connected to various types of tanker equipment, and is especially suitable for connecting to tanker equipment that lacks reserved communication lines or has a non-stuck oil machine transformed into a jammed machine. It has a wide range of applications and low transformation costs. Effectively promote the digital transformation process of tankers.
  • the first communication module may include multiple communication units, and each communication unit may be connected to a control mainboard of the tanker or an oil gun card reader of the tanker, wherein the oil gun reader is connected to An oil nozzle of the oil dispenser is connected and used to read the status data and transaction data of the oil nozzle.
  • the communication unit can be any one of RS485 communication circuit, RS232 communication circuit and current loop communication circuit, and the oil dispenser data processing device can be selected according to the actual situation. Different communication units are connected to the control motherboard of the tanker and the oil gun card reader to realize the connection between the tanker data processing device and the tanker.
  • the connection between the tanker data processing device and the tanker can be realized, thereby effectively solving the problem of refueling.
  • the hub cannot collect data from the tanker after the communication line reserved for the tanker is insufficient or the non-stuck tanker is transformed into a tanker.
  • the oil dispenser is also provided with a card reader, wherein the card reader is respectively connected to the control main board of the oil dispenser, the oil gun card reader, the oil gun switch and the oil machine keyboard, and can be used to collect data from the oil gun.
  • the card data of the card reader monitors the usage status of the oil machine keyboard and the oil gun switch, and controls the switching status of the oil gun switch.
  • the communication unit of the first communication module can be connected to the card reader, and can be used to collect the card data of the oil gun card reader through the card reader, and monitor the usage status of the oil machine keyboard and the oil gun switch. , and control the on/off status of the oil gun switch, so as to achieve more comprehensive collection and monitoring of the data of the oil tanker.
  • the card reader can be connected to the oil gun switch and the card reader of the oil tanker, and can be used to collect the oil gun status signal of the oil tanker, where the oil gun status signal includes a gun lift signal and a gun release signal.
  • the control module can be connected to the card reader through the first communication module, and is used to query the binding relationship between the preconfigured communication unit and the oil gun according to the oil gun status signal and the communication unit corresponding to the oil gun status signal, Thus, the oil gun number of the oil gun to be controlled is determined, and an oil gun control signal is generated, where the oil gun control signal includes an oil gun opening signal and an oil gun closing signal.
  • the control module can be connected to the oil gun control terminal of the oil tanker through the first communication module and the card reader, and send the oil gun control signal to the oil gun control terminal corresponding to the oil gun number, so that the oil gun to be controlled On or off.
  • a fueling machine is usually equipped with multiple oil guns, and each oil gun corresponds to a unique oil gun number and is placed in an oil gun switch.
  • each oil gun corresponds to a unique oil gun number and is placed in an oil gun switch.
  • both ends of the oil gun switch are in a disconnected state, and when the oil gun is lifted, both ends of the oil gun switch become connected.
  • the oil gun data acquisition module of the card reader can be connected to both ends of the oil gun switch, so that it can be judged whether the oil gun has been lifted by the connection status of both ends of the oil gun switch.
  • the oil tanker data processing device in order to connect multiple oil guns in the oil tanker, can be connected to multiple card readers through multiple communication units, and each card reader is used to connect two terminals of an oil gun switch. terminal, and is used to collect the oil gun status signal of an oil gun. Further, when the oil gun status signal is collected, the oil gun number corresponding to the oil gun status signal can be determined through the communication unit corresponding to the oil gun status signal, that is, the oil gun to be controlled is determined, and then the oil gun control of the oil gun to be controlled is generated signal, and finally sends an oil gun control signal to the oil gun to be controlled through the communication unit and card reader, so that the oil gun to be controlled is turned on or off.
  • the control process of the oil gun is: when the oil gun status signal is the gun lifting signal, according to the oil gun number corresponding to the oil gun status signal, query whether the oil gun corresponding to the oil gun number has refueling authority. If so, If the authority is not granted, the oil gun opening signal is sent to the oil gun with the corresponding oil gun number through the control signal sending module, so that the oil gun can be opened. At this time, the oil gun can refuel the vehicle; if there is no authority, the oil gun is opened by The control signal sending module sends an oil gun closing signal to the oil gun with the corresponding oil gun number, so that the oil gun is closed. At this time, the oil gun cannot refuel the vehicle.
  • the oil gun closing signal is sent to the oil gun with the corresponding oil gun number through the control signal sending module, so that the oil gun is closed and the oil gun stops refueling.
  • the oil tanker data processing device can pass The second communication module actively queries the hub for the refueling authority of the oil gun, and can also receive the refueling authority of the oil gun sent by the hub to the data processing device of the oil tanker.
  • the oil dispenser data processing device by connecting the oil dispenser data processing device with the card reader, effective control of the oil gun can be achieved, and the difficulty and cost of equipment modification can be significantly reduced.
  • the second communication module can be a serial communication module and/or a network communication module, wherein the serial communication module can be connected to the communication module of the hub and can be used to send the operating data of the tanker and the status data of the oil gun.
  • the network communication module can be connected to the zero-pipe system and can be used to send the operating data of the tanker and the status data of the oil gun to the zero-pipe system. In this way, the data of the tanker can be uploaded. This embodiment can improve the timeliness of data processing of the tanker by sending the operation data of the tanker and the status data of the oil gun to the hub or the zero-pipe system.
  • the above-mentioned gas dispenser data processing device 10 also includes a power module 14 , a delayed power supply circuit 15 and a storage module 16 .
  • the power module 14 is connected with the first communication module 11, the control module 12, the second communication module 13, the delayed power supply module 15 and the storage module 16, and is used to provide power for the first communication module 11, the control module 12 and the second communication module. 13.
  • the delayed power supply module 15 and the storage module 16 provide power.
  • the delayed power supply module 15 is connected to the control module 12 and the storage module 16, and is used to perform operations on the control module 12 and the storage module 16 when the tanker data processing device is powered off. Delayed power supply, the storage module 16 is connected to the control module 12, and is used to store the latest collected operating data of the oil tanker and the status data of the oil gun.
  • the power module can convert the power supply signal into a voltage available for each module, such as 5V, 3.3V, etc., and then power each circuit module through the converted voltage signal.
  • the delayed power supply module can charge and discharge power to the control module and storage module for an additional period of time, such as about 3-15ms, so that the control module can store the most recently collected operating data of the tanker. and oil gun status data are saved in the storage module, so that the data will not be lost when power is turned off.
  • the working time of the control module and storage module can be extended, thereby Prevent operating data and oil gun status data from being lost due to power failure, ensuring data integrity.
  • a fuel dispenser data processing method is provided. This method is explained by taking the method applied to the dispenser data processing device described in any of the above embodiments as an example, and includes the following steps:
  • the pre-configured tanker model determine the data analysis protocol corresponding to the tanker, and analyze the original data and card data based on the data analysis protocol to obtain the operation data of the tanker and the status data of the oil gun.
  • the data processing device of the oil tanker After receiving the original data sent by the oil dispenser and the card data sent by the oil gun card reader, the data processing device of the oil tanker will analyze the original data and the card data.
  • the control module of the tanker data processing device can encapsulate multiple sets of data analysis protocols inside. When performing data analysis, the control module can determine the data corresponding to the tanker based on the preconfigured tanker model. Parse the protocol, and then parse the received raw data and card data based on the data parsing protocol to obtain the operating data of the tanker and the status data of the oil gun.
  • the operating data of the refueling machine includes transactional data and real-time data
  • the transaction data refers to the data generated by the refueling machine during the vehicle refueling process, including transaction price, refueling liters, refueling time, etc.
  • Real-time data refers to information that may change during the transaction process of the tanker, such as the unit price of oil and the number of liters of oil, etc.
  • the oil gun status data refers to the usage status information of each oil gun in the tanker (including gun lifting state and gun releasing state) and their corresponding oil gun number and other information.
  • the tanker data processing device can send the data to a third-party device through the second communication module, where the third-party device refers to the device that is related to the tanker data.
  • Equipment that handles device communication connections such as a hub connected through a serial communication module, or a SAAS (Software-as-a-Service, Software as a Service) platform connected through the network, etc.
  • SAAS Software-as-a-Service, Software as a Service
  • the operating data of the tanker and the status data of the oil gun can be sent to the third-party device in a scheduled manner or in a real-time manner.
  • the data processing method of the oil tanker collects the original data sent by the oil tanker and the card data sent by the oil gun card reader, and then determines the data analysis protocol corresponding to the oil tanker according to the preconfigured oil machine model. And based on the data analysis protocol, the original data and card data are analyzed to obtain the operating data of the tanker and the status data of the oil gun. Finally, the operating data of the tanker and the status data of the oil gun are sent to a third-party device to realize the data of the tanker. effective collection.
  • the above-mentioned tanker data processing method can effectively collect data from tankers that have insufficient reserved communication lines or that have been transformed from non-stuck fuel machines into jammed machines, effectively promoting the digital transformation process of the tanker.
  • the tanker data processing method further includes the following steps:
  • the tanker data processing device can also monitor the oil gun status signal in the oil gun status data.
  • the oil tanker data processing device can query whether the oil gun corresponding to the oil gun number has refueling authority based on the oil gun number corresponding to the oil gun status signal. If so, If the authority is not granted, the oil gun opening signal is sent to the oil gun with the corresponding oil gun number through the control signal sending module, so that the oil gun can be opened. At this time, the oil gun can refuel the vehicle; if there is no authority, the oil gun is sent to the corresponding oil gun through the control signal sending module. The oil gun with the oil gun number sends an oil gun closing signal to close the oil gun.
  • the oil tanker data processing device can send an oil gun closing signal to the oil gun with the corresponding oil gun number, so that the oil gun is closed and the oil gun stops refueling, wherein the oil tanker data processing device You can actively query the hub for the refueling permission of the oil gun, or you can receive the refueling permission of the oil gun sent by the hub to the data processing device of the tanker.
  • the data processing method of the oil tanker provided in this embodiment has a simple control process and can realize effective control of the oil gun.
  • the tanker data processing method further includes the following step: when the tanker data processing device is powered off, store the latest collected tanker operating data and oil gun status data in the storage module.
  • the tanker data processing device when the tanker data processing device is powered off, store the latest collected tanker operating data and oil gun status data in the storage module.
  • the transaction data and the oil gun status data can be prevented from being lost due to power failure, thereby ensuring the integrity of the data.
  • a tanker data processing system is provided.
  • the system includes the tanker data processing device 10 , the tanker 20 and the hub 30 described in the above embodiments.
  • the tanker data processing device 10 is connected to the control motherboard of the tanker 20 , the oil gun card reader, and the communication module of the hub 30 respectively.
  • the tanker data processing device 10 can be used to collect the data sent by the tanker 20 .
  • the original data and the card data sent by the oil gun card reader are determined according to the pre-configured oil machine model, and the data parsing protocol corresponding to the oil tanker 20 is determined, and the original data and card data are parsed based on the data parsing protocol to obtain the refueling
  • the operation data of the oil tanker 20 and the oil gun status data are finally sent to the hub 30 .
  • the hub can also connect to various other devices, such as liquid level gauges, tankers, etc., and can collect data from the connected devices, including transaction data and real-time data from each tanker and each liquid tanker. Tank data in the level meter, etc.
  • the hub can also save the collected data or transmit the data to other devices, so as to realize the digital control of each device in the gas station. transformation.
  • the tanker data processing system provided by this embodiment can effectively collect data from a tanker that has insufficient reserved communication lines or a non-stuck tanker that has been transformed into a jammed tanker, thereby effectively improving the efficiency of tanker data collection.
  • the tanker data processing system also includes a zero management system 40 and a cloud platform 50.
  • the zero management system 40 can be connected to the hub 30 through the network and be used to collect and/or set the data in the hub 30.
  • the cloud platform 50 can be connected to the zero management system 40 through the network and be used to collect and/or set the data in the zero management system. 40 data are collected and/or set up.
  • the tanker data processing device to connect to multiple control motherboards and multiple card readers of the tanker, the efficiency of tanker data collection and the efficiency of oil gun control can be improved. The above-mentioned system modification is less difficult. renovation costs are lower.
  • the operating data of the oil tanker and the oil gun status data saved in the hub can also be remotely collected, thereby improving the real-time and convenience of data processing.
  • a card reader is also provided in the oil dispenser 20 .
  • the card reader is respectively connected to the control main board of the oil dispenser, the oil gun card reader, the oil gun switch, and the oil engine keyboard. , and can be used to collect card data from the oil gun card reader, monitor the usage status of the oil machine keyboard and oil gun switch, and control the on/off status of the oil gun switch.
  • the tanker data processing device 10 can be connected to the control mainboard and the card reader of the tanker 20 through the first communication module, and can be used to collect the card data of the oil gun card reader through the card reader, and analyze the oil tanker. Monitor the usage status of the keyboard and oil gun switch, and control the on/off status of the oil gun switch, so as to achieve more comprehensive collection and monitoring of the data of the oil tanker.
  • this embodiment also provides a storage medium on which a computer program is stored.
  • the program is executed by the processor, the refueling described in any of the above embodiments is implemented. machine data processing methods.
  • the technical solution of this application can be embodied in the form of a software product.
  • the software product to be identified can be stored in a non-volatile storage medium (which can be a CD-ROM, U disk, mobile hard disk, etc.). It includes several instructions to cause a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the method described in each implementation scenario of this application.
  • this embodiment also provides a physical device for tanker data processing , specifically it can be a personal computer, server, smartphone, tablet computer, smart watch, or other network device, etc.
  • the physical device includes a storage medium and a processor; the storage medium, Used to store computer programs; processor, used to execute computer programs to implement the gas dispenser data processing method described in any of the above embodiments.
  • the physical device may also include a user interface, a network interface, a camera, a radio frequency (Radio Frequency, RF) circuit, a sensor, an audio circuit, a WI-FI module, and so on.
  • the user interface may include a display screen (Display), an input unit such as a keyboard (Keyboard), etc.
  • the optional user interface may also include a USB interface, a card reader interface, etc.
  • the network interface may include a standard wired interface, a wireless interface (such as a WI-FI interface), etc.
  • an entity device for data processing of a tanker does not constitute a limitation on the entity device. It may include more or less components, or combine certain components, or different components. component layout.
  • the storage medium may also include an operating system and a network communication module.
  • the operating system is a program that manages the above-mentioned physical device hardware and software resources to be identified, and supports the operation of information processing programs and other software and/or programs to be identified.
  • the network communication module is used to realize communication between components within the storage medium, as well as communication with other hardware and software in the information processing physical device.
  • This application can be implemented by means of software plus a necessary general hardware platform, or can also be implemented by hardware.
  • This application connects the tanker data processing device to the tanker's control mainboard and the oil gun card reader, and collects the original data sent by the tanker and the card data sent by the oil gun card reader, and then based on the preconfigured tanker model. number, determine the data analysis protocol corresponding to the tanker, and analyze the original data and card data based on the data analysis protocol to obtain the tanker operating data and oil gun status data, and finally combine the tanker operating data and oil gun status data Send it to a third-party device to achieve effective collection of tanker data.
  • the tanker data processing device or tanker data processing method provided by this application can effectively collect data from the tanker that has insufficient reserved communication lines or that has been transformed from a non-stuck oil machine into a jammed machine, thereby effectively Promote the digital transformation process of tankers.
  • the accompanying drawing is only a schematic diagram of a preferred implementation scenario, and the modules or processes in the accompanying drawing are not necessarily necessary for implementing the present application.
  • the modules in the devices in the implementation scenario can be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or can be correspondingly changed and located in one or more devices different from the implementation scenario.
  • the modules of the above implementation scenarios can be combined into one module or further split into multiple sub-modules.
  • Various component embodiments of the present disclosure may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof.
  • a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all functions of some or all components in the message processing device of the live broadcast platform according to embodiments of the present invention.
  • the invention may also be implemented as an apparatus or apparatus program (eg, computer program and computer program product) for performing part or all of the methods described herein.
  • Such a program implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, or provided on a carrier signal, or in any other form.
  • Figure 8 shows a server that can implement message processing of the platform according to the present invention.
  • the server conventionally includes a processor 510 and a computer program product or computer-readable medium in the form of memory 520 .
  • Memory 520 may be electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the memory 520 has a storage space 530 for program code 531 for executing any method steps in the above-described methods.
  • the storage space 530 for program codes may include individual program codes 531 respectively used to implement various steps in the above method. These program codes can be read from or written into one or more computer program products.
  • These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such computer program products are typically portable or fixed storage units as described with reference to FIG. 9 .
  • the storage unit may have storage segments, storage spaces, etc. arranged similarly to the memory 520 in the server of FIG. 8 .
  • the program code may, for example, be compressed in a suitable form.
  • the storage unit includes computer readable code 531', that is, code that can be read by, for example, a processor such as 510, which code, when run by a server, causes the server to perform the various steps in the method described above.

Abstract

本申请公开了一种加油机数据处理装置、方法、存储介质、电子设备和系统。所述加油机数据处理装置设置在加油机中,所述装置包括:第一通信模块,与加油机的控制主板和加油机的油枪读卡器连接,用于采集加油机发送的原始数据和油枪读卡器发送的卡数据;控制模块,与第一通信模块连接,用于根据预先配置的加油机型号,确定与加油机对应的数据解析协议,并基于数据解析协议对原始数据和卡数据进行解析,得到加油机的运行数据和油枪状态数据;第二通信模块,与控制模块和第三方设备的通信模块连接,用于将加油机的运行数据和油枪状态数据发送至第三方设备中。上述装置能够能对预留通信线不足或非卡油机改造为卡机的加油机中的数据进行有效采集。

Description

加油机数据处理装置、方法、存储介质、电子设备和系统
本申请要求于2022年12月23日提交中国专利局、申请号为202211660748.5、申请名称为“加油机数据处理装置、方法、存储介质、电子设备和系统”的中国专利申请的优先权,其全部内容通过引用结合在申请中。
技术领域
本申请涉及加油机技术领域,尤其是涉及一种加油机数据处理装置、方法、存储介质、电子设备和系统。
背景技术
随着加油站数字化建设的不断推进,加油机数据采集和油枪控制等数字化改造工作也在不断增加。在现有技术中,主要通过集线器对接加油机,并通过集线器对加油机中的数据进行实时采集以及对油枪进行控制。
但是,目前很多加油机预留的通信线不足或者加油机本身为非卡油机,导致此类加油机无法与集线器进行有效通讯,使得集线器无法成功采集到加油机中的数据,并且也无法对油枪进行有效控制,进而导致加油机的数字化改造工作无法有效推进。
申请内容
有鉴于此,本申请提供了一种加油机数据处理装置、方法、存储介质、电子设备和系统,主要目的在于解决加油机预留的通信线不足或者加油机本身为非卡油机导致的加油机无法与集线器进行有效通信的技术问题。
根据本申请的第一个方面,提供了一种加油机数据处理装置,所述加油机数据处理装置设置在加油机中,所述装置包括:
第一通信模块,与所述加油机的控制主板和所述加油机的油枪读卡器连接,用于采集所述加油机发送的原始数据和所述油枪读卡器发送的卡数据;
控制模块,与所述第一通信模块连接,用于根据预先配置的加油机型号,确定与所述加油机对应的数据解析协议,并基于所述数据解析协议对所述原始数据和所述卡数据进行解析,得到所述加油机的运行数据和油枪状态数据;
第二通信模块,与所述控制模块和第三方设备的通信模块连接,用于将所述加油机的运行数据和油枪状态数据发送至所述第三方设备中。
根据本申请的第二个方面,提供了一种加油机数据处理方法,应用于上述加油机数据处理装置中,所述加油机数据处理装置设置在加油机中,该方法包括:
采集所述加油机发送的原始数据和所述加油机的油枪读卡器发送的卡数据;
根据预先配置的加油机型号,确定与所述加油机对应的数据解析协议,并基于所述数据解析协议对所述原始数据和所述卡数据进行解析,得到所述加油机的运行数据和油枪状态数据;
将所述加油机的运行数据和油枪状态数据发送至第三方设备中。
根据本申请的第三个方面,提供了一种存储介质,其上存储有计算机程序,所述程序被处理器执行时实现上述加油机数据处理方法。
根据本申请的第四个方面,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述加油机数据处理方法。
根据本申请的第五个方面,提供了一种加油机数据处理系统,该系统包括加油机、集线器以及上述加油机数据处理装置,其中,
所述加油机数据处理装置分别与加油机的控制主板、所述加油机的油枪读卡器以及所述集线器的通信模块连接,其中,所述加油机数据处理装置用于采集所述加油机发送的原始数据和所述油枪读卡器发送的卡数据,并根据预先配置的加油机型号,确定与所述加油机对应的数据解析协议,并基于所述数据解析协议对所述原始数据和所述卡数据进行解析,得到所述加油机的运行数据和油枪状态数据,将所述加油机的运行数据和油枪状态数据发送至所述集线器中。
根据本申请的另一方面,提供了一种计算机程序,包括计算机可读代码,当所述计算机可读代码在服务器上运行时,导致所述服务器执行前述任一个所述加油机数据处理方法。
根据本申请的另一方面,提供了一种计算机可读介质,其中存储了如前述加油机数据处理方法的计算机程序。
本申请提供的一种加油机数据处理装置、方法、存储介质、电子设备和系统,通过将加油机数据处理装置与加油机的控制主板和油枪读卡器连接,并采集加油机发送的原始数据和油枪读卡器发送的卡数据,进而根据预先配置的加油机型号,确定与加油机对应的数据解析协议,并基于数据解析协议对原始数据和卡数据进行解析,得到加油机的运行数据和油枪状态数据,最后将加油机的运行数据和油枪状态数据发送至第三方设备中,能够实现加油机数据的有效采集。上述加油机数据处理装置可以对接多种型号的加油机设备,尤其适于对接预留通信线不足或者非卡油机改造为卡机的加油机设备,适用范围较广,改造成本较低,可以有效的推进加油机的数字化改造进程。
上述说明仅是本申请技术方案的概述,为了能够更清楚了解本申请的技术手段,而可依照说明书的内容予以实施,并且为了让本申请的上述和其它目的、特征和优点能够更明显易懂,以下特举本申请的具体实施方式。
附图说明
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的 不当限定。在附图中:
图1示出了本申请实施例提供的一种加油机数据处理装置的结构示意图;
图2示出了本申请实施例提供的一种加油机数据处理装置的结构示意图;
图3示出了本申请实施例提供的一种加油机数据处理方法的流程示意图;
图4示出了本申请实施例提供的一种加油机数据处理方法的流程示意图;
图5示出了本申请实施例提供的一种加油机数据处理系统的结构示意图;
图6示出了本申请实施例提供的一种加油机数据处理系统的结构示意图;
图7示出了本申请实施例提供的一种加油机数据处理系统的结构示意图;
图8示意性地示出了用于执行根据本申请的方法的服务器的框图;
图9示意性地示出了用于保持或者携带实现根据本申请的方法的程序代码的存储单元。
具体实施方式
下文中将参考附图并结合实施例来详细说明本申请。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
在一个实施例中,如图1所示,提供了一种加油机数据处理装置10,该装置包括第一通信模块11、控制模块12和第二通信模块13。其中,第一通信模块11与加油机的控制主板和加油机的油枪读卡器连接,用于采集加油机发送的原始数据和油枪读卡器发送的卡数据,控制模块12与第一通信模块11连接,用于根据预先配置的加油机型号,确定与加油机对应的数据解析协议,并基于数据解析协议对原始数据和卡数据进行解析,得到加油机的运行数据和油枪状态数据,第二通信模块13与控制模块12和第三方设备的通信模块连接,用于将加油机的运行数据和油枪状态数据发送至第三方设备中。
具体的,加油机数据处理装置可以通过第一通信模块与加油机的控制主板和油枪读卡器连接。其中,加油机内通常设置有多个控制主板和多个油枪,对于非卡油机改造的插卡油机来说,每个油枪上会连接一个读卡器。通过将第一通信模块与控制主板连接,可以采集到加油机中的原始数据,通过将第一通信模块与读卡器连接,可以采集到加油枪的卡数据。在本实施例中,可以根据加油机的型号确定控制主板和油枪读卡器的连接方式,然后通过导线将加油机数据处理装置的第一通信模块与加油机的控制主板和油枪读卡器进行连接,以此实现加油机数据处理装置与加油机的连接。
在本实施例中,加油机数据处理装置中的第一通信模块可以根据实际情况对接不同型号或品牌的加油机。具体的,第一通信模块可以包括多个通信单元,每个通信单元可用于对接加油机的一个控制主板或对接一个读卡器。其中,通信单元可以为RS485通信电路、RS232通信电路和电流环通信电路中的任一种通信电路。进一步的,通过在第一通信模块中预留足够数量和类 型的通信单元来对接加油机的控制主板和读卡器,即可实现加油机数据处理装置与加油机的对接,从而可以采集到加油机中的原始数据和卡数据。
进一步的,加油机数据处理装置在接收到加油机发送的原始数据和油枪读卡器发送的卡数据后,会对原始数据和卡数据进行解析。在本实施例中,加油机数据处理装置的控制模块的内部可以封装有多套数据解析协议,在进行数据解析时,控制模块可以根据预先配置的加油机型号,确定与加油机对应的数据解析协议,然后基于数据解析协议对接收到的原始数据和卡数据进行解析,得到加油机的运行数据和油枪状态数据。在本实施例中,加油机的运行数据包括可以交易数据和实时数据,其中,交易数据指的是加油机在车辆加油过程中产生的数据,包括交易价格、加油升数和加油时间等等,实时数据指的是加油机在交易过程中可能会发生变动的信息,如油品单价和油品升数等等,油枪状态数据指的是加油机中每个油枪的使用状态信息(包括提枪状态和放枪状态)及其对应的油枪编号等信息。
进一步的,在解析出加油机的运行数据和油枪状态数据之后,加油机数据处理装置可以通过第二通信模块将数据发送到第三方设备中,其中,第三方设备指的是与加油机数据处理装置通信连接的设备,比如,通过串口通信模块连接的集线器,或者通过网络连接的SAAS(Software-as-a-Service,软件即服务)平台等等。进一步的,加油机的运行数据和油枪状态数据可以通过定时的方式发送到第三方设备中,也可以通过实时的方式发送到第三方设备中。此外,在实时上传数据的过程中,如果运行数据和油枪状态数据没有发生变化时,则可以先不上传,等待数据发生变化时,再将变化后的运行数据和油枪状态数据发送到第三方设备中,以此减少通信次数,避免数据冗余。
本实施例提供的加油机数据处理装置,通过将加油机数据处理装置与加油机的控制主板和油枪读卡器连接,并采集加油机发送的原始数据和油枪读卡器发送的卡数据,进而根据预先配置的加油机型号,确定与加油机对应的数据解析协议,并基于数据解析协议对原始数据和卡数据进行解析,得到加油机的运行数据和油枪状态数据,最后将加油机的运行数据和油枪状态数据发送至第三方设备中,能够实现加油机数据的有效采集。上述加油机数据处理装置可以对接多种型号的加油机设备,尤其适于对接预留通信线不足或者非卡油机改造为卡机的加油机设备,适用范围较广,改造成本较低,可以有效的推进加油机的数字化改造进程。
在一个实施例中,第一通信模块可以包括多个通信单元,每个通信单元可以与加油机的一个控制主板或者与加油机的一个油枪读卡器连接,其中,油枪读卡器与加油机的一个油枪连接,并用于读取油枪的状态数据和交易数据。在本实施例中,通信单元可以为RS485通信电路、RS232通信电路和电流环通信电路中的任一种电路,加油机数据处理装置可以根据实际情况选择 不同的通信单元与加油机的控制主板和油枪读卡器连接,以此实现加油机数据处理装置与加油机的连接。本实施例通过在第一通信模块中预留足够数量和类型的通信单元来对接加油机的控制主板和读卡器,可以实现加油机数据处理装置与加油机的对接,从而可以有效的解决加油机预留的通信线不足或者非卡油机改造为油机后,集线器无法采集到加油机中的数据的问题。
在一个实施例中,加油机中还设置有读卡机,其中,读卡机分别与加油机的控制主板、油枪读卡器、油枪开关和油机键盘连接,并可用于采集油枪读卡器的卡数据,对油机键盘和油枪开关的使用状态进行监听,以及对油枪开关的开关状态进行控制。在本实施例中,第一通信模块的通信单元可以与读卡机连接,并可用于通过读卡机采集油枪读卡器的卡数据,对油机键盘和油枪开关的使用状态进行监听,以及对油枪开关的开关状态进行控制,以此实现对加油机的数据进行更为全面的采集和监控。
在本实施例中,读卡机可以与加油机的油枪开关和读卡器连接,并可用于采集加油机的油枪状态信号,其中,油枪状态信号包括提枪信号和放枪信号。进一步的,控制模块可以通过第一通信模块与读卡机连接,并用于根据油枪状态信号和油枪状态信号对应的通信单元,查询预先配置的通信单元与油枪之间的绑定关系,从而确定待控制油枪的油枪编号,并生成油枪控制信号,其中,油枪控制信号包括油枪开启信号和油枪关闭信号。最后,控制模块可以通过第一通信模块和读卡机与加油机的油枪控制端连接,并将油枪控制信号发送至与油枪编号对应的油枪控制端中,以使待控制油枪打开或关闭。
具体的,一台加油机通常设置有多个油枪,每个油枪对应有一个唯一的油枪编号,并被放置在一个油枪开关中。一般来说,当油枪为放置状态时,油枪开关的两端为断开状态,当油枪为提起状态时,油枪开关的两端变为连接状态。利用油枪开关的这个特征,可以将读卡机的油枪数据采集模块与油枪开关的两端连接,从而可以通过油枪开关两端的连接状态判断油枪是否被提起。在本实施例中,为了对接加油机中的多个油枪,加油机数据处理装置可以通过多个通信单元与多个读卡机连接,每个读卡机用于连接一个油枪开关的两端,并用于采集一个油枪的油枪状态信号。进一步的,当采集到油枪状态信号时,可以通过油枪状态信号对应的通信单元确定油枪状态信号对应的油枪编号,即确定待控制油枪,然后生成待控制油枪的油枪控制信号,最后通过通信单元和读卡机向待控制油枪发出油枪控制信号,以使待控制油枪开启或关闭。
在本实施例中,油枪的控制过程为:当油枪状态信号为提枪信号时,根据油枪状态信号对应的油枪编号,查询油枪编号对应的油枪是否有加油权限,如果有权限,则通过控制信号发送模块向相应油枪编号的油枪发出油枪开启信号,以使油枪打开,此时,油枪可以为车辆加油;如果没有权限,则通过 控制信号发送模块向相应油枪编号的油枪发出油枪关闭信号,以使油枪关闭,此时,油枪不能为车辆加油。当油枪状态信号为放枪信号时,通过控制信号发送模块向相应油枪编号的油枪发出油枪关闭信号,以使油枪关闭,油枪停止加油,其中,加油机数据处理装置可以通过第二通信模块向集线器主动查询油枪的加油权限,也可以接收集线器向加油机数据处理装置发送的油枪的加油权限。本实施例通过将加油机数据处理装置与读卡机连接,可以实现油枪的有效控制,并且可以显著降低设备改造难度和改造成本。
在一个实施例中,第二通信模块可以为串口通信模块和/或网络通信模块,其中,串口通信模块可以与集线器的通信模块连接,并可用于将加油机的运行数据和油枪状态数据发送至集线器中,网络通信模块可以与零管系统连接,并可用于将加油机的运行数据和油枪状态数据发送至零管系统中,通过这种方式,可以实现加油机数据的上传。本实施例通过将加油机的运行数据和油枪状态数据发送至集线器或零管系统中,可以提高加油机数据处理的时效性。
在一个实施例中,如图2所示,上述加油机数据处理装置10还包括电源模块14、延时供电电路15和存储模块16。其中,电源模块14与第一通信模块11、控制模块12、第二通信模块13、延时供电模块15和存储模块16连接,用于为第一通信模块11、控制模块12、第二通信模块13、延时供电模块15和存储模块16提供电源,延时供电模块15与控制模块12和存储模块16连接,用于在加油机数据处理装置掉电时,对控制模块12和存储模块16进行延时供电,存储模块16与控制模块12连接,用于对最近一次采集到的加油机的运行数据和油枪状态数据进行存储。
具体的,电源模块可以将供电信号转换为各模块可用的电压,如5V、3.3V等,然后通过转换后的电压信号为各个电路模块供电。当设备意外断电时,延时供电模块可以通过充放电的方式为控制模块和存储模块额外通电一段时间,如3-15ms左右,以使控制模块可以将最近一次采集到的加油机的运行数据和油枪状态数据保存在存储模块中,以此实现数据掉电不丢失。本实施例通过在电源模块的降压电路和供电电路中添加多个极性电容作为延时供电电路,并在控制模块中设置断电保护功能,可以延长控制模块和存储模块的工作时间,从而防止运行数据和油枪状态数据掉电丢失,保证了数据的完整性。
在一个实施例中,如图1所示,提供了一种加油机数据处理方法,以该方法应用于上述任一项实施例所述的加油机数据处理装置为例进行说明,包括以下步骤:
101、采集加油机发送的原始数据和加油机的油枪读卡器发送的卡数据。
102、根据预先配置的加油机型号,确定与加油机对应的数据解析协议,并基于数据解析协议对原始数据和卡数据进行解析,得到加油机的运行数据和油枪状态数据。
103、将加油机的运行数据和油枪状态数据发送至第三方设备中。
具体的,加油机数据处理装置在接收到加油机发送的原始数据和油枪读卡器发送的卡数据后,会对原始数据和卡数据进行解析。在本实施例中,加油机数据处理装置的控制模块的内部可以封装有多套数据解析协议,在进行数据解析时,控制模块可以根据预先配置的加油机型号,确定与加油机对应的数据解析协议,然后基于数据解析协议对接收到的原始数据和卡数据进行解析,得到加油机的运行数据和油枪状态数据。在本实施例中,加油机的运行数据包括可以交易数据和实时数据,其中,交易数据指的是加油机在车辆加油过程中产生的数据,包括交易价格、加油升数和加油时间等等,实时数据指的是加油机在交易过程中可能会发生变动的信息,如油品单价和油品升数等等,油枪状态数据指的是加油机中每个油枪的使用状态信息(包括提枪状态和放枪状态)及其对应的油枪编号等信息。
进一步的,在解析出加油机的运行数据和油枪状态数据之后,加油机数据处理装置可以通过第二通信模块将数据发送到第三方设备中,其中,第三方设备指的是与加油机数据处理装置通信连接的设备,比如,通过串口通信模块连接的集线器,或者通过网络连接的SAAS(Software-as-a-Service,软件即服务)平台等等。进一步的,加油机的运行数据和油枪状态数据可以通过定时的方式发送到第三方设备中,也可以通过实时的方式发送到第三方设备中。此外,在实时上传数据的过程中,如果运行数据和油枪状态数据没有发生变化时,则可以先不上传,等待数据发生变化时,再将变化后的运行数据和油枪状态数据发送到第三方设备中,以此减少通信次数,避免数据冗余。
本实施例提供的加油机数据处理方法,通过采集加油机发送的原始数据和油枪读卡器发送的卡数据,然后根据预先配置的加油机型号,确定与加油机对应的数据解析协议,并基于数据解析协议对原始数据和卡数据进行解析,得到加油机的运行数据和油枪状态数据,最后将加油机的运行数据和油枪状态数据发送至第三方设备中,能够实现加油机数据的有效采集。上述加油机数据处理方法能够对预留通信线不足或者非卡油机改造为卡机的加油机中的数据进行有效采集,有效的推进了加油机的数字化改造进程。
在一个实施例中,如图6所示,加油机数据处理方法还包括以下步骤:
201、监听油枪状态数据中的油枪状态信号,其中,油枪状态信号包括提枪信号和放枪信号。
202、当油枪状态信号发生变化时,根据油枪状态信号对应的通信单元,确定待控制油枪的油枪编号,并根据待控制油枪的油枪编号,查询待控制油枪的加油权限。
203、根据油枪状态信号和加油权限,生成油枪控制信号,其中,油枪控制信号包括油枪开启信号和油枪关闭信号。
204、将油枪控制信号发送至与油枪编号对应的读卡机中,以使待控制油枪打开或关闭。
具体的,加油机数据处理装置还可以对油枪状态数据中的油枪状态信号进行监听。在本实施例中,当油枪状态信号变为提枪信号时,加油机数据处理装置可以根据油枪状态信号对应的油枪编号,查询油枪编号对应的油枪是否有加油权限,如果有权限,则通过控制信号发送模块向相应油枪编号的油枪发出油枪开启信号,以使油枪打开,此时,油枪可以为车辆加油;如果没有权限,则通过控制信号发送模块向相应油枪编号的油枪发出油枪关闭信号,以使油枪关闭,此时,油枪不能为车辆加油。当油枪状态信号变为放枪信号时,加油机数据处理装置可以向相应油枪编号的油枪发出油枪关闭信号,以使油枪关闭,油枪停止加油,其中,加油机数据处理装置可以向集线器主动查询油枪的加油权限,也可以接收集线器向加油机数据处理装置发送的油枪的加油权限。本实施例提供的加油机数据处理方法,控制过程简单,可以实现油枪的有效控制。
在一个实施例中,加油机数据处理方法还包括以下步骤:在加油机数据处理装置掉电时,将最近一次采集到的加油机的运行数据和油枪状态数据存储在存储模块中。本实施例通过在控制模块中设置断电保护功能,可以防止交易数据和油枪状态数据掉电丢失,保证了数据的完整性。
在一个实施例中,如图5所示,提供了一种加油机数据处理系统,该系统包括上述各个实施例所述的加油机数据处理装置10、加油机20和集线器30。在本实施例中,加油机数据处理装置10分别与加油机20的控制主板、油枪读卡器和集线器30的通信模块连接,其中,加油机数据处理装置10可用于采集加油机20发送的原始数据和油枪读卡器发送的卡数据,并根据预先配置的加油机型号,确定与加油机20对应的数据解析协议,并基于数据解析协议对原始数据和卡数据进行解析,得到加油机20的运行数据和油枪状态数据,最后,将加油机20的运行数据和油枪状态数据发送至集线器30中。在本实施例中,集线器还可以连接其他多种设备,比如液位仪、加油机等,并可以对连接的设备中的数据进行采集,包括各个加油机中的交易数据和实时数据以及各个液位仪中的油罐数据等等,此外,集线器还可以将采集到的数据进行保存或者将数据传输给其他设备,以此实现加油站中各个设备的数字 化改造。本实施例提供的加油机数据处理系统能够对预留通信线不足或者非卡油机改造为卡机的加油机中的数据进行有效采集,从而有效的提高了加油机数据采集的效率。
在一个实施例中,如图6所示,加油机数据处理系统还包括零管系统40和云平台50。其中,零管系统40可以通过网络与集线器30通信连接,并用于对集线器30中的数据进行采集和/或设置,云平台50可以通过网络与零管系统40通信连接,并用于对零管系统40中的数据进行采集和/或设置。在本实施例中,通过利用加油机数据处理装置对接加油机的多个控制主板和多个读卡器,可以提高加油机数据采集的效率和油枪控制的效率,上述系统改造难度较小,改造成本较低。并且,通过在系统中设置零管系统40和云平台50,也可以对集线器中保存的加油机的运行数据和油枪状态数据进行远程采集,从而提高数据处理的实时性和便捷性。
在一个实施例中,如图7所示,加油机20中还设置有读卡机,其中,读卡机分别与加油机的控制主板、油枪读卡器、油枪开关和油机键盘连接,并可用于采集油枪读卡器的卡数据,对油机键盘和油枪开关的使用状态进行监听,以及对油枪开关的开关状态进行控制。在本实施例中,加油机数据处理装置10可以第一通信模块与加油机20的控制主板和读卡机连接,并可用于通过读卡机采集油枪读卡器的卡数据,对油机键盘和油枪开关的使用状态进行监听,以及对油枪开关的开关状态进行控制,以此实现对加油机的数据进行更为全面的采集和监控。
需要说明的是,上述各个实施例所述加油机数据处理系统中涉及到加油机数据处理装置部分的相应描述,可以参考各个加油机数据处理装置实施例的对应描述,在此不再赘述。
基于上述如图3、图4所示方法,相应的,本实施例还提供了一种存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述任一个实施例所述的加油机数据处理方法。
基于这样的理解,本申请的技术方案可以以软件产品的形式体现出来,该待识别软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施场景所述的方法。
基于上述如图1、图2所示的装置,以及图3和图4所示的加油机数据处理方法实施例,为了实现上述目的,本实施例还提供了一种加油机数据处理的实体设备,具体可以为个人计算机、服务器、智能手机、平板电脑、智能手表、或者其它网络设备等,该实体设备包括存储介质和处理器;存储介质, 用于存储计算机程序;处理器,用于执行计算机程序以实现上述任一个实施例所述的加油机数据处理方法。
在一个实施例中,该实体设备还可以包括用户接口、网络接口、摄像头、射频(RadioFrequency,RF)电路,传感器、音频电路、WI-FI模块等等。用户接口可以包括显示屏(Display)、输入单元比如键盘(Keyboard)等,可选用户接口还可以包括USB接口、读卡器接口等。网络接口在本实施例中可以包括标准的有线接口、无线接口(如WI-FI接口)等。
本领域技术人员可以理解,本实施例提供的一种加油机数据处理的实体设备结构并不构成对该实体设备的限定,可以包括更多或更少的部件,或者组合某些部件,或者不同的部件布置。
存储介质中还可以包括操作系统、网络通信模块。操作系统是管理上述实体设备硬件和待识别软件资源的程序,支持信息处理程序以及其它待识别软件和/或程序的运行。网络通信模块用于实现存储介质内部各组件之间的通信,以及与信息处理实体设备中其它硬件和软件之间通信。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本申请可以借助软件加必要的通用硬件平台的方式来实现,也可以通过硬件实现。本申请通过将加油机数据处理装置与加油机的控制主板和油枪读卡器连接,并采集加油机发送的原始数据和油枪读卡器发送的卡数据,进而根据预先配置的加油机型号,确定与加油机对应的数据解析协议,并基于数据解析协议对原始数据和卡数据进行解析,得到加油机的运行数据和油枪状态数据,最后将加油机的运行数据和油枪状态数据发送至第三方设备中,能够实现加油机数据的有效采集。与现有技术相比,本申请提供的加油机数据处理装置或加油机数据处理方法能够对预留通信线不足或者非卡油机改造为卡机的加油机中的数据进行有效采集,从而有效的推进加油机的数字化改造进程。
本领域技术人员可以理解附图只是一个优选实施场景的示意图,附图中的模块或流程并不一定是实施本申请所必须的。本领域技术人员可以理解实施场景中的装置中的模块可以按照实施场景描述进行分布于实施场景的装置中,也可以进行相应变化位于不同于本实施场景的一个或多个装置中。上述实施场景的模块可以合并为一个模块,也可以进一步拆分成多个子模块。
上述本申请序号仅仅为了描述,不代表实施场景的优劣。以上公开的仅为本申请的几个具体实施场景,但是,本申请并非局限于此,任何本领域的技术人员能思之的变化都应落入本申请的保护范围。
本公开的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的直播平台的消息处理设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。
例如,图8示出了可以实现根据本发明的平台的消息处理的服务器。该服务器传统上包括处理器510和以存储器520形式的计算机程序产品或者计算机可读介质。存储器520可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器520具有用于执行上述方法中的任何方法步骤的程序代码531的存储空间530。例如,用于程序代码的存储空间530可以包括分别用于实现上面的方法中的各种步骤的各个程序代码531。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图9所述的便携式或者固定存储单元。该存储单元可以具有与图8的服务器中的存储器520类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码531’,即可以由例如诸如510之类的处理器读取的代码,这些代码当由服务器运行时,导致该服务器执行上面所描述的方法中的各个步骤。
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下被实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在 列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。
此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。

Claims (15)

  1. 一种加油机数据处理装置,其中,所述加油机数据处理装置设置在加油机中,所述装置包括:
    第一通信模块,与所述加油机的控制主板和所述加油机的油枪读卡器连接,用于采集所述加油机发送的原始数据和所述油枪读卡器发送的卡数据;
    控制模块,与所述第一通信模块连接,用于根据预先配置的加油机型号,确定与所述加油机对应的数据解析协议,并基于所述数据解析协议对所述原始数据和所述卡数据进行解析,得到所述加油机的运行数据和油枪状态数据;
    第二通信模块,与所述控制模块和第三方设备的通信模块连接,用于将所述加油机的运行数据和油枪状态数据发送至所述第三方设备中。
  2. 根据权利要求1所述的装置,其中,所述第一通信模块包括多个通信单元,每个所述通信单元与所述加油机的一个控制主板或与所述加油机的一个油枪读卡器连接,所述油枪读卡器与所述加油机的一个油枪连接,其中,所述通信单元包括RS485通信电路、RS232通信电路和电流环通信电路中的任一种电路。
  3. 根据权利要求2所述的装置,其中,所述加油机中还设置有读卡机,所述读卡机分别与所述加油机的控制主板、油枪读卡器、油枪开关和油机键盘连接,其中,所述通信单元还与所述读卡机连接,并用于通过所述读卡机采集所述油枪读卡器的卡数据,并对所述油机键盘和所述油枪开关的使用状态进行监听,以及对所述油枪开关的开关状态进行控制。
  4. 根据权利要求1所述的装置,其中,所述第二通信模块为串口通信模块和/或网络通信模块,其中,所述串口通信模块与集线器的通信模块连接,用于将所述加油机的运行数据和油枪状态数据发送至所述集线器中,所述网络通信模块与零管系统连接,用于将所述加油机的运行数据和油枪状态数据发送至所述零管系统中。
  5. 根据权利要求1所述的装置,其中,所述装置还包括电源模块、延时供电模块和存储模块,其中,
    所述电源模块,与所述第一通信模块、所述控制模块、所述第二通信模块、所述延时供电模块和所述存储模块连接,用于为所述第一通信模块、所述控制模块、所述第二通信模块、所述延时供电模块和所述存储模块供电;
    所述延时供电模块,与所述控制模块和所述存储模块连接,用于在所述加油机数据处理装置掉电时,对所述控制模块和所述存储模块进行延时供电;
    所述存储模块,与所述控制模块连接,用于对所述最近一次采集到的加油机的运行数据和油枪状态数据进行存储。
  6. 一种加油机数据处理方法,应用于如权利要求1至5任一项所述的加油机数据处理装置中,其中,所述加油机数据处理装置设置在加油机中,其中,所述方法包括:
    采集所述加油机发送的原始数据和所述加油机的油枪读卡器发送的卡数据;
    根据预先配置的加油机型号,确定与所述加油机对应的数据解析协议,并基于所述数据解析协议对所述原始数据和所述卡数据进行解析,得到所述加油机的运行数据和油枪状态数据;
    将所述加油机的运行数据和油枪状态数据发送至第三方设备中。
  7. 根据权利要求6所述的方法,其中,所述方法还包括:
    监听所述油枪状态数据中的油枪状态信号,其中,所述油枪状态信号包括提枪信号和放枪信号;
    当所述油枪状态信号发生变化时,根据所述油枪状态信号对应的通信单元,确定待控制油枪的油枪编号,并根据所述待控制油枪的油枪编号,查询所述待控制油枪的加油权限;
    根据所述油枪状态信号和所述加油权限,生成油枪控制信号,其中,所述油枪控制信号包括油枪开启信号和油枪关闭信号;
    将所述油枪控制信号发送至与所述油枪编号对应的读卡机中,以使所述待控制油枪打开或关闭。
  8. 根据权利要求7所述的方法,其中,所述根据所述油枪状态信号和所述加油权限,生成油枪控制信号,包括:
    在所述油枪状态信号为所述提枪信号且所述待控制油枪具有加油权限时,生成油枪开启信号;
    在所述油枪状态信号为所述放枪信号或所述待控制油枪不具有加油权限时,生成油枪关闭信号。
  9. 根据权利要求6所述的方法,其中,所述方法还包括:
    在所述加油机数据处理装置掉电时,将最近一次采集到的所述加油机的运行数据和油枪状态数据存储在存储模块中。
  10. 一种存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现权利要求6至9中任一项所述的方法的步骤。
  11. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述计算机程序被处理器执行时实现权利要求6至9中任一项所述的方法的步骤。
  12. 一种加油机数据处理系统,其中,所述系统包括加油机、集线器以及如权利要求1至6任一项所述加油机数据处理装置,其中,
    所述加油机数据处理装置分别与加油机的控制主板、所述加油机的油枪读卡器以及所述集线器的通信模块连接,其中,所述加油机数据处理装置用于采集所述加油机发送的原始数据和所述油枪读卡器发送的卡数据,并根据预先配置的加油机型号,确定与所述加油机对应的数据解析协议,并基于所述数据解析协议对所述原始数据和所述卡数据进行解析,得到所述加油机的运行数据和油枪状态数据,将所述加油机的运行数据和油枪状态数据发送至所述集线器中。
  13. 根据权利要求12所述的系统,其中,所述系统还包括零管系统和云平台,其中,所述零管系统通过网络与所述集线器通信连接,用于对所述集线器中的数据进行采集和/或设置,所述云平台通过网络与所述零管系统通信连接,用于对所述零管系统中的数据进行采集和/或设置。
  14. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在服务器上运行时,导致所述服务器执行根据权利要求6至9中任一项所述的方法的步骤。
  15. 一种计算机可读介质,其中存储了如权利要求14所述的计算机程序。
PCT/CN2023/121016 2022-12-23 2023-09-25 加油机数据处理装置、方法、存储介质、电子设备和系统 WO2023241744A2 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211660748.5A CN116216622A (zh) 2022-12-23 2022-12-23 加油机数据处理装置、方法、存储介质、电子设备和系统
CN202211660748.5 2022-12-23

Publications (2)

Publication Number Publication Date
WO2023241744A2 true WO2023241744A2 (zh) 2023-12-21
WO2023241744A3 WO2023241744A3 (zh) 2024-02-15

Family

ID=86577625

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/121016 WO2023241744A2 (zh) 2022-12-23 2023-09-25 加油机数据处理装置、方法、存储介质、电子设备和系统

Country Status (2)

Country Link
CN (1) CN116216622A (zh)
WO (1) WO2023241744A2 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116216622A (zh) * 2022-12-23 2023-06-06 能链能科(青岛)控股有限公司 加油机数据处理装置、方法、存储介质、电子设备和系统

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210019978A9 (en) * 2014-08-22 2021-01-21 Michael A. Racusin Control system for a fuel dispenser
US10392240B1 (en) * 2018-10-19 2019-08-27 Simple Refueling Ltd. Method and apparatus for mobile fueling
CN207845143U (zh) * 2017-11-21 2018-09-11 广州卓正信息技术有限公司 加油站自动加油控制装置
CN110942560A (zh) * 2018-09-21 2020-03-31 北京聚利科技股份有限公司 加油支付系统
CN112374453B (zh) * 2020-09-24 2023-08-22 浙江瑞森路政设施有限公司 一种报警油枪加油功能的控制装置
CN213950572U (zh) * 2020-10-29 2021-08-13 江苏云化能源科技有限公司 一种基于ai无感加油的加油机
CN113788450A (zh) * 2021-09-29 2021-12-14 成都趣油科技有限公司 一种撬装加油站用控制装置
CN116216622A (zh) * 2022-12-23 2023-06-06 能链能科(青岛)控股有限公司 加油机数据处理装置、方法、存储介质、电子设备和系统

Also Published As

Publication number Publication date
WO2023241744A3 (zh) 2024-02-15
CN116216622A (zh) 2023-06-06

Similar Documents

Publication Publication Date Title
WO2023241744A2 (zh) 加油机数据处理装置、方法、存储介质、电子设备和系统
CN101316120B (zh) 射频用户识别模块、会员卡信息处理方法及处理系统
US20170289334A1 (en) Mobile terminal, power adapter, and upgrade method thereof
US20150127182A1 (en) Power management method, power management server, and office machine for managing electric power
CN106850241A (zh) 一种车载obd终端及其远程升级方法
CN112764817A (zh) 设备功能唤醒方法及装置
CN109302476A (zh) 一种基于移动终端的plc程序升级方法和系统
CN109032828A (zh) 应用异常处理方法及终端
CN112882939B (zh) 自动化测试方法、装置、电子设备及存储介质
CN109614131A (zh) 一种广播设备升级控制系统
WO2023241745A1 (zh) 加油机数据处理方法、装置、存储介质、电子设备和系统
CN101909310A (zh) 电子装置测试方法
CN105792025A (zh) 设备信息的获取方法及终端
CN110209605A (zh) Pcie总线网卡的寄存器读写方法和计算设备
CN110111166A (zh) 一种物联网税控盘组、基于物联网的开票系统及开票方法
CN201571108U (zh) 嵌入式移动终端的操作平台
CN102891704A (zh) 通讯信息介质及其实现通讯信息交换的方法
CN205281471U (zh) 一种打印终端和系统
CN109190969B (zh) 称重设备管控方法、系统、称重设备管理中间件及介质
CN110597685A (zh) 一种服务器系统日志Log文件收集工具及方法
CN110071921B (zh) 物联网平台接入方法、装置、计算机可读存储介质及系统
CN210776803U (zh) 一种物联网税控盘组、基于物联网的开票系统
CN108376375B (zh) 一种网联智能能源计量结算系统
CN114630306A (zh) 一种基于无功电流脉冲的电能表与断路器的自动配对方法
CN113590243A (zh) 能源企业项目创建方法、装置、计算机设备及介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23823310

Country of ref document: EP

Kind code of ref document: A2