CN104536927B - One kind is based on principal and subordinate's question and answer mode filling machine communication means and system - Google Patents

One kind is based on principal and subordinate's question and answer mode filling machine communication means and system Download PDF

Info

Publication number
CN104536927B
CN104536927B CN201410819815.2A CN201410819815A CN104536927B CN 104536927 B CN104536927 B CN 104536927B CN 201410819815 A CN201410819815 A CN 201410819815A CN 104536927 B CN104536927 B CN 104536927B
Authority
CN
China
Prior art keywords
filling machine
background server
question
subordinate
principal
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.)
Active
Application number
CN201410819815.2A
Other languages
Chinese (zh)
Other versions
CN104536927A (en
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.)
Jereh Oil and Gas Engineering Corp
Original Assignee
Jereh Oil and Gas Engineering 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 Jereh Oil and Gas Engineering Corp filed Critical Jereh Oil and Gas Engineering Corp
Priority to CN201410819815.2A priority Critical patent/CN104536927B/en
Publication of CN104536927A publication Critical patent/CN104536927A/en
Application granted granted Critical
Publication of CN104536927B publication Critical patent/CN104536927B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4265Bus transfer protocol, e.g. handshake; Synchronisation on a point to point bus

Abstract

Principal and subordinate's question and answer mode filling machine communication means and system are based on the present invention relates to one kind, its system includes:Monitoring modular, intermediate module, the first receiving module, respond module, the second receiving module and receiving module.The current state of monitoring module monitors filling machine simultaneously sends aerating record or heartbeat frame in real time;Intermediate module receives heartbeat frame, judges whether background server has inquiry command, and inquiry command or null command are sent to filling machine;First receiving module is received and confirmed by aerating record;Respond module receives and responds inquiry command, sends data message to background server;Second receiving module is received and confirmed by data message;Receiving module is received and confirmed by null command.The a kind of of the present invention solves the inquiry command that filling machine in traditional filling machine communication mode has little time or cannot respond to background server when performing aerating operation based on principal and subordinate's question and answer mode filling machine communication means, improves the safety and reliability of local aerating.

Description

