CN110049014A - A kind of OpenAPI converting system and method based on more Modbus bus protocols - Google Patents
A kind of OpenAPI converting system and method based on more Modbus bus protocols Download PDFInfo
- Publication number
- CN110049014A CN110049014A CN201910205344.9A CN201910205344A CN110049014A CN 110049014 A CN110049014 A CN 110049014A CN 201910205344 A CN201910205344 A CN 201910205344A CN 110049014 A CN110049014 A CN 110049014A
- Authority
- CN
- China
- Prior art keywords
- data
- module
- modbus
- openapi
- application system
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/40—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40208—Bus networks characterized by the use of a particular bus standard
- H04L2012/40228—Modbus
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a kind of OpenAPI converting system and method based on more Modbus bus protocols, using modules independent process mechanism, connection status is established with vendor equipment under a variety of bus type Modbus agreements by serial communication, TCP communication and data AM access module;The conversion of manufacturer data and upper layer application system data is realized by data conversion module, so that carrying out data conversion without exploitation again when third party system docks;Adaptation manufacturer's difference end memory module is encoded by user-defined dada type;By the connection status of Modbus protocol resolution module real-time monitoring and vendor equipment, connection can be re-established when there is connecting fault automatically;The present invention can support multiple Modbus TCP/IP bus apparatus and multiple Modbus serial bus equipments simultaneously, maximize and reduce or even avoid secondary development by configuring the unitized deployment of realization adaptation Modbus standard agreement work;And data acquisition uniformly reports, and keeps data consistency;By effectively filtering reported data, the pressure of upper layer application system data processing is reduced.
Description
Technical field
The invention belongs to INTELLIGENT BUILDING TECHNIQUE field, more particularly, to a kind of based on more Modbus bus protocols
OpenAPI converting system and method.
Background technique
Building intellectualization and Industry Control scene is controlled there is a large amount of equipment and data acquisition device, such as illumination control
Device processed, access controller, fire-fighting controller, intelligent electric meter collector, intellectual water meter collector, environment monitoring data acquisition device,
This kind of equipment generally all supports Modbus agreement.Modbus is as intelligent building and the communication protocol of industrial control field most mainstream
One of, there is standard, opening, be widely used, support the remarkable advantage of multiple types electric interfaces.
For Modbus equipment management, Control & data acquisition, the way of the prior art is each application system stand-alone development
Adaptation docking.Due to each system independent control and poll Modbus equipment, Modbus protocol devices operating load is increased, if
Standby collecting efficiency is low, and device data consistency in different application systems is very poor;Simultaneously again due to Modbus undefined data
Memory module, some producers are stored using big end, and some producers are stored using small end, increase the difficulty of adaptation.
And in terms of the Internet application of intelligent building field, since number of devices is more, bus type type is more, configuration pipe
It manages that cumbersome, equipment management is complicated, therefore the Modbus protocol adaptation development cycle is long, the exploitation effect of upper layer application will be substantially reduced
Rate increases development cost.
Summary of the invention
Extremely a little less in aiming at the above defects or improvement requirements of the prior art, the present invention provides one kind based on more
The OpenAPI converting system and method for Modbus bus protocol, it is therefore intended that reduce equipment operating load, improve equipment acquisition effect
Rate guarantees each system application data consistency, and provides interface to third party in the form of OpenAPI, reduce third party system and
The cost of bottom Modbus protocol devices docking.
To achieve the above object, according to one aspect of the present invention, it provides a kind of based on more Modbus bus protocols
OpenAPI converting system, including Modbus protocol resolution module, data type processing module, data access module, data conversion
Module, OpenAPI service module, Command Line Parsing module and configuration Prefabricated block;
Wherein, the first end of Modbus protocol resolution module is used as serial communication end, and second end is used as TCP communication end, the
Three ends connect data type processing module, and the 4th end connects the first end of data AM access module;The second end of data access module
The first end of OpenAPI service module is connected, third end connects data conversion module;The second end of OpenAPI service module connects
The second end of Command Line Parsing module is connect, the first end of Command Line Parsing module is connect with one end of configuration Prefabricated block;OpenAPI clothes
The third end of business module is for connecting one or more upper layer application systems;
Prefabricated block is configured to be used for according to the configuration of manufacturer's Modbus server, the configuration of manufacturer's Modbus data type, manufacturer
The configuration of Modbus server count strong point, manufacturer's numerical value and application system numerical value conversion configure, Modbus sample frequency configures,
Modbus data report precision configuration to generate respective profiles;
Command Line Parsing module will parse resulting configuration information instantiation to object knot for loading and parsing configuration file
In structure variable;
OpenAPI service module is used for the configuration information that cached configuration parsing module is obtained from configuration file, and will match
Confidence breath is handed down to data access module;It is also used to receive the data subscription of upper layer application system, data access module is pushed
Subscription message feedback give upper layer application system;It is also used to receive the equipment control command of upper layer application system, and control is ordered
Order is handed down to data access module;In a preferred embodiment, OpenAPI service module and upper layer application system are assisted based on HTTP
View, JSON data format or the communication of UTF8 coding mode;
Data access module is used to receive the configuration information that OpenAPI service module issues, and in Modbus protocol analysis
Serial communication is established with outside firm equipment under the control of module to connect and TCP communication connection;It receives under OpenAPI service module
Device attribute setting value is converted to the device attribute value of manufacturer data format by data conversion module by the control command of hair,
And it is handed down to Modbus protocol resolution module;Data access module is also used to receive the manufacturer of Modbus protocol resolution module feedback
Data are sent to data conversion module and are converted into application system data, and application system data feedback is serviced mould to OpenAPI
Block;
Modbus protocol resolution module is established or is disconnected with vendor equipment for controlling data access module;And it is used for
The Modbus address code of device attribute is extracted from the vendor equipment data of data access module transfer, register type, is posted
Storage initial address, data type are encoded and are parsed;Equipment feedback data is obtained to be parsed, the data after parsing are anti-
It feeds data access module;
Data type processing module is used for the Modbus data point to the received device data of Modbus protocol resolution module
It is configured, including Modbus identification code, register type, register initial address, data type is configured;Into one
In the preferred embodiment of step, the configuration to data type includes data type coding, typonym, big little endian mode, data type
Description;
Data conversion module is converted for realizing the format between upper layer application system data and device manufacturer's data;It will lead to
The vendor equipment data for crossing the acquisition of data access module be converted to upper layer application system data and by data access module and
OpenAPI service module is reported to upper layer application system.
Preferably, above-mentioned OpenAPI converting system, the configuration of manufacturer's Modbus server include ModBus server name
Claim, server connection configuration;Server connection configuration include Modbus TCP/IP server ip address, port address or
ModBus RTU/ASCII server serial port, baud rate, even-odd check, data bit, stop position;
The configuration of manufacturer's Modbus server count strong point includes data point title, affiliated ModBus server name, register
Type, data type coding, conversion formula coding, frequency acquisition coding, reports precision encoding at register initial address;Manufacturer
Modbus data type configures code table, manufacturer's numerical value and application system numerical value conversion and configures code table, Modbus data acquiring frequency
Code table, Modbus data report precision code table, manufacturer's Modbus server count strong point allocation list;
When Modbus server is Modbus TCP/IP server, Modbus identification code is expressed as MBAP heading list
First identifier, when Modbus server is Modbus RTU/ASCII server, Modbus identification code is with being expressed as child node
Location;
Data type encodes for realizing the conversion between different types of data;Conversion formula coding includes that multiple data turn
Coding is changed, different data conversion codings represents different conversion formulas;According to conversion formula realize vendor equipment numerical value with it is upper
The conversion of layer application system data format.
Preferably, above-mentioned OpenAPI converting system further includes the subscription connecting with the 4th end of OpenAPI service module
Management module;
Subscription management module is managed for realizing to upper layer application system subscription variable and subscription URL;OpenAPI clothes
After module of being engaged in receives the data-pushing of data access module, by data-pushing to subscription management module, subscription management module feedback
The upper layer application system for needing to send subscribes to URL information and gives OpenAPI service module.
Preferably, above-mentioned OpenAPI converting system further includes the timesharing number connecting with the 4th end of data access module
According to acquisition module;
Time data acquisition module carries out time-sharing polling acquisition for realizing to Modbus number of devices strong point attribute, according to matching
The frequency acquisition set, under the control logic of timer, transmitting acquisition gives data access module.
Preferably, above-mentioned OpenAPI converting system further includes TCP communication module, serial communication modular;
Wherein, the first end of TCP communication module is used to connect the Modbus TCP/IP server of outside firm equipment, the
Two ends are connected with the serial communication interface end of Modbus protocol resolution module;The first end of serial communication modular is for connecting outside
The Modbus RTU server of manufacturer, second end are connected with the TCP communication interface of Modbus protocol resolution module;
TCP communication module is connect for establishing TCP Client with multi-vendor Modbus TCP/IP server;It receives
The director data that Modbus protocol resolution module issues, and find established TCP Client connection and be transmitted to director data
Corresponding Modbus TCP/IP server;It receives the data that vendor server is sent and is transmitted to Modbus protocol resolution module;
Auto-reconnect after supporting TCP connection abnormal interrupt;
Serial communication modular is connect for establishing serial communication with multi-vendor Modbus RTU/ASCII server;It receives
The director data that Modbus protocol resolution module issues, and find established serial communication connection and director data is transmitted to phase
The serial server answered;It receives the data that vendor server is sent and is transmitted to Modbus protocol resolution module;Support that serial ports is logical
Auto-reconnect after letter connection abnormal interrupt.
Preferably, above-mentioned OpenAPI converting system, when needing to manipulate vendor equipment, OpenAPI services mould
Block receives manipulation command, name variable and the attribute value to be placed of upper layer application system, and passes to data access module;
Data access module setting command based on the received, and attribute value to be placed is sent to data conversion module;Data conversion
Device attribute value to be placed is converted to the device attribute value of manufacturer data format by module, and is fed back to data access mould
Block;Data access module inquires data point configuration information according to name variable, by the data point configuration information inquired and wait set
The manufacturer's numerical value set passes to Modbus protocol resolution module;Modbus protocol resolution module is to received data point configuration information
It is parsed with numerical value and finds corresponding vendor equipment, the device attribute value after format is converted is written to corresponding manufacturer and sets
In standby;In further preferred embodiment, data point configuration information includes connection configuration information, the Modbus of Modbus server
Address code, register type, register initial address, data type coding.
Purpose to realize the present invention, other side according to the invention provide a kind of based on more Modbus buses association
The OpenAPI conversion method of view, comprising the following steps:
S101: creation vendor equipment Modbus protocol interface, serial communication interface, TCP communication interface;
S102: loading configuration file parses configuration information, initializes vendor equipment, establishes and communicates to connect with vendor equipment;
S103: extracting Modbus address code, register type, register initial address according to data point configuration information, right
Modbus equipment issues acquisition instructions;
S104: vendor equipment feedback data is obtained, data type coding is parsed, vendor equipment data attribute is obtained
Value;
S105: the attribute value of the vendor equipment data of setting is converted by upper layer according to predefined conversion formula coding and is answered
With the device attribute value of system, and it is reported to the upper layer application system subscribed to.
Preferably, above-mentioned OpenAPI conversion method further includes the method being configured to vendor equipment attribute value, specifically
The following steps are included:
S201: manipulation command, name variable and the attribute value to be placed of upper layer application system are obtained;
S202: according to the name variable in manipulation command, the data point configuration of the correspondence Modbus equipment in module is obtained
Information;
S203: connection configuration information, the Modbus address code, register of Modbus server are extracted from configuration information
Type, register initial address, data type coding, conversion formula coding;
S204: parsing conversion formula coding, and the equipment that device attribute value to be placed is converted into manufacturer data format
Attribute value;
S205: parsing data point information simultaneously finds corresponding vendor equipment, the device attribute value write-in after format is converted
Into corresponding vendor equipment.
Preferably, above-mentioned OpenAPI conversion method further includes that time data acquisition method, tool are carried out to Modbus equipment
Body the following steps are included:
S301: Modbus data acquiring frequency configuration information in module is obtained;
S302: obtaining Modbus number of devices strong point configuration information in module, extracts sample frequency coding, by different sampling frequencies
The data point of rate coding is clustered;
S303: different sample frequency codings are parsed, the sampling interval is obtained;According to number of clusters, start determining for corresponding number
When device, timer interval is the corresponding sampling interval of classifying;
S304: waiting timer task;
S305: all data point configuration informations in the timer are extracted in timer, and extract Modbus server
Configuration information, Modbus address code, register type, register initial address are connected, acquisition instructions are issued to Modbus equipment;
S306: vendor equipment feedback data is obtained, data type coding is parsed, vendor equipment data attribute is obtained
Value;
S307: it is encoded according to customized conversion formula and the attribute value of vendor equipment data is converted into upper layer application system
Device attribute value, and be reported to the upper layer application system subscribed to.
Preferably, above-mentioned OpenAPI conversion method further includes upper layer application system data subscription management method, specific to wrap
Include following steps:
S401: receive upper layer application system data and subscribe to: data point title and data report URL;
S402: judging whether data point has subscribed to, and if yes enters step S403, otherwise enters step S404;
S403: more new data point data report URL;
S404: newly-increased subscription data cached title of data point, it is data cached to report URL;
S405: it is false that setting data point, which has reported mark, and enters step S401.
Preferably, above-mentioned OpenAPI conversion method further includes the data receiver based on subscription management and the data side of reporting
Method, specifically includes the following steps:
S501: the data point of OpenAPI service module push is received;
S502: judging whether data point has subscribed to, and if yes enters step S503, otherwise enters step S501;
S503: judge that data point has reported whether mark is false, if yes enters step S505, otherwise enters step
S504;
S504: comparison is data cached to be judged whether numerical value change meets and reports, and is if yes entered step S505, is otherwise entered
Step S501;
S505: being reported to the upper layer application system of subscription, updates data cached reported data, and setting data point has reported
Mark is true, and enters step S501.
In general, through the invention it is contemplated above technical scheme is compared with the prior art, can obtain down and show
Beneficial effect:
(1) the OpenAPI converting system and method provided by the invention based on more Modbus bus protocols, using each mould
Block independent process mechanism is realized by serial communication modular, TCP communication module and data AM access module in a variety of bus types
Connection status is established with vendor equipment under Modbus agreement;Manufacturer data and upper layer application system are realized by data conversion module
The effective conversion for data of uniting, data conversion formula can customize as operation class or enumerate class, and third party system no longer needs to when docking
Secondary exploitation carries out data conversion;Manufacturer's difference end memory module can be adapted to by user-defined dada type coding;Pass through Modbus
The connection status of protocol resolution module real-time monitoring and vendor equipment can re-establish connection automatically when there is connecting fault;This
Invention can realize that adaptation Modbus standard agreement makees unitized deployment by configuring, and can support multiple Modbus simultaneously
TCP/IP bus apparatus and multiple Modbus serial bus equipments, maximizing, which is reduced, even avoids secondary development;
(2) the OpenAPI converting system and method provided by the invention based on more Modbus bus protocols, preferred embodiment
By acquisition time Modbus device data, to reduce equipment operating load, improve equipment collecting efficiency;Device attribute is uniformly adopted
Collection, uniformly reports, maintains the consistency of each upper layer application system data;Interface is provided to third party in the form of OpenAPI, is subtracted
The cost that few third party system is docked with bottom Modbus protocol devices, improves upper-level system development efficiency;
(3) the OpenAPI converting system and method provided by the invention based on more Modbus bus protocols, preferred embodiment
It can be effectively filtered the data of upper layer application system concern by subscription management;By reporting precision to manage, can effectively subtract
The pressure of few upper layer application system data processing.
Detailed description of the invention
Fig. 1 is that the structure of the OpenAPI converting system provided in an embodiment of the present invention based on more Modbus bus protocols is shown
It is intended to.
Fig. 2 is the flow diagram that the method for vendor equipment is connected in the embodiment of the present invention.
Fig. 3 is the flow diagram for the method being configured in the embodiment of the present invention to device attribute value.
Fig. 4 is in the embodiment of the present invention to the flow diagram of equipment time data acquisition method.
Fig. 5 is the flow diagram of application system data subscription management method at the middle and upper levels of the embodiment of the present invention.
Fig. 6 is the flow diagram of the data receiver and data reporting method in the embodiment of the present invention based on subscription management.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.As long as in addition, technical characteristic involved in the various embodiments of the present invention described below
Not constituting a conflict with each other can be combined with each other.
It referring to Fig.1, is the function of the OpenAPI converting system provided in an embodiment of the present invention based on more Modbus bus protocols
It can block diagram.The OpenAPI converting system based on more Modbus bus protocols that embodiment provides, including TCP communication module, serial ports
Communication module, Modbus protocol resolution module, data conversion module, data access module, OpenAPI service module, data class
Type processing module, configuration Prefabricated block, Command Line Parsing module;In a preferred embodiment further include time data acquisition module, order
Read management module.
The first end of serial communication modular for connecting one or more manufacturer Modbus RTU servers, second end with
The first end of Modbus protocol resolution module connects;Wherein the first end of TCP communication module is for connecting one or more manufacturers
Modbus TCP/IP server, second end are connect with the second end of Modbus protocol resolution module;Modbus protocol resolution module
Third end connect data type processing module;
One end of configuration Prefabricated block is connect with the first end of Command Line Parsing module, the second end connection of Command Line Parsing module
The second end of OpenAPI service module, the third end of OpenAPI service module is for connecting one or more upper layer application systems
System, OpenAPI service module first end connection data AM access module second end, the 4th end of OpenAPI service module with
Subscription management module connection;Data access module first end connection Modbus protocol resolution module the 4th end, third end with
Data conversion module connection, the 4th end is connect with time data acquisition module.
Wherein, TCP communication module is connect for establishing TCP Client with multi-vendor Modbus TCP/IP server, is received
The director data that Modbus protocol resolution module issues, and find established TCP Client connection and carry out director data forwarding
To corresponding Modbus TCP/IP server;The data that vendor server is sent are received, and are transmitted to Modbus protocol analysis mould
Block;Auto-reconnect after supporting TCP connection abnormal interrupt.
Serial communication modular is connect for establishing serial communication with multi-vendor Modbus RTU/ASCII server;It receives
The director data that Modbus protocol resolution module issues, and find established serial communication connection progress director data and be transmitted to
Corresponding serial server;The data that vendor server is sent are received, and are transmitted to Modbus protocol resolution module;Support serial ports
Auto-reconnect after communicating to connect abnormal interrupt.
Prefabricated block is configured according to the configuration of manufacturer's Modbus server, the configuration of manufacturer's Modbus data type, manufacturer
The configuration of Modbus server count strong point, manufacturer's numerical value and application system numerical value conversion configure, Modbus sample frequency configures,
Modbus data report precision configuration, the configuration of manufacturer's Modbus server count strong point to generate respective profiles.Command Line Parsing mould
Block parses configuration file for loading prefabricated configuration file, will parse resulting configuration information instantiation to object structure
In variable.
OpenAPI service module is used for cached configuration parsing module and obtains relevant configuration information from configuration file, and will
Configuration information is handed down to data access module;The data subscription of multiple upper layer application systems is received, and subscription information is sent to
Subscription management module;The equipment control command of multiple upper layer application systems is received, and control command is handed down to data access mould
Block;The data-pushing of data access module is received, and under the control of subscription management module, data are reported to ordered by the data
The upper layer application system read;In embodiment, OpenAPI service module and upper layer application system are based on http protocol, JSON data
Format or UTF8 coding mode.
Data access module receives the configuration information that OpenAPI service module issues, and in Modbus protocol resolution module
Control under with vendor equipment establish serial communication connect and TCP communication connect;Receive the control life of OpenAPI service module
It enables, by data conversion module change data, and is handed down to Modbus protocol resolution module;Based on Modbus data acquiring frequency
Configuration information carries out time data acquisition under the control of time data acquisition module;Receive adopting for time data acquisition module
Collection order, is converted into manufacturer data by data conversion module, and be handed down to Modbus protocol resolution module;Receive Modbus association
The manufacturer data for discussing parsing module feedback, is converted into application system data by data conversion module, and data feedback is given
OpenAPI service module.
Modbus protocol resolution module is established or is disconnected with vendor equipment for controlling data access module;And it is used for
The Modbus address code of device attribute is extracted from the vendor equipment data of data access module transfer, register type, is posted
Storage initial address, data type are encoded and are parsed;Equipment feedback data is obtained, and is parsed, by the number after parsing
According to feeding back to data access module.Data type encodes for realizing the conversion between different types of data;Numerical value conversion formula
Code table includes multiple data conversion codings, and different data conversion codings represents different conversion formulas;Conversion formula is to make by oneself
Justice supports operation and enumeration type;Arithmetic type is basic operation formula, and enumeration type is the value that can enumerate out and contains
Justice.The conversion of vendor equipment numerical value and upper layer application System Data Format is realized according to conversion formula.
Data type processing module is used for the Modbus data point to the received device data of Modbus protocol resolution module
It is configured, including Modbus identification code, register type, register initial address, data type are configured;To data class
The configuration of type includes data type coding, typonym, big little endian mode, data type description.Data conversion module is for real
Format conversion between existing upper layer application system data and device manufacturer's data;Vendor equipment number is obtained by data access module
According to being converted into upper layer application system data, and be reported to upper layer by data access module and OpenAPI service module and answer
Use system.
Time data acquisition module, which is realized, carries out time-sharing polling acquisition to Modbus number of devices strong point attribute, according to configuration
Frequency acquisition, under the control logic of timer, transmitting acquisition gives data access module.Subscription management module for realizing
Variable is subscribed to upper layer application system and subscribes to URL and is managed;The data of OpenAPI service module reception data access module
After push, by data-pushing to subscription management module, the upper layer application system that subscription management module feedback needs to send subscribes to URL
Information gives OpenAPI service module.
In one embodiment, the configuration of manufacturer Modbus server includes ModBus server name, and server connection is matched
It sets;Server connection configuration includes Modbus TCP/IP server ip address, port address or ModBus RTU/ASCII service
Device serial port, baud rate, even-odd check, data bit, stop position;
The configuration of manufacturer's Modbus server count strong point includes data point title, affiliated ModBus server name, register
Type, data type coding, conversion formula coding, frequency acquisition coding, reports precision encoding at register initial address;Manufacturer
Modbus data type configures code table, manufacturer's numerical value and application system numerical value conversion and configures code table, Modbus data acquiring frequency
Code table, Modbus data report precision code table, manufacturer's Modbus server count strong point allocation list;
When Modbus server is Modbus TCP/IP server, Modbus identification code is expressed as MBAP heading list
First identifier, when Modbus server is Modbus RTU/ASCII server, Modbus identification code is with being expressed as child node
Location;
Data type encodes for realizing the conversion between different types of data;Conversion formula coding includes that multiple data turn
Coding is changed, different data conversion codings represents different conversion formulas;Conversion formula be it is customized, support operation and enumerate class
Type;Arithmetic type is basic operation formula, and enumeration type is the value and meaning that can enumerate out;It is realized according to conversion formula
The conversion of vendor equipment numerical value and upper layer application System Data Format.
In one embodiment, as shown in table 1, manufacturer's Modbus data type configures such as the configuration of manufacturer Modbus server
Table 2, as shown in table 3, manufacturer's numerical value and application system numerical value conversion are configured such as 4 institute of table the configuration of manufacturer's Modbus server count strong point
Show, as shown in table 5, Modbus data report precision configuration as shown in table 6 to the configuration of Modbus sample frequency, manufacturer Modbus service
The configuration of device data point is as shown in table 7.
When needing to manipulate equipment, OpenAPI service module receives the manipulation command of upper layer application system, variable
Title and attribute value to be placed, and pass to data access module;Data access module setting command based on the received, and
Attribute value to be placed is sent to data conversion module;Device attribute value to be placed is converted to manufacturer by data conversion module
The device attribute value of data format, and it is fed back to data access module;Data access module inquires number according to name variable
Strong point configuration information, connection configuration information, Modbus address code, register type, register including Modbus server rise
Beginning address, data type coding;The data point configuration information inquired and manufacturer's numerical value to be placed are passed into Modbus association
Discuss parsing module;Modbus protocol resolution module is parsed and is found corresponding to received data point configuration information and numerical value
Vendor equipment, the device attribute value after format is converted are written in corresponding vendor equipment.
1 manufacturer's Modbus server configuration table of table
2 manufacturer's Modbus data type of table configures code table
3 manufacturer's Modbus server configuration table of table
ModBus server name | Server connection configuration | Modbus address code |
ModBus TCP/IP electric energy acquisition server | 10.100.25.59:502 | 250 |
ModBus TCP/IP water energy acquisition server | 10.100.25.60:502 | 251 |
ModBus TCP/IP access controller | 10.100.25.61:502 | 252 |
ModBus RTU Fire Alarm Controller | COM1:9600:N:8:1 | 1 |
ModBus RTU lighting system server | COM2:19200:N:8:1 | 2 |
ModBus RTU environment monitoring data acquisition server | COM3:6400:N:8:1 | 3 |
4 manufacturer's numerical value of table and application system numerical value conversion configure code table
5 Modbus data acquiring frequency code table of table
Frequency acquisition coding | Acquisition interval |
1 | 100 milliseconds |
2 | 1 second |
3 | 5 minutes |
4 | 30 minutes |
5 | 1 hour |
6 | 1 day |
6 Modbus data of table report precision code table
Report precision encoding | Report precision |
1 | 0 |
2 | 1 |
3 | 2 |
4 | 5 |
5 | 10 |
6 | 50 |
7 manufacturer's Modbus server count strong point allocation list of table
Referring to a kind of OpenAPI conversion method based on more Modbus bus protocols that Fig. 2, embodiment are provided, including with
Lower step:
S101: creation vendor equipment Modbus protocol interface, serial communication interface, TCP communication interface;S102: load is matched
Document analysis configuration information is set, vendor equipment is initialized, establishes and communicates to connect with vendor equipment;S103: it is configured according to data point
Information extraction Modbus address code, register type, register initial address issue acquisition instructions to Modbus equipment;S104:
Vendor equipment feedback data is obtained, data type coding is parsed, vendor equipment data attribute value is obtained;S105: according to
The attribute value of the vendor equipment data of setting is converted into the device attribute of upper layer application system by predefined conversion formula coding
Value, and it is reported to the upper layer application system subscribed to.
It is the flow chart for the method being configured in embodiment to device attribute value referring to Fig. 3;Include: step S201: obtaining
Take manipulation command, name variable and the attribute value to be placed of upper layer application system;Step S202: according in manipulation command
Name variable obtains the data point configuration information of the correspondence Modbus equipment in module;Step S203: it is extracted from configuration information
The connection configuration information of Modbus server, Modbus address code, register type, register initial address, data type out
Coding, conversion formula coding;Step S20: parsing conversion formula coding, and device attribute value to be placed is converted into manufacturer's number
According to the device attribute value of format;Step S205: parsing data point information simultaneously finds corresponding vendor equipment, after format is converted
Device attribute value is written in corresponding vendor equipment.
It is in embodiment to the flow chart of equipment time data acquisition method referring to Fig. 4;Step S301 is obtained in module
Modbus data acquiring frequency configuration information;Step S302 obtains Modbus number of devices strong point configuration information in module, and extraction is adopted
Sample frequency coding clusters the data point that different sample frequencys encode;Step S303: parsing different sample frequency codings,
Obtain the sampling interval;According to number of clusters, start the timer of corresponding number, timer interval is the corresponding sampling interval of classifying;
Step S304 waiting timer task;All data point configuration informations in the timer are extracted in step S305 timer, and are mentioned
Connection configuration information, the Modbus address code, register type, register initial address of Modbus server are taken out, it is right
Modbus equipment issues acquisition instructions;Step S306 obtains vendor equipment feedback data, parses, obtains to data type coding
To vendor equipment data attribute value;Step S307 is encoded according to customized conversion formula turns the attribute value of vendor equipment data
It changes the device attribute value of upper layer application system into, and is reported to the upper layer application system subscribed to.
It is the flow chart of embodiment application system data subscription management method at the middle and upper levels referring to Fig. 5;In step S401 reception
Layer application system data subscription: data point title and data report URL;Step S402 judges whether data point has subscribed to, if
It is to enter step S403, otherwise enters step S404;Step S403 more new data point data report URL;Step S404 is newly revised and enlarged
Data cached title of data point is read, it is data cached to report URL;It is false that step S405 setting data point, which has reported mark, and
Enter step S401.
It is the flow chart of the data receiver and data reporting method in embodiment based on subscription management referring to Fig. 6;Step
S501 receives the data point of OpenAPI service module push;Step S502 judges whether data point has subscribed to, and if yes enters step
Rapid S503, otherwise enters step S501;Step S503 judges that data point has reported whether mark is false, if yes enters step
Rapid S505, otherwise enters step S504;Step S504 comparison is data cached to be judged whether numerical value change meets and reports, if yes into
Enter step S505, otherwise enters step S501;Step S505 is reported to the upper layer application system of subscription, updates on data cached point
Count off evidence, it is true that setting data point, which has reported mark, and enters step S501.
OpenAPI converting system and method provided by the invention based on more Modbus bus protocols, can support simultaneously
A variety of bus apparatus can maximize reduction or even avoid secondary development;One preferred embodiment is set by acquisition time Modbus
Standby data, to reduce equipment operating load, improve equipment collecting efficiency;Device attribute is unified to be acquired, and is uniformly reported, and is maintained each
The consistency of upper layer application system data;Interface is provided to third party in the form of OpenAPI, improves upper-level system development efficiency;
One preferred embodiment can be effectively filtered the data of upper layer application system concern by subscription management;By reporting precision pipe
Control can effectively reduce the pressure of upper layer application system data processing.
As it will be easily appreciated by one skilled in the art that the foregoing is merely illustrative of the preferred embodiments of the present invention, not to
The limitation present invention, any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should all include
Within protection scope of the present invention.
Claims (10)
1. a kind of OpenAPI converting system based on more Modbus bus protocols, which is characterized in that including Modbus protocol analysis
Module, data type processing module, data access module, data conversion module, OpenAPI service module, Command Line Parsing module
And configuration Prefabricated block;
The first end of the Modbus protocol resolution module is used as serial communication end, and second end is used as TCP communication end, and third end connects
Data type processing module is connect, the 4th end connects the first end of data AM access module;The second end of data access module connects
The first end of OpenAPI service module, third end connect data conversion module;The second end connection of OpenAPI service module is matched
The second end of parsing module is set, the first end of Command Line Parsing module is connect with one end of configuration Prefabricated block;OpenAPI services mould
The third end of block is for connecting one or more upper layer application systems;
The configuration Prefabricated block is used for according to the configuration of manufacturer's Modbus server, the configuration of manufacturer's Modbus data type, manufacturer
The configuration of Modbus server count strong point, manufacturer's numerical value and application system numerical value conversion configure, Modbus sample frequency configures,
Modbus data report precision configuration to generate configuration file;
The Command Line Parsing module will parse resulting configuration information instantiation to object knot for loading and parsing configuration file
In structure variable;
The OpenAPI service module is used for the configuration information that cached configuration parsing module is obtained from configuration file, and will match
Confidence breath is handed down to data access module;It is also used to receive the data subscription of upper layer application system, data access module is pushed
Subscription message feedback give upper layer application system;It is also used to receive the equipment control command of upper layer application system, and control is ordered
Order is handed down to data access module;
The data access module is used to receive the configuration information that OpenAPI service module issues, and in Modbus protocol analysis
Serial communication is established with outside firm equipment under the control of module to connect and TCP communication connection;It receives under OpenAPI service module
Device attribute setting value is converted to the device attribute value of manufacturer data format by data conversion module by the control command of hair,
And it is handed down to Modbus protocol resolution module;Data access module is also used to receive the manufacturer of Modbus protocol resolution module feedback
Data are sent to data conversion module and are converted into application system data, and application system data feedback is serviced mould to OpenAPI
Block;
The Modbus protocol resolution module is established or is disconnected with vendor equipment for controlling data access module;And it is used for
The Modbus address code of device attribute is extracted from the vendor equipment data of data access module transfer, register type, is posted
Storage initial address, data type are encoded and are parsed;Equipment feedback data is obtained to be parsed, the data after parsing are anti-
It feeds data access module;
The data type processing module is used for the Modbus data point to the received device data of Modbus protocol resolution module
It is configured, including Modbus identification code, register type, register initial address, data type is configured;
The data conversion module is converted for realizing the format between upper layer application system data and device manufacturer's data;It will lead to
The vendor equipment data for crossing the acquisition of data access module be converted to upper layer application system data and by data access module and
OpenAPI service module is reported to upper layer application system;
The data type processing module is used for the Modbus data point to the received device data of Modbus protocol resolution module
It is configured.
2. OpenAPI converting system as described in claim 1, which is characterized in that further include and OpenAPI service module the 4th
Hold the subscription management module of connection;
The subscription management module is used to subscribe to upper layer application system variable and subscribe to URL and be managed;OpenAPI services mould
After block receives the data-pushing of data access module, by data-pushing to subscription management module, subscription management module feedback needs
The upper layer application system of transmission subscribes to URL information and gives OpenAPI service module.
3. OpenAPI converting system as claimed in claim 1 or 2, which is characterized in that further include with data access module
The time data acquisition module of four ends connection;
The time data acquisition module carries out time-sharing polling acquisition for realizing to Modbus number of devices strong point attribute, according to matching
The frequency acquisition set, under the control logic of timer, transmitting acquisition gives data access module.
4. OpenAPI converting system as claimed in claim 1 or 2, which is characterized in that further include TCP communication module and/or string
Port communications module;
The first end of the TCP communication module is used to connect the Modbus TCP/IP server of outside firm equipment, second end with
The serial communication interface end of Modbus protocol resolution module is connected;The first end of serial communication modular is for connecting outside firm
Modbus RTU server, second end are connected with the TCP communication interface of Modbus protocol resolution module;
TCP communication module is connect for establishing TCP Client with multi-vendor Modbus TCP/IP server;Receive Modbus association
The director data that view parsing module issues, and find established TCP Client connection and be transmitted to director data accordingly
Modbus TCP/IP server;It receives the data that vendor server is sent and is transmitted to Modbus protocol resolution module;It supports
Auto-reconnect after TCP connection abnormal interrupt;
Serial communication modular is connect for establishing serial communication with multi-vendor Modbus RTU/ASCII server;Receive Modbus
The director data that protocol resolution module issues, and find established serial communication connection and director data is transmitted to corresponding string
Mouth server;It receives the data that vendor server is sent and is transmitted to Modbus protocol resolution module;Support serial communication connection
Auto-reconnect after abnormal interrupt.
5. OpenAPI converting system as claimed in claim 1 or 2, which is characterized in that when needing to manipulate to vendor equipment
When, OpenAPI service module receives manipulation command, name variable and the attribute value to be placed of upper layer application system, and passes
Pass data access module;Data access module setting command based on the received, and attribute value to be placed is sent to data
Conversion module;Device attribute value to be placed is converted to the device attribute value of manufacturer data format by data conversion module, and will
It feeds back to data access module;Data access module inquires data point configuration information, the number that will be inquired according to name variable
Strong point configuration information and manufacturer's numerical value to be placed pass to Modbus protocol resolution module;The docking of Modbus protocol resolution module
The data point configuration information and numerical value of receipts are parsed and find corresponding vendor equipment, the device attribute value after format is converted
It is written in corresponding vendor equipment.
6. a kind of OpenAPI conversion method based on more Modbus bus protocols, which comprises the following steps:
S101: creation vendor equipment Modbus protocol interface, serial communication interface, TCP communication interface;
S102: loading configuration file parses configuration information, initializes vendor equipment, establishes and communicates to connect with vendor equipment;
S103: extracting Modbus address code, register type, register initial address according to data point configuration information, right
Modbus equipment issues acquisition instructions;
S104: vendor equipment feedback data is obtained, data type coding is parsed, vendor equipment data attribute value is obtained;
S105: it is encoded according to predefined conversion formula and the attribute value of the vendor equipment data of setting is converted into upper layer application system
The device attribute value of system, and it is reported to the upper layer application system subscribed to.
7. OpenAPI conversion method as claimed in claim 6, which is characterized in that further include being carried out to vendor equipment attribute value
The method of setting, specifically includes the following steps:
S201: manipulation command, name variable and the attribute value to be placed of upper layer application system are obtained;
S202: according to the name variable in manipulation command, the data point configuration information of the correspondence Modbus equipment in module is obtained;
S203: connection configuration information, the Modbus address code, register class of Modbus server are extracted from configuration information
Type, register initial address, data type coding, conversion formula coding;
S204: parsing conversion formula encodes, and device attribute value to be placed is converted to the device attribute of manufacturer data format
Value;
S205: parsing data point information simultaneously finds corresponding vendor equipment, and the device attribute value after format is converted is written to pair
In the vendor equipment answered.
8. OpenAPI conversion method as claimed in claims 6 or 7, which is characterized in that further include dividing Modbus equipment
When collecting method, specifically includes the following steps:
S301: Modbus data acquiring frequency configuration information in module is obtained;
S302: obtaining Modbus number of devices strong point configuration information in module, extracts sample frequency coding, different sample frequencys are compiled
The data point of code is clustered;
S303: different sample frequency codings are parsed, the sampling interval is obtained;According to number of clusters, start the timer of corresponding number,
Timer interval is the corresponding sampling interval of classifying;
S304: waiting timer task;
S305: all data point configuration informations in the timer are extracted in timer, and extract the connection of Modbus server
Configuration information, Modbus address code, register type, register initial address issue acquisition instructions to Modbus equipment;
S306: vendor equipment feedback data is obtained, data type coding is parsed, vendor equipment data attribute value is obtained;
S307: it is encoded according to customized conversion formula and the attribute value of vendor equipment data is converted into setting for upper layer application system
Standby attribute value, and it is reported to the upper layer application system subscribed to.
9. OpenAPI conversion method as claimed in claims 6 or 7, which is characterized in that further include that upper layer application system data is ordered
Management method is read, specifically includes the following steps:
S401: receive upper layer application system data and subscribe to: data point title and data report URL;
S402: judging whether data point has subscribed to, and if yes enters step S403, otherwise enters step S404;
S403: more new data point data report URL;
S404: newly-increased subscription data cached title of data point, it is data cached to report URL;
S405: it is false that setting data point, which has reported mark, and enters step S401.
10. OpenAPI conversion method as claimed in claims 6 or 7, which is characterized in that further include the number based on subscription management
According to reception and data reporting method, specifically includes the following steps:
S501: the data point of OpenAPI service module push is received;
S502: judging whether data point has subscribed to, and if yes enters step S503, otherwise enters step S501;
S503: judge that data point has reported whether mark is false, if yes enters step S505, otherwise enters step S504;
S504: comparison is data cached to be judged whether numerical value change meets and reports, and is if yes entered step S505, is otherwise entered step
S501;
S505: being reported to the upper layer application system of subscription, updates data cached reported data, and setting data point has reported mark
For true, and enter step S501.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910205344.9A CN110049014B (en) | 2019-03-18 | 2019-03-18 | OpenAPI conversion system and method based on multiple Modbus bus protocols |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910205344.9A CN110049014B (en) | 2019-03-18 | 2019-03-18 | OpenAPI conversion system and method based on multiple Modbus bus protocols |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110049014A true CN110049014A (en) | 2019-07-23 |
CN110049014B CN110049014B (en) | 2021-03-23 |
Family
ID=67274861
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910205344.9A Active CN110049014B (en) | 2019-03-18 | 2019-03-18 | OpenAPI conversion system and method based on multiple Modbus bus protocols |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110049014B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110502467A (en) * | 2019-07-25 | 2019-11-26 | 江苏诺蓝翌新能源科技有限公司 | A kind of general acquisition interface software systems based on serial ports modbus communication protocol |
CN110572242A (en) * | 2019-09-09 | 2019-12-13 | 四川长虹电器股份有限公司 | Method for collecting data unified codes of injection molding machine |
CN110809048A (en) * | 2019-11-08 | 2020-02-18 | 腾讯科技(深圳)有限公司 | Data transfer method, device and computer readable storage medium |
CN111756688A (en) * | 2020-05-18 | 2020-10-09 | 南京认知物联网研究院有限公司 | Method and system for realizing meter protocol and application decoupling |
CN112737907A (en) * | 2020-12-28 | 2021-04-30 | 常州中海电力科技有限公司 | Modbus communication implementation system and method based on LabVIEW |
CN112866018A (en) * | 2021-01-10 | 2021-05-28 | 宜昌科赛新能源科技有限公司 | Internet of things management system and method |
CN113641126A (en) * | 2021-08-10 | 2021-11-12 | 浙江浩普智能科技有限公司 | Data acquisition and transmission device based on serial port communication |
CN114465839A (en) * | 2020-11-09 | 2022-05-10 | 财团法人工业技术研究院 | Modbus-based information translation device, method, system and recording medium |
CN114500158A (en) * | 2022-04-18 | 2022-05-13 | 国铁吉讯科技有限公司 | Computer resolvable Modbus-RTU universal standardized configuration method |
CN115314329A (en) * | 2022-06-30 | 2022-11-08 | 青岛海尔科技有限公司 | Attribute value conversion method and device, storage medium and electronic device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102438027A (en) * | 2012-01-17 | 2012-05-02 | 深圳市乐唯科技开发有限公司 | System and method for expanding extensible messaging and presence protocol (XMPP) server open platform |
KR101248221B1 (en) * | 2013-01-04 | 2013-03-27 | 주식회사 에프엠텔레콤 | Integration gateway using demon process |
CN203761379U (en) * | 2014-02-20 | 2014-08-06 | 南京信息工程大学 | Meteorological automatic transmit-receive device based on wireless sensing network |
CN104932364A (en) * | 2015-06-03 | 2015-09-23 | 太原科技大学 | OPC UA conversion apparatus of Modbus communication protocol, and method |
CN105610876A (en) * | 2016-04-01 | 2016-05-25 | 江苏科技大学 | Industrial control type automatic network communication protocol converter and communication protocol conversion method |
US20160335378A1 (en) * | 2015-05-14 | 2016-11-17 | Korea Electronics Technology Institute | Direct mapping method and system for converting modbus data to iec61850 data based on machine learning |
CN107454092A (en) * | 2017-08-18 | 2017-12-08 | 北京海兰信数据科技股份有限公司 | A kind of OPCUA and DDS protocol signals conversion equipment, communication system and communication means |
-
2019
- 2019-03-18 CN CN201910205344.9A patent/CN110049014B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102438027A (en) * | 2012-01-17 | 2012-05-02 | 深圳市乐唯科技开发有限公司 | System and method for expanding extensible messaging and presence protocol (XMPP) server open platform |
KR101248221B1 (en) * | 2013-01-04 | 2013-03-27 | 주식회사 에프엠텔레콤 | Integration gateway using demon process |
CN203761379U (en) * | 2014-02-20 | 2014-08-06 | 南京信息工程大学 | Meteorological automatic transmit-receive device based on wireless sensing network |
US20160335378A1 (en) * | 2015-05-14 | 2016-11-17 | Korea Electronics Technology Institute | Direct mapping method and system for converting modbus data to iec61850 data based on machine learning |
CN104932364A (en) * | 2015-06-03 | 2015-09-23 | 太原科技大学 | OPC UA conversion apparatus of Modbus communication protocol, and method |
CN105610876A (en) * | 2016-04-01 | 2016-05-25 | 江苏科技大学 | Industrial control type automatic network communication protocol converter and communication protocol conversion method |
CN107454092A (en) * | 2017-08-18 | 2017-12-08 | 北京海兰信数据科技股份有限公司 | A kind of OPCUA and DDS protocol signals conversion equipment, communication system and communication means |
Non-Patent Citations (2)
Title |
---|
SEYED AMIR ALAVI等: "An IoT-Based Data Collection Platform for Situational Awareness-Centric Microgrids", 《2018 IEEE CANADIAN CONFERENCE ON ELECTRICAL & COMPUTER ENGINEERING (CCECE)》 * |
闫晓风: "基于OPC_UA通用数据采集模块设计", 《仪器仪表标准化与计量》 * |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110502467B (en) * | 2019-07-25 | 2020-11-10 | 江苏诺蓝翌新能源科技有限公司 | Universal acquisition interface software system based on serial port modbus communication protocol |
CN110502467A (en) * | 2019-07-25 | 2019-11-26 | 江苏诺蓝翌新能源科技有限公司 | A kind of general acquisition interface software systems based on serial ports modbus communication protocol |
CN110572242A (en) * | 2019-09-09 | 2019-12-13 | 四川长虹电器股份有限公司 | Method for collecting data unified codes of injection molding machine |
CN110809048A (en) * | 2019-11-08 | 2020-02-18 | 腾讯科技(深圳)有限公司 | Data transfer method, device and computer readable storage medium |
CN110809048B (en) * | 2019-11-08 | 2020-12-15 | 腾讯科技(深圳)有限公司 | Data transfer method, device and computer readable storage medium |
CN111756688A (en) * | 2020-05-18 | 2020-10-09 | 南京认知物联网研究院有限公司 | Method and system for realizing meter protocol and application decoupling |
CN111756688B (en) * | 2020-05-18 | 2021-03-16 | 南京认知物联网研究院有限公司 | Method and system for realizing meter protocol and application decoupling |
CN114465839A (en) * | 2020-11-09 | 2022-05-10 | 财团法人工业技术研究院 | Modbus-based information translation device, method, system and recording medium |
CN114465839B (en) * | 2020-11-09 | 2024-05-24 | 财团法人工业技术研究院 | Modbus-based information translation device, method, system and recording medium |
TWI786461B (en) * | 2020-11-09 | 2022-12-11 | 財團法人工業技術研究院 | Information translation device, method, system and computer readable recording medium based on modbus |
CN112737907B (en) * | 2020-12-28 | 2022-07-01 | 常州中海电力科技有限公司 | Modbus communication implementation system and method based on LabVIEW |
CN112737907A (en) * | 2020-12-28 | 2021-04-30 | 常州中海电力科技有限公司 | Modbus communication implementation system and method based on LabVIEW |
CN112866018A (en) * | 2021-01-10 | 2021-05-28 | 宜昌科赛新能源科技有限公司 | Internet of things management system and method |
CN113641126A (en) * | 2021-08-10 | 2021-11-12 | 浙江浩普智能科技有限公司 | Data acquisition and transmission device based on serial port communication |
CN114500158A (en) * | 2022-04-18 | 2022-05-13 | 国铁吉讯科技有限公司 | Computer resolvable Modbus-RTU universal standardized configuration method |
CN115314329A (en) * | 2022-06-30 | 2022-11-08 | 青岛海尔科技有限公司 | Attribute value conversion method and device, storage medium and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN110049014B (en) | 2021-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110049014A (en) | A kind of OpenAPI converting system and method based on more Modbus bus protocols | |
CN111031034A (en) | Multi-protocol convergence edge computing gateway | |
CN102215263B (en) | Data transmission and remote control method for self-organizing wireless internet of things (IoT) system | |
CN103997539B (en) | Radar running status collection dissemination system and its method based on web services | |
CN108123842A (en) | A kind of adaption system and method that can access more plant equipments based on KNX agreements | |
CN109615841A (en) | Beidou multi-user card data transmission device and transmission method applied to FTU | |
CN102143458A (en) | Multi-protocol converter based on GSM (Global System for Mobile Communications) short message transmission in wireless communication network | |
CN205901798U (en) | Very high frequency VHF radio station workstation | |
CN101765072B (en) | Network device control port remote configuring method and system based on mobile network | |
CN111314371A (en) | Edge device access system and method based on intelligent gateway technology | |
CN110703617A (en) | Intelligent home control system based on MQTT | |
CN105116751A (en) | Intelligent control system capable of performing information interaction based on public cloud platform and control method | |
CN103957266B (en) | A kind of equipment centralized Control method of communication system | |
CN110381439A (en) | A kind of localization method, device, server, storage medium and terminal | |
CN104270432B (en) | Based on drilling well industry Real-time Data Service system and data interactive method | |
CN202094936U (en) | Fire alarm image-text system | |
CN113364838B (en) | Equipment ad hoc network method and system based on MQTT | |
CN109729154B (en) | Simple message subscription and publishing service method based on controller | |
CN112188319B (en) | Data processing method of optical fiber distribution frame and back-end monitoring platform | |
CN107317741A (en) | It is a kind of to support while connecting the instant communication client of multiserver | |
CN106506504A (en) | A kind of intelligent protocol conversion method and device | |
CN111917890A (en) | Mobile edge computing platform | |
CN111447270A (en) | Data forwarding middleware for Internet of things | |
CN105427469B (en) | Intelligent gas meter system with price adjustment function | |
CN100594702C (en) | Service creation via presence messaging |
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 |