CN107579913B - Configurable communication gateway and communication method based on same - Google Patents

Configurable communication gateway and communication method based on same Download PDF

Info

Publication number
CN107579913B
CN107579913B CN201710725286.3A CN201710725286A CN107579913B CN 107579913 B CN107579913 B CN 107579913B CN 201710725286 A CN201710725286 A CN 201710725286A CN 107579913 B CN107579913 B CN 107579913B
Authority
CN
China
Prior art keywords
data
communication
information
driving module
activation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710725286.3A
Other languages
Chinese (zh)
Other versions
CN107579913A (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.)
Aipu Fujian Technology Co ltd
Original Assignee
Aipu Fujian Technology 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 Aipu Fujian Technology Co ltd filed Critical Aipu Fujian Technology Co ltd
Publication of CN107579913A publication Critical patent/CN107579913A/en
Application granted granted Critical
Publication of CN107579913B publication Critical patent/CN107579913B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a configurable communication gateway and a communication method thereof, wherein the communication gateway comprises a communication driving module, a communication driving activation element, at least one output branch and at least one input branch; the output branch comprises a data reading element, a data extraction element and a data output element which are connected in sequence; the input branch comprises a data writing element, a data storing element and a data input element which are connected in sequence; the communication driving module is respectively connected with the communication driving activation element, the data reading element and the data writing element; the connection is a configuration connection, and the communication driver module stores a communication driver of the communication object hardware device. The invention is used for realizing interconnection and intercommunication of hardware equipment among various different communication protocols, so that data transmission between equipment with communication functions such as a computer, a PCL (personal computer), a controller and the like and the hardware equipment becomes simpler, and the information interaction efficiency among products of the Internet of things is improved.

Description

