CN109981435A - Turn MQTT gateway and communication system based on CAN-ModBus - Google Patents

Turn MQTT gateway and communication system based on CAN-ModBus Download PDF

Info

Publication number
CN109981435A
CN109981435A CN201910262044.4A CN201910262044A CN109981435A CN 109981435 A CN109981435 A CN 109981435A CN 201910262044 A CN201910262044 A CN 201910262044A CN 109981435 A CN109981435 A CN 109981435A
Authority
CN
China
Prior art keywords
data
mqtt
modbus
encapsulation
proxy server
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.)
Granted
Application number
CN201910262044.4A
Other languages
Chinese (zh)
Other versions
CN109981435B (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.)
Zhongan Zhilian Future Co Ltd
Original Assignee
Zhongan Zhilian Future 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 Zhongan Zhilian Future Co Ltd filed Critical Zhongan Zhilian Future Co Ltd
Priority to CN201910262044.4A priority Critical patent/CN109981435B/en
Publication of CN109981435A publication Critical patent/CN109981435A/en
Application granted granted Critical
Publication of CN109981435B publication Critical patent/CN109981435B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40052High-speed IEEE 1394 serial bus
    • H04L12/40097Interconnection with other networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40228Modbus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2212/00Encapsulation of packets

Abstract

Provided by the invention to turn MQTT gateway based on CAN-ModBus, CAN interface receives or sends the data of external equipment by CAN bus, and completes the conversion between CAN protocol format and ModBus protocol format.ModBus protocol element completes the conversion between ModBus protocol format and MQTT protocol format, and receives or sends data and give MQTT proxy server.The gateway combines CAN bus and the advantage of MQTT, meets real time communication requirement.The collision problem of bus data when CAN bus can be effectively treated multinode while communicate, MQTT is by subscribing to and the mechanism that gives out information, even if can be realized the communication of data, and management side is just in the middle part of across a network environment.

Description

