WO2019041242A1 - 一种可组态的通讯网关及基于该通讯网关的通信方法 - Google Patents

一种可组态的通讯网关及基于该通讯网关的通信方法 Download PDF

Info

Publication number
WO2019041242A1
WO2019041242A1 PCT/CN2017/099963 CN2017099963W WO2019041242A1 WO 2019041242 A1 WO2019041242 A1 WO 2019041242A1 CN 2017099963 W CN2017099963 W CN 2017099963W WO 2019041242 A1 WO2019041242 A1 WO 2019041242A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
communication
component
communication driver
information
Prior art date
Application number
PCT/CN2017/099963
Other languages
English (en)
French (fr)
Inventor
郑松
刘朝儒
何俊欣
宋怡霖
张望
曾其鋆
林旭
王亮亮
Original Assignee
爱普(福建)科技有限公司
郑松
刘朝儒
何俊欣
宋怡霖
张望
曾其鋆
林旭
王亮亮
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 爱普(福建)科技有限公司, 郑松, 刘朝儒, 何俊欣, 宋怡霖, 张望, 曾其鋆, 林旭, 王亮亮 filed Critical 爱普(福建)科技有限公司
Priority to PCT/CN2017/099963 priority Critical patent/WO2019041242A1/zh
Publication of WO2019041242A1 publication Critical patent/WO2019041242A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Definitions

  • the invention relates to a configurable communication gateway and a communication method thereof, and belongs to the technical field of industrial automation control.
  • a method for simultaneously communicating with heterogeneous devices is provided, so that product information communication is easily realized, and information transmission is no longer limited.
  • the communication gateway as a communication bridge, the interconnection between heterogeneous devices of different communication protocols is realized, and the development of the Internet of Things is promoted.
  • the invention is based on the deficiencies of the prior art, and provides a configurable communication gateway and a communication method based on the communication gateway, which are used for realizing interconnection and intercommunication of hardware devices between different communication protocols, so that between the computer and the hardware device Data transfer has become easier, increasing the efficiency of information interaction between IoT products.
  • the configurable communication gateway of the present invention is implemented as follows: a configurable communication gateway, package The communication driving module, the communication driving activation component, the at least one output branch and the at least one input branch;
  • the output branch includes a data reading component, a data extraction component, and a data output component connected in sequence;
  • the input branch includes a data write component, a data storage component, and a data input component connected in sequence;
  • the communication driving module is respectively connected to the communication driving activation component, the data reading component, and the data writing component;
  • connection is a configuration mode connection, so that the parameter configuration and the attribute change can be quickly performed according to actual needs, the data processing is flexible, and the communication driver module stores the communication driver of the communication object hardware device;
  • the communication driver activation component is configured to activate the communication driver module to run a communication driver
  • the data reading component is configured to store data information collected by the communication driver; and implement data communication with a memory interval corresponding to the hardware device by configuring a node number and a memory area;
  • the data extraction component is configured to define a location of the extracted data in a data storage space of the data reading component, and extract required data according to the location;
  • the data output component is configured to output the extracted data for use by the functional object
  • the data input component is configured to input data and transmit the data to the component
  • the data storage component transmits data to the corresponding data area according to the configured path, and transmits the data to the communication driver module through the data writing component.
  • various elements such as a communication drive activation component, a data read component, a data extraction component, a data output component, a data write component, a data storage component, and a data input component are referred to as an intuitive and simple graphical group.
  • the state method, through the control configuration components encapsulated by various algorithm strategies, can only be implemented in different ways according to certain rules, and different functions can be realized.
  • a plurality of the output branches share one of the data read elements; and/or a plurality of the input branches share one of the data write elements.
  • the data read element and the data write element can also be the same data read and write element.
  • the communication object is a device having a communication function such as a PLC, a controller, a sensor, etc.; the function object is a computer (IT computer, information management computer, etc.), a server or a cloud platform, and the like, There are two or more, and are connected to the communication driver module through an interface module.
  • the communication driver is obtained by parsing the message information in the communication protocol of the hardware device of different communication objects and performing reverse programming.
  • the communication driver needs to be activated by the communication driver activation logic by using manual configuration or automatic detection, and is sent to the communication driver activation component; the communication driver activation logic is composed of multiple functions. The components are built by configuration.
  • the communication method based on the above configurable communication gateway of the present invention is implemented by including a data output process and/or a data input process;
  • the data output process includes:
  • the communication driver activation component issues an activation command to the communication driver module, so that the communication driver module automatically runs the communication driver;
  • the communication driver module reads data information from the communication object and sends it to the data reading component
  • the data reading component defines a memory interval corresponding to the communication object by configuring a node number and a memory area, and stores the received data information in the memory interval, and reads data in the memory interval. Information is fetched and sent to the data extraction component;
  • the data extracting component defines a location of the data information to be extracted in the data storage space of the data reading component, and extracts the data information and sends the data information to the data output component according to the location;
  • the data output component transmits the extracted data information to the functional object for use
  • the data input process includes:
  • the data storage component can transmit data to the corresponding data area according to the configured path, and transmit the data to the data writing component;
  • the data writing component defines a memory interval corresponding to the communication object by configuring a node number and a memory area, and stores the received data information in the memory interval, and reads data in the memory interval. The information is taken out and sent to the communication driver module;
  • the communication driver activation component issues an activation command to the communication driver module, so that the communication driver module automatically runs the communication driver;
  • the communication gateway of the invention adopts a configuration process, which is simple and easy to learn, and the user does not need to have programming knowledge to carry out, and realizes visual management of the communication process, and the data transmission process is clearly visible.
  • the invention can simultaneously realize the simultaneous communication of different hardware devices by using the interface modules of multiple communication protocols, and is beneficial to the user to realize the distributed collection data of the Internet of Things and realize the centralized management of big data.
  • 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 use state of a communication gateway according to the present invention.
  • Figure 3 is a flow chart of data output in the method of the present invention.
  • Figure 4 is a flow chart of data entry in the method of the present invention.
  • FIG. 5 is a schematic structural diagram of an embodiment of a communication gateway according to the present invention.
  • the communication gateway provided by the invention activates the communication driver by means of the configuration component, thereby realizing data transmission with the communication object, and can transmit the PLC, the controller and the sensor data to the computer (IT computer, information management computer, etc.), In a server or cloud platform.
  • the configuration process adopts the configuration process, without programming, and uses white box to transmit data to realize visual management of the communication process, which is convenient for the user to monitor the operation of the hardware device in real time.
  • the communication gateway of the present invention includes a communication driver module 100 and a communication driver.
  • the output branch 300 includes a data reading component 301, a data extracting component 302, and a data output component 303;
  • the input branch 400 includes a data write component 401, a data storage component 402, and a data input component 403;
  • the communication driving module 100 is respectively connected to the communication driving activation component 200, the data reading component 301 and the data writing component 401;
  • connections are all configuration connections
  • the communication driver module 100 stores a communication driver of the communication object hardware device; wherein the communication driver activation logic can select the communication driver type to be activated by manual configuration or automatic detection, and send the communication driver activation component to the communication driver activation component. 200;
  • the communication driver activation component 200 is configured to activate the communication driver module to operate a communication driver; the communication driver activation component activates the communication driver module to operate according to the received communication driver type a communication driver corresponding to the communication driver type;
  • the data reading component 301 is configured to store data information collected by the communication driver; and implement data communication with a memory interval corresponding to the hardware device by configuring a node number and a memory area;
  • the data extraction component 302 is configured to define a location of the extracted data in a data storage space of the data reading component 401, and extract required data according to the location;
  • the data output component 303 is configured to output the extracted data for use by the functional object
  • the data input component 403 is used to input data and transmit 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 driving module 100 through the data writing component.
  • the plurality of output branches 300 may share one of the data reading elements 301; the plurality of input branches 300 may share one of the data writing elements 401.
  • the data reading component 301 and the data writing component 401 can also be the same data read and write component.
  • the communication object is a PLC or a sensor; the functional object is a host computer, a server or a cloud platform.
  • the communication object may have more than two and pass through an interface module.
  • a block is connected to the communication driver module.
  • the communication driver is obtained by parsing the message information in the communication protocol of the hardware device of different communication objects and performing reverse programming.
  • the communication driver needs to be activated by the communication driver activation logic by manual configuration or automatic detection, and is sent to the communication driver activation component; the communication driver activation logic is passed by a plurality of functional components. The way the state is established.
  • the communication method of the present invention includes a data output process and/or a data input process
  • the data output process includes:
  • the communication driver activation component 200 issues an activation command to the communication driver module 100, so that the communication driver module 100 automatically runs the communication driver;
  • the communication driver module 100 reads data information from the communication object and sends it to the data reading component 301;
  • the data reading component 301 defines a memory interval corresponding to the communication object by configuring a node number and a memory area, and stores the received data information in the memory interval, and the data located in the memory interval Reading information is taken out and sent to the data extraction component 302;
  • the data extraction component 302 defines the location of the data information to be extracted in the data storage space of the data reading component, and according to the location, the data information is extracted and sent to the data output component 303;
  • the data output component 303 transmits the extracted data information to the functional object for use
  • the data input process includes:
  • the data storage component 402 can transfer data to the corresponding data area according to the configured path, and transfer the data to the data writing component 401;
  • the data writing component 401 is defined and configured by configuring a node number and a memory area a memory interval corresponding to the communication object, and the received data information is stored in the memory interval, the data read information located in the memory interval is taken out and sent to the communication driver module 100;
  • the communication driver activation component 200 issues an activation command to the communication driver module 100, so that the communication driver module 100 automatically runs the communication driver;
  • the communication object is now taken as an example of a PLC of an OMRON (shown as OMRON in the figure), and the data output process is as shown in FIG.
  • the communication driver activation logic detects the PLC whose communication object is OMRON and sends the information to the communication driver activation component;
  • the communication driver activation component AO 001 issues an activation command to the OMRON driver module, so that the OMRON communication driver is in the running state, and the data information is read from the OMRON PLC;
  • the data reading component AI 001 reads the data located in the memory interval according to the defined memory interval of the read data
  • the data extraction component extracts the data located at the corresponding location according to the location of the extracted data
  • the data output component transmits the extracted data to the functional object 1 for use;