Configurable communication gateway and communication method based on same
Technical Field
The invention relates to a configurable communication gateway and a communication method thereof, belonging to the technical field of industrial automation control.
Background
With the rapid development of information science and technology, sensor technology and internet of things technology have also been rapidly improved. Under the requirements of the existing equipment joint control and intelligent factories, information interaction among the PLC, the upper computer, the sensor and other intelligent equipment becomes more important. At present, all countries try to build own internet of things, various information needed by monitoring, connection and interaction of objects or processes and the like is collected in real time through various information sensing devices, and a huge network is formed by combining the information with the internet. The purpose is to realize the connection of objects, objects and people, and all objects and networks, and facilitate the identification, management and control.
However, the communication protocols adopted by the information sensing devices produced by different manufacturers are usually different, and the variety of the communication protocols also leads to diversification of communication drivers. Meanwhile, most communication drivers are in a black box state, and a user has great difficulty in re-developing the communication drivers aiming at single hardware equipment, so that the workload is heavy. This brings very big inconvenience for the user to gather the data information between a plurality of different structure equipment simultaneously, has caused huge resistance for the popularization of thing networking.
Based on the defects of the prior art, the method for realizing communication of heterogeneous equipment simultaneously is provided, so that product information intercommunication is easily realized, and information transmission is not limited any more. By using the communication gateway as a communication bridge, interconnection among heterogeneous devices with different communication protocols is realized, and development of the Internet of things is promoted.
Disclosure of Invention
Based on the defects of the prior art, the invention provides the configurable communication gateway and the communication method based on the communication gateway, which are used for realizing interconnection and intercommunication of hardware equipment among various different communication protocols, so that data transmission between a computer and the hardware equipment is simpler, and the information interaction efficiency among products of the Internet of things is improved.
The configurable communication gateway of the invention is realized by the following steps: a configurable communication gateway comprises a communication driving module, a communication driving activation element, at least one output branch and at least one input branch;
the output branch comprises a data reading element, a data extraction element and a data output element which are connected in sequence;
the input branch comprises a data writing element, a data storing element and a data input element which are connected in sequence;
the communication driving module is respectively connected with the communication driving activation element, the data reading element and the data writing element;
the connection is a configuration mode connection, so that parameter configuration and attribute change can be rapidly carried out according to actual needs, data processing is flexible and changeable, and a communication driving program of communication object hardware equipment is stored in the communication driving module;
the communication drive activation element is used for activating the communication drive module to enable the communication drive module to operate a communication drive program;
the data reading element is used for storing data information collected by the communication drive; and the data communication between the hardware equipment and the corresponding memory interval is realized by configuring the node number and the memory area;
the data extraction element is used for defining the position of the extracted data in the data storage space of the data reading element and extracting the required data according to the position;
the data output element is used for outputting the extracted data for the functional object to use;
the data input element is used for inputting data and transmitting the data to the data storage element;
and the data storage element transmits data to the corresponding data area according to the configured path, and transmits the data to the communication driving module through the data writing element.
In the invention, various elements such as a communication driving activation element, a data reading element, a data extraction element, a data output element, a data writing element, a data storage element, a data input element and the like are configured by a visual and simple graphical configuration method, and different functions can be realized by controlling configuration elements packaged by various algorithm strategies and only performing different arrangement and combination according to a certain rule in use.
Further, a plurality of the output branches share one data reading element; and/or a plurality of said input branches share one said data writing element. In addition, the data reading element and the data writing element can also be the same data reading and writing element.
Further, the communication object is equipment with a communication function, such as a PLC, a controller, a sensor and the like; the functional objects are computers (IT computers, information management computers and the like), servers or cloud platforms and the like, and in addition, more than two communication objects can be arranged and are connected to the communication driving module through an interface module. The communication driver is obtained by analyzing message information in communication protocols of different communication object hardware equipment and reversely writing the message information.
Further, which communication drivers need to be activated are selected by communication driver activation logic in two ways of manual configuration or automatic detection, and are sent to the communication driver activation element; the communication driving activation logic is established by a plurality of functional elements in a configuration mode.
The communication method based on the configurable communication gateway is realized as follows: including data output processes and/or data input processes;
the data output process comprises the following steps:
(6) the communication driving activation element sends an activation instruction to the communication driving module, so that the communication driving module automatically runs a communication driving program;
(7) the communication driving module reads data information from a communication object and sends the data information to the data reading element;
(8) the data reading element defines a memory interval corresponding to the communication object by configuring a node number and a memory area, stores the received data information in the memory interval, and takes out and sends the data reading information positioned in the memory interval to the data extraction element;
(9) the data extraction element defines the position of the data information to be extracted in the data storage space of the data reading element, and extracts the data information according to the position and sends the data information to the data output element;
(10) the data output element transmits the extracted data information to the functional object for use;
the data input process comprises the following steps:
(a) the data input element inputs the data of the functional object to the data storage element;
(b) the data storage element can transmit data to the corresponding data area according to the configured path and transmit the data to the data writing element;
(c) the data writing element defines a memory interval corresponding to the communication object by configuring a node number and a memory area, stores received data information in the memory interval, and takes out and sends data reading information positioned in the memory interval to the communication driving module;
(d) the communication driving activation element sends an activation instruction to the communication driving module, so that the communication driving module automatically runs a communication driving program;
(f) and finally, the communication driving module transmits the data to a communication object.
The invention has the following advantages:
1. the communication configuration process of the communication gateway adopts the configuration process, is simple and easy to learn, can be carried out by a user without programming knowledge, simultaneously realizes the visual management of the communication process, and has clear and visible data transmission process.
2. The invention can also realize simultaneous communication of different hardware devices by simultaneously utilizing a plurality of interface modules of communication protocols, is beneficial to realizing the internet-of-things type dispersed data acquisition of a user and realizing the big data type centralized management.
Drawings
The invention will be further described with reference to the following examples with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of a communication gateway according to the present invention.
Fig. 2 is a schematic structural diagram of a usage status of the communication gateway according to the present invention.
FIG. 3 is a flow chart of data output in the method of the present invention.
FIG. 4 is a flow chart of data entry in the method of the present invention.
Fig. 5 is a schematic structural diagram of a communication gateway according to an embodiment of the present invention.
Detailed Description
The communication gateway provided by the invention activates the communication drive by using the configuration element mode, thereby realizing the data transmission with the communication object, and transmitting the PLC, the controller and the sensor data to a computer (an IT computer, an information management computer and the like), a server or a cloud platform. The configuration process adopts a configuration process, programming is not needed, data transmission is carried out by using a white-box mode, visual management of the communication process is realized, and a user can conveniently monitor the running condition of hardware equipment in real time.
Referring to fig. 1, the communication gateway of the present invention includes a communication driver module 100, a communication driver activation component 200, at least one output branch 300, and at least one input branch 400;
the output branch 300 comprises a data reading element 301, a data extracting element 302 and a data output element 303 which are connected in sequence;
the input branch 400 comprises a data writing element 401, a data storing element 402 and a data input element 403 which are connected in sequence;
the communication driving module 100 is respectively connected to the communication driving activation element 200, the data reading element 301 and the data writing element 401;
wherein the connections are all connections in a configuration manner, and
the communication driver module 100 stores a communication driver of a communication object hardware device; the communication drive activation logic can select the type of the communication drive to be activated through two modes of manual configuration or automatic detection, and sends the type of the communication drive to the communication drive activation element 200;
the communication driver activation component 200 is configured to activate the communication driver module to operate a communication driver; the communication drive activation element activates the communication drive module according to the received communication drive type, so that the communication drive module operates a communication drive program corresponding to the communication drive type;
the data reading element 301 is used for storing data information collected by the communication driver; and the data communication between the hardware equipment and the corresponding memory interval is realized by configuring the node number and the memory area;
the data extraction component 302 is used for defining the position of the extracted data in the data storage space of the data reading component 401 and extracting the required data according to the position;
the data output element 303 is configured to output the extracted data for use by a functional object;
the data input component 403 is used for inputting and transmitting data to the data storage component 402;
the data storage component 402 transmits data to the corresponding data area according to the configured path, and transmits the data to the communication driver module 100 through the data writing component.
In a specific implementation of the present invention, a plurality of output branches 300 may share one data reading element 301; a plurality of input branches 300 may also share one of the data write elements 401. In addition, the data reading element 301 and the data writing element 401 may also be the same data reading and writing element.
The communication object is a PLC or a sensor; the functional object is an upper computer, a server or a cloud platform. In addition, as shown in fig. 2, there may be more than two communication objects, and the communication objects are connected to the communication driving module through an interface module.
The communication driver is obtained by analyzing message information in communication protocols of different communication object hardware equipment and reversely writing the message information. The communication driver is selected by communication driver activation logic in a manual configuration mode or an automatic detection mode and is sent to the communication driver activation element; the communication driving activation logic is established by a plurality of functional elements in a configuration mode.
Based on the communication gateway, the communication method comprises a data output process and/or a data input process;
as shown in fig. 3, the data output process includes:
(11) the communication driving activation component 200 sends an activation instruction to the communication driving module 100, so that the communication driving module 100 automatically runs a communication driving program;
(12) the communication driving module 100 reads data information from a communication object and sends the data information to the data reading component 301;
(13) the data reading component 301 defines a memory interval corresponding to the communication object by configuring a node number and a memory area, stores the received data information in the memory interval, and takes out and sends the data reading information located in the memory interval to the data extracting component 302;
(14) the data extraction component 302 defines the position of the data information to be extracted in the data storage space of the data reading component, and extracts the data information according to the position and sends the data information to the data output component 303;
(15) the data output element 303 transmits the extracted data information to a functional object for use;
as shown in fig. 4, the data input process includes:
(a) the data input element 403 inputs data of a functional object to the data storage element 402;
(b) the data storage component 402 can transmit data to a corresponding data area according to a configured path, and transmit the data to the data writing component 401;
(c) the data writing component 401 defines a memory interval corresponding to the communication object by configuring a node number and a memory area, stores the received data information in the memory interval, and takes out and sends the data read information located in the memory interval to the communication driving module 100;
(d) the communication driving activation component 200 sends an activation instruction to the communication driving module 100, so that the communication driving module 100 automatically runs a communication driving program;
(f) finally, the communication driver module 100 transmits the data to the communication object.
The communication object is now exemplified by a PLC of an ohron (represented as OMRON in the figure), the data output process is shown in figure 5,
1) firstly, a communication drive activation logic detects a PLC of which a communication object is OMRON and sends the information to a communication drive activation element;
2) the communication drive activation element AO 001 sends an activation instruction to an OMRON drive module to enable an OMRON communication drive program to be in an operation state, and data information is read from a PLC of the OMRON;
3) the data reading element AI 001 reads out the data in the memory interval according to the defined memory interval for reading the data;
4) the data extraction element extracts the data at the corresponding position according to the defined position of the extracted data;
5) the data output element transmits the extracted data to the functional object 1 for extraction and use;
6) the data read by the data reading element AI 002 will be extracted for use by the functional object 2;
7) the data read by the data reading element AI 003 will be extracted for use by the functional object 3;
8) the data read by the data reading element AI 00n will be extracted for use by the functional object n.
Although specific embodiments of the invention have been described above, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting upon the scope of the invention, and that equivalent modifications and variations can be made by those skilled in the art without departing from the spirit of the invention, which is to be limited only by the appended claims.

