[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN114390087A - Control method and system for data acquisition equipment of tax-control oiling machine - Google Patents

Control method and system for data acquisition equipment of tax-control oiling machine Download PDF

Info

Publication number
CN114390087A
CN114390087A CN202111544244.2A CN202111544244A CN114390087A CN 114390087 A CN114390087 A CN 114390087A CN 202111544244 A CN202111544244 A CN 202111544244A CN 114390087 A CN114390087 A CN 114390087A
Authority
CN
China
Prior art keywords
cloud platform
data acquisition
platform server
acquisition equipment
server end
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111544244.2A
Other languages
Chinese (zh)
Inventor
李亚鹏
孟维涛
谢宇
年洪旭
魏贺生
周晚晴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN202111544244.2A priority Critical patent/CN114390087A/en
Publication of CN114390087A publication Critical patent/CN114390087A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • H04L41/0661Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Medical Informatics (AREA)
  • Cardiology (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a control method and a system of data acquisition equipment of a tax-control oiling machine. The method comprises the following steps: the cloud platform server end system judges whether long connection is established with the data acquisition equipment or not based on the encrypted data packet sent by the equipment, and if so, the long connection is established; the cloud platform server side system performs heartbeat detection, remote control and parameter configuration on the data acquisition equipment, and records feedback results of the data acquisition equipment on the remote control and the parameter configuration in a cloud platform database. The system comprises a terminal control subsystem consisting of a first processor and a first memory and a server control subsystem consisting of a second processor and a second memory, and the method is realized when the first processor executes a computer program stored in the first memory and the second processor executes a computer program stored in the second memory. According to the invention, the problems of large operation and maintenance workload and low efficiency caused by the operation and maintenance mode of the conventional tax-control oiling machine data acquisition equipment can be effectively solved.

Description

Control method and system for data acquisition equipment of tax-control oiling machine
Technical Field
The invention belongs to the field of gas station tax control supervision, and particularly relates to a control method and a system of tax control oiling machine data acquisition equipment.
Background
The tax-control fuel charger is a fuel charger loaded with a chip specially made by the national tax administration. The tax-control oiling machine has the advantages of self-service oiling process, rapid and reliable transaction, automatic fault offline, automatic information acquisition and the like. The automatic information acquisition depends on the data acquisition equipment of the tax-control oiling machine. The tax-controlled oiling machine data acquisition equipment acquires relevant data of the tax-controlled oiling machine according to a preset data acquisition interval, and uploads the acquired data to the tax cloud platform through the gateway. During the operation process of the data acquisition equipment of the tax-controlled oiling machine, the data acquisition equipment of the tax-controlled oiling machine is often required to be controlled and parameter configured. However, control instruction issuing and parameter configuration of the existing tax-control oiling machine data acquisition equipment are mainly completed manually by operation and maintenance personnel, and the mode causes overlarge workload of the operation and maintenance personnel and lower working efficiency.
Disclosure of Invention
The invention aims to solve the problems of large operation and maintenance workload and low efficiency caused by the operation and maintenance mode of the data acquisition equipment of the conventional tax-control oiling machine.
In order to achieve the purpose, the invention provides a control method and a control system of data acquisition equipment of a tax-controlled fuel dispenser.
According to a first aspect of the invention, a method for controlling a data acquisition device of a tax-control oiling machine is provided, and the method is realized based on a cloud platform server-side system and a cloud platform database, and comprises the following steps:
the data acquisition equipment of the tax-control oiling machine sends an encrypted data packet containing equipment basic information of the data acquisition equipment to the cloud platform server end system;
the cloud platform server end system judges whether to establish long connection with the data acquisition equipment or not based on the encrypted data packet, and if so, establishes long connection;
the cloud platform server end system performs heartbeat detection, remote control and parameter configuration on the data acquisition equipment;
and the cloud platform server end system records the feedback result of the data acquisition equipment on the remote control and the parameter configuration in the cloud platform database.
Preferably, the cloud platform server-side system and the data acquisition device establish a long connection through a Socket communication technology based on a TCP/IP protocol.
Preferably, the determining, by the cloud platform server-side system, whether to establish a long connection with the data acquisition device based on the encrypted data packet includes:
checking whether the format of the encrypted data packet is correct;
if the format is correct, decrypting the encrypted data packet;
if the decryption is successful, analyzing the data item obtained by decryption to obtain the basic information of the equipment;
judging whether the basic equipment information exists in the cloud platform database;
if so, establishing a long connection with the data acquisition device.
Preferably, the performing, by the cloud platform server-side system, heartbeat detection on the data acquisition device includes:
the data acquisition equipment sends a heartbeat packet to the cloud platform server end system according to a preset frequency, and the cloud platform server end system updates a heartbeat detection record of the data acquisition equipment according to the received heartbeat packet;
if the cloud platform server end system does not receive the heartbeat packet of the data acquisition equipment within a preset first time length, disconnecting the long connection with the data acquisition equipment;
if the disconnection time of the long connection between the data acquisition equipment and the cloud platform server end system reaches a preset second time, restarting the data acquisition equipment;
and if the data acquisition equipment cannot be connected to the cloud platform server end system for a long time within the preset restart times, the data acquisition equipment is configured, reset and restarted.
Preferably, the remote control of the data acquisition device by the cloud platform server-side system includes:
a user sends a remote control instruction aiming at target data acquisition equipment which is in long connection with the cloud platform server end system to the cloud platform server end system through a front end interactive tool matched with the cloud platform server end system;
and the cloud platform server end system issues the remote control instruction to the target data acquisition equipment.
Preferably, the remote control of the data acquisition device by the cloud platform server-side system further includes:
the user sends a remote control instruction aiming at target data acquisition equipment which is not in long connection with the cloud platform server end system to the cloud platform server end system through the front end interactive tool;
and the cloud platform server end system records the remote control instruction in the cloud platform database, and issues the remote control instruction when the target data acquisition equipment initiates heartbeat detection and receives a corresponding heartbeat packet.
Preferably, the remote control instruction comprises a restarting device, a locking device, an unlocking device and a configuration serial port;
and the cloud platform server end system and the front end interaction tool form a B/S architecture or a C/S architecture.
Preferably, the parameter configuration of the data acquisition device by the cloud platform server-side system includes:
the user sends default configuration parameters for all the data acquisition equipment and exclusive configuration parameters for target data acquisition equipment to the cloud platform server end system through the front end interactive tool, and the cloud platform server end system stores all the received configuration parameters in the cloud platform database;
when a data acquisition device initiates heartbeat detection and the cloud platform server end system receives a corresponding heartbeat packet, the cloud platform server end system judges whether an exclusive configuration parameter of the data acquisition device exists in the cloud platform database, if so, judges whether to issue the exclusive configuration parameter through a special mark of a configuration record, and if so, issues the exclusive configuration parameter to the data acquisition device; and if not, issuing the default configuration parameters to the data acquisition equipment.
Preferably, the configuration parameters of the data acquisition device include a data acquisition interval, a heartbeat detection interval, a cloud platform server address, a network disconnection restart duration and a message encryption key.
Preferably, the remote control instruction and the configuration parameter are both issued in a form of command code assembly and encryption.
According to a second aspect of the invention, a control system of a data acquisition device of a tax-controlled fuel dispenser is provided, which comprises a terminal control subsystem deployed on the data acquisition device of the tax-controlled fuel dispenser and a server control subsystem deployed on a cloud platform server side system;
the terminal control subsystem comprises a first processor and a first memory, and the server control subsystem comprises a second processor and a second memory;
the first processor executes the computer program stored in the first memory, and the second processor executes the computer program stored in the second memory to realize the control method of any one of the tax-controlled fuel dispenser data acquisition devices.
The invention has the beneficial effects that:
the control method of the data acquisition equipment of the tax-control oiling machine comprises the following steps that firstly, the data acquisition equipment of the tax-control oiling machine sends an encrypted data packet containing equipment basic information of the tax-control oiling machine to a cloud platform server end system; secondly, the cloud platform server end system judges whether to establish long connection with the data acquisition equipment or not based on the encrypted data packet, and if so, establishes long connection; thirdly, the cloud platform server end system performs heartbeat detection, remote control and parameter configuration on the data acquisition equipment; and finally, the cloud platform server end system records the feedback result of the data acquisition equipment on the remote control and the parameter configuration in the cloud platform database.
According to the control method of the data acquisition equipment of the tax-controlled oiling machine, message interaction of heartbeat detection, remote control and parameter configuration between the cloud platform server end system and the data acquisition equipment of the tax-controlled oiling machine is realized, off-line detection, real-time control and parameter configuration issuing of the data acquisition equipment are realized, the workload of operation and maintenance personnel can be reduced, and the operation and maintenance work efficiency can be improved.
The control system of the data acquisition equipment of the tax-controlled oiling machine and the control method of the data acquisition equipment of the tax-controlled oiling machine belong to a general invention concept, so the control system has the same beneficial effects as the control method of the data acquisition equipment of the tax-controlled oiling machine, and the detailed description is omitted.
Additional features and advantages of the invention will be set forth in the detailed description which follows.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent by describing in more detail exemplary embodiments thereof with reference to the attached drawings, in which like reference numerals generally represent like parts throughout.
Fig. 1 shows a flow chart of an implementation of a control method of a data acquisition device of a tax-controlled fuel dispenser according to an embodiment of the invention;
fig. 2 shows a functional relationship diagram between a cloud platform server-side system, a cloud platform database, and a data acquisition device according to an embodiment of the invention;
fig. 3 shows a fusion flow diagram of heartbeat detection, passive remote control, parameter configuration, and result feedback for a cloud platform server-side system according to an embodiment of the invention;
fig. 4 shows a flowchart of an implementation of the proactive remote control of the cloud platform server-end system according to an embodiment of the present invention.
Detailed Description
Preferred embodiments of the present invention will be described in more detail below. While the following describes preferred embodiments of the present invention, it should be understood that the present invention may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Example (b): fig. 1 shows a flow chart of the implementation of the control method of the data acquisition device of the tax-controlled fuel dispenser according to the embodiment of the invention. Referring to fig. 1, the method for controlling the data acquisition equipment of the tax-controlled fuel dispenser according to the embodiment of the invention comprises the following steps:
s100, sending an encrypted data packet containing equipment basic information of the data acquisition equipment of the tax-control oiling machine to the cloud platform server end system by the data acquisition equipment of the tax-control oiling machine;
step S200, the cloud platform server end system judges whether to establish long connection with the data acquisition equipment or not based on the encrypted data packet, and if so, establishes long connection;
step S300, the cloud platform server end system performs heartbeat detection, remote control and parameter configuration on the data acquisition equipment;
step S400, the cloud platform server side system records the feedback result of the data acquisition equipment on the remote control and the parameter configuration in the cloud platform database.
Further, in the embodiment of the present invention, the cloud platform server-side system and the data acquisition device establish a long connection through a Socket communication technology based on a TCP/IP protocol.
Still further, in this embodiment of the present invention, the determining, by the cloud platform server end system according to step S200, whether to establish a long connection with the data acquisition device based on the encrypted data packet includes:
checking whether the format of the encrypted data packet is correct;
if the format is correct, decrypting the encrypted data packet;
if the decryption is successful, analyzing the data item obtained by decryption to obtain the basic information of the equipment;
judging whether the basic equipment information exists in the cloud platform database;
if so, establishing a long connection with the data acquisition device.
Still further, in the embodiment of the present invention, the performing, by the cloud platform server-side system in step S300, heartbeat detection on the data acquisition device includes:
the data acquisition equipment sends a heartbeat packet to the cloud platform server end system according to a preset frequency, and the cloud platform server end system updates a heartbeat detection record of the data acquisition equipment according to the received heartbeat packet;
if the cloud platform server end system does not receive the heartbeat packet of the data acquisition equipment within a preset first time length, disconnecting the long connection with the data acquisition equipment;
if the disconnection time of the long connection between the data acquisition equipment and the cloud platform server end system reaches a preset second time, restarting the data acquisition equipment;
and if the data acquisition equipment cannot be connected to the cloud platform server end system for a long time within the preset restart times, the data acquisition equipment is configured, reset and restarted.
Still further, in the embodiment of the present invention, the remote controlling, by the cloud platform server-side system in step S300, the data acquisition device includes:
a user sends a remote control instruction aiming at target data acquisition equipment which is in long connection with the cloud platform server end system to the cloud platform server end system through a front end interactive tool matched with the cloud platform server end system;
and the cloud platform server end system issues the remote control instruction to the target data acquisition equipment.
Still further, in the embodiment of the present invention, the remote controlling, by the cloud platform server-side system in step S300, the data acquisition device further includes:
the user sends a remote control instruction aiming at target data acquisition equipment which is not in long connection with the cloud platform server end system to the cloud platform server end system through the front end interactive tool;
and the cloud platform server end system records the remote control instruction in the cloud platform database, and issues the remote control instruction when the target data acquisition equipment initiates heartbeat detection and receives a corresponding heartbeat packet.
Still further, in the embodiment of the present invention, the remote control instruction includes a restart device, a lock device, an unlock device, and a configuration serial port;
and the cloud platform server end system and the front end interaction tool form a B/S architecture or a C/S architecture.
Still further, in the embodiment of the present invention, the performing, by the cloud platform server-side system in step S300, parameter configuration on the data acquisition device includes:
the user sends default configuration parameters for all the data acquisition equipment and exclusive configuration parameters for target data acquisition equipment to the cloud platform server end system through the front end interactive tool, and the cloud platform server end system stores all the received configuration parameters in the cloud platform database;
when a data acquisition device initiates heartbeat detection and the cloud platform server end system receives a corresponding heartbeat packet, the cloud platform server end system judges whether an exclusive configuration parameter of the data acquisition device exists in the cloud platform database, if so, judges whether to issue the exclusive configuration parameter through a special mark of a configuration record, and if so, issues the exclusive configuration parameter to the data acquisition device; and if not, issuing the default configuration parameters to the data acquisition equipment.
Still further, in the embodiment of the present invention, the configuration parameters of the data acquisition device include a data acquisition interval, a heartbeat detection interval, a cloud platform server address, a network disconnection restart duration, and a message encryption key.
Still further, in the embodiment of the present invention, the remote control instruction and the configuration parameter are both issued in a form of command code assembly and encryption.
Fig. 2 shows a functional relationship diagram among the cloud platform server end system, the cloud platform database, and the data acquisition device according to the embodiment of the present invention. Referring to fig. 2, first, a data acquisition device initiates a long connection request with a cloud platform server end system through a Socket communication technology based on a TCP/IP protocol, and sends an encrypted data packet containing device basis information, specifically, an encryption mode of the encrypted data packet is AES encryption, and the device basis information includes a device number.
Secondly, the cloud platform server end system receives an encrypted data packet from the data acquisition equipment through the port of the open Socket server end;
after receiving the encrypted data packet, the cloud platform server end system verifies whether the format of the encrypted data packet is correct, discards the encrypted data packet if the format is wrong, and rejects the long connection request of the data acquisition equipment; if the format is correct, the encrypted data packet is decrypted by adopting a decryption key, if the decryption fails, the encrypted data packet is discarded, the long connection request of the data acquisition equipment is refused, and if the decryption succeeds, the data item obtained by decryption is analyzed to obtain the basic information of the equipment;
after obtaining the basic information of the equipment, the cloud platform server end system judges whether the basic information of the equipment exists in a cloud platform database or not so as to determine whether the corresponding data acquisition equipment is managed by the cloud platform server end system or not, if so, the long connection request of the data acquisition equipment is agreed, and if not, the long connection request of the data acquisition equipment is rejected;
after the cloud platform server end system agrees with the long connection request of the data acquisition equipment, the cloud platform server end system establishes and maintains stable Socket long connection with the data acquisition equipment, and during the period, the operations of heartbeat detection, remote control and parameter configuration can be performed.
And finally, after the data acquisition equipment is remotely controlled and parameter configured by the cloud platform server end system, the data acquisition equipment feeds back a corresponding execution result to the cloud platform server end system, and the cloud platform server end system records the received feedback result in the cloud platform database.
In the embodiment of the invention, the main service logic of heartbeat detection is as follows:
a data acquisition client installed in the data acquisition equipment regularly and actively sends a heartbeat packet to a cloud platform server end system at a frequency set by the cloud platform server end system, the cloud platform server end system updates a heartbeat detection record of the data acquisition equipment after receiving the heartbeat packet, the cloud platform server end system judges whether the data acquisition equipment is normally online through heartbeat detection, and if the data acquisition equipment does not send the heartbeat packet within a certain time (set by the cloud platform server end system), the data acquisition equipment is judged to be offline;
if the data acquisition equipment cannot establish network connection with the cloud platform server end system within a certain time, the data acquisition equipment can be automatically restarted, and the problems caused by network reasons such as DNS abnormity and the like are solved. If the automatic restart exceeds N times (the background is configurable), the system still cannot be normally connected to the cloud platform server end system, the configuration is reset and restarted, and the connection to the cloud platform server end system is tried again after the restart is completed.
In the embodiment of the invention, the main service logic of remote control is as follows:
active remote control: the user can directly issue remote control commands such as restarting equipment, locking/unlocking equipment, configuring serial ports and the like to the data acquisition equipment which keeps long connection on line through a front-end interaction tool (front-end UI or mobile APP).
Passive remote control: aiming at the data acquisition equipment which can not keep stable online long connection due to network and other reasons, the control of the data acquisition equipment is realized by adopting a mode of asynchronously issuing a remote control command. After a user sets a relevant remote control command and selects data acquisition equipment to be controlled, the cloud platform server-side system records relevant information into the cloud platform database. After the data acquisition equipment initiates heartbeat detection and the cloud platform server end system receives the heartbeat detection, the cloud platform server end system judges whether a remote control command to be issued exists or not by inquiring the database, and if the remote control command exists, the remote control information is subjected to command code assembly and encrypted issuing.
In the embodiment of the present invention, the main service logic of parameter configuration is:
a user firstly sets a default configuration (comprising a data acquisition interval, a heartbeat detection interval, a cloud platform server address, a network-off restart time length and a message encryption key) of all data acquisition equipment through a front-end interaction tool (a front-end UI or a mobile APP), after the data acquisition equipment initiates heartbeat detection and a cloud platform server end system receives, the cloud platform server end system inquires a cloud platform database to confirm whether an exclusive configuration parameter of the data acquisition equipment exists, and if the exclusive configuration parameter does not exist, a same record is copied from the default configuration to be special for the data acquisition equipment; if the configuration information exists, whether the configuration is issued is judged through the special mark of the configuration record, and if the configuration needs to be issued, the parameter configuration information is subjected to command code assembly and encryption for issuing.
Specifically, a fusion flow of heartbeat detection, passive remote control, parameter configuration, and result feedback of the cloud platform server end system according to the embodiment of the present invention is shown in fig. 3, and an implementation flow of active remote control of the cloud platform server end system according to the embodiment of the present invention is shown in fig. 4.
According to the control method of the data acquisition equipment of the tax-control oiling machine, the data acquisition equipment is kept in long connection with the cloud platform server end system through the Socket, so that the consumption of a network reconnection agent is reduced, and meanwhile, the security is ensured by transmitting data in an encrypted mode; if the data acquisition equipment cannot be connected to the cloud platform server end system within the background configuration time, the automatic repair capability in the modes of network disconnection restarting, configuration resetting and the like is achieved; the remote control adopts a control mechanism of an active mode and a passive mode, so that the problem of difficult control caused by network problems can be well solved; each data acquisition device has unique configuration information in the cloud platform server-side system.
According to the control method of the data acquisition equipment of the tax-control oiling machine, disclosed by the embodiment of the invention, the remote detection and control of the data acquisition equipment of the tax-control oiling machine can be realized in heartbeat detection, remote control and parameter configuration modes, and meanwhile, an interactive mode of an intuitive front-end UI and a mobile-end APP is provided for a user, so that the management work of operation and maintenance personnel on the data acquisition equipment is greatly facilitated, the running state of the data acquisition equipment can be monitored and controlled in real time, the workload of the operation and maintenance personnel is reduced, and the working efficiency is improved; the intelligent monitoring and the prior risk early warning of the tax bureau on the enterprises of the gas station are achieved by matching the functions of equipment off-line detection, abnormity early warning, risk monitoring and remote control of a cloud platform server end system, so that the tax bureau can correctly master the oil product sale condition of the gas station, and the tax evasion and tax leakage behaviors of the gas station are avoided to the maximum extent.
On the basis of the control method of the data acquisition equipment of the tax-controlled oiling machine provided by the embodiment of the invention, the embodiment of the invention also provides a control system of the data acquisition equipment of the tax-controlled oiling machine. The control system of the data acquisition equipment of the tax-controlled oiling machine comprises a terminal control subsystem deployed in the data acquisition equipment of the tax-controlled oiling machine and a server control subsystem deployed in a cloud platform server side system;
the terminal control subsystem comprises a first processor and a first memory, and the server control subsystem comprises a second processor and a second memory;
when the first processor executes the computer program stored in the first memory and the second processor executes the computer program stored in the second memory, the method for controlling the data acquisition equipment of the tax-controlled fuel dispenser provided by the embodiment of the invention is realized.
Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments.

Claims (11)

1. A control method of a tax-control oiling machine data acquisition device is characterized by being realized based on a cloud platform server-side system and a cloud platform database;
the control method comprises the following steps:
the data acquisition equipment of the tax-control oiling machine sends an encrypted data packet containing equipment basic information of the data acquisition equipment to the cloud platform server end system;
the cloud platform server end system judges whether to establish long connection with the data acquisition equipment or not based on the encrypted data packet, and if so, establishes long connection;
the cloud platform server end system performs heartbeat detection, remote control and parameter configuration on the data acquisition equipment;
and the cloud platform server end system records the feedback result of the data acquisition equipment on the remote control and the parameter configuration in the cloud platform database.
2. The method for controlling a data collection device of a tax-controlled fuel dispenser according to claim 1, wherein the cloud platform server side system and the data collection device establish a long connection via Socket communication technology based on TCP/IP protocol.
3. The method of controlling a data collection device of a tax-controlled fuel dispenser according to claim 2, wherein the determining, by the cloud platform server-side system, whether to establish a long connection with the data collection device based on the encrypted data packet comprises:
checking whether the format of the encrypted data packet is correct;
if the format is correct, decrypting the encrypted data packet;
if the decryption is successful, analyzing the data item obtained by decryption to obtain the basic information of the equipment;
judging whether the basic equipment information exists in the cloud platform database;
if so, establishing a long connection with the data acquisition device.
4. The method for controlling the data collection device of the tax-controlled fuel dispenser according to claim 3, wherein the performing heartbeat detection on the data collection device by the cloud platform server-side system comprises:
the data acquisition equipment sends a heartbeat packet to the cloud platform server end system according to a preset frequency, and the cloud platform server end system updates a heartbeat detection record of the data acquisition equipment according to the received heartbeat packet;
if the cloud platform server end system does not receive the heartbeat packet of the data acquisition equipment within a preset first time length, disconnecting the long connection with the data acquisition equipment;
if the disconnection time of the long connection between the data acquisition equipment and the cloud platform server end system reaches a preset second time, restarting the data acquisition equipment;
and if the data acquisition equipment cannot be connected to the cloud platform server end system for a long time within the preset restart times, the data acquisition equipment is configured, reset and restarted.
5. The method for controlling a data collection device of a tax-controlled fuel dispenser according to claim 4, wherein the remote control of the data collection device by the cloud platform server-side system comprises:
a user sends a remote control instruction aiming at target data acquisition equipment which is in long connection with the cloud platform server end system to the cloud platform server end system through a front end interactive tool matched with the cloud platform server end system;
and the cloud platform server end system issues the remote control instruction to the target data acquisition equipment.
6. The method of controlling a data collection device of a tax-controlled fuel dispenser according to claim 5, wherein the remote control of the data collection device by the cloud platform server side system further comprises:
the user sends a remote control instruction aiming at target data acquisition equipment which is not in long connection with the cloud platform server end system to the cloud platform server end system through the front end interactive tool;
and the cloud platform server end system records the remote control instruction in the cloud platform database, and issues the remote control instruction when the target data acquisition equipment initiates heartbeat detection and receives a corresponding heartbeat packet.
7. The method of controlling a data collection device for a tax-controlled fuel dispenser according to claim 6, wherein the remote control commands include a restart device, a lock device, an unlock device, and a configuration serial port;
and the cloud platform server end system and the front end interaction tool form a B/S architecture or a C/S architecture.
8. The method of controlling a data collection device of a tax-controlled fuel dispenser according to claim 7, wherein the parameter configuration of the data collection device by the cloud platform server side system comprises:
the user sends default configuration parameters for all the data acquisition equipment and exclusive configuration parameters for target data acquisition equipment to the cloud platform server end system through the front end interactive tool, and the cloud platform server end system stores all the received configuration parameters in the cloud platform database;
when a data acquisition device initiates heartbeat detection and the cloud platform server end system receives a corresponding heartbeat packet, the cloud platform server end system judges whether an exclusive configuration parameter of the data acquisition device exists in the cloud platform database, if so, judges whether to issue the exclusive configuration parameter through a special mark of a configuration record, and if so, issues the exclusive configuration parameter to the data acquisition device; and if not, issuing the default configuration parameters to the data acquisition equipment.
9. The method of controlling a data collection device for a tax-controlled fuel dispenser according to claim 8, wherein the configuration parameters of the data collection device include data collection interval, heartbeat detection interval, cloud platform server address, network outage restart duration, and message encryption key.
10. The method of controlling a data collection facility for a tax-controlled fuel dispenser according to claim 9, wherein the remote control commands and the configuration parameters are issued in a command code assembly and encrypted format.
11. A control system of a data acquisition device of a tax-controlled fuel dispenser is characterized by comprising a terminal control subsystem deployed on the data acquisition device of the tax-controlled fuel dispenser and a server control subsystem deployed on a cloud platform server side system;
the terminal control subsystem comprises a first processor and a first memory, and the server control subsystem comprises a second processor and a second memory;
the first processor implementing the method of controlling the tax-controlled fuel dispenser data collection device of any of claims 1-10 when executing the computer program stored in the first memory and the second processor executing the computer program stored in the second memory.
CN202111544244.2A 2021-12-16 2021-12-16 Control method and system for data acquisition equipment of tax-control oiling machine Pending CN114390087A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111544244.2A CN114390087A (en) 2021-12-16 2021-12-16 Control method and system for data acquisition equipment of tax-control oiling machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111544244.2A CN114390087A (en) 2021-12-16 2021-12-16 Control method and system for data acquisition equipment of tax-control oiling machine

Publications (1)

Publication Number Publication Date
CN114390087A true CN114390087A (en) 2022-04-22

Family

ID=81198091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111544244.2A Pending CN114390087A (en) 2021-12-16 2021-12-16 Control method and system for data acquisition equipment of tax-control oiling machine

Country Status (1)

Country Link
CN (1) CN114390087A (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102427472A (en) * 2011-11-24 2012-04-25 捷开通讯科技(上海)有限公司 Device and method for remote control of mobile communication equipment
CN107730739A (en) * 2016-08-22 2018-02-23 西安艾润物联网技术服务有限责任公司 Oiling machine control system and method
CN207427180U (en) * 2017-11-09 2018-05-29 深圳市云能科技有限公司 A kind of internet device restarts system automatically
CN108234614A (en) * 2017-12-25 2018-06-29 华南理工大学 A kind of exchange method based on custom protocol and Netty frames
CN108255646A (en) * 2018-01-17 2018-07-06 重庆大学 A kind of self-healing method of industrial control program failure based on heartbeat detection
CN108681288A (en) * 2018-06-28 2018-10-19 上海电器科学研究所(集团)有限公司 A kind of novel maintenance system based on cloud platform
WO2020063086A1 (en) * 2018-09-26 2020-04-02 华为技术有限公司 Data transmission method based on internet of things, and communication apparatus
CN111163171A (en) * 2019-12-31 2020-05-15 山东信通电子股份有限公司 Remote control method and device for terminal equipment
CN112181731A (en) * 2020-10-26 2021-01-05 江苏特思达电子科技股份有限公司 Keep-alive method and device for application program and computer equipment
CN112566061A (en) * 2019-09-24 2021-03-26 北京车和家信息技术有限公司 Internet of vehicles data transmission method and system and vehicle service cloud
CN112822254A (en) * 2020-12-31 2021-05-18 山东向明环保科技有限公司 Data acquisition and transmission system and method for remotely upgrading and allocating parameters on line
CN113301106A (en) * 2021-03-23 2021-08-24 阿里巴巴新加坡控股有限公司 Operation and maintenance processing system, method and device
WO2021196521A1 (en) * 2020-04-02 2021-10-07 深圳市国电科技通信有限公司 Remote operation and maintenance management system and method
CN113783961A (en) * 2021-09-14 2021-12-10 深圳通康创智技术有限公司 Remote terminal management method and device, computer equipment and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102427472A (en) * 2011-11-24 2012-04-25 捷开通讯科技(上海)有限公司 Device and method for remote control of mobile communication equipment
CN107730739A (en) * 2016-08-22 2018-02-23 西安艾润物联网技术服务有限责任公司 Oiling machine control system and method
CN207427180U (en) * 2017-11-09 2018-05-29 深圳市云能科技有限公司 A kind of internet device restarts system automatically
CN108234614A (en) * 2017-12-25 2018-06-29 华南理工大学 A kind of exchange method based on custom protocol and Netty frames
CN108255646A (en) * 2018-01-17 2018-07-06 重庆大学 A kind of self-healing method of industrial control program failure based on heartbeat detection
CN108681288A (en) * 2018-06-28 2018-10-19 上海电器科学研究所(集团)有限公司 A kind of novel maintenance system based on cloud platform
WO2020063086A1 (en) * 2018-09-26 2020-04-02 华为技术有限公司 Data transmission method based on internet of things, and communication apparatus
CN112566061A (en) * 2019-09-24 2021-03-26 北京车和家信息技术有限公司 Internet of vehicles data transmission method and system and vehicle service cloud
CN111163171A (en) * 2019-12-31 2020-05-15 山东信通电子股份有限公司 Remote control method and device for terminal equipment
WO2021196521A1 (en) * 2020-04-02 2021-10-07 深圳市国电科技通信有限公司 Remote operation and maintenance management system and method
CN112181731A (en) * 2020-10-26 2021-01-05 江苏特思达电子科技股份有限公司 Keep-alive method and device for application program and computer equipment
CN112822254A (en) * 2020-12-31 2021-05-18 山东向明环保科技有限公司 Data acquisition and transmission system and method for remotely upgrading and allocating parameters on line
CN113301106A (en) * 2021-03-23 2021-08-24 阿里巴巴新加坡控股有限公司 Operation and maintenance processing system, method and device
CN113783961A (en) * 2021-09-14 2021-12-10 深圳通康创智技术有限公司 Remote terminal management method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US8108504B2 (en) Non-centralized network device management using console communications apparatus
CN107632918B (en) Monitoring system and method for computing storage equipment
CN109818742B (en) Equipment debugging method, device and storage medium
CN111224828A (en) Network management method of intelligent CPE (customer premise equipment)
US20060264241A1 (en) Base station log collection device, method for collecting logs of base station and computer program product
CN113783961A (en) Remote terminal management method and device, computer equipment and storage medium
US20080106423A1 (en) Monitoring Systems and Methods that Incorporate Instant Messaging
CN106411574B (en) Management control method and device
CN114390087A (en) Control method and system for data acquisition equipment of tax-control oiling machine
US6119158A (en) Method of forming multi-integrated agent system
CN113300894A (en) Equipment hot switching method, electronic equipment and storage medium
CN102088455A (en) ASN (attack security interaction) and implementation method thereof
CN116389544A (en) Remote debugging method, device and system for equipment
CN112751929B (en) Method and system for communicating with remote PLC (programmable logic controller) equipment
CN113746710B (en) Relay gateway control system and method based on intelligent central control system
CN110300105B (en) Remote key management method of network cipher machine
CN111343033B (en) Network management system for multi-layer difference
CN108684039A (en) A kind of automatic management method of AC clusters
CN102130944B (en) Method for monitoring and managing ATM and self-service system
CN100588161C (en) Information processing device, method and programme
CN113840393B (en) Equipment connection method and related equipment
JP2002261829A (en) Hierarchy management system and method therefor
CN107342887B (en) Network equipment management method and cloud server
CN114679371B (en) Information security communication all-in-one
CN105450602A (en) Mobile terminal control method and apparatus

Legal Events

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