Abstract

本发明提供一种可组态的通讯网关及其于该通讯网关的通信方法,所述通讯网关包括通讯驱动模块、通讯驱动激活元件、至少一输出支路和至少一输入支路;输出支路包括依次连接的数据读取元件、数据抽取元件、数据输出元件;输入支路包括依次连接的数据写入元件、数据存入元件以及数据输入元件;通讯驱动模块分别连接通讯驱动激活元件、数据读取元件以及数据写入元件;其中连接均为组态方式的连接,且通讯驱动模块中存储了通讯对象硬件设备的通讯驱动程序。本发明用于实现各类不同通讯协议间硬件设备的互联互通,使得计算机、PCL、控制器等具有通讯功能的设备与硬件设备之间的数据传输变得更为简单,提高物联网产品间信息交互的效率。

Description

一种可组态的通讯网关及基于该通讯网关的通信方法 技术领域
本发明涉及一种可组态的通讯网关及其通信方法,属于工业自动化控制技术领域。
背景技术
随着信息科学技术快速发展,传感器技术及物联网技术也得到了飞速的进步。在现在设备联控、智能工厂的要求下,PLC、上位计算机、传感器和其他智能设备之间的信息交互变得尤为重要。当今各国都尝试建设自己的物联网,通过各种信息传感设备,实时采集任何需要监控、连接、互动的物体或过程等各种需要的信息,与互联网结合形成的一个巨大网络。其目的是实现物与物、物与人,所有的物品与网络的连接,方便识别、管理和控制。
然而,当前不同厂商所生产的信息传感设备所采用的通讯协议通常是不相同的,通讯协议种类的繁多,也导致了通讯驱动的多样化。同时绝大多数的通讯驱动都是处于黑盒状态,用户针对单个硬件设备重新开发通讯驱动存在较大难度,工作量繁重。这就为用户同时采集多个异构设备间的数据信息带来极大不便,为物联网的推广造成了巨大阻力。
基于现有技术的不足,提供一种能同时实现对异构设备进行通讯的方法,以轻松实现产品信息互通,信息传递不再受限。通过以通讯网关为通讯桥梁,实现不同通讯协议的异构设备间的互联,促进物联网的发展。
发明内容
本发明基于现有技术的不足,提供一种可组态的通讯网关及基于该通讯网关的通信方法,用于实现各类不同通讯协议间硬件设备的互联互通,使得计算机与硬件设备之间的数据传输变得更为简单,提高物联网产品间信息交互的效率。
本发明的可组态的通讯网关是这样实现的:一种可组态的通讯网关,包 括通讯驱动模块、通讯驱动激活元件、至少一输出支路和至少一输入支路;
所述输出支路包括依次连接的数据读取元件、数据抽取元件、数据输出元件;
所述输入支路包括依次连接的数据写入元件、数据存入元件以及数据输入元件;
所述通讯驱动模块分别连接所述通讯驱动激活元件、所述数据读取元件以及所述数据写入元件;
其中所述连接均为组态方式的连接,从而可根据实际需要快速进行参数配置和属性更改,数据处理灵活多变,且所述通讯驱动模块中存储了通讯对象硬件设备的通讯驱动程序;
所述通讯驱动激活元件用于激活所述通讯驱动模块,使其运行通讯驱动程序;
所述数据读取元件用于存储由通讯驱动所采集的数据信息;并通过配置节点号和内存区来实现与硬件设备对应内存区间的数据通讯;
所述数据抽取元件用于定义所抽取数据在数据读取元件的数据存储空间中所处的位置,并根据该位置抽取所需的数据;
所述数据输出元件用于将所抽取的数据输出,供功能对象使用;
所述数据输入元件用于将数据输入,并传输给数据存入元件;
所述数据存入元件根据配置好的路径,将数据传输至对应的数据区,并通过数据写入元件将数据传输至所述通讯驱动模块中。
本发明中,通讯驱动激活元件、数据读取元件、数据抽取元件、数据输出元件、数据写入元件、数据存入元件以及数据输入元件等各种元件是指用一种直观简单的图形化组态方法,通过将各种算法策略封装的控制组态元件,使用中只需要按照一定的规律去进行不同排列、组合,就能够实现不同功能。
进一步的,多个所述输出支路共用一个所述数据读取元件;和/或多个所述输入支路共用一个所述数据写入元件。此外,所述数据读取元件和所述数据写入元件还可以为同一个数据读写元件。
进一步的,所述通讯对象为PLC、控制器、传感器等具有通讯功能的设备;所述功能对象为计算机(IT计算机、信息管理计算机等)、服务器或云平台等,此外,所述通讯对象可以有二个以上,并通过一接口模块连接到所述通讯驱动模块。所述通讯驱动程序是通过对不同通讯对象硬件设备的通讯协议中的报文信息进行解析,并进行逆向编写得到的。
进一步的,所述通信驱动程序哪些需要激活是通过通信驱动激活逻辑采用手动配置或自动检测两种方式来选择,并发送至所述通信驱动激活元件;所述通信驱动激活逻辑是由多个功能元件通过组态的方式建立的。
本发明的基于上述可组态的通讯网关的通信方法是这样实现的:包括数据输出过程和/或数据输入过程;
所述数据输出过程包括:
(6)所述通讯驱动激活元件发出激活指令至通讯驱动模块中,使所述通讯驱动模块自动运行通讯驱动程序;
(7)所述通讯驱动模块从通讯对象中读取数据信息,并发送给所述数据读取元件中;
(8)所述数据读取元件通过配置节点号和内存区进行定义与所述通讯对象对应的内存区间,并将接收到的数据信息存储在该内存区间内,将位于该内存区间的数据读信息取出来并发送给所述数据抽取元件;
(9)所述数据抽取元件定义所要抽取的数据信息在数据读取元件的数据存储空间中所处的位置,并根据该位置,将数据信息提取出来发送给所述数据输出元件;
(10)所述数据输出元件将被提取出来的数据信息传输至功能对象使用;
所述数据输入过程包括:
(a)所述数据输入元件将功能对象的数据输入到所述数据存入元件;
(b)所述数据存入元件能根据配置好的路径,将数据传输至对应的数据区,并将数据传送给所述数据写入元件;
(c)所述数据写入元件通过配置节点号和内存区进行定义与所述通讯对象对应的内存区间,并将接收到的数据信息存储在该内存区间内,将位于该内存区间的数据读信息取出来并发送给所述通讯驱动模块;
(d)所述通讯驱动激活元件发出激活指令至通讯驱动模块中,使所述通讯驱动模块自动运行通讯驱动程序;
(f)最后由所述通讯驱动模块将数据传送到通讯对象中。
本发明具有如下优点:
1、本发明的通讯网关,其通讯配置过程采用组态过程,简单易学,用户无需具有编程知识就能进行,同时实现了通讯过程的可视化管理,数据传输过程清晰可见。
2、本发明还能同时利用多个通讯协议的接口模块实现对不同硬件设备的同时通讯,有利于用户实现物联网式的分散采集数据,实现大数据式的集中管理。
附图说明
下面参照附图结合实施例对本发明作进一步的说明。
图1为本发明通讯网关的结构示意图。
图2为本发明通讯网关一使用状态的结构示意图。
图3为本发明方法中数据输出的流程图。
图4为本发明方法中数据输入的流程图。
图5为本发明通讯网关一实施例的结构示意图。
具体实施方式
本发明所提供的通讯网关是利用组态元件的方式激活通讯驱动,从而实现与通信对象间的数据传输,能够将PLC、控制器、传感器数据传输至计算机(IT计算机、信息管理计算机等)、服务器或云平台中。配置过程采用组态过程,无需编程,利用白盒化的方式进行数据传输,实现通讯过程的可视化管理,便于用户实时监控硬件设备的运行情况。
请参阅图1所示,本发明的通讯网关包括通讯驱动模块100、通讯驱动 激活元件200、至少一输出支路300和至少一输入支路400;
所述输出支路300包括依次连接的数据读取元件301、数据抽取元件302、数据输出元件303;
所述输入支路400包括依次连接的数据写入元件401、数据存入元件402以及数据输入元件403;
所述通讯驱动模块100分别连接所述通讯驱动激活元件200、所述数据读取元件301以及所述数据写入元件401;
其中所述连接均为组态方式的连接,且
所述通讯驱动模块100中存储了通讯对象硬件设备的通讯驱动程序;其中,通讯驱动激活逻辑可通过手动配置或自动检测两种方式来选择需激活的通讯驱动类型,并发送至通讯驱动激活元件200;
所述通讯驱动激活元件200用于激活所述通讯驱动模块,使其运行通讯驱动程序;所述通讯驱动激活元件是根据所接收到的通讯驱动类型,激活所述通讯驱动模块,使其运行所述通讯驱动类型对应的通讯驱动程序;
所述数据读取元件301用于存储由通讯驱动所采集的数据信息;并通过配置节点号和内存区来实现与硬件设备对应内存区间的数据通讯;
所述数据抽取元件302用于定义所抽取数据在数据读取元件401的数据存储空间中所处的位置,并根据该位置抽取所需的数据;
所述数据输出元件303用于将所抽取的数据输出,供功能对象使用;
所述数据输入元件403用于将数据输入,并传输给数据存入元件402;
所述数据存入元件402根据配置好的路径,将数据传输至对应的数据区,并通过数据写入元件将数据传输至所述通讯驱动模块100中。
在本发明具体的实施中,多个输出支路300可以共用一个所述数据读取元件301;多个输入支路300也可以共用一个所述数据写入元件401。此外,所述数据读取元件301和所述数据写入元件401还可以为同一个数据读写元件。
所述通讯对象为PLC或传感器;所述功能对象为上位机、服务器或云平台。此外,如图2所示,所述通讯对象可以有二个以上,并通过一接口模 块连接到所述通讯驱动模块。
所述通讯驱动程序是通过对不同通讯对象硬件设备的通讯协议中的报文信息进行解析,并进行逆向编写得到的。所述通信驱动程序哪些需要激活是通过通信驱动激活逻辑采用手动配置或自动检测两种方式来选择,并发送至所述通信驱动激活元件;所述通信驱动激活逻辑是由多个功能元件通过组态的方式建立的。
基于本发明的上述通讯网关,本发明通信方法包括数据输出过程和/或数据输入过程;
如图3所示,所述数据输出过程包括:
(11)所述通讯驱动激活元件200发出激活指令至通讯驱动模块100中,使所述通讯驱动模块100自动运行通讯驱动程序;
(12)所述通讯驱动模块100从通讯对象中读取数据信息,并发送给所述数据读取元件301中;
(13)所述数据读取元件301通过配置节点号和内存区进行定义与所述通讯对象对应的内存区间,并将接收到的数据信息存储在该内存区间内,将位于该内存区间的数据读信息取出来并发送给所述数据抽取元件302;
(14)所述数据抽取元件302定义所要抽取的数据信息在数据读取元件的数据存储空间中所处的位置,并根据该位置,将数据信息提取出来发送给所述数据输出元件303;
(15)所述数据输出元件303将被提取出来的数据信息传输至功能对象使用;
如图4所示,所述数据输入过程包括:
(a)所述数据输入元件403将功能对象的数据输入到所述数据存入元件402;
(b)所述数据存入元件402能根据配置好的路径,将数据传输至对应的数据区,并将数据传送给所述数据写入元件401;
(c)所述数据写入元件401通过配置节点号和内存区进行定义与所述 通讯对象对应的内存区间,并将接收到的数据信息存储在该内存区间内,将位于该内存区间的数据读信息取出来并发送给所述通讯驱动模块100;
(d)所述通讯驱动激活元件200发出激活指令至通讯驱动模块100中,使所述通讯驱动模块100自动运行通讯驱动程序;
(f)最后由所述通讯驱动模块100将数据传送到通讯对象中。
通讯对象现以一欧姆龙(图中表示为OMRON)的PLC为例,所述数据输出过程如图5所示,
1)首先通讯驱动激活逻辑检测出通讯对象为OMRON的PLC并将该信息发送至通讯驱动激活元件;
2)通讯驱动激活元件AO 001发出激活指令至OMRON驱动模块中,使OMRON通讯驱动程序处于运行状态,从OMRON的PLC中读取数据信息;
3)数据读取元件AI 001根据所定义的读取数据的内存区间,将位于该内存区间的数据读取出来;
4)数据抽取元件则根据所定义抽取数据的位置,将位于相应位置的数据提取出来;
5)数据输出元件将被提取出来的数据传输至功能对象1提取使用;
6)数据读取元件AI 002所读取的数据将被功能对象2提取使用;
7)数据读取元件AI 003所读取的数据将被功能对象3提取使用;
8)数据读取元件AI 00n所读取的数据将被功能对象n提取使用。
虽然以上描述了本发明的具体实施方式,但是熟悉本技术领域的技术人员应当理解,我们所描述的具体的实施例只是说明性的,而不是用于对本发明的范围的限定,熟悉本领域的技术人员在依照本发明的精神所作的等效的修饰以及变化,都应当涵盖在本发明的权利要求所保护的范围内。