Claims (8)

1. A configurable communications gateway, comprising: the communication driving module is used for driving the communication driving activation element to be in communication with the input branch circuit;
the output branch comprises a data reading element, a data extraction element and a data output element which are connected in sequence;
the input branch comprises a data writing element, a data storing element and a data input element which are connected in sequence;
the communication driving module is respectively connected with the communication driving activation element, the data reading element and the data writing element;
wherein the connections are all connections in a configuration manner, and
the communication driving module stores a communication driving program of communication object hardware equipment;
the communication drive activation element is used for activating the communication drive module to enable the communication drive module to operate a communication drive program;
the data reading element is used for storing data information collected by the communication drive; and the data communication between the hardware equipment and the corresponding memory interval is realized by configuring the node number and the memory area;
the data extraction element is used for defining the position of the extracted data in the data storage space of the data reading element and extracting the required data according to the position;
the data output element is used for outputting the extracted data for the functional object to use;
the data input element is used for inputting data and transmitting the data to the data storage element;
and the data storage element transmits data to the corresponding data area according to the configured path, and transmits the data to the communication driving module through the data writing element.
2. A configurable telecommunications gateway as claimed in claim 1, wherein:
a plurality of said output branches share one said data reading element; and/or
A plurality of said input branches share one said data write element.
3. A configurable telecommunications gateway as claimed in claim 1 or 2, wherein: the data reading element and the data writing element are the same data reading and writing element.
4. A configurable telecommunications gateway as claimed in claim 1, wherein: the communication object is equipment with a communication function and comprises a PLC, a controller and a sensor; the functional object is a computer, a server or a cloud platform.
5. A configurable telecommunications gateway as claimed in claim 1, wherein: the communication objects are more than two and are connected to the communication driving module through an interface module.
6. A configurable telecommunications gateway as claimed in claim 1, wherein: the communication driver is obtained by analyzing message information in communication protocols of different communication object hardware equipment and reversely writing the message information.
7. A configurable telecommunications gateway as claimed in claim 1, wherein: the communication driver is selected by a communication driver activation logic in a manual configuration mode or an automatic detection mode and is sent to the communication driver activation element; the communication driving activation logic is established by a plurality of functional elements in a configuration mode.
8. A communication method based on a configurable telecommunications gateway according to any of claims 1 to 7, characterized in that: including data output processes and/or data input processes;
the data output process comprises the following steps:
(1) the communication driving activation element sends an activation instruction to the communication driving module, so that the communication driving module automatically runs a communication driving program;
(2) the communication driving module reads data information from a communication object and sends the data information to the data reading element;
(3) the data reading element defines a memory interval corresponding to the communication object by configuring a node number and a memory area, stores the received data information in the memory interval, and takes out and sends the data reading information positioned in the memory interval to the data extraction element;
(4) the data extraction element defines the position of the data information to be extracted in the data storage space of the data reading element, and extracts the data information according to the position and sends the data information to the data output element;
(5) the data output element transmits the extracted data information to the functional object for use;
the data input process comprises the following steps:
(a) the data input element inputs the data of the functional object to the data storage element;
(b) the data storage element can transmit data to the corresponding data area according to the configured path and transmit the data to the data writing element;
(c) the data writing element defines a memory interval corresponding to the communication object by configuring a node number and a memory area, stores received data information in the memory interval, and takes out and sends data reading information positioned in the memory interval to the communication driving module;
(d) the communication driving activation element sends an activation instruction to the communication driving module, so that the communication driving module automatically runs a communication driving program;
(f) and finally, the communication driving module transmits the data to a communication object.
CN201710725286.3A 2017-08-03 2017-08-22 Configurable communication gateway and communication method based on same Active CN107579913B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710653688 2017-08-03
CN2017106536887 2017-08-03