One kind is based on principal and subordinate's question and answer mode filling machine communication means and system
Technical field
The present invention relates to the communications field, it is specifically related to a kind of based on principal and subordinate's question and answer mode filling machine communication means and system.
Background technology
With the development of automobile industry, the filling machine application of gas station is also more and more extensive.Current aerating mode is basic On be to use automatic air inflation device aerating, the record aerating amount and aerating amount of money.But, existed in current filling machine communication mode Filling machine has little time or cannot respond to the inquiry command of background server when performing aerating operation, causes filling machine in aerating Safety and reliability is than relatively low in journey, or even the situation of loss of data occurs.Need to develop a kind of security and reliable for this The higher filling machine communication means of property and system.
The content of the invention
The technical problems to be solved by the invention are to provide one kind and are based on principal and subordinate's question and answer mode filling machine communication means and system, Filling machine in traditional filling machine communication mode is solved when performing aerating operation to have little time or cannot respond to background server Inquiry command, improves the safety and reliability of local aerating.
The technical scheme that the present invention solves above-mentioned technical problem is as follows:
Principal and subordinate's question and answer mode filling machine communication means is based on there is provided one kind according to one aspect of the present invention, including:
Step 1:The current state of filling machine is monitored, when filling machine is in non-aerated form, the heart is sent to background server Frame-skipping, performs step 2;When filling machine is in aerated form, sends aerating record in real time to background server, perform step 3;
Step 2:Background server receives heartbeat frame, judges whether background server has inquiry command, if then to adding Mechanism of qi sends inquiry command, performs step 4;Otherwise null command is sent to filling machine, performs step 6;
Step 3:Background server is received and confirmed by aerating record, terminates handling process;
Step 4:Filling machine receives and responds inquiry command, sends data message to background server;
Step 5:Background server is received and confirmed by data message, terminates handling process;
Step 6:Filling machine is received and confirmed by null command, terminates handling process.
According to another aspect of the present invention principal and subordinate's question and answer mode filling machine communication system, including prison are based on there is provided one kind Survey module, intermediate module, the first receiving module, respond module, the second receiving module and receiving module.The monitoring modular is set In filling machine, the current state for monitoring filling machine, and aerating record or heartbeat frame are sent to background server in real time;Institute State intermediate module to be arranged in background server, the heartbeat frame for receiving filling machine transmission judges whether background server has Inquiry command, inquiry command or null command are sent to filling machine;First receiving module is arranged in background server, is used for It is received and confirmed by the aerating record of filling machine transmission;The respond module is arranged in filling machine, for receiving and responding inquiry Order, sends data message to background server;Second receiving module is arranged in background server, for receive and it is true Recognize the data message of filling machine transmission;The receiving module is arranged in filling machine, for being received and confirmed by background server hair The null command sent.
The beneficial effects of the invention are as follows:One kind of the present invention is based on principal and subordinate's question and answer mode filling machine communication means and system, after Inquiry of the platform server to filling machine needs to obtain the permission of filling machine, that is, obtains the heartbeat frame that filling machine is sent, background service Device could send inquiry command to filling machine, it is to avoid filling machine has little time or cannot respond to background service in aerated form The inquiry command of device, improves the safety and reliability of local aerating.Meanwhile, when filling machine is in non-aerated form, if Background server does not have inquiry command, and null command is sent to filling machine by background server, can monitor the logical of communication line Believe interruption situation.
Brief description of the drawings
Fig. 1 is based on principal and subordinate's question and answer mode filling machine communication means flow chart for the present invention is a kind of;
Fig. 2 is based on principal and subordinate's question and answer mode filling machine communication system architecture schematic diagram for the present invention is a kind of.
Embodiment
The principle and feature of the present invention are described below in conjunction with accompanying drawing, the given examples are served only to explain the present invention, and It is non-to be used to limit the scope of the present invention.
Embodiment one, one kind are based on principal and subordinate's question and answer mode filling machine communication means, and the present embodiment is provided below in conjunction with Fig. 1 One kind be described in detail based on principal and subordinate's question and answer mode filling machine communication means.
As shown in figure 1, it is a kind of based on principal and subordinate's question and answer mode filling machine communication means flow chart, including:
Step 1:The current state of filling machine is monitored, when filling machine is in non-aerated form, the heart is sent to background server Frame-skipping, performs step 2;When filling machine is in aerated form, sends aerating record in real time to background server, perform step 3;
Step 2:Background server receives heartbeat frame, judges whether background server has inquiry command, if then to adding Mechanism of qi sends inquiry command, performs step 4;Otherwise null command is sent to filling machine, performs step 6;
Step 3:Background server is received and confirmed by aerating record, terminates handling process;
Step 4:Filling machine receives and responds inquiry command, sends data message to background server;
Step 5:Background server is received and confirmed by data message, terminates handling process;
Step 6:Filling machine is received and confirmed by null command, terminates handling process.
In the present embodiment, the non-aerated form in the step 1 includes inquiry state, preview state and sets state.
In the present embodiment, if background server is not received by heartbeat within the time set in advance in the step 2 Frame, then confirm communication disruption and alarm.
In the present embodiment, if filling machine is not received by null command within the time set in advance, then in the step 6 Confirm communication disruption and alarm.
In the present embodiment, the aerating record includes aerating amount and the aerating amount of money.
One kind of the present invention is based on principal and subordinate's question and answer mode filling machine communication means, and many filling machines are connected to string by Serial Port Line Mouth server, sends data message to background server by serial server or receives data message, realize multichannel question and answer Formula communicates.Wherein, background server recognizes many filling machines by reading the IP address of filling machine.
In addition, the inquiry command that background server is sent to filling machine include inquiry clearing aerating record, filling machine it is each Item parameter (such as time, temperature, air pressure), parameter modification record etc..
Embodiment two, one kind are based on principal and subordinate's question and answer mode filling machine communication system, and the present embodiment is provided below in conjunction with Fig. 2 One kind be described in detail based on principal and subordinate's question and answer mode filling machine communication system.
Be based on principal and subordinate's question and answer mode filling machine communication system architecture schematic diagram as shown in Fig. 2 a kind of, including monitoring modular, in Between module, the first receiving module, respond module, the second receiving module and receiving module.The monitoring modular is arranged on filling machine In, the current state for monitoring filling machine, and aerating record or heartbeat frame are sent to background server in real time;The intermediate die Block is arranged in background server, the heartbeat frame for receiving filling machine transmission, judges whether background server has inquiry command, Inquiry command or null command are sent to filling machine;First receiving module is arranged in background server, for receive and it is true Recognize the aerating record of filling machine transmission;The respond module is arranged in filling machine, for receiving and responding inquiry command, is sent Data message is to background server;Second receiving module is arranged in background server, for being received and confirmed by filling machine The data message of transmission;The receiving module is arranged in filling machine, the empty life for being received and confirmed by background server transmission Order.
Specifically, the current state of the monitoring module monitors filling machine in the filling machine, when filling machine is in non-aerating State, the monitoring modular sends heartbeat frame to background server, otherwise sends aerating record in real time to background server;When adding Mechanism of qi is in non-aerated form, and the intermediate module of background server receives heartbeat frame, if background server has inquiry command, The intermediate module sends inquiry command to filling machine and obtains data message, otherwise sends null command to filling machine, works as filling machine In aerated form, the first receiving module of background server is received and confirmed by aerating record;When background server has inquiry to order Order, the receiving module of the filling machine receives and responds inquiry command, and transmission data message is to background server, otherwise filling machine It is received and confirmed by null command;Second receiving module of background server is received and confirmed by the data message of filling machine transmission.
In the present embodiment, the filling machine state includes aerated form and non-aerated form, and the non-aerated form includes Inquiry state, preview state and setting state.
In the present embodiment, the intermediate module is not received by heartbeat frame within the time set in advance, then background service Device confirms communication disruption and alarmed.
In the present embodiment, the receiving module is not received by null command within the time set in advance, then filling machine is true Recognize communication disruption and alarm.
In the present embodiment, the aerating record includes aerating amount and the aerating amount of money.
One kind of the present invention is based on principal and subordinate's question and answer mode filling machine communication system, and many filling machines are connected to string by Serial Port Line Mouth server, sends data message to background server by serial server or receives data message, realize multichannel question and answer Formula communicates.Wherein, background server recognizes many filling machines by reading the IP address of filling machine.
In addition, the inquiry command that background server is sent to filling machine include inquiry clearing aerating record, filling machine it is each Item parameter (such as time, temperature, air pressure), parameter modification record etc..
One kind of the present invention is based on principal and subordinate's question and answer mode filling machine communication means and system, and filling machine monitoring modular reads aerating Whether machine is in aerated form, if aerated form, then monitoring modular sends aerating record to background server in real time;If In non-aerated form, then monitoring modular sends heartbeat frame to background server.In this communication means, background server is to aerating The inquiry of machine needs to obtain the permission of filling machine, that is, receives the heartbeat frame that filling machine is sent, background server could be to filling machine Inquiry command is sent, meanwhile, when filling machine is in non-aerated form, if background server does not have inquiry command, pass through backstage Server sends null command to filling machine, can monitor the communication disruption situation of communication line.
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.