Turn MQTT gateway and communication system based on CAN-ModBus
Technical field
The invention belongs to the technical fields such as industry automatic control, building intelligent control, and in particular to be based on CAN-ModBus Turn MQTT gateway and communication system.
Background technique
In modern industrial engineering, computer increasingly plays a significant role in control field, the various instrument in Industry Control Device, instrument and microsystem etc. both provide the communication protocol with computer, so that the design for computer control system provides It greatly facilitates.
Modbus is a kind of serial communication protocol.Modbus agreement has become the industry mark of industrial circle communication protocol Common connection type between standard and industrial electrical equipment.Modbus because its publish and no copyright require, be easy to portion Administration and maintenance, modification mobile local bit or byte are wider than what other communication protocols used without much advantages such as limitation It is general.
But it for the ModBus agreement based on fieldbus RS485, will cause in bus when multinode communicates simultaneously Data collision.Although ModBus_TCP/IP agreement can be realized ethernet communication, its single communication pattern is made it difficult to Extended deployment in the environment of across a network.
Summary of the invention
For the defects in the prior art, the present invention provides one kind and turns MQTT gateway based on CAN-ModBus and communicate system System, the collision problem of bus data when multinode can be effectively treated while communicating.
In a first aspect, a kind of turn MQTT gateway based on CAN-ModBus, comprising:
Multiple CAN interfaces: being used to connect with external devices, and is received by CAN bus from external equipment, with CAN protocol The data of format encapsulation, and convert this data to the ModBus pending data of ModBus protocol format encapsulation;It is also used to ModBus encapsulation of data is converted to the data of CAN protocol format encapsulation, and is sent to external equipment;
ModBus protocol element: for being parsed to the ModBus pending data, and according to MQTT protocol format Data after Resealing parsing, to obtain MQTT encapsulation of data, and send out the MQTT encapsulation of data as MQTT client Give MQTT proxy server;Be also used to as MQTT client subscription from MQTT proxy server, with MQTT agreement lattice The MQTT pending data of formula encapsulation, parses the MQTT pending data, and again according to ModBus protocol format Data after encapsulation parsing, to obtain ModBus encapsulation of data, and are sent to CAN interface for the ModBus encapsulation of data.
Preferably, the ModBus protocol element is specifically used for:
ModBus protocol element parses the ModBus pending data or MQTT pending data, obtains outside The data that device address, register address and register memory store up.
Preferably, the ModBus protocol element passes through news release mechanism or message subscribing machine as MQTT client System is communicated with the MQTT proxy server.
Preferably, the CAN interface is specifically used for:
A unidirectional loop chained list is created, the node space size of unidirectional loop chained list is 8 bytes;
When receiving multiple data packets by CAN bus, rising in data packet is judged according to the ID that CAN protocol extends frame Begin packet, tundish and cut-off packet, and the data packet received is sequentially placed into order in the node of unidirectional loop chained list;
The data in the node of unidirectional loop chained list are read, are parsed according to ModBus protocol format, are obtained described ModBus pending data.
Preferably, the CAN interface is specifically used for:
When receiving the ModBus encapsulation of data comprising modification register data, again by register modification data CAN protocol format is encapsulated, is stored in the node of the unidirectional loop chained list, external equipment is sent to by CAN bus.
Preferably, the ModBus protocol element is specifically used for:
ModBus protocol element parses the ModBus pending data, obtains register address;
By the data conversion stored in register address and the register address at character string, using " " number as decollator Spliced, is divided between the data stored in each register address with comma, obtain the MQTT encapsulation of data;
The MQTT encapsulation of data is sent to MQTT proxy server by news release mechanism.
Preferably,
The ModBus protocol element is specifically used for:
The MQTT pending data is received by message subscribing mechanism;
Parse the message subject title in the MQTT pending data, obtain external device address, register address and Register number;
In data after parsing, the same register address and corresponding data are packaged into a ModBus agreement Packet, to obtain the ModBus encapsulation of data.
Second aspect, a kind of communication system, comprising:
CAN-ModBus is based on described in N number of external equipment, N number of mobile terminal, MQTT proxy server and claim 2 Turn MQTT gateway;
Wherein, turn MQTT gateway based on CAN-ModBus to connect by CAN interface with the external equipment;
MQTT proxy server receives the data of the mobile terminal by news release mechanism;Turned based on CAN-ModBus MQTT gateway receives the data of the MQTT proxy server by message subscribing mechanism;
Mobile terminal receives the data of MQTT proxy server by message subscribing mechanism, and MQTT proxy server is by disappearing Breath issue mechanism receives the data for turning MQTT gateway based on CAN-ModBus.
As shown from the above technical solution, provided by the invention that MQTT gateway and communication system are turned based on CAN-ModBus, it ties CAN bus and the advantage of MQTT have been closed, real time communication requirement is met.When CAN bus can be effectively treated multinode while communicate The collision problem of bus data, MQTT by subscribe to and the mechanism that gives out information, even if can be realized data communication, and across Network environment middle part management side is just.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art are briefly described.In all the appended drawings, similar element Or part is generally identified by similar appended drawing reference.In attached drawing, each element or part might not be drawn according to actual ratio.
Fig. 1 is the structural schematic diagram of the gateway provided in embodiment one.
Fig. 2 is the schematic diagram of CAN protocol format and the conversion of ModBus protocol format in embodiment one.
Fig. 3 is the schematic diagram that ModBus protocol format is converted to MQTT protocol format in embodiment three.
Fig. 4 is the schematic diagram that MQTT protocol format is converted to ModBus protocol format in embodiment three.
Fig. 5 is the module diagram of communications protocol in example IV.
Specific embodiment
It is described in detail below in conjunction with embodiment of the attached drawing to technical solution of the present invention.Following embodiment is only used for Clearly illustrate technical solution of the present invention, therefore be only used as example, and cannot be used as a limitation and limit protection model of the invention It encloses.It should be noted that unless otherwise indicated, technical term or scientific term used in this application are should be belonging to the present invention The ordinary meaning that field technical staff is understood.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded Body, step, operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this description of the invention merely for the sake of description specific embodiment And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
Embodiment one:
One kind turning MQTT gateway based on CAN-ModBus, referring to Fig. 1, comprising:
Multiple CAN interfaces: being used to connect with external devices, and is received by CAN bus from external equipment, with CAN protocol The data of format encapsulation, and convert this data to the ModBus pending data of ModBus protocol format encapsulation;It is also used to ModBus encapsulation of data is converted to the data of CAN protocol format encapsulation, and is sent to external equipment;
Specifically, referring to fig. 2, CAN interface completes the conversion between CAN protocol format and ModBus protocol format.It can be with Two CAN interfaces, such as CAN1 and CAN2 shown in Fig. 1 are set.Host end of the gateway as ModBus agreement, external equipment As the end slave of ModBus agreement, peripheral hardware is referred to as in external equipment attached drawing.The external equipment can be support CAN- The equipment of ModBus agreement, such as can be the hardware devices such as PLC, controller or the sensor for supporting CAN-ModBus agreement.
ModBus protocol element: for being parsed to the ModBus pending data, and according to MQTT protocol format Data after Resealing parsing, to obtain MQTT encapsulation of data, and send out the MQTT encapsulation of data as MQTT client Give MQTT proxy server;Be also used to as MQTT client subscription from MQTT proxy server, with MQTT agreement lattice The MQTT pending data of formula encapsulation, parses the MQTT pending data, and again according to ModBus protocol format Data after encapsulation parsing, to obtain ModBus encapsulation of data, and are sent to CAN interface for the ModBus encapsulation of data.
Specifically, ModBus protocol element parses the ModBus pending data or MQTT pending data, Obtain external device address, register address and data.Wherein data are the data of respective stored in register address.
The gateway can be set to a embedded hardware equipment based on ARM.The gateway can also connect to RJ45 is externally provided with Mouthful.Host end of the gateway as ModBus agreement actively sends read data request to the end slave of ModBus agreement or writes data Request.Slave end of the external equipment as ModBus agreement, the request of the read-write data at the end response host.
Preferably, the ModBus protocol element is as MQTT client, by news release/subscribing mechanism with it is described MQTT proxy server is communicated.
Such as: when gateway, which receives external equipment by CAN bus, sends over data, convert this data to After the data of ModBus protocol format encapsulation, external device address, register address and data are parsed, are then assisted according to MQTT View format Reseals data.Gateway sends data to MQTT proxy server by news release mechanism.It operates in this way The MQTT client of mobile terminal can obtain the register of external equipment by message subscribing mechanism from MQTT proxy server Location and data.
When user wants to modify external device data by some MQTT client of mobile terminal, need according to MQTT Address, register address and the data of format package outside equipment send data to MQTT generation by the mechanism of news release Server is managed, gateway can get data content by the mechanism of message subscribing at this time, the external device address that parses, deposit Behind device address and data, it is packaged into Modbus format again, external equipment is sent to by CAN bus.
The gateway combines CAN bus and the advantage of MQTT, meets real time communication requirement.CAN bus can be effectively treated The collision problem of bus data when multinode communicates simultaneously, MQTT can be realized data by subscription and the mechanism that gives out information Even if communication, and management side is just in the middle part of across a network environment.
Embodiment two:
Embodiment two on the basis of example 1, increases following difference:
Since the valid data that CAN protocol can once be transmitted are up to 8 bytes, gateway passes through CAN bus transmitting-receiving one The length of secondary valid data no more than 8 bytes, and ModBus agreement to data length there is no limit.Thus generate agreement Between length it is not reciprocity.
For this purpose, the CAN interface is specifically used in the gateway:
A unidirectional loop chained list is created, the node space size of unidirectional loop chained list is 8 bytes;
Specifically, the number of nodes in unidirectional loop chained list is configurable, and quantitative range is 1 to 10, default amount 1.Section Space of points size is 8 bytes, so that each node just stores the longest valid data that CAN protocol can once be transmitted.
When receiving multiple data packets by CAN bus, rising in data packet is judged according to the ID that CAN protocol extends frame Begin packet, tundish and cut-off packet, and the data packet received is sequentially placed into order in the node of unidirectional loop chained list;
The data in the node of unidirectional loop chained list are read, are parsed according to ModBus protocol format, are obtained described ModBus pending data.
Specifically, external to set if gateway is wanted continuously to read the data of multiple registers by ModBus request The data of standby response can be divided into multiple data packets and be sent to gateway by CAN bus, and gateway is sentenced according to the ID that CAN protocol extends frame Each data packet of breaking belongs to starting packet, and tundish is also off packet.The bit0-bit7 extended in frame ID is packet serial number, since 0 It is incremented by, 0XFF indicates cut-off packet.Gateway is in order sequentially placed into the data packet received in the node of unidirectional loop chained list.When When gateway reads data, data are extracted from the node in unidirectional loop chained list, are parsed according to ModBus protocol format each The data of register.
Preferably, the CAN interface is specifically used for:
When receiving the ModBus encapsulation of data comprising modification register data, again by register modification data CAN protocol format is encapsulated, is stored in the node of the unidirectional loop chained list, external equipment is sent to by CAN bus.
Specifically, if gateway is needed by ModBus protocol modification external equipment when the data of multiple registers, Each register and corresponding data need to be packaged into CAN protocol format, are put into circular linked list, sent out respectively by CAN interface Give external equipment.
Method provided by the embodiment of the present invention, to briefly describe, embodiment part does not refer to place, can refer to aforementioned side Corresponding contents in method embodiment.
Embodiment three:
Embodiment three increases the following contents on the basis of other embodiments:
Referring to Fig. 3, the ModBus protocol element is specifically used for:
ModBus protocol element parses the ModBus pending data, obtains register address;
By the data conversion stored in register address and the register address at character string, using " " number as decollator Spliced, is divided between the data stored in each register address with comma, obtain the MQTT encapsulation of data;
The MQTT encapsulation of data is sent to MQTT proxy server by news release mechanism.
Specifically, gateway need to save the register address of its wanted request data, then exist as the end ModBus host After parsing the register data received, by register address and corresponding data conversion at character string, using " & " numbers as points Symbol is cut, is spliced together.Such as " 512&10 ", indicate that the data content for the register that address is 512 is 10.Continuous multiple registers Data between divided with comma, such as " 512&10,518&30,520&19 " indicate that register address is 512,518 and 520 Data content is respectively 10,30 and 19.After the completion of string-concatenation, it is put into the data field of MQTT agreement, is then sent out by message Cloth mechanism sends data to MQTT proxy server.
Referring to fig. 4, the ModBus protocol element is specifically used for:
The MQTT pending data is received by message subscribing mechanism;
Parse the message subject title in the MQTT pending data, obtain external device address, register address and Register number;
In data after parsing, the same register address and corresponding data are packaged into a ModBus agreement Packet, to obtain the ModBus encapsulation of data.
Specifically, after gateway subscribes to message, i.e., after reception MQTT pending data, judge message subject title, message Subject name includes external device address, register address and register number.When the register count that message subject title includes When measuring consistent with real data number that the theme message includes is subscribed to, it can parse and be stored in register and register Data.
For example message subject name definition is " A1R512N3 ", wherein " A1 " indicates that peripheral hardware address is 1, " R512 " expression is posted Storage initial address is 512, and " N3 " indicates that register number is 3.If subscribe to the theme data be " 123,456, 789 ", then it represents that the peripheral hardware that device address is 1, the data content of register address 512 are 123, the number that register address is 513 According to being 456, the data content that register address is 514 is 789.In this way, the gateway is deposited according to the data subscribed to one Device and corresponding data are packaged into a ModBus protocol package, and the length of each ModBus protocol package is 8 bytes.Still with For " A1R512N3 ", after the data of the theme are subscribed to by MQTT message mechanism, 3 ModBus protocol packages are packaged into, so External equipment is sent respectively to by CAN interface afterwards.
Method provided by the embodiment of the present invention, to briefly describe, embodiment part does not refer to place, can refer to aforementioned side Corresponding contents in method embodiment.
Example IV:
A kind of communication system, referring to Fig. 5, comprising:
N number of external equipment, N number of mobile terminal, MQTT proxy server and the above-mentioned CAN-ModBus that is based on turn MQTT net It closes;
Wherein, turn MQTT gateway based on CAN-ModBus to connect by CAN interface with the external equipment;
MQTT proxy server receives the data of the mobile terminal by news release mechanism;Turned based on CAN-ModBus MQTT gateway receives the data of the MQTT proxy server by message subscribing mechanism;
Mobile terminal receives the data of MQTT proxy server by message subscribing mechanism, and MQTT proxy server is by disappearing Breath issue mechanism receives the data for turning MQTT gateway based on CAN-ModBus.
The system combines CAN bus and the advantage of MQTT, meets real time communication requirement.CAN bus can be effectively treated The collision problem of bus data when multinode communicates simultaneously, MQTT can be realized data by subscription and the mechanism that gives out information Even if communication, and management side is just in the middle part of across a network environment.
System provided by the embodiment of the present invention, to briefly describe, embodiment part does not refer to place, can refer to aforementioned side Corresponding contents in method embodiment.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme should all cover within the scope of the claims and the description of the invention.