Publications (2)

Publication Number Publication Date
CN107579913A CN107579913A (en) 2018-01-12
CN107579913B true CN107579913B (en) 2020-12-29

Family

ID=61034589

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710725286.3A Active CN107579913B (en) 2017-08-03 2017-08-22 Configurable communication gateway and communication method based on same

Country Status (1)

Country Link
CN (1) CN107579913B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108809999A (en) * 2018-06-20 2018-11-13 山东浪潮通软信息科技有限公司 A kind of analytic method and system of storage facilities protocol self-adapting
CN109471435B (en) * 2018-11-09 2021-07-13 福州大学 Multi-heterogeneous mobile robot control system
CN110471823A (en) * 2019-08-16 2019-11-19 珠海格力电器股份有限公司 Communication configuration method, device and the computer readable storage medium of configuration software

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2001276948A1 (en) * 2000-08-24 2002-03-04 2Wire, Inc. System and method for selectively bridging and routing data packets between multiple networks
CN102801658A (en) * 2011-05-23 2012-11-28 镇江金钛软件有限公司 Configurable access gateway for Internet of things
CN202750109U (en) * 2012-08-17 2013-02-20 北京雅丹石油技术开发有限公司 Internet-of-things sensing gateway
CN106647412B (en) * 2017-01-17 2018-12-18 爱普(福建)科技有限公司 A kind of data sharing method between distributed director based on configuration element
CN106656777B (en) * 2017-01-22 2019-11-08 上海新柏石智能科技股份有限公司 Object-based intelligent domestic gateway communication interface arrangement