Claims (8)

  1. 一种可组态的通讯网关,其特征在于:包括通讯驱动模块、通讯驱动激活元件、至少一输出支路和至少一输入支路;
    所述输出支路包括依次连接的数据读取元件、数据抽取元件、数据输出元件;
    所述输入支路包括依次连接的数据写入元件、数据存入元件以及数据输入元件;
    所述通讯驱动模块分别连接所述通讯驱动激活元件、所述数据读取元件以及所述数据写入元件;
    其中所述连接均为组态方式的连接,且
    所述通讯驱动模块中存储了通讯对象硬件设备的通讯驱动程序;
    所述通讯驱动激活元件用于激活所述通讯驱动模块,使其运行通讯驱动程序;
    所述数据读取元件用于存储由通讯驱动所采集的数据信息;并通过配置节点号和内存区来实现与硬件设备对应内存区间的数据通讯;
    所述数据抽取元件用于定义所抽取数据在数据读取元件的数据存储空间中所处的位置,并根据该位置抽取所需的数据;
    所述数据输出元件用于将所抽取的数据输出,供功能对象使用;
    所述数据输入元件用于将数据输入,并传输给数据存入元件;
    所述数据存入元件根据配置好的路径,将数据传输至对应的数据区,并通过数据写入元件将数据传输至所述通讯驱动模块中。
  2. 根据权利要求1所述的一种可组态的通讯网关,其特征在于:
    多个所述输出支路共用一个所述数据读取元件;和/或
    多个所述输入支路共用一个所述数据写入元件。
  3. 根据权利要求1或2所述的一种可组态的通讯网关,其特征在于:所述数据读取元件和所述数据写入元件为同一个数据读写元件。
  4. 根据权利要求1所述的一种可组态的通讯网关,其特征在于:所述 通讯对象为具有通讯功能的设备,包括PLC、控制器以及传感器;所述功能对象为计算机、服务器或云平台。
  5. 根据权利要求1所述的一种可组态的通讯网关,其特征在于:所述通讯对象有二个以上,并通过一接口模块连接到所述通讯驱动模块。
  6. 根据权利要求1所述的一种可组态的通讯网关,其特征在于:所述通讯驱动程序是通过对不同通讯对象硬件设备的通讯协议中的报文信息进行解析,并进行逆向编写得到的。
  7. 根据权利要求1所述的一种可组态的通讯网关,其特征在于:所述通信驱动程序哪些需要激活是通过通信驱动激活逻辑采用手动配置或自动检测两种方式来选择,并发送至所述通信驱动激活元件;所述通信驱动激活逻辑是由多个功能元件通过组态的方式建立的。
  8. 一种基于如权利要求1至7任一项的可组态的通讯网关的通信方法,其特征在于:包括数据输出过程和/或数据输入过程;
    所述数据输出过程包括:
    (1)所述通讯驱动激活元件发出激活指令至通讯驱动模块中,使所述通讯驱动模块自动运行通讯驱动程序;
    (2)所述通讯驱动模块从通讯对象中读取数据信息,并发送给所述数据读取元件中;
    (3)所述数据读取元件通过配置节点号和内存区进行定义与所述通讯对象对应的内存区间,并将接收到的数据信息存储在该内存区间内,将位于该内存区间的数据读信息取出来并发送给所述数据抽取元件;
    (4)所述数据抽取元件定义所要抽取的数据信息在数据读取元件的数据存储空间中所处的位置,并根据该位置,将数据信息提取出来发送给所述数据输出元件;
    (5)所述数据输出元件将被提取出来的数据信息传输至功能对象使用;
    所述数据输入过程包括:
    (a)所述数据输入元件将功能对象的数据输入到所述数据存入元件;
    (b)所述数据存入元件能根据配置好的路径,将数据传输至对应的数据区,并将数据传送给所述数据写入元件;
    (c)所述数据写入元件通过配置节点号和内存区进行定义与所述通讯对象对应的内存区间,并将接收到的数据信息存储在该内存区间内,将位于该内存区间的数据读信息取出来并发送给所述通讯驱动模块;
    (d)所述通讯驱动激活元件发出激活指令至通讯驱动模块中,使所述通讯驱动模块自动运行通讯驱动程序;
    (f)最后由所述通讯驱动模块将数据传送到通讯对象中。