Claims (10)

1. one kind is based on principal and subordinate's question and answer mode filling machine communication means, it is characterised in that comprise the following steps:
Step 1:The current state of filling machine is monitored, when filling machine is in non-aerated form, heartbeat frame is sent to background server, Perform step 2;When filling machine is in aerated form, sends aerating record in real time to background server, perform step 3;
Step 2:Background server receives heartbeat frame, judges whether background server has inquiry command, if then to filling machine Inquiry command is sent, step 4 is performed;Otherwise null command is sent to filling machine, performs step 6;
Step 3:Background server is received and confirmed by aerating record, terminates handling process;
Step 4:Filling machine receives and responds inquiry command, sends data message to background server;
Step 5:Background server is received and confirmed by data message, terminates handling process;
Step 6:Filling machine is received and confirmed by null command, terminates handling process.
2. it is according to claim 1 a kind of based on principal and subordinate's question and answer mode filling machine communication means, it is characterised in that:The step Non- aerated form in 1 includes inquiry state, preview state and sets state.
3. it is according to claim 1 a kind of based on principal and subordinate's question and answer mode filling machine communication means, it is characterised in that:The step If background server is not received by heartbeat frame within the time set in advance in 2, then confirm communication disruption and alarm.
4. it is according to claim 1 a kind of based on principal and subordinate's question and answer mode filling machine communication means, it is characterised in that:The step If filling machine is not received by null command within the time set in advance in 6, then confirm communication disruption and alarm.
5. one kind according to any one of Claims 1-4 is based on principal and subordinate's question and answer mode filling machine communication means, its feature exists In:The aerating record includes aerating amount and the aerating amount of money.
6. one kind is based on principal and subordinate's question and answer mode filling machine communication system, it is characterised in that including monitoring modular, intermediate module, first Receiving module, respond module, the second receiving module and receiving module;
The monitoring modular is arranged in filling machine, the current state for monitoring filling machine, and is sent out in real time to background server Send aerating record or heartbeat frame;
The intermediate module is arranged in background server, the heartbeat frame for receiving filling machine transmission, judges background server Whether there is inquiry command, inquiry command or null command are sent to filling machine;
First receiving module is arranged in background server, the aerating record for being received and confirmed by filling machine transmission;
The respond module is arranged in filling machine, for receiving and responding inquiry command, sends data message to background service Device;
Second receiving module is arranged in background server, the data message for being received and confirmed by filling machine transmission;
The receiving module is arranged in filling machine, the null command for being received and confirmed by background server transmission.
7. it is according to claim 6 a kind of based on principal and subordinate's question and answer mode filling machine communication system, it is characterised in that:The aerating The non-aerated form of machine includes inquiry state, preview state and sets state.
8. it is according to claim 6 a kind of based on principal and subordinate's question and answer mode filling machine communication system, it is characterised in that:The centre Module is not received by heartbeat frame within the time set in advance, then background server confirms communication disruption and alarmed.
9. it is according to claim 6 a kind of based on principal and subordinate's question and answer mode filling machine communication system, it is characterised in that:It is described to receive Module is not received by null command within the time set in advance, then filling machine confirms communication disruption and alarmed.
10. one kind according to any one of claim 6 to 9 is based on principal and subordinate's question and answer mode filling machine communication system, its feature exists In:The aerating record includes aerating amount and the aerating amount of money.
CN201410819815.2A 2014-12-24 2014-12-24 One kind is based on principal and subordinate's question and answer mode filling machine communication means and system Active CN104536927B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410819815.2A CN104536927B (en) 2014-12-24 2014-12-24 One kind is based on principal and subordinate's question and answer mode filling machine communication means and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410819815.2A CN104536927B (en) 2014-12-24 2014-12-24 One kind is based on principal and subordinate's question and answer mode filling machine communication means and system