Also Published As

Publication number Publication date
CN107579913A (en) 2018-01-12

Similar Documents

Publication Publication Date Title
US11783725B2 (en) Snapshot management architecture for process control operator training system lifecycle
CN109358574B (en) Intelligent data acquisition, monitoring and analysis system and method
CN106773978B (en) A kind of device data acquisition system based on OPC UA agreement
CN110308753B (en) Intelligent agricultural robot cloud control system and method
CN107579913B (en) Configurable communication gateway and communication method based on same
US10609185B2 (en) Method for topology tree to learn about, present, and configure device information by automatically uploading device description files from device
CN101515165B (en) Methods and apparatus to create process plant operator interfaces
CN102651165A (en) Wireless learning type infrared repeating system and working method thereof
EP3338150A1 (en) Apparatus and method for universal setup, monitoring and control of field devices for a plant
CN105681086B (en) Communication manager and data acquisition method of programmable logic control equipment
CN104181896A (en) Industrial control collecting state monitoring system based on Internet of Things
CN107331231A (en) A kind of Internet of Things teaching and training system based on virtual sensing device assembly
CN104333593B (en) Motion controller long-range control method, method for diagnosing faults and tele-control system
CN105579920B (en) The control method of programmable controller and programmable controller
CN106125676A (en) A kind of robot control system
CN113381880B (en) Internet of things equipment management method, device and system
Huang et al. IoT-based networking for humanoid robots
CN205983171U (en) Robot control system
CN115988026A (en) Intelligent data processing and decision analysis method and device for Internet of things edge terminal
CN108508943A (en) One kind educating colored system and method automatically
Tegeltija et al. One Solution of Low-Cost Modular Control Device based on IoT
KR20190123370A (en) Cps system for smart factories
WO2019041242A1 (en) Configurable communication gateway and communication method based thereon
Rocha et al. Prime as a generic agent based framework to support pluggability and reconfigurability using different technologies
CN209928265U (en) Electromechanical device intelligent control system based on communication network

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