PCT/CN2017/099963 2017-08-31 2017-08-31 一种可组态的通讯网关及基于该通讯网关的通信方法 WO2019041242A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/099963 WO2019041242A1 (zh) 2017-08-31 2017-08-31 一种可组态的通讯网关及基于该通讯网关的通信方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/099963 WO2019041242A1 (zh) 2017-08-31 2017-08-31 一种可组态的通讯网关及基于该通讯网关的通信方法

Publications (1)

Publication Number Publication Date
WO2019041242A1 true WO2019041242A1 (zh) 2019-03-07

Family

ID=65524872

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/099963 WO2019041242A1 (zh) 2017-08-31 2017-08-31 一种可组态的通讯网关及基于该通讯网关的通信方法

Country Status (1)

Country Link
WO (1) WO2019041242A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052031A (zh) * 2007-05-23 2007-10-10 中兴通讯股份有限公司 苹果计算机与无线通讯终端进行数据交互的方法
US20090180449A1 (en) * 2008-01-16 2009-07-16 Lasse Maki Mobile WLAN Gateway
CN202872835U (zh) * 2012-11-13 2013-04-10 黑龙江省科学院自动化研究所 可用于工业控制的无线传感器网络与以太网协议转换装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052031A (zh) * 2007-05-23 2007-10-10 中兴通讯股份有限公司 苹果计算机与无线通讯终端进行数据交互的方法
US20090180449A1 (en) * 2008-01-16 2009-07-16 Lasse Maki Mobile WLAN Gateway
CN202872835U (zh) * 2012-11-13 2013-04-10 黑龙江省科学院自动化研究所 可用于工业控制的无线传感器网络与以太网协议转换装置

Similar Documents

Publication Publication Date Title
CN104852845B (zh) 一种物联网智能网关
CN106027671A (zh) 基于云计算的工业数据总线与数据服务系统
CN105610904B (zh) 一种统一接入设备的接入服务系统
CN110622477B (zh) 物联网中基于规则的信息交换的方法和设备
CN105137952A (zh) 一种基于物联网的智能婴儿车系统
CN103777613A (zh) 主从信息实时交互方法以及系统
CN107579913B (zh) 一种可组态的通讯网关及基于该通讯网关的通信方法
CN106873541A (zh) 一种基于DSP的EtherCAT分布式伺服运动控制系统
WO2020140864A1 (zh) 一种诊断数据处理方法、装置、诊断设备和服务器
CN102662383B (zh) 用于控制链条系统的控制链条实现方法
CN104333593B (zh) 运动控制器远程控制方法、故障诊断方法及远程控制系统
JP2021534506A (ja) プログラマブルロジックコントローラベースの人工知能用モジュール式アクセラレーションモジュール
WO2019041242A1 (zh) 一种可组态的通讯网关及基于该通讯网关的通信方法
Shrestha et al. Wireless communication between FPGA and microcontroller
CN106125676A (zh) 一种机器人控制系统
CN205983171U (zh) 一种机器人控制系统
Huang et al. IoT-based networking for humanoid robots
CN106292547B (zh) 一种机器人扩展方法及装置
CN106484441A (zh) 控制器初始化方法及应用该方法的电子装置
CN102053585A (zh) BACald智能化控制平台
JP2004221852A (ja) Opc通信ステーションおよびopc通信システム
CN109120731A (zh) 一种通用型通讯方法、系统及装置
CN201654555U (zh) 应用于工业阀门控制的智能结点模块系统
CN205485449U (zh) 一种dnc信息采集系统
CN205334194U (zh) 一种基于可编程自动化控制器的机器人控制系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17923687

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17923687

Country of ref document: EP

Kind code of ref document: A1