CN113507477A - Method, system and device for communication of air compressor by adopting different communication protocols - Google Patents

Method, system and device for communication of air compressor by adopting different communication protocols Download PDF

Info

Publication number
CN113507477A
CN113507477A CN202110828730.0A CN202110828730A CN113507477A CN 113507477 A CN113507477 A CN 113507477A CN 202110828730 A CN202110828730 A CN 202110828730A CN 113507477 A CN113507477 A CN 113507477A
Authority
CN
China
Prior art keywords
serial
air compressor
data
communication protocols
different communication
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
CN202110828730.0A
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.)
Huaneng Hegang Power Generation Co ltd
Original Assignee
Huaneng Hegang Power Generation Co ltd
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 Huaneng Hegang Power Generation Co ltd filed Critical Huaneng Hegang Power Generation Co ltd
Priority to CN202110828730.0A priority Critical patent/CN113507477A/en
Publication of CN113507477A publication Critical patent/CN113507477A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • 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/26Special purpose or proprietary protocols or architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a method, a system and a device for communicating air compressors by adopting different communication protocols.A plurality of air compressors using different communication protocols are connected with a serial port of a serial port server and used for providing data for the serial port server; and the serial port servers are connected with the plurality of switches in a one-to-one manner and used for selecting a communication protocol corresponding to the air compressor from a plurality of communication protocols and acquiring the data of the air compressor and then sending the data to the switches. The air compressors with different communication protocols are connected into a network, and intelligent management of the air compressors is achieved.

Description

Method, system and device for communication of air compressor by adopting different communication protocols
Technical Field
The invention relates to the field of communication protocols, in particular to a method, a system and a device for communication of an air compressor by adopting different communication protocols.
Background
In the running process of the air compressor, the air compressor is ignited and burnt. If the operation personnel can take measures in time, the phenomenon that the communication protocols of different manufacturers of the air compressor cannot be operated in the same network due to the fact that the communication protocols of different manufacturers of the air compressor are different from each other due to the fact that the communication protocols of different manufacturers of the air compressor are burnt out can be avoided.
Disclosure of Invention
The invention aims to provide a method, a system and a device for communicating an air compressor by adopting different communication protocols, and aims to solve the problem of communication of different communication protocols.
The invention provides a system for communicating an air compressor by adopting different communication protocols, which comprises the following steps:
the air compressors which use different communication protocols are connected with the serial port of the serial port server and used for providing data for the serial port server;
and the serial port servers are connected with the plurality of switches in a one-to-one manner and used for selecting a communication protocol corresponding to the air compressor from a plurality of communication protocols and acquiring the data of the air compressor and then sending the data to the switches.
The invention also provides a method for the air compressor to communicate by adopting different communication protocols, which comprises the following steps:
sending data to a serial server through a plurality of air compressors using different communication protocols;
and selecting a communication protocol corresponding to the air compressor from multiple communication protocols through a plurality of serial servers, and acquiring data of the air compressor and then sending the data to a switch.
The embodiment of the invention also provides a device for communicating the air compressor by adopting different communication protocols, which comprises the following components: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program implementing the steps of the above method when executed by the processor.
The embodiment of the invention also provides a computer readable storage medium, wherein an implementation program for information transmission is stored on the computer readable storage medium, and the implementation program realizes the steps of the method when being executed by a processor.
By adopting the embodiment of the invention, the air compressors with different communication protocols are accessed into the network, so that the intelligent management of the air compressors is realized.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic diagram of a communication system of an air compressor according to an embodiment of the present invention, the communication system using different communication protocols;
fig. 2 is a schematic diagram of a serial server in which the air compressor of the embodiment of the present invention employs communication systems with different communication protocols;
fig. 3 is a flowchart of a method for communicating an air compressor by using different communication protocols according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a device for communicating an air compressor according to different communication protocols in an embodiment of the present invention.
Description of reference numerals:
1: an upper computer; 2, a main exchanger; 3: a first switch; 4: a second switch; 5: a first serial server; 6: a second serial server; 7: a third serial server; 40: a memory; 42: a processor.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the following embodiments, and it should be understood that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", and the like, indicate orientations and positional relationships based on those shown in the drawings, and are used only for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered as limiting the present invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise. Furthermore, the terms "mounted," "connected," and "connected" are to be construed broadly and may, for example, be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
System embodiment
According to an embodiment of the present invention, a system for an air compressor to communicate with different communication protocols is provided, and fig. 1 is a schematic diagram of a system for an air compressor to communicate with different communication protocols, as shown in fig. 1, specifically including:
the air compressors which use different communication protocols are connected with the serial port of the serial port server and used for providing data for the serial port server;
the plurality of serial servers are connected with the plurality of switches in a one-to-one manner and used for selecting a communication protocol corresponding to the air compressor from a plurality of communication protocols, acquiring air compressor data and then sending the data to the switches, such as a first serial server 5, a second serial server 6 and a third serial server 7 in fig. 3;
the main switch 2 is connected with other switches, the upper computer 1 and one of the serial servers, the other switches are correspondingly connected with the serial servers except the serial servers connected with the main switch 2 one by one, and the main switch 2 is used for receiving data of the other switches and the corresponding serial servers and sending the data to the upper computer 1, such as a first switch 3 and a second switch 4 shown in fig. 3;
the plurality of serial servers are specifically configured to: setting IP addresses of the serial servers, mapping, enabling the serial ports of the serial servers to be virtual serial ports of the computer, respectively and independently setting different serial port communication protocols corresponding to the air compressor, and then using two different communication drivers.
According to the system, the following is implemented:
the communication protocol of the air compressor is as follows: default address is 1. communication baud rate: 9600, even parity, 8 bits of data, one stop bit. The communication protocol of the England air compressor is as follows: default address is 1. communication baud rate: 9600, no check, 8 bits of data, one stop bit. The communication of each air compressor machine of independent test all can realize connecting. However, when the same driver is used in the same network to communicate with each air compressor, it is found that the non-verification communication protocol cannot be collected normally, and the data cannot be updated normally. The equipment of the even check communication protocol can normally realize data updating. The control mode is checked, and the fact is that the communication protocols without the check mode can not run on the same network because the check modes are different.
In order to solve the problem that different communication protocols run on the same network, a communication program is found, wherein the communication program is an OPC program, and is completely normal when a single air compressor is tested. The air compressor with the configuration king drive and the collection of the even check communication protocol and the air compressor without the check communication protocol are selected, the industrial control software operates, and the problem that MODBUS with different communication protocols operates in the same network is solved since all data of all the air compressors are collected.
In the same network, two different driving programs are used, so that data acquisition of air compressors with different communication protocols is realized, and the operation is quite stable. The requirement on air compressor manufacturers is reduced, and reliable data acquisition is realized.
Fig. 2 is a schematic diagram of a serial server of a system in which an air compressor communicates by using different communication protocols, as shown in fig. 2:
by setting the IP address (in an IP section) of each serial server, and mapping, each serial port of each serial server becomes a virtual serial port of the computer, and each serial communication protocol can be independently set and respectively corresponds to different communication protocols. Then, two different communication drivers are used, so that the phenomenon that equipment with different communication protocols operate simultaneously on the same network can be realized.
The air compressor remote monitoring system is a phenomenon that equipment with the same communication protocol runs simultaneously by driving programs in two communication modes in the same serial server network.
By setting the IP address (in an IP section) of each serial server, and mapping, each serial port of each serial server becomes a virtual serial port of the computer, and each serial communication protocol can be independently set and respectively corresponds to different communication protocols. Then, two different communication drivers are used, so that the phenomenon that equipment with different communication protocols operate simultaneously on the same network can be realized.
The invention accesses the air compressors with different communication protocols into the network, thereby realizing the intelligent management of the air compressors.
Method embodiment
According to an embodiment of the present invention, a method for an air compressor to communicate with different communication protocols is provided, and fig. 3 is a flowchart of the method for the air compressor to communicate with different communication protocols, where as shown in fig. 3, the method specifically includes:
sending data to a serial server through a plurality of air compressors using different communication protocols;
and selecting a communication protocol corresponding to the air compressor from multiple communication protocols through a plurality of serial servers, and acquiring data of the air compressor and then sending the data to a switch.
The serial server gathers air compressor machine data and sends the switch and specifically includes: gather the data transmission that corresponds the air compressor machine through a plurality of serial servers and to other switches, other switches will data transmission arrives the main switch, and the serial servers who corresponds with the main switch gathers air compressor machine data transmission and arrives the main switch, and the main switch accepts the data that other switches sent and gathers the data transmission that corresponds the air compressor machine and to the host computer.
The serial server gathers air compressor machine data and sends the switch and specifically includes: through setting up the IP address of each serial server, then through mapping the back, become the virtual serial ports of computer own with each serial port of every serial server to set up the different serial communication protocol of corresponding air compressor machine respectively alone, then use two kinds of different communication drive back serial servers to gather air compressor machine data and send to the switch.
The embodiment of the present invention is a system embodiment corresponding to the above method embodiment, and specific operations of each module may be understood with reference to the description of the method embodiment, which is not described herein again.
Device embodiment II
The embodiment of the invention provides a device for an air compressor to communicate by adopting different communication protocols, which comprises the following components as shown in fig. 4: a memory 40, a processor 42 and a computer program stored on the memory 40 and executable on the processor 42, the computer program, when executed by the processor, implementing the steps of the above-described method embodiments.
Device embodiment III
The embodiment of the present invention provides a computer-readable storage medium, on which an implementation program for information transmission is stored, and when being executed by the processor 42, the implementation program implements the steps in the above method embodiments.
The computer-readable storage medium of this embodiment includes, but is not limited to: ROM, RAM, magnetic or optical disks, and the like.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; however, these modifications or alternatives may be made to the embodiments of the present invention without departing from the spirit and scope of the present invention.

Claims (8)

1. A system for communicating air compressors by adopting different communication protocols is characterized by comprising,
the air compressors which use different communication protocols are connected with the serial port of the serial port server and used for providing data for the serial port server;
and the serial port servers are connected with the plurality of switches in a one-to-one manner and used for selecting a communication protocol corresponding to the air compressor from a plurality of communication protocols and acquiring the data of the air compressor and then sending the data to the switches.
2. The system according to claim 1, wherein the switch is provided with a main switch, the main switch is connected with other switches, the upper computer and one of the serial servers, the other switches are correspondingly connected with the serial servers except the serial servers connected with the main switch in a one-to-one manner, and the main switch is used for receiving data of the other switches and the corresponding serial servers and sending the data to the upper computer.
3. The system of claim 2, wherein the plurality of serial servers are specifically configured to: and setting the IP address of each serial server, mapping, changing each serial port of each serial server into a virtual serial port of the computer, respectively and independently setting different serial communication protocols corresponding to the air compressor, and using two different communication drivers.
4. A method for communicating an air compressor by adopting different communication protocols is characterized by specifically comprising the following steps:
sending data to a serial server through a plurality of air compressors using different communication protocols;
and selecting a communication protocol corresponding to the air compressor from multiple communication protocols through a plurality of serial servers, and acquiring data of the air compressor and then sending the data to a switch.
5. The method of claim 4, wherein the step of the serial server collecting air compressor data and sending the air compressor data to the switch specifically comprises the steps of: gather the data transmission that corresponds the air compressor machine through a plurality of serial servers and to other switches, other switches will data transmission arrives the main switch, and the serial servers who corresponds with the main switch gathers air compressor machine data transmission and arrives the main switch, and the main switch accepts the data that other switches sent and gathers the data transmission that corresponds the air compressor machine and to the host computer.
6. The method of claim 5, wherein the step of the serial server collecting air compressor data and sending the air compressor data to the switch specifically comprises the steps of: by setting the IP address of each serial server, then after mapping, each serial port of each serial server is set as a virtual serial port of the computer, different serial communication protocols corresponding to the air compressor are respectively and independently set, and after two different communication drivers are used, the air compressor data are collected by the serial servers and sent to the switch.
7. The utility model provides an air compressor machine adopts device of different communication protocol communications, its characterized in that includes: memory, processor and computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method of communicating using different communication protocols according to any of claims 4 to 6.
8. A computer-readable storage medium, in which a program for implementing information transfer is stored, and when the program is executed by a processor, the steps of the method for communicating using different communication protocols according to any one of claims 4 to 6 are implemented.
CN202110828730.0A 2021-07-22 2021-07-22 Method, system and device for communication of air compressor by adopting different communication protocols Pending CN113507477A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110828730.0A CN113507477A (en) 2021-07-22 2021-07-22 Method, system and device for communication of air compressor by adopting different communication protocols

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110828730.0A CN113507477A (en) 2021-07-22 2021-07-22 Method, system and device for communication of air compressor by adopting different communication protocols

Publications (1)

Publication Number Publication Date
CN113507477A true CN113507477A (en) 2021-10-15

Family

ID=78014185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110828730.0A Pending CN113507477A (en) 2021-07-22 2021-07-22 Method, system and device for communication of air compressor by adopting different communication protocols

Country Status (1)

Country Link
CN (1) CN113507477A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206074099U (en) * 2016-08-31 2017-04-05 重庆钢铁集团电子有限责任公司 Big region endothelium belt scale remote centralized automatic metering system
CN107508710A (en) * 2017-09-07 2017-12-22 国营芜湖机械厂 A kind of networking optimization method of environmental test equipment
CN108052086A (en) * 2017-12-28 2018-05-18 珠海格力智能装备技术研究院有限公司 Data acquisition system
CN111586077A (en) * 2020-05-28 2020-08-25 珠海格力智能装备有限公司 Data interaction method and device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206074099U (en) * 2016-08-31 2017-04-05 重庆钢铁集团电子有限责任公司 Big region endothelium belt scale remote centralized automatic metering system
CN107508710A (en) * 2017-09-07 2017-12-22 国营芜湖机械厂 A kind of networking optimization method of environmental test equipment
CN108052086A (en) * 2017-12-28 2018-05-18 珠海格力智能装备技术研究院有限公司 Data acquisition system
CN111586077A (en) * 2020-05-28 2020-08-25 珠海格力智能装备有限公司 Data interaction method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US8098682B2 (en) System and method for interfacing with a management system
US20020188718A1 (en) Console information storage system and method
US20210286747A1 (en) Systems and methods for supporting inter-chassis manageability of nvme over fabrics based systems
CN102984096B (en) Assembling method for controller area network (CAN) data frames applied in ship dynamic information acquisition device
CN103281712A (en) Communication base station power supply monitoring and control system based on intelligent platform management interface
CN116667469A (en) Management system and method for power supply and energy storage battery pack network
CN116471165A (en) Mechanism for identifying the cause of a link outage
CN104639358B (en) batch network port switching method and switching system
EP2656554B1 (en) Communication system, method for operating such a communication system, and communication module
CN113507477A (en) Method, system and device for communication of air compressor by adopting different communication protocols
CN107801107A (en) The host computer multi-data fusion interface realizing method of anti-passive direction-finder set when virtual
CN116723060A (en) Communication architecture and server
CN106411616B (en) A kind of device and method by 1553B bus management ethernet terminal
CN214900918U (en) Main control blade based on multichannel BASE exchange
CN114257500B (en) Fault switching method, system and device for super-fusion cluster internal network
CN113347280B (en) Multi-serial-port server system with redundant main and standby and load balancing functions
CN113992471A (en) Communication system and method for multiple hosts and multiple slaves
EP1349069A2 (en) Multi-service platform module
CN115202244A (en) Dynamic ring monitoring equipment, system and method
CN207283172U (en) The control of reactive power compensating group network system
CN214098423U (en) Main control module for paperless recorder
CN112398761B (en) Network switching unit module, network switch and channel identification switching method
CN218383951U (en) Multichannel serial ports communication circuit
CN221726530U (en) CAN bus HUB module
CN219627748U (en) Message forwarding device of integrated power supply system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20211015

RJ01 Rejection of invention patent application after publication