Claims (8)

1. one kind turns MQTT gateway based on CAN-ModBus characterized by comprising
Multiple CAN interfaces: being used to connect with external devices, and is received by CAN bus from external equipment, with CAN protocol format The data of encapsulation, and convert this data to the ModBus pending data of ModBus protocol format encapsulation;Being also used to will ModBus encapsulation of data is converted to the data of CAN protocol format encapsulation, and is sent to external equipment;
ModBus protocol element: for being parsed to the ModBus pending data, and again according to MQTT protocol format The MQTT encapsulation of data, to obtain MQTT encapsulation of data, and is sent to by the data after encapsulation parsing as MQTT client MQTT proxy server;Be also used to as MQTT client subscription from MQTT proxy server, with MQTT protocol format envelope The MQTT pending data of dress parses the MQTT pending data, and Reseals according to ModBus protocol format The ModBus encapsulation of data to obtain ModBus encapsulation of data, and is sent to CAN interface by the data after parsing.
2. turning MQTT gateway based on CAN-ModBus according to claim 1, which is characterized in that the ModBus protocol element It is specifically used for:
ModBus protocol element parses the ModBus pending data or MQTT pending data, obtains external equipment The data that address, register address and register memory store up.
3. turning MQTT gateway based on CAN-ModBus according to claim 2, which is characterized in that
The ModBus protocol element passes through news release mechanism or message subscribing mechanism and the MQTT as MQTT client Proxy server is communicated.
4. any in -3 according to claim 1 described turn MQTT gateway based on CAN-ModBus, which is characterized in that the CAN connects Mouth is specifically used for:
A unidirectional loop chained list is created, the node space size of unidirectional loop chained list is 8 bytes;
When receiving multiple data packets by CAN bus, the starting in data packet is judged according to the ID that CAN protocol extends frame Packet, tundish and cut-off packet, and the data packet received is sequentially placed into order in the node of unidirectional loop chained list;
The data in the node of unidirectional loop chained list are read, is parsed according to ModBus protocol format, obtains the ModBus Pending data.
5. turning MQTT gateway based on CAN-ModBus according to claim 4, which is characterized in that
The CAN interface is specifically used for:
When receiving the ModBus encapsulation of data comprising modification register data, register modification data are Resealed CAN protocol format is stored in the node of the unidirectional loop chained list, is sent to external equipment by CAN bus.
6. turning MQTT gateway based on CAN-ModBus according to claim 3, which is characterized in that the ModBus protocol element It is specifically used for:
ModBus protocol element parses the ModBus pending data, obtains register address;
By the data conversion stored in register address and the register address at character string, using " " number as decollator progress Splice, is divided between the data stored in each register address with comma, obtain the MQTT encapsulation of data;
The MQTT encapsulation of data is sent to MQTT proxy server by news release mechanism.
7. turning MQTT gateway based on CAN-ModBus according to claim 3, which is characterized in that
The ModBus protocol element is specifically used for:
The MQTT pending data is received by message subscribing mechanism;
The message subject title in the MQTT pending data is parsed, external device address, register address and deposit are obtained Device quantity;
In data after parsing, the same register address and corresponding data are packaged into a ModBus protocol package, with Obtain the ModBus encapsulation of data.
8. a kind of communication system characterized by comprising
Turned described in N number of external equipment, N number of mobile terminal, MQTT proxy server and claim 2 based on CAN-ModBus MQTT gateway;
Wherein, turn MQTT gateway based on CAN-ModBus to connect by CAN interface with the external equipment;
MQTT proxy server receives the data of the mobile terminal by news release mechanism;Turn MQTT based on CAN-ModBus Gateway receives the data of the MQTT proxy server by message subscribing mechanism;
Mobile terminal receives the data of MQTT proxy server by message subscribing mechanism, and MQTT proxy server is sent out by message Cloth mechanism receives the data for turning MQTT gateway based on CAN-ModBus.
CN201910262044.4A 2019-04-02 2019-04-02 Gateway and communication system based on CAN-ModBus to MQTT Active CN109981435B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910262044.4A CN109981435B (en) 2019-04-02 2019-04-02 Gateway and communication system based on CAN-ModBus to MQTT

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910262044.4A CN109981435B (en) 2019-04-02 2019-04-02 Gateway and communication system based on CAN-ModBus to MQTT