Publications (2)

Publication Number Publication Date
CN104536927A CN104536927A (en) 2015-04-22
CN104536927B true CN104536927B (en) 2017-07-21

Family

ID=52852457

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410819815.2A Active CN104536927B (en) 2014-12-24 2014-12-24 One kind is based on principal and subordinate's question and answer mode filling machine communication means and system

Country Status (1)

Country Link
CN (1) CN104536927B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03191456A (en) * 1989-12-21 1991-08-21 Sony Corp Communication monitoring system
CN1581094A (en) * 2003-08-05 2005-02-16 联想(北京)有限公司 Method for long-range determining system state
CN101976385A (en) * 2010-10-18 2011-02-16 中科院成都信息技术有限公司 Compressed natural gas (CNG) filling station management system
CN104113454A (en) * 2014-06-27 2014-10-22 山东厚德测控技术有限公司 Gasoline station intelligent controller and communication system based on the same
CN104142669A (en) * 2014-08-18 2014-11-12 株洲新奥燃气发展有限公司 Monitoring and managing system of gas stations

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03191456A (en) * 1989-12-21 1991-08-21 Sony Corp Communication monitoring system
CN1581094A (en) * 2003-08-05 2005-02-16 联想(北京)有限公司 Method for long-range determining system state
CN101976385A (en) * 2010-10-18 2011-02-16 中科院成都信息技术有限公司 Compressed natural gas (CNG) filling station management system
CN104113454A (en) * 2014-06-27 2014-10-22 山东厚德测控技术有限公司 Gasoline station intelligent controller and communication system based on the same
CN104142669A (en) * 2014-08-18 2014-11-12 株洲新奥燃气发展有限公司 Monitoring and managing system of gas stations

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"加油站实时监控及数据分析系统设计";荆裕明;《中国优秀硕士学位论文全文数据库信息科技辑》;20140515;全文 *

Also Published As

Publication number Publication date
CN104536927A (en) 2015-04-22

Similar Documents

Publication Publication Date Title
CN103392328B (en) The server of Long-distance Control communicating terminal work and method and communicating terminal
CN106209812A (en) A kind of method of internet-of-things terminal platform data encapsulation
CN106487444A (en) A kind of method and system realizing mobile terminal and telecommunication apparatus data communication
CN101262366A (en) Debugging method, system and distributed device for target single board
CN106652115A (en) Video access control monitoring system based on server platform
EP2624093A3 (en) Plant monitoring and control system and plant monitoring and control method
CN103139815B (en) A kind of localization method of sound fault and device
US20140320275A1 (en) Remote Operation and Control System for Pressure Filter
CN207817514U (en) The system of long-distance monitor and control PLC terminal devices
CN105632385A (en) LED display screen blind spot detection method and detection device thereof
CN201036998Y (en) Unusual situation station operation route supervision management system
CN104536927B (en) One kind is based on principal and subordinate's question and answer mode filling machine communication means and system
CN102802181B (en) Method and system for detecting physical topological link
CN102360307A (en) Device driver message processing method and device
CN105337947A (en) Information diffluence conversion tool, semiconductor production system and communication method thereof
CN203070411U (en) Park lot management system based on three-in-one network
CN105791407A (en) Multi-vehicle-mounted-terminal-based concurrent pipe controlled communication assembly
CN205986966U (en) Adopt mine winder structure of remote intelligent ization technique
CN102651703A (en) Family network control method, system and device
CN114584483A (en) Workshop field data real-time monitoring and anomaly detection method based on stream processing
CN204013582U (en) A kind of network status monitoring device of short message alarm system
CN105610731A (en) Railway system and interlocking server network perimeter layering device
CN207910807U (en) A kind of safety system
CN104125256A (en) Secrecy cabinet network system and off-line management method thereof
CN102761849A (en) Short message network management method and device

Legal Events

Date Code Title Description
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant