WO2022056927A1 - 一种网关、数据收集方法、电子设备、存储介质和程序 - Google Patents

一种网关、数据收集方法、电子设备、存储介质和程序 Download PDF

Info

Publication number
WO2022056927A1
WO2022056927A1 PCT/CN2020/116585 CN2020116585W WO2022056927A1 WO 2022056927 A1 WO2022056927 A1 WO 2022056927A1 CN 2020116585 W CN2020116585 W CN 2020116585W WO 2022056927 A1 WO2022056927 A1 WO 2022056927A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
industrial
data collection
cloud
cloud platform
Prior art date
Application number
PCT/CN2020/116585
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/CN2020/116585 priority Critical patent/WO2022056927A1/zh
Publication of WO2022056927A1 publication Critical patent/WO2022056927A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Definitions

  • the embodiments of the present application relate to the technical field of the Internet of Things, and in particular, to a data collection gateway, a data collection method, an electronic device, a computer-readable storage medium, and a computer program.
  • cloud services can provide flexible and scalable resources, and connecting industrial equipment to cloud platforms can save costs for enterprises, so it will become a new trend.
  • an industrial device and a cloud platform can be connected through a gateway, so that industrial data generated by the industrial device can be stored in the cloud platform.
  • the gateway needs to be further processed to adapt the gateway to the new cloud platform, resulting in lower efficiency of data collection.
  • the embodiments of the present application provide a data collection gateway, a data collection method, an electronic device, a computer-readable storage medium, and a computer program, to overcome the defect in the prior art that the gateway needs to be redeveloped when migrating a cloud platform , which can flexibly communicate with a variety of different cloud platforms without redevelopment of the gateway, which can improve the efficiency of data collection.
  • a data collection gateway comprising: at least one data collector for acquiring industrial data from connected industrial equipment; at least one processing engine for obtaining industrial data from the data collector and at least one cloud adapter for receiving the communication parameters configured by the user for connecting to the corresponding cloud platform, sending the data frame format in the communication parameters to the processing engine, and receiving the processing
  • the data returned by the engine has the data frame format, and the received data is uploaded to the corresponding cloud platform.
  • the cloud adapter in the data collection gateway is configurable, the user can configure the parameters of the cloud adapter in the data collection gateway to enable the cloud adapter to communicate with any cloud platform.
  • the industrial data is uploaded to other different cloud platforms, users can make the data collection gateway communicate with the new cloud platform through simple configuration without developing a new gateway.
  • the data collection gateway includes multiple data collectors, multiple processing engines, and multiple cloud adapters, industrial data can be collected from multiple industrial devices in parallel, thereby further improving the efficiency of data collection.
  • the numbers of the data collectors, the processing engines and the cloud adapters included in the data collection gateway are variable.
  • users can configure any number of data collectors, any number of processing engines, and any number of cloud adapters according to actual needs. For example, when the number of industrial equipment increases, the number of data collectors, processing engines and cloud adapters can be increased to improve the efficiency of data collection. And when the number of industrial equipment is reduced, the number of data collectors, processing engines and cloud adapters can be reduced to avoid wasting resources.
  • the data collector is further configured to receive parameter information configured by the user for connecting to the industrial equipment, determine the target industrial equipment to be connected according to the parameter information, and communicate with the all industrial equipment.
  • the target industrial device establishes a communication connection.
  • the user can also configure the data collector, so that the data collector can communicate with different industrial devices.
  • the data collection gateway can communicate with the industrial equipment through simple configuration, without the need to re-develop a new gateway, thereby improving the efficiency of data collection and reducing enterprise costs.
  • the cloud adapter is further configured to establish a communication connection with the corresponding cloud platform according to the identity information in the communication parameter.
  • the cloud adapter is further configured to encapsulate the data received from the at least one processing engine according to the communication protocol in the communication parameters, and upload the encapsulated data to the corresponding cloud platform.
  • the cloud adapter can establish a communication connection with the cloud platform according to the identity information configured by the user, and communicate with the cloud platform according to the communication protocol.
  • the plurality of the data collectors are used to obtain data from different industrial devices through one or more industrial Ethernet protocols. to obtain industrial data.
  • each data collector can communicate with one industrial device or multiple industrial devices using the same industrial Ethernet protocol, so industrial data can be acquired from industrial devices using different industrial Ethernet protocols in parallel, Thereby, the efficiency of data collection can be improved.
  • the data collector is further configured to store the acquired industrial data locally.
  • the data collector can continuously update the locally stored data during the data collection process.
  • the processing engine obtains data from the data collector, it can directly obtain the updated data.
  • a data collection method comprising the following steps: at least one data collector obtains industrial data from connected industrial equipment respectively; at least one processing engine obtains the data from the data collector. The industrial data; at least one cloud adapter receives the communication parameters configured by the user for connecting to the corresponding cloud platform, sends the data frame format in the communication parameters to the processing engine, and receives the data with the data returned by the processing engine. frame format data, and upload the received data to the corresponding cloud platform.
  • the cloud adapter since the cloud adapter is configurable, the user can configure the parameters of the cloud adapter to enable the cloud adapter to communicate with any cloud platform.
  • the user in the case of migrating a cloud platform, that is, if industrial data is uploaded to a different cloud platform, the user can make the data collection gateway communicate with the new cloud platform through simple configuration without developing a new gateway.
  • it can improve the efficiency of data collection, and on the other hand, it can also reduce enterprise costs.
  • industrial data can be collected from multiple industrial devices in parallel, which further improves the efficiency of data collection.
  • the numbers of the data collectors, the processing engines and the cloud adapters are all variable.
  • users can configure any number of data collectors, any number of processing engines, and any number of cloud adapters according to actual needs. For example, when the number of industrial equipment increases, the number of data collectors, processing engines and cloud adapters can be increased to improve the efficiency of data collection. Correspondingly, when the number of industrial equipment is reduced, the number of data collectors, processing engines and cloud adapters can be reduced to avoid wasting resources.
  • the method further includes: the data collector receiving parameter information configured by the user for connecting an industrial device, and determining a target industrial device to be connected according to the parameter information, and establishes a communication connection with the target industrial equipment.
  • the user can also configure the data collector, so that the data collector can communicate with different industrial devices.
  • the data collection gateway can communicate with the industrial equipment through simple configuration, without the need to re-develop a new gateway, thereby improving the efficiency of data collection and reducing enterprise costs.
  • the method further includes: establishing, by the cloud adapter, a communication connection with the corresponding cloud platform according to the identity information in the received communication parameters.
  • the at least one data collector obtains industrial data from the connected industrial equipment respectively, including: when there are multiple data collectors, multiple data collection
  • the device obtains industrial data from different industrial devices through one or more industrial Ethernet protocols.
  • the cloud adapter uploading the received data to the corresponding cloud platform includes: the cloud adapter receives the data from the at least one processing engine according to the communication protocol pair in the communication parameters The received data is encapsulated, and the encapsulated data is uploaded to the corresponding cloud platform.
  • the method further includes: the data collector stores the acquired industrial data locally.
  • an electronic device comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are stored by the one or more programs When executed by each processor, the one or more processors are made to implement any one of the data collection methods described above.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements any one of the data collection methods described above.
  • a computer program comprising computer-executable instructions that, when executed, cause at least one processor to perform any one of the data collection methods.
  • FIG. 1 is a schematic structural diagram of a data collection gateway in an embodiment of the application.
  • FIG. 2 is a schematic diagram of a connection relationship between a data collection gateway, an industrial device, and a cloud platform in an embodiment of the application;
  • Fig. 3 is a kind of flow chart of the data collection method in the embodiment of the application.
  • FIG. 4 is an interactive flowchart of the data collection method in the embodiment of the application.
  • FIG. 5 is a schematic structural diagram of an electronic device in an embodiment of the present application.
  • IOT Internet of Things
  • information sensors radio frequency identification technology
  • global positioning systems global positioning systems
  • infrared sensors laser scanners and other devices and technologies
  • the relevant information of interactive objects or processes through various possible network access, realizes the ubiquitous connection between objects and objects and between objects and people, and realizes the intelligent perception, identification and management of objects and processes.
  • the Internet of Things is an information carrier based on the Internet, traditional telecommunication networks, etc. It enables all common physical objects that can be independently addressed to form an interconnected network.
  • the Industrial Internet of Things refers to the application of the Internet of Things in the industrial field. It can be based on the network interconnection between machines, raw materials, control systems, information systems, products and people. Computational processing and advanced modeling and analysis enable intelligent control, operational optimization, and changes in production organization.
  • IoT gateway In the IoT architecture, an intermediate device, the IoT gateway, is required between two different networks at the perception layer and the network layer. IoT gateways can be used not only for WAN interconnection, but also for LAN interconnection. In addition, the IoT gateway can also have a device management function. Through the IoT gateway, the underlying sensing nodes can be managed, the relevant information of each node can be learned, and remote control can be realized.
  • the industrial data in the industrial equipment can be obtained through the Internet of Things gateway, the operating status of the industrial equipment can be understood, the industrial equipment can be controlled remotely, and the industrial data can be stored on the cloud platform.
  • embodiments of the present application provide a data collection gateway, a data collection method, an electronic device, a computer-readable storage medium, and a computer program, which can improve the efficiency of data collection and reduce enterprise costs.
  • the data collection gateway of the embodiment of the present application is first introduced in detail below.
  • At least one data collector 103 for acquiring industrial data from the connected industrial equipment
  • At least one processing engine 102 for obtaining industrial data from a data collector 103;
  • At least one cloud adapter 101 is used to receive the communication parameters configured by the user for connecting to the corresponding cloud platform, send the data frame format in the communication parameters to the processing engine 102, and receive the data in the data frame format returned by the processing engine 102, And upload the received data to the corresponding cloud platform.
  • the cloud adapter 101 in the data collection gateway 100 is configurable, the user can configure the cloud adapter 101 in the data collection gateway 100 to connect the cloud adapter 101 with any cloud platform by configuring the parameters of the cloud adapter 101 in the data collection gateway 100 to communicate.
  • the user can make the data collection gateway communicate with the new cloud platform through simple configuration, without the need to develop a new gateway.
  • it can improve the efficiency of data collection, and on the other hand, it can also reduce enterprise costs.
  • the data collection gateway 100 includes multiple data collectors 103, multiple processing engines 102, and multiple cloud adapters 101, industrial data can be collected from multiple industrial devices in parallel, thereby further improving the efficiency of data collection. effectiveness.
  • the number of industrial devices and cloud platforms in FIG. 2 is only illustrative, and there may be any number of industrial devices and cloud platforms according to implementation requirements. Accordingly, the numbers of data collectors 103 , processing engines 102 and cloud adapters 101 included in the data collection gateway 100 are also variable. That is to say, according to implementation requirements, a user may deploy any number of data collectors 103 , any number of processing engines 102 and any number of cloud adapters 101 in the data collection gateway 100 . For example, the number of data collectors 103, processing engines 102, cloud adapters 101, etc. may be increased or decreased. Among them, the user can be the gateway administrator, or other personnel with the permission to deploy the gateway, etc.
  • the number of industrial equipment in the factory needs to be reduced, and accordingly, the amount of industrial data generated by the industrial equipment will also be reduced. If more data collectors 103 , processing engines 102 and cloud adapters 101 are configured in the data collection gateway 100 , resources will be wasted. At this time, the number of data collectors 103, processing engines 102, and cloud adapters 101 can be reduced to avoid waste of resources.
  • the data collector 103 is further configured to receive parameter information configured by a user for connecting an industrial device, determine a target industrial device to be connected according to the parameter information, and communicate with the target industrial device.
  • Industrial equipment establishes a communication connection.
  • the user can configure the data collector 103 through a web page or a client.
  • the configured parameter information can include: industrial Ethernet protocol, port number, IP (Internet Protocol, Internet Protocol) address, and the like.
  • industrial Ethernet protocols can include: PROFINET (a new generation of automation bus standards based on industrial Ethernet technology), Ethernet/IP (Ethernet Industrial Protocol) and Modbus TCP/IP (Transmission Control Protocol/Internet Protocol), etc., Modbus It is a serial communication protocol and has become the industry standard for communication protocols in the industrial field.
  • the user can configure different parameter information for different data collectors 103, so that different data collectors 103 can establish communication connections with different industrial devices.
  • different data collectors 103 may be configured with the same industrial Ethernet protocol, or may be configured with different industrial Ethernet protocols.
  • the multiple data collectors 103 are used to acquire industrial data from different industrial devices through one or more industrial Ethernet protocols. That is, a plurality of data collectors 103 can collect industrial data from a plurality of industrial devices in parallel, and thus, the efficiency of data collection can be improved.
  • the communication protocol is the communication protocol used when the cloud adapter 101 communicates with the cloud platform, which may include: HTTP (Hyper Text Transfer Protocol, Hypertext Transfer Protocol), MQTT (Message Queuing Telemetry Transport, Message Queuing Telemetry Transport) protocol, etc.
  • the cloud adapter 101 is further configured to encapsulate the data received from the at least one processing engine 102 according to the communication protocol, and upload the encapsulated data to the corresponding cloud platform.
  • the user when replacing industrial equipment, the user can configure the data collector 103, so that the data collector 103 can easily obtain industrial data from different industrial equipment through different industrial Ethernet protocols.
  • the cloud adapter 101 When changing the cloud platform, the user can configure the cloud adapter 101, so that the cloud adapter 101 can be easily connected to a different cloud platform and upload data to the cloud platform. It can be seen that if the industrial Ethernet protocol used to connect industrial equipment changes, or the communication protocol used to connect to the cloud platform has changed, the data collection gateway can adapt to new industrial equipment or new cloud platforms through simple reconfiguration, This can improve the efficiency of data collection and save costs for industrial companies.
  • users can flexibly deploy any number of cloud adapters 101, processing engines 102, and data collectors 103 to suit different industrial needs.
  • FIG. 3 is a flowchart of a data collection method in an embodiment of the present application, which may be applied to the data collection gateway 100, and the data collection method 300 may include the following steps:
  • At least one data collector obtains industrial data from the connected industrial equipment respectively.
  • At least one processing engine acquires industrial data from the data collector.
  • At least one cloud adapter receives the communication parameters configured by the user for connecting to the corresponding cloud platform, sends the data frame format in the communication parameters to the processing engine, receives the data in the data frame format returned by the processing engine, and receives the data frame format.
  • the data is uploaded to the corresponding cloud platform.
  • the user can make the cloud adapter communicate with any cloud platform by configuring the parameters of the cloud adapter in the data collection gateway.
  • the user can make the data collection gateway communicate with the new cloud platform through simple configuration, without the need to develop a new gateway.
  • the data collection gateway includes multiple data collectors, multiple processing engines, and multiple cloud adapters, industrial data can be collected from multiple industrial devices in parallel, thereby further improving the efficiency of data collection.
  • the above data collection method further includes: the data collector receives parameter information configured by a user for connecting an industrial device, determines a target industrial device to be connected according to the parameter information, and communicates with the target industrial device. Establish a communication connection.
  • the above data collection method further includes: the cloud adapter establishes a communication connection with the corresponding cloud platform according to the identity information in the received communication parameters.
  • the cloud adapter uploads the received data to the corresponding cloud platform, including: the cloud adapter encapsulates the data received from the at least one processing engine according to the communication protocol in the communication parameters, and uploads the data to the corresponding cloud platform.
  • the packaged data is uploaded to the corresponding cloud platform.
  • the above data collection method further includes: the data collector stores the acquired industrial data locally.
  • step S401 the user 41 configures the data collector 43 through a web page or a client.
  • the user can configure the parameter information used to connect the industrial equipment, which can include: industrial Ethernet protocol, port number and IP address, etc.
  • the data collector 43 determines the industrial equipment with which it can communicate.
  • step S402 the data collector 43 sends a data request message to the industrial device 42 for acquiring the industrial data in the industrial device 42 .
  • the data collector 43 may periodically acquire industrial data from the industrial equipment, and may also acquire industrial data from the industrial equipment 42 when the industrial data generated in the industrial equipment 42 is updated, which is not made in this application. Specific restrictions.
  • Step S404 the user 41 configures the cloud adapter 45 through a web page or a client.
  • the user may configure parameter information for connecting to the cloud platform 46, which may include: communication protocol, data frame format, identity information, and the like.
  • the cloud adapter 45 can communicate with the cloud platform 46 .
  • the process of uploading data from the cloud adapter 45 to the cloud platform 46 includes the following steps S405 to S412.
  • step S408 the data collector 43 sends the industrial data to the processing engine 44 .
  • step S409 the processing engine 44 processes the received industrial data to generate data in the data frame format.
  • step S410 the processing engine 44 sends the generated data to the cloud adapter 45 .
  • step S411 the cloud adapter 45 encapsulates the data received from the processing engine 44 according to the communication protocol to obtain the encapsulated data.
  • Step S412 the cloud adapter 45 uploads the packaged data to the cloud platform 46 .
  • the user configures the data collector, so that the data collector can easily acquire industrial data from different industrial equipment through different industrial Ethernet protocols.
  • the cloud adapter can also be configured so that the cloud adapter can easily connect to different cloud platforms and upload data to the cloud platform. It can be seen that through simple configuration, the data collection gateway can be adapted to new industrial equipment and/or new cloud platforms, which can improve the efficiency of data collection and save costs for industrial enterprises.
  • users can flexibly deploy any number of cloud adapters, processing engines and data collectors to suit different industrial needs.
  • FIG. 5 is a schematic structural diagram of an electronic device in an embodiment of the present application.
  • the electronic device 500 includes: a processor 502 , a communication interface 504 , a memory 506 , and a communication bus 508 .
  • the processor 502 may be a central processing unit, or a specific integrated circuit (Application Specific Integrated Circuit, ASIC for short), or one or more integrated circuits configured to implement the embodiments of the present application.
  • ASIC Application Specific Integrated Circuit
  • the memory 506 is used to store the program 510 .
  • Memory 506 may include high-speed RAM (random access memory), and may also include non-volatile memory, such as at least one disk storage.
  • the program 510 can specifically be used to cause the processor 502 to execute the relevant steps in the above data collection method embodiments.
  • Embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, implements the relevant steps in the above data collection method.
  • the computer-readable storage medium shown in this application can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, RAM, read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
  • a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, wireless, wireline, optical fiber cable, radio frequency, etc., or any suitable combination of the foregoing.
  • a computer, processor, microprocessor controller or programmable hardware includes storage components (eg, RAM, ROM, flash memory, etc.) that can store or receive software or computer code, when the software or computer code is executed by a computer, When accessed and executed by a processor or hardware, the navigation methods described herein are implemented. Furthermore, when a general-purpose computer accesses code for implementing the navigation methods shown herein, execution of the code converts the general-purpose computer into a special-purpose computer for executing the navigation methods shown herein.
  • storage components eg, RAM, ROM, flash memory, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer And Data Communications (AREA)

Abstract

一种数据收集网关、数据收集方法、电子设备、存储介质和计算机程序,应用于物联网技术领域。数据收集网关(100)包括:至少一个数据收集器(103),用于从所连接的工业设备中获取工业数据;至少一个处理引擎(102),用于从数据收集器(103)中获取工业数据;以及至少一个云适配器(101),用于接收用户配置的用于连接对应云平台的通信参数,将通信参数中的数据帧格式发送至处理引擎(102),接收处理引擎(102)返回的具有该数据帧格式的数据,并将接收到的数据上传至对应的云平台。所述数据收集网关(100)和数据收集方法可以提高数据收集的效率。

Description

一种网关、数据收集方法、电子设备、存储介质和程序 技术领域
本申请实施例涉及物联网技术领域,尤其涉及一种数据收集网关、数据收集方法、电子设备、计算机可读存储介质和计算机程序。
背景技术
在物联网技术中,云服务可以提供灵活、可扩展的资源,将工业设备连接到云平台可以为企业节省成本,因此将成为一种新趋势。
相关技术中,可以通过网关将工业设备和云平台进行连接,从而可以将工业设备产生的工业数据存储至云平台。然而,在迁移云平台的情况下,需要对网关做进一步地处理,以使网关适应于新的云平台,导致数据收集的效率较低。
发明内容
有鉴于此,本申请实施例提供了一种数据收集网关、数据收集方法、电子设备、计算机可读存储介质和计算机程序,以克服现有技术中在迁移云平台时,需要重新开发网关的缺陷,可以在不重新开发网关的情况下,灵活地与多种不同的云平台进行通信,从而可以提高数据收集的效率。
根据本申请的第一方面,提供了一种数据收集网关,包括:至少一个数据收集器,用于从所连接的工业设备中获取工业数据;至少一个处理引擎,用于从所述数据收集器中获取所述工业数据;以及至少一个云适配器,用于接收用户配置的用于连接对应云平台的通信参数,将所述通信参数中的数据帧格式发送至所述处理引擎,接收所述处理引擎返回的具有所述数据帧格式的数据,并将接收到的数据上传至对应的云平台。
本申请实施例中,由于数据收集网关中的云适配器是可配置的,因此,用户对数据收集网关中的云适配器进行参数配置,即可使云适配器与任一云平台进行通信。这样,如果将工业数据上传至其他不同的云平台,用户通过简单配置 即可使数据收集网关与新的云平台进行通信,而不需要开发新的网关。一方面,可以提高数据收集的效率,另一方面,也可以降低企业成本。另外,数据收集网关中包含多个数据收集器、多个处理引擎和多个云适配器的情况下,可以并行地从多个工业设备中收集工业数据,进一步提高数据收集的效率。
在一种可选的实施方式中,所述数据收集网关中包含的所述数据收集器、所述处理引擎和所述云适配器的数量均是可变的。
这样,用户可以根据实际需求,配置任意数量的数据收集器、任意数量的处理引擎和任意数量的云适配器。例如,在工业设备的数量增加时,可以增加数据收集器、处理引擎和云适配器的数量,以提高数据收集的效率。而在工业设备的数量减少时,可以减少数据收集器、处理引擎和云适配器的数量,以避免资源浪费。
在一种可选的实施方式中,所述数据收集器,还用于接收所述用户配置的用于连接工业设备的参数信息,根据所述参数信息确定要连接的目标工业设备,并与所述目标工业设备建立通信连接。
通常情况下,不同的工业设备所使用的工业以太网协议不同,本申请实施例中,用户还可以对数据收集器进行配置,以使数据收集器可以与不同的工业设备通信。这样,在更换工业设备的情况下,通过简单配置即可使数据收集网关与工业设备进行通信,而不需要重新开发新的网关,从而可以提高数据收集的效率,以及降低企业成本。
在一种可选的实施方式中,所述云适配器,还用于根据所述通信参数中的身份标识信息与对应的云平台建立通信连接。
在一种可选的实施方式中,所述云适配器,还用于根据所述通信参数中的通信协议对从所述至少一个处理引擎接收到的数据进行封装,并将封装后的数据上传至对应的云平台。
以这样的方式,云适配器可以根据用户配置的身份标识信息与云平台建立通信连接,并根据通信协议与云平台进行通信等。
在一种可选的实施方式中,在所述数据收集网关中包含多个所述数据收集 器时,多个所述数据收集器用于通过一种或多种工业以太网协议从不同的工业设备中获取工业数据。
以这样的方式,每个数据收集器可以与一个工业设备或使用相同工业以太网协议的多个工业设备进行通信,因此,可以并行地从使用不同工业以太网协议的工业设备中获取工业数据,从而可以提高数据收集的效率。
在一种可选的实施方式中,所述数据收集器,还用于将所获取的工业数据存储至本地。
以这样的方式,数据收集器在收集数据过程中,可以不断更新本地存储的数据。处理引擎在从数据收集器中获取数据时,直接获取更新的数据即可。
根据本申请的第二方面,提供了一种数据收集方法,包括以下步骤:至少一个数据收集器分别从所连接的工业设备中获取工业数据;至少一个处理引擎从所述数据收集器中获取所述工业数据;至少一个云适配器接收用户配置的用于连接对应云平台的通信参数,将所述通信参数中的数据帧格式发送至所述处理引擎,接收所述处理引擎返回的具有所述数据帧格式的数据,并将接收到的数据上传至对应的云平台。
本申请实施例的数据收集方法,由于云适配器是可配置的,因此,用户对云适配器进行参数配置,即可使云适配器与任一云平台进行通信。这样,在迁移云平台的情况下,即,如果将工业数据上传至其他不同的云平台,用户通过简单配置即可使数据收集网关与新的云平台进行通信,而不需要开发新的网关。一方面,可以提高数据收集的效率,另一方面,也可以降低企业成本。另外,在数据收集器、处理引擎和云适配器的数量均为多个时,可以并行地从多个工业设备中收集工业数据,进一步提高数据收集的效率。
在一种可选的实施方式中,所述数据收集器、所述处理引擎和所述云适配器的数量均是可变的。
这样,用户可以根据实际需求,配置任意数量的数据收集器、任意数量的处理引擎和任意数量的云适配器。例如,在工业设备的数量增加时,可以增加数据收集器、处理引擎和云适配器的数量,以提高数据收集的效率。相应地, 在工业设备的数量减少时,可以减少数据收集器、处理引擎和云适配器的数量,以避免资源浪费。
在一种可选的实施方式中,所述方法还包括:所述数据收集器接收所述用户配置的用于连接工业设备的参数信息,并根据所述参数信息确定要连接的目标工业设备,并与所述目标工业设备建立通信连接。
通常情况下,不同的工业设备所使用的工业以太网协议不同,本申请实施例中,用户还可以对数据收集器进行配置,以使数据收集器可以与不同的工业设备通信。这样,在更换工业设备的情况下,通过简单配置即可使数据收集网关与工业设备进行通信,而不需要重新开发新的网关,从而可以提高数据收集的效率,以及降低企业成本。
在一种可选的实施方式中,所述方法还包括:所述云适配器根据接收到的通信参数中的身份标识信息,与对应的云平台建立通信连接。
在一种可选的实施方式中,所述至少一个数据收集器分别从所连接的工业设备中获取工业数据,包括:在所述数据收集器的数量为多个时,多个所述数据收集器通过一种或多种工业以太网协议从不同的工业设备中获取工业数据。
在一种可选的实施方式中,所述云适配器将接收到的数据上传至对应的云平台,包括:所述云适配器根据所述通信参数中的通信协议对从所述至少一个处理引擎接收到的数据进行封装,并将封装后的数据上传至对应的云平台。
在一种可选的实施方式中,所述方法还包括:所述数据收集器将所获取的工业数据存储至本地。
根据本申请的第三方面,提供了一种电子设备,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现上述任一所述的数据收集方法。
根据本申请的第四方面,提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述任一所述的数据收集方法。
根据本申请的第五方面,提供了一种计算机程序,包括计算机可执行指令, 计算机可执行指令在被执行时使至少一个处理器执行任一所述的数据收集方法。
附图说明
后文将参照附图以示例性而非限制性的方式详细描述本申请实施例的一些具体实施例。附图中相同的附图标记标示了相同或类似的部件或部分。本领域技术人员应该理解,这些附图未必是按比例绘制的。附图中:
图1为本申请实施例中数据收集网关的一种结构示意图;
图2为本申请实施例中数据收集网关与工业设备、云平台的一种连接关系示意图;
图3为本申请实施例中数据收集方法的一种流程图;
图4为本申请实施例中数据收集方法的一种交互流程图;
图5为本申请实施例中电子设备的一种结构示意图。
附图标记列表:
100 数据收集网关
101、45 云适配器
102、44 处理引擎
103、43 数据收集器
111、112、113、114、115、116、42 工业设备
121、122、123 云平台
300、400 数据收集方法
S310、S320、S330、S401、S402、S403、S404、S405、S406、S407、S408、S409、S410、S411、S412 步骤
41 用户
46 云平台
500 电子设备
502 处理器
504 通信接口
506 存储器
508 通信总线
510 程序
具体实施方式
实施本申请实施例的任一技术方案必不一定需要同时达到以上的所有优点。
为了使本领域的人员更好地理解本申请实施例中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请实施例一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都应当属于本申请实施例保护的范围。
在物联网(The Internet of Things,简称IOT)技术中,可以通过信息传感器、射频识别技术、全球定位系统、红外感应器、激光扫描器等各种装置与技术,实时采集任何需要监控、连接、互动的物体或过程的相关信息,通过各类可能的网络接入,实现物与物、物与人的泛在连接,实现对物品和过程的智能化感知、识别和管理。物联网是一个基于互联网、传统电信网等的信息承载体,它让所有能够被独立寻址的普通物理对象形成互联互通的网络。
其中,工业物联网是指物联网在工业领域的应用,可以以机器、原材料、控制系统、信息系统、产品以及人之间的网络互联为基础,通过工业数据的全面深度感知、实时传输交换、快速计算处理和高级建模分析,实现智能控制、运营优化和生产组织方式变革等。
在物联网的体系架构中,在感知层和网络层两个不同的网络之间需要一个中间设备,即物联网网关。物联网网关不仅可以用于广域网互连,也可以用于局域网互连。此外,物联网网关还可以具备设备管理功能,通过物联网网关可 以管理底层的各感知节点,了解各节点的相关信息,并实现远程控制。
例如,对于工业物联网,可以通过物联网网关获取工业设备中的工业数据,了解工业设备的运行状态,并对工业设备进行远程控制,还可以将工业数据存储至云平台等。
相关技术中,在将工业设备中的工业数据存储至云平台的过程中,如果要更换云平台,或者,要更换工业设备,网关将无法与新的云平台,或者无法与新的工业设备进行通信。此时,需要重新开发网关,导致数据收集的效率较低,并且增加企业成本。为了解决该问题,本申请实施例提供了一种数据收集网关、数据收集方法、电子设备、计算机可读存储介质以及计算机程序,可以提高数据收集的效率,降低企业成本。
下面首先对本申请实施例的数据收集网关进行详细介绍。
参见图1,图1为本申请实施例中数据收集网关的一种结构示意图,数据收集网关100可以包括:至少一个云适配器101、至少一个处理引擎102和至少一个数据收集器103。
至少一个数据收集器103,用于从所连接的工业设备中获取工业数据;
至少一个处理引擎102,用于从数据收集器103中获取工业数据;以及
至少一个云适配器101,用于接收用户配置的用于连接对应云平台的通信参数,将通信参数中的数据帧格式发送至处理引擎102,接收处理引擎102返回的具有该数据帧格式的数据,并将接收到的数据上传至对应的云平台。
本申请实施例中,由于数据收集网关100中的云适配器101是可配置的,因此,用户通过对数据收集网关100中的云适配器101进行参数配置,即可使云适配器101与任一云平台进行通信。这样,如果将工业数据上传至其他云平台,用户通过简单配置即可使数据收集网关与新的云平台进行通信,而不需要开发新的网关。一方面,可以提高数据收集的效率,另一方面,也可以降低企业成本。另外,数据收集网关100中包含多个数据收集器103、多个处理引擎102和多个云适配器101的情况下,可以并行地从多个工业设备中收集工业数据,从而可以进一步提高数据收集的效率。
参见图2,图2为本申请实施例中数据收集网关与工业设备、云平台的一种连接关系示意图,除了数据收集网关100之外,还包括:工业设备111、112、113、114、115、116以及云平台121、122、123。工业设备111、112、113、114、115、116可以和数据收集网关100中的数据收集器103进行通信,云平台121、122、123可以和数据收集网关100中的云适配器101进行通信。
应该理解,图2中的工业设备和云平台的数量仅仅是示意性的,根据实现需要,可以具有任意数量的工业设备和云平台。相应地,数据收集网关100中包含的数据收集器103、处理引擎102和云适配器101的数量也均是可变的。也就是说,根据实现需要,用户可以在数据收集网关100中部署任意数量的数据收集器103、任意数量的处理引擎102以及任意数量的云适配器101。例如,可以增加或减少数据收集器103、处理引擎102和云适配器101的数量等。其中,用户可以是网关管理员,或其他具有部署网关权限的人员等。
举例而言,在一种场景下,工厂中需要增加工业设备的数量,相应地,增加后的工业设备产生的工业数据的数量也会增加。在通过数据收集网关100收集工业数据时,由于要收集更多的工业数据,数据传输效率将会降低,从而整体上导致数据收集的效率降低。此时,如果增加数据收集器103、处理引擎102以及云适配器101的数量,可以通过更多的数据收集器103收集工业数据,更多的处理引擎102处理工业数据,并且,通过更多的云适配器101上传数据到更多的云平台,可以提高数据收集的效率。当然,也可以只增加数据收集器103的数量,只增加处理引擎102的数量,只增加云适配器101的数量,或者增加数据收集器103和处理引擎102的数量等,本申请并不以此为限。
反之,在另一种场景下,工厂中需要减少工业设备的数量,相应地,工业设备产生的工业数据的数量也会减少。如果在数据收集网关100中配置较多的数据收集器103、处理引擎102和云适配器101,将会造成资源的浪费。此时,可以减少数据收集器103、处理引擎102以及云适配器101的数量,以避免资源浪费。
通常情况下,来自不同供应商的工业设备会使用不同的工业以太网协议。相关技术中,如果工厂要更换工业设备,或者要更换工业设备所使用的工业以太网协议,则需要重新开发新的网关,以通过新的工业以太网协议连接新的工业设备。
为了解决上述问题,在本申请的一种实现方式中,数据收集器103,还用于接收用户配置的用于连接工业设备的参数信息,根据参数信息确定要连接的目标工业设备,并与目标工业设备建立通信连接。
具体的,用户可以通过网页或者客户端对数据收集器103进行配置,例如,所配置的参数信息可以包括:工业以太网协议、端口号、IP(Internet Protocol,互联网协议)地址等。这样,数据收集器103可以根据参数信息与对应的目标工业设备建立通信连接,从而可以从对应的目标工业设备中获取工业数据。其中,工业以太网协议可以包括:PROFINET(新一代基于工业以太网技术的自动化总线标准)、以太网/IP(以太网工业协议)和Modbus TCP/IP(传输控制协议/互联网协议)等,Modbus是一种串行通信协议,已经成为工业领域通信协议的业界标准。
本申请实施例中,用户可以对不同的数据收集器103配置不同的参数信息,这样,不同的数据收集器103可以与不同的工业设备建立通信连接。需要说明的是,不同数据收集器103可以配置相同的工业以太网协议,也可以配置不同的工业以太网协议。那么,在数据收集网关100中包含多个数据收集器103时,多个数据收集器103用于通过一种或多种工业以太网协议从不同的工业设备中获取工业数据。也就是,多个数据收集器103可以并行地从多个工业设备中收集工业数据,因此,可以提高数据收集的效率。
如图2所示,数据收集器103可以连接一个工业设备115,也可以连接两个工业设备111和114,或者连接三个工业设备112、113和116。可以看出,不同数据收集器103所连接的工业设备均不同。当然,数据收集器103也可以连接更多个工业设备,在连接多个工业设备时,该多个工业设备所使用的工业以太网协议可以相同。
在本申请的一种实现方式中,数据收集器103,还用于将所获取的工业数据存储至本地。这样,处理引擎102直接从数据收集器103中获取工业数据即可。处理引擎102通过对工业数据进行处理之后,再发送至云适配器101。其中,处理引擎102对工业数据的处理过程将在下文进行介绍。
如前所述,不同的云平台所使用的通信协议可能不同,如果通过数据收集网关将数据上传到某一个云平台,使该数据收集网关所使用的通信协议与云平台所使用的通信协议相同即可。本申请实施例中,用户可以根据实际需求对云适配器进行配置,使云适配器可以与任一云平台进行通信。例如,用于可以通过网页或者客户端对云适配器进行配置,确定与云平台连接的通信参数。对于不同的云适配器101,可以配置不同的通信参数。其中,用户配置的通信参数中可以包括数据帧格式,该数据帧格式可以是云适配器101和云平台进行通信时所使用的数据帧格式。
由于数据收集器103从工业设备中收集的工业数据可能对应多种不同的数据类型,因此,可以通过处理引擎102做进一步的处理之后再发送至云适配器101。具体的,云适配器101可以将数据帧格式发送至处理引擎102,处理引擎102接收到该数据帧格式后,从数据收集器103中获取工业数据,在获取到工业数据之后,根据该工业数据生成具有该数据帧格式的数据,并将生成的数据发送至云适配器101。之后,云适配器101再将具有该数据帧格式的数据上传至云平台。需要说明的是,在数据收集网关100中包含多个处理引擎102时,多个处理引擎102可以并行地为相同或不同的云适配器101生成数据,进一步提高数据收集的效率。
本申请实施例中,用于连接对应云平台的通信参数除了前述的数据帧格式之外,还可以包括:身份标识信息和通信协议。身份标识信息是云适配器101连接至云平台的身份标识,不同的云适配器101可以对应不同的身份标识信息。云适配器101,还用于根据身份标识信息与对应的云平台建立通信连接。
而通信协议是云适配器101和云平台进行通信时所使用的通信协议,可以包括:HTTP(Hyper Text Transfer Protocol,超文本传输协议)、MQTT(Message  Queuing Telemetry Transport,消息队列遥测传输)协议等。云适配器101,还用于根据通信协议对从至少一个处理引擎102接收到的数据进行封装,并将封装后的数据上传至对应的云平台。
本申请实施例的数据收集网关,在更换工业设备时,用户可以对数据收集器103进行配置,这样,数据收集器103可以很容易通过不同的工业以太网协议从不同的工业设备获取工业数据。在更换云平台时,用户可以对云适配器101进行配置,这样,云适配器101可以很容易地连接到不同的云平台,并将数据上传至云平台。可见,如果用于连接工业设备的工业以太网协议更改,或者用于连接云平台的通信协议已更改,则通过简单的重新配置,数据收集网关可以适配新的工业设备或新的云平台,这样可以提高数据收集的效率,并且为工业企业节省成本。另外,用户可以灵活部署任意数量的云适配器101、处理引擎102和数据收集器103,以适应不同的工业需求。
应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块,但是这种划分并非强制性的。实际上,根据本申请的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。
参见图3,图3为本申请实施例中数据收集方法的一种流程图,可以应用于数据收集网关100,数据收集方法300可以包括以下步骤:
S310,至少一个数据收集器分别从所连接的工业设备中获取工业数据。
S320,至少一个处理引擎从数据收集器中获取工业数据。
S330,至少一个云适配器接收用户配置的用于连接对应云平台的通信参数,将通信参数中的数据帧格式发送至处理引擎,接收处理引擎返回的具有该数据帧格式的数据,并将接收到的数据上传至对应的云平台。
本申请实施例的数据收集方法,用户通过对数据收集网关中的云适配器进行参数配置,即可使云适配器与任一云平台进行通信。这样,如果将工业数据 上传至其他不同的云平台,用户通过简单配置即可使数据收集网关与新的云平台进行通信,而不需要开发新的网关。一方面,可以提高数据收集的效率,另一方面,也可以降低企业成本。另外,数据收集网关中包含多个数据收集器、多个处理引擎和多个云适配器的情况下,可以并行地从多个工业设备中收集工业数据,进一步提高数据收集的效率。
在一种可选的实施方式中,数据收集器、处理引擎和云适配器的数量均是可变的。
在一种可选的实施方式中,上述数据收集方法还包括:数据收集器接收用户配置的用于连接工业设备的参数信息,并根据参数信息确定要连接的目标工业设备,并与目标工业设备建立通信连接。
在一种可选的实施方式中,上述数据收集方法还包括:云适配器根据接收到的通信参数中的身份标识信息,与对应的云平台建立通信连接。
在一种可选的实施方式中,至少一个数据收集器分别从所连接的工业设备中获取工业数据,包括:在数据收集器的数量为多个时,多个数据收集器通过一种或多种工业以太网协议从不同的工业设备中获取工业数据。
在一种可选的实施方式中,云适配器将接收到的数据上传至对应的云平台,包括:云适配器根据通信参数中的通信协议对从至少一个处理引擎接收到的数据进行封装,并将封装后的数据上传至对应的云平台。
在一种可选的实施方式中,上述数据收集方法还包括:数据收集器将所获取的工业数据存储至本地。
上述方法中各模块的具体细节已经在对应的数据收集网关中进行了详细的描述,因此此处不再赘述。
参见图4,图4为本申请实施例中数据收集方法的一种交互流程图,数据收集方法400可以包括以下步骤:
步骤S401,用户41通过网页或客户端对数据收集器43进行配置。
本步骤中,用户可以配置用于连接工业设备的参数信息,可以包括:工业 以太网协议、端口号和IP地址等。通过该配置,数据收集器43确定可以与自身通信的工业设备。
步骤S402,数据收集器43向工业设备42发送数据请求消息,用于获取工业设备42中的工业数据。
本申请实施例中,数据收集器43可以周期性地从工业设备中获取工业数据,也可以在工业设备42中生成的工业数据更新时,从工业设备42中获取工业数据,本申请对此不作具体限定。
步骤S403,工业设备42接收到数据请求消息后,向数据收集器43发送工业数据。需要说明的是,在数据收集器43获取到工业数据之后,也可以将工业数据存储至本地。
步骤S404,用户41通过网页或客户端对云适配器45进行配置。
本步骤中,用户可以配置用于连接云平台46的参数信息,可以包括:通信协议、数据帧格式和身份标识信息等。通过该配置,云适配器45可以与云平台46进行通信。云适配器45向云平台46上传数据的过程包括下述步骤S405~步骤S412。
步骤S405,云适配器45通过身份标识信息连接到云平台46。
步骤S406,云适配器45将数据帧格式发送至处理引擎44,使处理引擎44提供具有该数据帧格式的数据。
步骤S407,处理引擎44向数据收集器43发送数据请求消息,用于获取数据收集器43中的工业数据。
步骤S408,数据收集器43向处理引擎44发送工业数据。
步骤S409,处理引擎44对接收到的工业数据进行处理,生成具有该数据帧格式的数据。
步骤S410,处理引擎44将生成的数据发送至云适配器45。
步骤S411,云适配器45根据通信协议对接收自处理引擎44的数据进行封装,得到封装之后的数据。
步骤S412,云适配器45将封装之后的数据上传至云平台46。
本申请实施例的数据收集方法,用户通过对数据收集器进行配置,使数据收集器很容易地通过不同的工业以太网协议从不同的工业设备获取工业数据。还可以对云适配器进行配置,使云适配器可以很容易地连接到不同的云平台,并将数据上传至云平台。可见,通过简单的配置,即可使数据收集网关适配新的工业设备和/或新的云平台,这样可以提高数据收集的效率,并且为工业企业节省成本。另外,用户还可以灵活部署任意数量的云适配器、处理引擎和数据收集器,以适应不同的工业需求。
应当注意,尽管在附图中以特定顺序描述了本申请中方法的各个步骤,但是,这并非要求或者暗示必须按照该特定顺序来执行这些步骤,或是必须执行全部所示的步骤才能实现期望的结果。附加的或备选的,可以省略某些步骤,将多个步骤合并为一个步骤执行,以及/或者将一个步骤分解为多个步骤执行等。在某些实施方式中,多任务处理和并行处理可以是有利的。
图5为本申请实施例中电子设备的结构示意图。根据图5所示,该电子设备500包括:处理器502、通信接口504、存储器506、以及通信总线508。
其中:处理器502、通信接口504、以及存储器506通过通信总线508完成相互间的通信。
通信接口504,用于与工业设备和云平台进行通信。
处理器502,用于执行程序510,具体可以执行上述数据收集方法实施例中的相关步骤。
具体地,程序510可以包括程序代码,该程序代码包括计算机操作指令。
处理器502可能是中央处理器,或者是特定集成电路(Application Specific Integrated Circuit,简称ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路。移动终端包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个中央处理器;也可以是不同类型的处理器,如一个或多个中央处理器以及一个或多个ASIC。
存储器506,用于存放程序510。存储器506可能包含高速RAM(随机访问存储器),也可能还包括非易失性存储器(non-volatile memory),例如至少 一个磁盘存储器。
程序510具体可以用于使得处理器502执行上述数据收集方法实施例中的相关步骤。
本申请实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述数据收集方法中的相关步骤。
需要说明的是,本申请所示的计算机可读存储介质例如可以是—但不限于—电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、RAM、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、射频等等,或者上述的任意合适的组合。
本申请实施例还提供了一种计算机程序,包括计算机可执行指令,计算机可执行指令在被执行时,使至少一个处理器执行上述数据收集方法中的相关步骤。
本申请实施例还提供了一种计算机程序产品,包括计算机可执行指令,计算机可执行指令在被执行时使至少一个处理器执行上述数据收集方法中的相关步骤。
上述本申请实施例的方法可在硬件、固件中实现,或者被实现为可存储在 记录介质(诸如CD ROM、RAM、软盘、硬盘或磁光盘)中的软件或计算机代码,或者被实现通过网络下载的原始存储在远程记录介质或非暂时机器可读介质中并将被存储在本地记录介质中的计算机代码,从而在此描述的方法可被存储在使用通用计算机、专用处理器或者可编程或专用硬件(诸如ASIC或现场可编程门阵列)的记录介质上的这样的软件处理。可以理解,计算机、处理器、微处理器控制器或可编程硬件包括可存储或接收软件或计算机代码的存储组件(例如,RAM、ROM、闪存等),当所述软件或计算机代码被计算机、处理器或硬件访问且执行时,实现在此描述的导航方法。此外,当通用计算机访问用于实现在此示出的导航方法的代码时,代码的执行将通用计算机转换为用于执行在此示出的导航方法的专用计算机。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及方法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请实施例的范围。
以上实施方式仅用于说明本申请实施例,而并非对本申请实施例的限制,有关技术领域的普通技术人员,在不脱离本申请实施例的精神和范围的情况下,还可以做出各种变化和变型,因此所有等同的技术方案也属于本申请实施例的范畴,本申请实施例的专利保护范围应由权利要求限定。

Claims (15)

  1. 一种数据收集网关,包括:
    至少一个数据收集器,用于从所连接的工业设备中获取工业数据;
    至少一个处理引擎,用于从所述数据收集器中获取所述工业数据;以及
    至少一个云适配器,用于接收用户配置的用于连接对应云平台的通信参数,将所述通信参数中的数据帧格式发送至所述处理引擎,接收所述处理引擎返回的具有所述数据帧格式的数据,并将接收到的数据上传至对应的云平台。
  2. 根据权利要求1所述的数据收集网关,其中,所述数据收集网关中包含的所述数据收集器、所述处理引擎和所述云适配器的数量均是可变的。
  3. 根据权利要求1或2所述的数据收集网关,其中,
    所述数据收集器,还用于接收所述用户配置的用于连接工业设备的参数信息,根据所述参数信息确定要连接的目标工业设备,并与所述目标工业设备建立通信连接。
  4. 根据权利要求1或2所述的数据收集网关,其中,
    所述云适配器还用于根据所述通信参数中的身份标识信息与对应的云平台建立通信连接。
  5. 根据权利要求1或2所述的数据收集网关,其中,
    所述云适配器,还用于根据所述通信参数中的通信协议对从所述至少一个处理引擎接收到的数据进行封装,并将封装后的数据上传至对应的云平台。
  6. 根据权利要求1所述的数据收集网关,其中,在所述数据收集网关中包含多个所述数据收集器时,多个所述数据收集器用于通过一种或多种工业以太网协议从不同的工业设备中获取工业数据。
  7. 根据权利要求1所述的数据收集网关,其中,
    所述数据收集器,还用于将所获取的工业数据存储至本地。
  8. 一种数据收集方法,包括:
    至少一个数据收集器分别从所连接的工业设备中获取工业数据;
    至少一个处理引擎从所述数据收集器中获取所述工业数据;以及
    至少一个云适配器接收用户配置的用于连接对应云平台的通信参数,将所 述通信参数中的数据帧格式发送至所述处理引擎,接收所述处理引擎返回的具有所述数据帧格式的数据,并将接收到的数据上传至对应的云平台。
  9. 根据权利要求8所述的方法,其中,所述数据收集器、所述处理引擎和所述云适配器的数量均是可变的。
  10. 根据权利要求8或9所述的方法,其中,还包括:
    所述数据收集器接收所述用户配置的用于连接工业设备的参数信息,并根据所述参数信息确定要连接的目标工业设备,并与所述目标工业设备建立通信连接。
  11. 根据权利要求8或9所述的方法,其中,还包括:
    所述云适配器根据接收到的通信参数中的身份标识信息,与对应的云平台建立通信连接。
  12. 根据权利要求8所述的方法,其中,所述至少一个数据收集器分别从所连接的工业设备中获取工业数据,包括:
    在所述数据收集器的数量为多个时,多个所述数据收集器通过一种或多种工业以太网协议从不同的工业设备中获取工业数据。
  13. 一种电子设备,包括:
    一个或多个处理器;
    存储装置,用于存储一个或多个程序,
    当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如权利要求8至12中任一所述的方法。
  14. 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如权利要求8至12中任一所述的方法。
  15. 一种计算机程序,包括计算机可执行指令,计算机可执行指令在被执行时使至少一个处理器执行根据权利要求8至12中任意一项所述的方法。
PCT/CN2020/116585 2020-09-21 2020-09-21 一种网关、数据收集方法、电子设备、存储介质和程序 WO2022056927A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/116585 WO2022056927A1 (zh) 2020-09-21 2020-09-21 一种网关、数据收集方法、电子设备、存储介质和程序

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/116585 WO2022056927A1 (zh) 2020-09-21 2020-09-21 一种网关、数据收集方法、电子设备、存储介质和程序

Publications (1)

Publication Number Publication Date
WO2022056927A1 true WO2022056927A1 (zh) 2022-03-24

Family

ID=80775846

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/116585 WO2022056927A1 (zh) 2020-09-21 2020-09-21 一种网关、数据收集方法、电子设备、存储介质和程序

Country Status (1)

Country Link
WO (1) WO2022056927A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114844927A (zh) * 2022-05-24 2022-08-02 中能融合智慧科技有限公司 一种分布式光伏场站数据采集系统、电子设备及存储介质
CN115378820A (zh) * 2022-06-30 2022-11-22 重庆沄析工业互联网有限公司 基于ModbusTCP协议和标识解析技术的数据传输及标识注册方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102307223A (zh) * 2011-05-12 2012-01-04 南京中兴新软件有限责任公司 一种实现应用平台适配的方法和系统
CN102857566A (zh) * 2012-09-06 2013-01-02 上海计算机软件技术开发中心 一种可软件定制的物联网智能网关
US20150281356A1 (en) * 2014-03-26 2015-10-01 Rockwell Automation Technologies, Inc. Unified data ingestion adapter for migration of industrial data to a cloud platform
CN107765657A (zh) * 2017-09-08 2018-03-06 深圳市智物联网络有限公司 一种基于物联网的水务智能监控方法及系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102307223A (zh) * 2011-05-12 2012-01-04 南京中兴新软件有限责任公司 一种实现应用平台适配的方法和系统
CN102857566A (zh) * 2012-09-06 2013-01-02 上海计算机软件技术开发中心 一种可软件定制的物联网智能网关
US20150281356A1 (en) * 2014-03-26 2015-10-01 Rockwell Automation Technologies, Inc. Unified data ingestion adapter for migration of industrial data to a cloud platform
CN107765657A (zh) * 2017-09-08 2018-03-06 深圳市智物联网络有限公司 一种基于物联网的水务智能监控方法及系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114844927A (zh) * 2022-05-24 2022-08-02 中能融合智慧科技有限公司 一种分布式光伏场站数据采集系统、电子设备及存储介质
CN115378820A (zh) * 2022-06-30 2022-11-22 重庆沄析工业互联网有限公司 基于ModbusTCP协议和标识解析技术的数据传输及标识注册方法

Similar Documents

Publication Publication Date Title
US11025452B2 (en) Edge server and method of operating an edge server
CN109889551B (zh) 一种智能硬件接入的物联网云平台的方法
US10334048B2 (en) On-premise data collection and ingestion using industrial cloud agents
CN110247784B (zh) 确定网络拓扑结构的方法和装置
US10904340B2 (en) Method for operating an automation network
WO2022056927A1 (zh) 一种网关、数据收集方法、电子设备、存储介质和程序
CN113055478A (zh) 一种设备数据的处理方法、装置、设备及介质
KR20180001650A (ko) IoT 기반의 공장 통합 관리 장치
WO2021197353A1 (zh) 数据分流方法、装置、设备及介质
Müller et al. 5G as key technology for networked factories: Application of vertical-specific network services for enabling flexible smart manufacturing
Kazala et al. Wireless network for mobile robot applications
CN115118794A (zh) 数据标准化的处理方法、装置及电子设备
CN113766026B (zh) 一种应用于能源工业网的数据处理方法及系统
CN110661850B (zh) 一种边缘计算方法、系统、计算机设备和存储介质
Breunig et al. Multi-protocol data aggregation and acquisition for distributed control systems
CN114827293B (zh) 边缘智能网关管理方法及边缘智能网关
Radovanovic et al. Multi channel sensor measurements in fog computing architecture
TWI795619B (zh) 內建伺服模組的閘道裝置與通信系統
CN112583652B (zh) 工业实时数据过滤方法及装置
CN109271310B (zh) 移动应用程序网络功能的开发测试方法和装置
Parto et al. An mtconnect-compatible platform for secured machine monitoring through integration of fog computing, cloud computing, and communication protocols
CN115037639B (zh) 边缘数据平台接口信息的处理方法、装置、设备及介质
KR20210066595A (ko) 이기종 레거시 프로토콜과의 연동을 위한 스마트공장 엣지디바이스
Khudair et al. Iot based image processing filters
KR20190142487A (ko) 중소공장 데이터수집 중계 장치 미들웨어

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20953785

Country of ref document: EP

Kind code of ref document: A1