Publications (2)

Publication Number Publication Date
CN109981435A true CN109981435A (en) 2019-07-05
CN109981435B CN109981435B (en) 2021-09-28

Family

ID=67082560

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910262044.4A Active CN109981435B (en) 2019-04-02 2019-04-02 Gateway and communication system based on CAN-ModBus to MQTT

Country Status (1)

Country Link
CN (1) CN109981435B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110768882A (en) * 2019-11-07 2020-02-07 青岛合启立智能科技有限公司 Data monitoring method and system, monitoring equipment and vehicle
CN110808973A (en) * 2019-10-31 2020-02-18 国网河北省电力有限公司电力科学研究院 Fusion type message bus capable of being deployed across hosts
CN110855774A (en) * 2019-11-11 2020-02-28 卡乐电子(苏州)有限责任公司 Internet of things system capable of being automatically configured based on MQTT protocol
CN111092812A (en) * 2019-11-21 2020-05-01 广东技术师范大学 High-reliability gateway device based on MODBUS-Mqtt protocol
CN111601419A (en) * 2020-05-18 2020-08-28 上海浔朴网络科技有限公司 Be used for temple channel to watch intelligent lamp accuse system
CN111614719A (en) * 2020-04-13 2020-09-01 广州市山水生态环保建设有限公司 Remote automatic control system and rural domestic sewage integrated control system
CN111726419A (en) * 2020-06-29 2020-09-29 广东技术师范大学 Sludge dryer model system based on Internet of things
CN112187922A (en) * 2020-09-28 2021-01-05 特变电工南京智能电气有限公司 Intelligent Internet of things shutdown machine based on MQTT communication protocol
CN112769741A (en) * 2019-11-06 2021-05-07 中移物联网有限公司 Message communication method and electronic equipment
CN114679501A (en) * 2022-03-10 2022-06-28 慧之安信息技术股份有限公司 Cloud gateway implementation method and device for MODBUS-MQTT protocol

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882108A (en) * 2010-06-30 2010-11-10 三一重机有限公司 Embedded software automatic test system and method thereof
CN202385128U (en) * 2012-01-06 2012-08-15 珠海格力电器股份有限公司 Gateway and communication network
CN102857411A (en) * 2011-06-27 2013-01-02 Ls产电株式会社 Communication method of gateway device supporting mutual communication of CAN and Modbus and gateway device using the same
CN103200078A (en) * 2012-01-06 2013-07-10 珠海格力电器股份有限公司 Gateway, communication network and data processing method
CN104932472A (en) * 2015-06-10 2015-09-23 西南大学 Network online reconfigurable industrial security monitoring system
CN107479366A (en) * 2017-08-28 2017-12-15 李泽轩 A kind of method and system of dynamic analysis mapping autonomous control
CN108134698A (en) * 2017-12-21 2018-06-08 冶金自动化研究设计院 A kind of graphical configuration platform of industry multi-protocols gateway of internet of things
CN207529198U (en) * 2017-09-08 2018-06-22 深圳市智物联网络有限公司 A kind of water utilities intelligent monitor system based on Internet of Things
CN108322356A (en) * 2017-01-18 2018-07-24 重庆邮电大学 A kind of industrial network gateway compatibility test method based on MQTT
CN108681288A (en) * 2018-06-28 2018-10-19 上海电器科学研究所(集团)有限公司 A kind of novel maintenance system based on cloud platform
CN109040021A (en) * 2018-06-29 2018-12-18 中车大连电力牵引研发中心有限公司 Gateway and light rail information monitoring device
CN109150703A (en) * 2018-08-23 2019-01-04 北方工业大学 Intelligent cloud gateway for industrial Internet of things and communication method thereof
CN109144014A (en) * 2018-10-10 2019-01-04 北京交通大学 The detection system and method for industrial equipment operation conditions
CN208506549U (en) * 2018-06-28 2019-02-15 上海电器科学研究所(集团)有限公司 Novel maintenance system based on cloud platform

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882108A (en) * 2010-06-30 2010-11-10 三一重机有限公司 Embedded software automatic test system and method thereof
CN102857411A (en) * 2011-06-27 2013-01-02 Ls产电株式会社 Communication method of gateway device supporting mutual communication of CAN and Modbus and gateway device using the same
CN202385128U (en) * 2012-01-06 2012-08-15 珠海格力电器股份有限公司 Gateway and communication network
CN103200078A (en) * 2012-01-06 2013-07-10 珠海格力电器股份有限公司 Gateway, communication network and data processing method
CN104932472A (en) * 2015-06-10 2015-09-23 西南大学 Network online reconfigurable industrial security monitoring system
CN108322356A (en) * 2017-01-18 2018-07-24 重庆邮电大学 A kind of industrial network gateway compatibility test method based on MQTT
CN107479366A (en) * 2017-08-28 2017-12-15 李泽轩 A kind of method and system of dynamic analysis mapping autonomous control
CN207529198U (en) * 2017-09-08 2018-06-22 深圳市智物联网络有限公司 A kind of water utilities intelligent monitor system based on Internet of Things
CN108134698A (en) * 2017-12-21 2018-06-08 冶金自动化研究设计院 A kind of graphical configuration platform of industry multi-protocols gateway of internet of things
CN108681288A (en) * 2018-06-28 2018-10-19 上海电器科学研究所(集团)有限公司 A kind of novel maintenance system based on cloud platform
CN208506549U (en) * 2018-06-28 2019-02-15 上海电器科学研究所(集团)有限公司 Novel maintenance system based on cloud platform
CN109040021A (en) * 2018-06-29 2018-12-18 中车大连电力牵引研发中心有限公司 Gateway and light rail information monitoring device
CN109150703A (en) * 2018-08-23 2019-01-04 北方工业大学 Intelligent cloud gateway for industrial Internet of things and communication method thereof
CN109144014A (en) * 2018-10-10 2019-01-04 北京交通大学 The detection system and method for industrial equipment operation conditions

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110808973A (en) * 2019-10-31 2020-02-18 国网河北省电力有限公司电力科学研究院 Fusion type message bus capable of being deployed across hosts
CN112769741A (en) * 2019-11-06 2021-05-07 中移物联网有限公司 Message communication method and electronic equipment
CN110768882A (en) * 2019-11-07 2020-02-07 青岛合启立智能科技有限公司 Data monitoring method and system, monitoring equipment and vehicle
CN110768882B (en) * 2019-11-07 2022-07-12 青岛合启立智能科技有限公司 Data monitoring method and system, monitoring equipment and vehicle
CN110855774A (en) * 2019-11-11 2020-02-28 卡乐电子(苏州)有限责任公司 Internet of things system capable of being automatically configured based on MQTT protocol
CN111092812A (en) * 2019-11-21 2020-05-01 广东技术师范大学 High-reliability gateway device based on MODBUS-Mqtt protocol
CN111614719A (en) * 2020-04-13 2020-09-01 广州市山水生态环保建设有限公司 Remote automatic control system and rural domestic sewage integrated control system
CN111601419A (en) * 2020-05-18 2020-08-28 上海浔朴网络科技有限公司 Be used for temple channel to watch intelligent lamp accuse system
CN111726419A (en) * 2020-06-29 2020-09-29 广东技术师范大学 Sludge dryer model system based on Internet of things
CN111726419B (en) * 2020-06-29 2021-08-06 广东技术师范大学 Sludge dryer model system based on Internet of things
CN112187922A (en) * 2020-09-28 2021-01-05 特变电工南京智能电气有限公司 Intelligent Internet of things shutdown machine based on MQTT communication protocol
CN114679501A (en) * 2022-03-10 2022-06-28 慧之安信息技术股份有限公司 Cloud gateway implementation method and device for MODBUS-MQTT protocol
CN114679501B (en) * 2022-03-10 2023-01-10 慧之安信息技术股份有限公司 Cloud gateway implementation method and device for MODBUS-MQTT protocol

Also Published As

Publication number Publication date
CN109981435B (en) 2021-09-28

Similar Documents

Publication Publication Date Title
CN109981435A (en) Turn MQTT gateway and communication system based on CAN-ModBus
EP1816530B1 (en) Extending industrial control system communications capabilities
CN100370788C (en) Method for realizing data communication utilizing virtual network adapting card in network environment simulating
CN101702121B (en) Device for controlling network flow of program in Windows system
CN104660596B (en) Heterogeneous network protocol standard intelligence part, cloud monitoring management system and method
CN102638487B (en) Large-scale telemetric seismic instrument high-performance data transmission method
CN103595598A (en) Remote transparent transmission serial server based on fiber and control mode thereof
CN103326936A (en) Multi-protocol gateway of Internet of Things allowing unified access of various heterogeneous sensing layer networks
CN104486783A (en) Multi-state wireless gateway system for multi-state wireless monitoring network and control method
CN114338274B (en) Heterogeneous industrial field bus fusion method and system
CN102255800B (en) Method for converting data format between IP (Internet Protocol) data packages on CAN (Control Area Network) bus and CAN messages
CN114301995B (en) Conversion switching and intercommunication fusion system and method of real-time industrial Ethernet protocol
CN113296979B (en) Data communication method for unreal engine and external program
CN109120063B (en) Plug-and-play sensor monitoring method, system and acquisition unit thereof
Nieves et al. A UPnP service to control and manage IEEE 1451 transducers in control networks
CN205920334U (en) Control system suitable for industry communication conversion
CN106506306A (en) A kind of method and apparatus of data-message transmission
US9088610B2 (en) Method and apparatus for communications accelerator on CIP motion networks
CN114928660B (en) Method for communication between transparent processes of embedded operating system
US20210258264A1 (en) Interface apparatus between tsn-devices and non-tsn-devices
CN110099033A (en) A kind of slave computer framework and the hardware Query method in real time in CANFD bus data library
Kuang et al. A Modbus Protocol Stack Compatible with RTU/TCP Frames and Embedded Application
Zhao et al. Service-oriented IoT resources access and provisioning framework for IoT context-aware environment
CN103973794A (en) Access method based on markup language object in distributed network transmission process
hong-you et al. The Predigest Project of TCP/IP Protocol Communication System Based on DSP Technology and Ethernet

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
GR01 Patent grant
GR01 Patent grant