CN115460258A - Industrial equipment data acquisition control system and method - Google Patents

Industrial equipment data acquisition control system and method Download PDF

Info

Publication number
CN115460258A
CN115460258A CN202210843812.7A CN202210843812A CN115460258A CN 115460258 A CN115460258 A CN 115460258A CN 202210843812 A CN202210843812 A CN 202210843812A CN 115460258 A CN115460258 A CN 115460258A
Authority
CN
China
Prior art keywords
data
message
industrial
object model
equipment
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.)
Pending
Application number
CN202210843812.7A
Other languages
Chinese (zh)
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.)
Inspur Communication Technology Co Ltd
Original Assignee
Inspur Communication 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 Inspur Communication Technology Co Ltd filed Critical Inspur Communication Technology Co Ltd
Priority to CN202210843812.7A priority Critical patent/CN115460258A/en
Publication of CN115460258A publication Critical patent/CN115460258A/en
Pending legal-status Critical Current

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/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2212/00Encapsulation of packets
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

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

Abstract

The invention provides a data acquisition control system and a method for industrial equipment, which relate to the technical field of automation, and the system comprises: the system comprises end-side gateway equipment, a message queue server and a data management platform; the end-side gateway equipment is used for acquiring industrial data of the target industrial equipment based on a target interface protocol, packaging the industrial data into an object model data message and then forwarding the object model data message to the data management platform through the message queue server; and the data management platform is used for receiving the equipment control instruction, packaging the equipment control instruction into an object model control instruction message, and forwarding the object model control instruction message to the end-side gateway equipment through the message queue server so that the end-side gateway equipment can analyze the object model control instruction message, obtain the equipment control instruction and send the equipment control instruction to the corresponding industrial equipment. The invention decouples the application and the equipment based on the technologies of the message queue, the object model and the like, not only can realize the data acquisition and control of the industrial equipment, but also can improve the interface protocol docking efficiency and reduce the operation and maintenance cost.

Description

工业设备数据采集控制系统及方法Industrial equipment data acquisition control system and method

技术领域technical field

本发明涉及自动化技术领域,尤其涉及一种工业设备数据采集控制系统及方法。The invention relates to the technical field of automation, in particular to an industrial equipment data acquisition control system and method.

背景技术Background technique

工业设备的数据采集和控制是制造执行系统的底层,实现对工业设备的数据采集和控制,是进行工业生产的物料追踪、生产计划、产品历史记录维护以及其他生产管理的基础。The data acquisition and control of industrial equipment is the bottom layer of the manufacturing execution system, which realizes the data acquisition and control of industrial equipment, and is the basis for material tracking, production planning, product history record maintenance and other production management in industrial production.

常见的工业设备包含数控机床、可编程逻辑器件、机械臂和传感器等。由于各工业设备的硬件品牌接口均不统一,传统的工业设备的数据采集和控制需要对接对每一种设备的接口协议,包括主流的通用协议和品牌私有协议,造成平台获取数据碎片化、接口协议对接难度大和设备部署运维成本高等问题。Common industrial equipment includes CNC machine tools, programmable logic devices, robotic arms, and sensors. Since the hardware brand interfaces of various industrial equipment are not uniform, the data acquisition and control of traditional industrial equipment needs to be connected to the interface protocols of each type of equipment, including mainstream general-purpose protocols and brand private protocols, resulting in fragmentation of data acquired by the platform and poor interfaces. There are problems such as the difficulty of protocol docking and the high cost of equipment deployment and operation and maintenance.

发明内容Contents of the invention

针对现有技术存在的问题,本发明提供一种工业设备数据采集控制系统及方法。Aiming at the problems existing in the prior art, the present invention provides an industrial equipment data acquisition control system and method.

第一方面,本发明提供一种工业设备数据采集控制系统,包括:In a first aspect, the present invention provides an industrial equipment data acquisition control system, including:

端侧网关设备、消息队列服务器和数据管理平台,所述端侧网关设备封装有不同类型的接口协议;An end-side gateway device, a message queue server, and a data management platform, wherein the end-side gateway device is encapsulated with different types of interface protocols;

所述端侧网关设备用于基于目标接口协议采集目标工业设备的工业数据,并将所述工业数据封装为物模型数据报文后传输至所述消息队列服务器,以供所述消息队列服务器将所述物模型数据报文转发到所述数据管理平台;所述目标接口协议为与所述目标工业设备适用的接口协议相匹配的接口协议,所述目标工业设备为与所述端侧网关设备相连接的工业设备;The end-side gateway device is used to collect the industrial data of the target industrial equipment based on the target interface protocol, and encapsulate the industrial data into an object model data packet and transmit it to the message queue server for the message queue server to The object model data message is forwarded to the data management platform; the target interface protocol is an interface protocol that matches the interface protocol applicable to the target industrial equipment, and the target industrial equipment is an interface protocol compatible with the end-side gateway device connected industrial equipment;

所述数据管理平台用于接收用户输入的设备控制指令,并将所述设备控制指令封装为物模型控制指令报文后,通过所述消息队列服务器将所述物模型控制指令报文转发至所述端侧网关设备,以供所述端侧网关设备对所述物模型控制指令报文进行解析,获取与所述物模型控制指令报文相对应的设备控制指令,并将所述设备控制指令发送至与所述设备控制指令相对应的工业设备。The data management platform is used to receive the device control command input by the user, encapsulate the device control command into a physical model control command message, and forward the physical model control command message to the physical model control command message through the message queue server. The end-side gateway device is used for the end-side gateway device to analyze the object model control instruction message, obtain the device control instruction corresponding to the object model control instruction message, and send the device control instruction Send to the industrial equipment corresponding to the equipment control instruction.

可选地,根据本发明提供的一种工业设备数据采集控制系统,所述端侧网关设备与所述消息队列服务器之间通过5G网络进行通信。Optionally, according to an industrial equipment data collection and control system provided in the present invention, the terminal-side gateway device communicates with the message queue server through a 5G network.

可选地,根据本发明提供的一种工业设备数据采集控制系统,数据管理平台还用于解析所述物模型数据报文,获取与所述物模型数据报文相对应的工业数据,并对所述工业数据进行分析和展示。Optionally, according to an industrial equipment data acquisition control system provided by the present invention, the data management platform is further configured to parse the object model data message, obtain industrial data corresponding to the object model data message, and The industrial data is analyzed and displayed.

可选地,根据本发明提供的一种工业设备数据采集控制系统,所述端侧网关设备上设置有多个用于连接工业设备的接口;Optionally, according to an industrial equipment data collection and control system provided in the present invention, the end-side gateway device is provided with a plurality of interfaces for connecting industrial equipment;

所述接口的类型包括以下任意一项或多项:The type of the interface includes any one or more of the following:

串行接口、以太网接口和USB接口。Serial interface, Ethernet interface and USB interface.

第二方面,本发明还提供一种工业设备数据采集方法,应用于端侧网关设备,包括:In the second aspect, the present invention also provides a method for collecting industrial equipment data, which is applied to end-side gateway equipment, including:

确定与目标工业设备适用的接口协议相匹配的目标接口协议,所述目标工业设备为与所述端侧网关设备相连接的工业设备;determining a target interface protocol that matches an interface protocol applicable to a target industrial device, where the target industrial device is an industrial device connected to the end-side gateway device;

基于所述目标接口协议采集所述目标工业设备的工业数据;collecting industrial data of the target industrial equipment based on the target interface protocol;

将所述工业数据封装为物模型数据报文;Encapsulating the industrial data into an object model data message;

将所述物模型数据报文传输至消息队列服务器,以供所述消息队列服务器将所述物模型数据报文转发到数据管理平台。The object model data message is transmitted to the message queue server, so that the message queue server forwards the object model data message to the data management platform.

可选地,根据本发明提供的一种工业设备数据采集方法,将所述物模型数据报文传输至消息队列服务器,以供所述消息队列服务器将所述物模型数据报文转发到数据管理平台,包括:Optionally, according to a method for collecting industrial equipment data provided by the present invention, the object model data message is transmitted to a message queue server, so that the message queue server forwards the object model data message to the data management platforms, including:

基于5G网络将所述物模型数据报文传输至消息队列服务器,以供所述消息队列服务器将所述物模型数据报文转发到数据管理平台。The object model data message is transmitted to the message queue server based on the 5G network, so that the message queue server forwards the object model data message to the data management platform.

第三方面,本发明还提供一种工业设备控制方法,应用于数据管理平台,包括:In the third aspect, the present invention also provides an industrial equipment control method applied to a data management platform, including:

接收用户输入的设备控制指令;Receive device control instructions input by the user;

将所述设备控制指令封装为物模型控制指令报文;Encapsulating the device control command into an object model control command message;

通过消息队列服务器将所述物模型控制指令报文转发至端侧网关设备,以供所述端侧网关设备对所述物模型控制指令报文进行解析,获取与所述物模型控制指令报文相对应的设备控制指令,并将所述设备控制指令发送至与所述设备控制指令相对应的工业设备。Forwarding the object model control instruction message to the end-side gateway device through the message queue server, so that the end-side gateway device can analyze the object model control instruction message and obtain the object model control instruction message. corresponding equipment control instruction, and send the equipment control instruction to the industrial equipment corresponding to the equipment control instruction.

第四方面,本发明还提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如第二方面所述工业设备数据采集方法,或实现如第三方面所述工业设备控制方法。In a fourth aspect, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and operable on the processor, and the processor implements the program described in the second aspect when executing the program. A method for collecting industrial equipment data, or implementing the industrial equipment control method as described in the third aspect.

第五方面,本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如第二方面所述工业设备数据采集方法,或实现如第三方面所述工业设备控制方法。In the fifth aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the industrial equipment data collection method as described in the second aspect is realized, or the method as described in the second aspect is realized. The industrial equipment control method described in the third aspect.

第六方面,本发明还提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如第二方面所述工业设备数据采集方法,或实现如第三方面所述工业设备控制方法。According to the sixth aspect, the present invention also provides a computer program product, including a computer program. When the computer program is executed by a processor, the industrial equipment data collection method as described in the second aspect is implemented, or the industrial equipment as described in the third aspect is implemented. Control Method.

本发明提供的工业设备数据采集控制系统及方法,一方面通过在端侧网关设备封装不同类型的接口协议,并通过端侧网关设备基于目标接口协议采集目标工业设备的工业数据,并将该工业数据封装为物模型数据报文后通过消息队列服务器转发至数据管理平台;另一方面通过数据管理平台对设备控制指令进行封装,封装为物模型控制指令报文后通过消息队列服务器转发至端侧网关设备,以供端侧网关设备对物模型控制指令报文进行解析,获取设备控制指令并发送至相应的工业设备;本发明基于消息队列和物模型等技术,将应用与设备解耦,不仅可以实现工业设备的数据采集和控制,而且可以提升接口协议对接效率,并降低运维成本。The industrial equipment data acquisition control system and method provided by the present invention, on the one hand, encapsulate different types of interface protocols in the end-side gateway equipment, and collect the industrial data of the target industrial equipment based on the target interface protocol through the end-side gateway equipment, and convert the industrial The data is encapsulated into a physical model data message and then forwarded to the data management platform through the message queue server; on the other hand, the device control command is encapsulated through the data management platform, encapsulated into a physical model control command message, and then forwarded to the end side through the message queue server The gateway device is used for the end-side gateway device to analyze the object model control instruction message, obtain the device control instruction and send it to the corresponding industrial equipment; It can realize data acquisition and control of industrial equipment, and can improve the efficiency of interface protocol docking and reduce operation and maintenance costs.

附图说明Description of drawings

为了更清楚地说明本发明或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the present invention or the technical solutions in the prior art, the accompanying drawings that need to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings in the following description are the present invention. For some embodiments of the invention, those skilled in the art can also obtain other drawings based on these drawings without creative effort.

图1是本发明提供的工业设备数据采集控制系统的结构示意图;Fig. 1 is the structural representation of the industrial equipment data acquisition control system provided by the present invention;

图2是本发明提供的工业设备数据采集方法的流程示意图;Fig. 2 is a schematic flow chart of the industrial equipment data collection method provided by the present invention;

图3是本发明提供的工业设备控制方法的流程示意图;Fig. 3 is a schematic flow chart of an industrial equipment control method provided by the present invention;

图4是本发明提供的电子设备的实体结构示意图。Fig. 4 is a schematic diagram of the physical structure of the electronic device provided by the present invention.

具体实施方式detailed description

为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明中的附图,对本发明中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention , but not all examples. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

下面结合图1-图4描述本发明提供的工业设备数据采集控制系统及方法。The industrial equipment data collection and control system and method provided by the present invention will be described below with reference to FIGS. 1-4 .

图1是本发明提供的工业设备数据采集控制系统的结构示意图,如图1所示,该系统包括:Fig. 1 is the structural representation of industrial equipment data acquisition control system provided by the present invention, as shown in Fig. 1, this system comprises:

端侧网关设备、消息队列服务器和数据管理平台,所述端侧网关设备封装有不同类型的接口协议;An end-side gateway device, a message queue server, and a data management platform, wherein the end-side gateway device is encapsulated with different types of interface protocols;

所述端侧网关设备用于基于目标接口协议采集目标工业设备的工业数据,并将所述工业数据封装为物模型数据报文后传输至所述消息队列服务器,以供所述消息队列服务器将所述物模型数据报文转发到所述数据管理平台;所述目标接口协议为与所述目标工业设备适用的接口协议相匹配的接口协议,所述目标工业设备为与所述端侧网关设备相连接的工业设备;The end-side gateway device is used to collect the industrial data of the target industrial equipment based on the target interface protocol, and encapsulate the industrial data into an object model data packet and transmit it to the message queue server for the message queue server to The object model data message is forwarded to the data management platform; the target interface protocol is an interface protocol that matches the interface protocol applicable to the target industrial equipment, and the target industrial equipment is an interface protocol compatible with the end-side gateway device connected industrial equipment;

所述数据管理平台用于接收用户输入的设备控制指令,并将所述设备控制指令封装为物模型控制指令报文后,通过所述消息队列服务器将所述物模型控制指令报文转发至所述端侧网关设备,以供所述端侧网关设备对所述物模型控制指令报文进行解析,获取与所述物模型控制指令报文相对应的设备控制指令,并将所述设备控制指令发送至与所述设备控制指令相对应的工业设备。The data management platform is used to receive the device control command input by the user, encapsulate the device control command into a physical model control command message, and forward the physical model control command message to the physical model control command message through the message queue server. The end-side gateway device is used for the end-side gateway device to analyze the object model control instruction message, obtain the device control instruction corresponding to the object model control instruction message, and send the device control instruction Send to the industrial equipment corresponding to the equipment control instruction.

可选地,在本发明实施例中,工业设备数据采集控制系统可以包括端侧网关设备、消息队列服务器和数据管理平台,其中,端侧网关设备可以封装有不同类型的接口协议,并且端侧网关设备可以和多个工业设备连接。Optionally, in the embodiment of the present invention, the industrial equipment data acquisition control system may include a terminal-side gateway device, a message queue server, and a data management platform, wherein the terminal-side gateway device may be encapsulated with different types of interface protocols, and the terminal-side The gateway device can be connected with multiple industrial devices.

具体地,在本发明实施例中,端侧网关设备可以连接被采集数据的工业设备,该工业设备可以包括可编程逻辑器件、传感器和机械臂等。由于各个工业设备的硬件品牌接口不统一,故在端侧网关设备中内置多种接口协议,可以通过端侧网关设备上的配置使用不同通信协议读取或写入工业设备数据。通过端侧网关设备上的配置也可以实现同时读取多个不同工业设备的配置,对多个工业设备同时进行数据采集和控制。Specifically, in the embodiment of the present invention, the end-side gateway device can be connected to the industrial equipment whose data is collected, and the industrial equipment can include programmable logic devices, sensors, and robotic arms. Since the hardware brand interfaces of various industrial devices are not uniform, multiple interface protocols are built into the end-side gateway device, and different communication protocols can be used to read or write industrial device data through the configuration on the end-side gateway device. Through the configuration on the end-side gateway device, it is also possible to read the configuration of multiple different industrial devices at the same time, and perform data collection and control on multiple industrial devices at the same time.

可选地,所述端侧网关设备上设置有多个用于连接工业设备的接口;Optionally, the end-side gateway device is provided with a plurality of interfaces for connecting industrial equipment;

所述接口的类型包括以下任意一项或多项:The type of the interface includes any one or more of the following:

串行接口、以太网接口和USB接口。Serial interface, Ethernet interface and USB interface.

具体地,端侧网关设备上设置有多个可以连接工业设备的物理接口,该物理接口包括但不限于串行接口、以太网接口和USB接口等。Specifically, the end-side gateway device is provided with a plurality of physical interfaces that can be connected to industrial equipment, and the physical interfaces include but are not limited to serial interfaces, Ethernet interfaces, and USB interfaces.

可选地,在目标工业设备与端侧网关设备相连接之后,端侧网关设备可以基于目标接口协议采集目标工业设备的工业数据,其中目标接口协议为与目标工业设备适用的接口协议相匹配的接口协议。Optionally, after the target industrial device is connected to the end-side gateway device, the end-side gateway device can collect the industrial data of the target industrial device based on the target interface protocol, where the target interface protocol is an interface protocol that matches the target industrial device. Interface Protocol.

可选地,在本发明实施例中,工业数据可以来源于机器设备数据、工业信息化数据和产业链相关数据等,本发明对此不作具体限定。Optionally, in the embodiment of the present invention, the industrial data may come from machine equipment data, industrial informatization data, and industrial chain-related data, etc., which is not specifically limited in the present invention.

可选地,端侧网关设备可以对采集的工业数据进行封装,将其封装为物模型数据报文。Optionally, the end-side gateway device may encapsulate the collected industrial data into an object model data packet.

可以理解的是,物模型是物理空间中的实体(例如传感器、车载装置、工厂等)在云端的数字化表示,可以从属性、服务和事件三个维度分别描述该实体是什么、能做什么、可以对外提供哪些信息。It can be understood that the object model is the digital representation of entities in physical space (such as sensors, vehicle-mounted devices, factories, etc.) in the cloud, which can describe what the entity is, what it can do, What information can be provided externally.

具体地,端侧网关设备可以使用内置的物模型对工业数据进行封装,物模型根据功能类型可以分为属性、方法和事件,每个物模型可以包含数据类型、数据名、数据标识符、参数值、数据单位和读写类型等字段,使用这些字段可以将端侧网关设备采集的工业数据封装为物模型数据报文。Specifically, the end-side gateway device can use the built-in object model to encapsulate industrial data. The object model can be divided into attributes, methods, and events according to the function type. Each object model can include data types, data names, data identifiers, and parameters. Fields such as value, data unit, and read/write type can be used to encapsulate the industrial data collected by the end-side gateway device into an object model data packet.

可以理解的是,使用物模型可以对工业数据采集提供标准化接口,从而在业务层面上使工业设备与数据管理平台实现数据互通。It can be understood that the object model can provide a standardized interface for industrial data collection, so that industrial equipment and data management platforms can achieve data interoperability at the business level.

可选地,可以通过消息队列服务器将物模型数据报文转发到数据管理平台。Optionally, the object model data message may be forwarded to the data management platform through the message queue server.

可以理解的是,消息队列是分布式系统中的重要组件,将消息看作一个记录,具有特定的格式以及特定的优先级。对消息队列有写权限的进程可以向消息队列中按照一定的规则添加新消息;对消息队列有读权限的进程则可以从消息队列中读取消息。该技术具有低带宽占用等特点,可以解决应用耦合、异步处理、流量削锋等问题。It can be understood that the message queue is an important component in a distributed system, and the message is regarded as a record with a specific format and a specific priority. A process with write permission to the message queue can add new messages to the message queue according to certain rules; a process with read permission to the message queue can read messages from the message queue. This technology has the characteristics of low bandwidth occupation and can solve problems such as application coupling, asynchronous processing, and traffic shaving.

因此,在本发明实施例中,通过设置消息队列服务器,并且端侧网关设备可以与该消息队列服务器建立连接,用以转发工业设备数据和数据管理平台下发的控制指令。传输协议使用消息队列,可以是一种基于TCP/IP的消息队列遥测协议,并且该协议是一种具有低开销和低带宽占用等特点的即时通信协议。Therefore, in the embodiment of the present invention, by setting up a message queue server, the end-side gateway device can establish a connection with the message queue server to forward industrial device data and control instructions issued by the data management platform. The transmission protocol uses a message queue, which may be a message queue telemetry protocol based on TCP/IP, and the protocol is an instant communication protocol with the characteristics of low overhead and low bandwidth occupation.

可选地,数据管理平台可以用于接收用户输入的设备控制指令,并将该设备控制指令封装为物模型控制指令报文后,通过消息队列服务器将物模型控制指令报文转发至端侧网关设备。Optionally, the data management platform can be used to receive the device control command input by the user, encapsulate the device control command into a physical model control command message, and forward the physical model control command message to the end-side gateway through the message queue server equipment.

具体地,数据管理平台可以使用内置的物模型对用户输入的设备控制指令进行封装,物模型根据功能类型可以分为属性、方法和事件,每个物模型可以包含数据类型、数据名、数据标识符、参数值、数据单位和读写类型等字段,使用这些字段可以将数据管理平台接收到的设备控制指令封装为物模型控制指令报文。Specifically, the data management platform can use the built-in object model to encapsulate the device control instructions input by the user. The object model can be divided into attributes, methods, and events according to the function type. Each object model can include data types, data names, and data identifiers. Fields such as characters, parameter values, data units, and read/write types can be used to encapsulate the device control commands received by the data management platform into physical model control command messages.

可选地,端侧网关设备可以对物模型控制指令报文进行解析,获取与该物模型控制指令报文相对应的设备控制指令,并将该设备控制指令发送至与该设备控制指令相对应的工业设备,从而实现对工业设备的控制。Optionally, the end-side gateway device can analyze the object model control instruction message, obtain the device control instruction corresponding to the object model control instruction message, and send the device control instruction to the Industrial equipment, so as to realize the control of industrial equipment.

可选地,消息队列服务器和数据管理平台之间可以通过以太网进行通信。Optionally, the message queue server and the data management platform can communicate through Ethernet.

可以理解的是,在本发明实施例中,可以使用物联网模型和端侧网关设备封装的多种工业设备数据采集协议,以及端侧网关设备上的多种接口读取多种工业设备的工业数据。It can be understood that, in the embodiment of the present invention, the Internet of Things model and various industrial equipment data acquisition protocols encapsulated by the end-side gateway device can be used, and various interfaces on the end-side gateway device can be used to read the industrial data of various industrial equipment. data.

由于工业设备种类和品牌繁多,传统工业设备数据采集需要对接对每一种设备的接口协议,包括主流的通用协议和品牌私有协议,这会造成数据管理混乱、接口协议对接难度大和开发工作量大等问题。而在本发明实施例中,端侧网关设备使用统一封装的格式将工业设备数据推送到数据平台,即将工业设备抽象出来,由端侧网关设备接收底层发送的离散设备数据,并将之聚合为统一的时序数据,实现将应用与设备解耦,提升了接口协议对接效率。Due to the variety of types and brands of industrial equipment, traditional industrial equipment data collection needs to interface with the interface protocols of each type of equipment, including mainstream general-purpose protocols and brand private protocols, which will cause confusion in data management, difficulty in interface protocol docking, and heavy development workload. And other issues. However, in the embodiment of the present invention, the end-side gateway device pushes the industrial device data to the data platform in a unified package format, that is, the industrial device is abstracted, and the end-side gateway device receives the discrete device data sent by the bottom layer and aggregates it into Unified time series data realizes the decoupling of applications and devices, and improves the efficiency of interface protocol docking.

可选地,端侧网关设备还可以对采集的工业数据进行预处理,包括但不限于数据格式转换和数据压缩处理等,通过端侧网关设备对工业数据的预处理操作,有利于数据管理平台对工业设备信息进行批处理,从而提升了物与模型、物与应用以及应用与应用之间的效率。Optionally, the end-side gateway device can also preprocess the collected industrial data, including but not limited to data format conversion and data compression processing. The preprocessing operation of the industrial data through the end-side gateway device is beneficial to the data management platform. Batch processing of industrial equipment information improves the efficiency between things and models, things and applications, and applications and applications.

可以理解的是,在本发明实施例中,可以利用串行接口打通数控机床、可编程逻辑器件、机械臂和传感器等工业设备与端侧网关设备之间的数据连接,为数据采集程序与工业设备的数据交互提供了物理连接桥梁;并可以利用串行通信协议对采集的工业数据进行打包传输。It can be understood that, in the embodiment of the present invention, the serial interface can be used to open up the data connection between industrial equipment such as CNC machine tools, programmable logic devices, robotic arms, and sensors, and the end-side gateway equipment, providing data acquisition programs and industrial The data interaction of the equipment provides a physical connection bridge; and the collected industrial data can be packaged and transmitted using the serial communication protocol.

可以理解的是,在本发明实施例中,可以使用物模型对采集到的工业数据和数据管理平台下发的控制数据进行打包,实现数据管理平台与端侧网关设备进行通信。基于此方式,为数据管理平台提供统一的标准接口,建立工业设备和数据管理平台之间的高效可靠连接。It can be understood that, in the embodiment of the present invention, the object model can be used to package the collected industrial data and the control data issued by the data management platform, so as to realize the communication between the data management platform and the end-side gateway device. Based on this method, a unified standard interface is provided for the data management platform, and an efficient and reliable connection between industrial equipment and the data management platform is established.

本发明提供的工业设备数据采集控制系统,一方面通过在端侧网关设备封装不同类型的接口协议,并通过端侧网关设备基于目标接口协议采集目标工业设备的工业数据,并将该工业数据封装为物模型数据报文后通过消息队列服务器转发至数据管理平台;另一方面通过数据管理平台对设备控制指令进行封装,封装为物模型控制指令报文后通过消息队列服务器转发至端侧网关设备,以供端侧网关设备对物模型控制指令报文进行解析,获取设备控制指令并发送至相应的工业设备;本发明基于消息队列和物模型等技术,将应用与设备解耦,不仅可以实现工业设备的数据采集和控制,而且可以提升接口协议对接效率,并降低运维成本。The industrial equipment data acquisition control system provided by the present invention, on the one hand, encapsulates different types of interface protocols in the end-side gateway equipment, and collects the industrial data of the target industrial equipment based on the target interface protocol through the end-side gateway equipment, and encapsulates the industrial data After being an object model data message, it is forwarded to the data management platform through the message queue server; on the other hand, the device control command is encapsulated through the data management platform, encapsulated into an object model control command message, and then forwarded to the end-side gateway device through the message queue server , so that the end-side gateway device can analyze the object model control instruction message, obtain the device control instruction and send it to the corresponding industrial equipment; the invention decouples the application from the device based on technologies such as message queue and object model, and can not only realize Data acquisition and control of industrial equipment, and can improve the efficiency of interface protocol docking and reduce operation and maintenance costs.

可选地,所述端侧网关设备与所述消息队列服务器之间通过5G网络进行通信。Optionally, the device-side gateway device communicates with the message queue server through a 5G network.

具体地,在本发明实施例中,端侧网关设备与消息队列服务器之间可以通过5G(5th Generation Mobile Communication,第五代移动通信)网络进行通信。Specifically, in the embodiment of the present invention, the terminal-side gateway device and the message queue server may communicate through a 5G (5th Generation Mobile Communication, fifth generation mobile communication) network.

可以理解的是,5G是具有高速率、低时延和大连接特点的新一代宽带移动通信技术,是实现人-机-物互联的网络基础设施。随着5G技术的发展,其被快速应用于各个领域,赋能千行百业数字化转型。It is understandable that 5G is a new generation of broadband mobile communication technology with the characteristics of high speed, low delay and large connection, and it is the network infrastructure to realize the interconnection of man-machine-things. With the development of 5G technology, it has been rapidly applied in various fields, empowering the digital transformation of thousands of industries.

因此,在本发明实施例中,利用5G优势,并结合端侧网关设备,将消息队列、数据采集和物模型等技术应用于工业物联网数据采集中,实现采集数控机床、可编程逻辑器件、机械臂和传感器等多种生产工业领域设备数据,并将数据打包发送到数据管理平台。Therefore, in the embodiment of the present invention, by taking advantage of 5G and combining end-side gateway equipment, technologies such as message queues, data collection and object models are applied to data collection of the Industrial Internet of Things to realize the collection of CNC machine tools, programmable logic devices, A variety of production equipment data in the industrial field, such as robotic arms and sensors, package and send the data to the data management platform.

由于传统工业设备数据采集需要部署大量网线用于将设备数据传入数据管理平台,导致数据延迟大,数据可靠性低且运维成本高,而本发明通过使用5G无线网络可以显著降低数据延迟,提升数据可靠性,部署上也显著降低了运维成本。Because traditional industrial equipment data collection requires the deployment of a large number of network cables to transmit equipment data to the data management platform, resulting in large data delays, low data reliability and high operation and maintenance costs, and the present invention can significantly reduce data delays by using 5G wireless networks. Improve data reliability and significantly reduce operation and maintenance costs in deployment.

可选地,在端侧网关设备中可以内置5G模组、以太网网卡和静态IP服务等模块。Optionally, modules such as 5G modules, Ethernet network cards, and static IP services can be built into the end-side gateway device.

可选地,端侧网关设备可以具备操作系统,支持部署安装第三方应用程序,端侧网关设备运行时可以部署含数据采集和消息队列功能的程序。Optionally, the end-side gateway device can have an operating system that supports the deployment and installation of third-party applications, and the end-side gateway device can deploy programs with data collection and message queuing functions during operation.

可选地,可以将消息队列客户端部署在端侧网关设备的操作系统上,可以将消息队列服务端部署在服务器操作系统上。Optionally, the message queue client can be deployed on the operating system of the end-side gateway device, and the message queue server can be deployed on the server operating system.

本发明通过基于5G网络低时延、广连接和高可靠等特点,实现各类工业生产领域设备的数据采集和控制,解决了工业生产设备数据孤岛、数据不稳定和数据时延高等问题,并提高工业设备运维效率,降低设备故障排查难度,增强工厂生产效率,降低人工成本。Based on the characteristics of low latency, wide connection, and high reliability of the 5G network, the present invention realizes data collection and control of equipment in various industrial production fields, solves the problems of isolated data islands, unstable data, and high data latency of industrial production equipment, and Improve the efficiency of industrial equipment operation and maintenance, reduce the difficulty of equipment troubleshooting, enhance factory production efficiency, and reduce labor costs.

可选地,所述数据管理平台还用于解析所述物模型数据报文,获取与所述物模型数据报文相对应的工业数据,并对所述工业数据进行分析和展示。Optionally, the data management platform is further configured to parse the object model data message, obtain industrial data corresponding to the object model data message, and analyze and display the industrial data.

具体地,在消息队列服务器将物模型数据报文转发到数据管理平台之后,数据管理平台可以解析该物模型数据报文,获取与该物模型数据报文相对应的工业数据,并对工业数据进行分析和展示。Specifically, after the message queue server forwards the object model data message to the data management platform, the data management platform can analyze the object model data message, obtain the industrial data corresponding to the object model data message, and analyze the industrial data Analyze and present.

可选地,在本发明实施例中,端侧网关设备可以首先通过串行接口与工业设备建立一对多连接,用以采集工业设备的工业数据;然后端侧网关设备将采集的工业数据打包成通用报文后传输至消息队列服务器,消息队列服务器再将该通用报文转发至数据管理平台,在数据管理平台获取到该通用报文后再解析出与该通用报文相对应的工业数据,进而对该工业数据内容进行分析展示。Optionally, in the embodiment of the present invention, the end-side gateway device can first establish a one-to-many connection with the industrial equipment through the serial interface to collect the industrial data of the industrial equipment; then the end-side gateway device packages the collected industrial data After being converted into a general message, it is transmitted to the message queue server, and the message queue server then forwards the general message to the data management platform, and then parses out the industrial data corresponding to the general message after the data management platform obtains the general message , and then analyze and display the industrial data content.

可选地,在本发明实施例中,数据管理平台可以接收用户输入的设备控制指令,并将该设备控制指令封装成物模型控制指令报文,然后通过消息队列服务器将物模型控制指令报文传输到端侧网关设备;进一步,端侧网关设备解析该物模型控制指令报文信息,提取出控制指令信息,进而将控制指令信息下发到相应的工业设备,从而达到控制设备的目的。Optionally, in the embodiment of the present invention, the data management platform may receive the device control command input by the user, encapsulate the device control command into a physical model control command message, and then send the physical model control command message to the It is transmitted to the end-side gateway device; further, the end-side gateway device analyzes the object model control command message information, extracts the control command information, and then sends the control command information to the corresponding industrial equipment, so as to achieve the purpose of controlling the equipment.

可以理解的是,在本发明实施例中,端侧网关设备可以控制和读取工业设备数据,并基于5G网络将数据采集与数据控制信息流转到控制服务器。其中,5G端侧网关设备内置5G模组,可以通过以太网和串行接口连接多个工业设备,具备通过读取端侧网关设备配置的地址等信息。端侧网关设备可以使用不同的设备协议实现工业设备数据采集,然后将采集的工业数据包装成物模型,并利用消息队列转发到相关联的数据管理平台。数据管理平台可以通过消息队列将数据控制指令下发到5G端侧网关设备上,实现工业设备控制功能。It can be understood that, in the embodiment of the present invention, the end-side gateway device can control and read industrial device data, and transfer the data collection and data control information flow to the control server based on the 5G network. Among them, the 5G end-side gateway device has a built-in 5G module, which can connect multiple industrial devices through Ethernet and serial interfaces, and has information such as the address configured by reading the end-side gateway device. The end-side gateway device can use different device protocols to realize industrial device data collection, and then package the collected industrial data into a physical model, and use the message queue to forward it to the associated data management platform. The data management platform can send data control commands to the 5G end-side gateway device through the message queue to realize the industrial equipment control function.

可选地,端侧网关设备连接工业设备的协议可以包括标准数据采集协议、串口通信协议,以及根据设备品牌使用的私有协议,其中标准数据采集协议可以包括ModBus协议、TCP/IP协议和HTTP协议等,本发明对此不作具体限定。Optionally, the protocol for connecting the end-side gateway device to industrial equipment may include standard data acquisition protocols, serial communication protocols, and private protocols used according to equipment brands, where standard data acquisition protocols may include ModBus protocols, TCP/IP protocols, and HTTP protocols etc., which are not specifically limited in the present invention.

可以理解的是,本发明实施例提供的工业设备数据采集控制系统,通过基于5G网络、消息队列、串行接口、串行通信协议和物模型等技术,实现了一种高可靠和低时延的工业设备的数据采集和控制方案,解决了现有的工业设备的数据采集和控制方案中数据延迟大、可靠性低、平台获取数据碎片化、设备部署运维成本高和工作量大等问题,并实现了工业设备无线入网、远程数据监看、远程控制和远程运维。It can be understood that the industrial equipment data acquisition and control system provided by the embodiment of the present invention realizes a high reliability and low delay based on technologies such as 5G network, message queue, serial interface, serial communication protocol and object model. The data acquisition and control scheme of industrial equipment solves the problems of large data delay, low reliability, fragmentation of data acquired by the platform, high cost of equipment deployment and operation and heavy workload in the existing data acquisition and control scheme of industrial equipment , and realize industrial equipment wireless network access, remote data monitoring, remote control and remote operation and maintenance.

下面对本发明提供的工业设备数据采集方法进行描述,下文描述的工业设备数据采集方法与上文描述的工业设备数据采集控制系统可相互对应参照。The following describes the industrial equipment data collection method provided by the present invention, and the industrial equipment data collection method described below and the industrial equipment data collection control system described above can be referred to in correspondence.

图2是本发明提供的工业设备数据采集方法的流程示意图,如图2所示,该方法应用于端侧网关设备,包括如下流程:Fig. 2 is a schematic flow diagram of the industrial equipment data acquisition method provided by the present invention. As shown in Fig. 2, the method is applied to the end-side gateway device, including the following flow:

步骤200,确定与目标工业设备适用的接口协议相匹配的目标接口协议,所述目标工业设备为与所述端侧网关设备相连接的工业设备;Step 200, determining a target interface protocol that matches an interface protocol applicable to a target industrial device, where the target industrial device is an industrial device connected to the end-side gateway device;

步骤210,基于所述目标接口协议采集所述目标工业设备的工业数据;Step 210, collecting industrial data of the target industrial equipment based on the target interface protocol;

步骤220,将所述工业数据封装为物模型数据报文;Step 220, encapsulating the industrial data into an object model data message;

步骤230,将所述物模型数据报文传输至消息队列服务器,以供所述消息队列服务器将所述物模型数据报文转发到数据管理平台。Step 230, transmitting the object model data message to a message queue server, so that the message queue server forwards the object model data message to a data management platform.

具体地,在本发明实施例中,由于端侧网关设备封装有不同类型的接口协议,则端侧网关设备可以首先确定与目标工业设备适用的接口协议相匹配的目标接口协议,其中目标工业设备为与端侧网关设备相连接的工业设备;然后基于目标接口协议采集目标工业设备的工业数据;进而将工业数据封装为物模型数据报文;最后将物模型数据报文传输至消息队列服务器,以供消息队列服务器将物模型数据报文转发到数据管理平台。Specifically, in the embodiment of the present invention, since the end-side gateway device encapsulates different types of interface protocols, the end-side gateway device may first determine the target interface protocol that matches the interface protocol applicable to the target industrial device, where the target industrial device It is an industrial device connected to the end-side gateway device; then collects the industrial data of the target industrial device based on the target interface protocol; then encapsulates the industrial data into a physical model data message; finally transmits the physical model data message to the message queue server, It is used for the message queue server to forward the object model data message to the data management platform.

可选地,在数据管理平台后接收到消息队列服务器转发的物模型数据报文后,数据管理平台可以对该物模型数据报文进行解析以获取工业数据,进而对工业数据进行分析或展示。Optionally, after the data management platform receives the object model data message forwarded by the message queue server, the data management platform can parse the object model data message to obtain industrial data, and then analyze or display the industrial data.

本发明提供的工业设备数据采集方法,通过端侧网关设备首先确定与目标工业设备适用的接口协议相匹配的目标接口协议,然后基于目标接口协议采集目标工业设备的工业数据,进而将工业数据封装为物模型数据报文,最后将物模型数据报文传输至消息队列服务器,以供消息队列服务器将物模型数据报文转发到数据管理平台;本发明基于消息队列和物模型等技术,将应用与设备解耦,不仅可以实现工业设备的数据采集,而且可以提升接口协议对接效率,并降低运维成本。In the industrial equipment data acquisition method provided by the present invention, the end-side gateway device first determines the target interface protocol that matches the interface protocol applicable to the target industrial equipment, and then collects the industrial data of the target industrial equipment based on the target interface protocol, and then encapsulates the industrial data It is an object model data message, and finally transmits the object model data message to the message queue server, so that the message queue server forwards the object model data message to the data management platform; the present invention is based on technologies such as message queue and object model, and applies Decoupling from equipment can not only realize data collection of industrial equipment, but also improve the efficiency of interface protocol docking and reduce operation and maintenance costs.

可选地,将所述物模型数据报文传输至消息队列服务器,以供所述消息队列服务器将所述物模型数据报文转发到数据管理平台,包括:Optionally, transmitting the object model data message to a message queuing server for the message queuing server to forward the object model data message to a data management platform, including:

基于5G网络将所述物模型数据报文传输至消息队列服务器,以供所述消息队列服务器将所述物模型数据报文转发到数据管理平台。The object model data message is transmitted to the message queue server based on the 5G network, so that the message queue server forwards the object model data message to the data management platform.

具体地,端侧网关设备可以基于5G网络将物模型数据报文传输至消息队列服务器,以供消息队列服务器将物模型数据报文转发到数据管理平台。Specifically, the end-side gateway device can transmit the object model data message to the message queue server based on the 5G network, so that the message queue server forwards the object model data message to the data management platform.

本发明通过使用5G无线网络可以显著降低数据延迟,并提升数据可靠性。The present invention can significantly reduce data delay and improve data reliability by using 5G wireless network.

图3是本发明提供的工业设备控制方法的流程示意图,如图3所示,该方法应用于数据管理平台,包括如下流程:Fig. 3 is a schematic flow diagram of an industrial equipment control method provided by the present invention. As shown in Fig. 3, the method is applied to a data management platform, including the following flow:

步骤300,接收用户输入的设备控制指令;Step 300, receiving a device control command input by a user;

步骤310,将所述设备控制指令封装为物模型控制指令报文;Step 310, encapsulating the device control command into an object model control command message;

步骤320,通过消息队列服务器将所述物模型控制指令报文转发至端侧网关设备,以供所述端侧网关设备对所述物模型控制指令报文进行解析,获取与所述物模型控制指令报文相对应的设备控制指令,并将所述设备控制指令发送至与所述设备控制指令相对应的工业设备。Step 320, forward the object model control instruction message to the end-side gateway device through the message queue server, so that the end-side gateway device can analyze the object model control instruction message and obtain the information related to the object model control instruction message. the device control command corresponding to the command message, and send the device control command to the industrial device corresponding to the device control command.

具体地,在本发明实施例中,数据管理平台可以首先接收用户输入的设备控制指令,然后将设备控制指令封装为物模型控制指令报文,进而将该物模型控制指令报文发送至消息队列服务器,以通过消息队列服务器将该物模型控制指令报文转发至端侧网关设备,进而使得端侧网关设备对物模型控制指令报文进行解析,获取与物模型控制指令报文相对应的设备控制指令,端侧网关设备再将该设备控制指令发送至与该设备控制指令相对应的工业设备,从而实现对工业设备的控制。Specifically, in the embodiment of the present invention, the data management platform may first receive the device control command input by the user, then package the device control command into an object model control command message, and then send the object model control command message to the message queue The server is configured to forward the object model control instruction message to the end-side gateway device through the message queue server, so that the end-side gateway device analyzes the object model control instruction message and obtains the device corresponding to the object model control instruction message. control command, and the end-side gateway device sends the device control command to the industrial device corresponding to the device control command, so as to realize the control of the industrial device.

本发明提供的工业设备控制方法,通过数据管理平台将用户输入的设备控制指令封装为物模型控制指令报文后发送至消息队列服务器,以通过消息队列服务器将该物模型控制指令报文转发至端侧网关设备,进而使得端侧网关设备对物模型控制指令报文进行解析,获取与物模型控制指令报文相对应的设备控制指令,端侧网关设备再将该设备控制指令发送至与该设备控制指令相对应的工业设备,从而实现对工业设备的控制;本发明基于消息队列和物模型等技术,将应用与设备解耦,不仅可以实现对工业设备的控制,而且可以提升接口协议对接效率,并降低运维成本。In the industrial equipment control method provided by the present invention, the equipment control command input by the user is encapsulated into an object model control instruction message through the data management platform, and then sent to the message queue server, so that the object model control instruction message is forwarded to the message queue server through the message queue server. The end-side gateway device enables the end-side gateway device to analyze the object model control instruction message, obtain the device control instruction corresponding to the object model control instruction message, and then send the device control instruction to the Industrial equipment corresponding to equipment control instructions, so as to realize the control of industrial equipment; based on technologies such as message queue and object model, the present invention decouples applications from equipment, not only can realize the control of industrial equipment, but also can improve interface protocol docking efficiency and reduce operation and maintenance costs.

图4是本发明提供的电子设备的实体结构示意图,如图4所示,该电子设备可以包括:处理器(processor)410、通信接口(Communications Interface)420、存储器(memory)430和通信总线440,其中,处理器410,通信接口420,存储器430通过通信总线440完成相互间的通信。处理器410可以调用存储器430中的逻辑指令,以执行上述各方法所提供的工业设备数据采集方法,该方法包括:FIG. 4 is a schematic diagram of the physical structure of the electronic device provided by the present invention. As shown in FIG. , wherein, the processor 410 , the communication interface 420 , and the memory 430 communicate with each other through the communication bus 440 . The processor 410 can call the logic instructions in the memory 430 to execute the industrial equipment data collection method provided by the above methods, the method includes:

确定与目标工业设备适用的接口协议相匹配的目标接口协议,所述目标工业设备为与所述端侧网关设备相连接的工业设备;determining a target interface protocol that matches an interface protocol applicable to a target industrial device, where the target industrial device is an industrial device connected to the end-side gateway device;

基于所述目标接口协议采集所述目标工业设备的工业数据;collecting industrial data of the target industrial equipment based on the target interface protocol;

将所述工业数据封装为物模型数据报文;Encapsulating the industrial data into an object model data message;

将所述物模型数据报文传输至消息队列服务器,以供所述消息队列服务器将所述物模型数据报文转发到数据管理平台。The object model data message is transmitted to the message queue server, so that the message queue server forwards the object model data message to the data management platform.

或执行上述各方法所提供的工业设备控制方法,该方法包括:Or implement the industrial equipment control method provided by each of the above methods, the method includes:

接收用户输入的设备控制指令;Receive device control instructions input by the user;

将所述设备控制指令封装为物模型控制指令报文;Encapsulating the device control command into an object model control command message;

通过消息队列服务器将所述物模型控制指令报文转发至端侧网关设备,以供所述端侧网关设备对所述物模型控制指令报文进行解析,获取与所述物模型控制指令报文相对应的设备控制指令,并将所述设备控制指令发送至与所述设备控制指令相对应的工业设备。Forwarding the object model control instruction message to the end-side gateway device through the message queue server, so that the end-side gateway device can analyze the object model control instruction message and obtain the object model control instruction message. corresponding equipment control instruction, and send the equipment control instruction to the industrial equipment corresponding to the equipment control instruction.

此外,上述的存储器430中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, the above logic instructions in the memory 430 may be implemented in the form of software function units and be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .

另一方面,本发明还提供一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,计算机能够执行上述各方法所提供的工业设备数据采集方法,该方法包括:On the other hand, the present invention also provides a computer program product, the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, the computer program includes program instructions, and when the program instructions are executed by a computer When executing, the computer can execute the industrial equipment data collection method provided by the above methods, the method includes:

确定与目标工业设备适用的接口协议相匹配的目标接口协议,所述目标工业设备为与所述端侧网关设备相连接的工业设备;determining a target interface protocol that matches an interface protocol applicable to a target industrial device, where the target industrial device is an industrial device connected to the end-side gateway device;

基于所述目标接口协议采集所述目标工业设备的工业数据;collecting industrial data of the target industrial equipment based on the target interface protocol;

将所述工业数据封装为物模型数据报文;Encapsulating the industrial data into an object model data message;

将所述物模型数据报文传输至消息队列服务器,以供所述消息队列服务器将所述物模型数据报文转发到数据管理平台。The object model data message is transmitted to the message queue server, so that the message queue server forwards the object model data message to the data management platform.

或执行上述各方法所提供的工业设备控制方法,该方法包括:Or implement the industrial equipment control method provided by each of the above methods, the method includes:

接收用户输入的设备控制指令;Receive device control instructions input by the user;

将所述设备控制指令封装为物模型控制指令报文;Encapsulating the device control command into an object model control command message;

通过消息队列服务器将所述物模型控制指令报文转发至端侧网关设备,以供所述端侧网关设备对所述物模型控制指令报文进行解析,获取与所述物模型控制指令报文相对应的设备控制指令,并将所述设备控制指令发送至与所述设备控制指令相对应的工业设备。Forwarding the object model control instruction message to the end-side gateway device through the message queue server, so that the end-side gateway device can analyze the object model control instruction message and obtain the object model control instruction message. corresponding equipment control instruction, and send the equipment control instruction to the industrial equipment corresponding to the equipment control instruction.

又一方面,本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各方法所提供的工业设备数据采集方法,该方法包括:In another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it is implemented to execute the industrial equipment data collection method provided by the above-mentioned methods. Methods include:

确定与目标工业设备适用的接口协议相匹配的目标接口协议,所述目标工业设备为与所述端侧网关设备相连接的工业设备;determining a target interface protocol that matches an interface protocol applicable to a target industrial device, where the target industrial device is an industrial device connected to the end-side gateway device;

基于所述目标接口协议采集所述目标工业设备的工业数据;collecting industrial data of the target industrial equipment based on the target interface protocol;

将所述工业数据封装为物模型数据报文;Encapsulating the industrial data into an object model data message;

将所述物模型数据报文传输至消息队列服务器,以供所述消息队列服务器将所述物模型数据报文转发到数据管理平台。The object model data message is transmitted to the message queue server, so that the message queue server forwards the object model data message to the data management platform.

或执行上述各方法所提供的工业设备控制方法,该方法包括:Or implement the industrial equipment control method provided by each of the above methods, the method includes:

接收用户输入的设备控制指令;Receive device control instructions input by the user;

将所述设备控制指令封装为物模型控制指令报文;Encapsulating the device control command into an object model control command message;

通过消息队列服务器将所述物模型控制指令报文转发至端侧网关设备,以供所述端侧网关设备对所述物模型控制指令报文进行解析,获取与所述物模型控制指令报文相对应的设备控制指令,并将所述设备控制指令发送至与所述设备控制指令相对应的工业设备。Forwarding the object model control instruction message to the end-side gateway device through the message queue server, so that the end-side gateway device can analyze the object model control instruction message and obtain the object model control instruction message. corresponding equipment control instruction, and send the equipment control instruction to the industrial equipment corresponding to the equipment control instruction.

以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without any creative effort.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the implementations, those skilled in the art can clearly understand that each implementation can be implemented by means of software plus a necessary general hardware platform, and of course also by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic discs, optical discs, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims (10)

1.一种工业设备数据采集控制系统,其特征在于,包括:1. A data acquisition and control system for industrial equipment, characterized in that it comprises: 端侧网关设备、消息队列服务器和数据管理平台,所述端侧网关设备封装有不同类型的接口协议;An end-side gateway device, a message queue server, and a data management platform, wherein the end-side gateway device is encapsulated with different types of interface protocols; 所述端侧网关设备用于基于目标接口协议采集目标工业设备的工业数据,并将所述工业数据封装为物模型数据报文后传输至所述消息队列服务器,以供所述消息队列服务器将所述物模型数据报文转发到所述数据管理平台;所述目标接口协议为与所述目标工业设备适用的接口协议相匹配的接口协议,所述目标工业设备为与所述端侧网关设备相连接的工业设备;The end-side gateway device is used to collect the industrial data of the target industrial equipment based on the target interface protocol, and encapsulate the industrial data into an object model data packet and transmit it to the message queue server for the message queue server to The object model data message is forwarded to the data management platform; the target interface protocol is an interface protocol that matches the interface protocol applicable to the target industrial equipment, and the target industrial equipment is an interface protocol compatible with the end-side gateway device connected industrial equipment; 所述数据管理平台用于接收用户输入的设备控制指令,并将所述设备控制指令封装为物模型控制指令报文后,通过所述消息队列服务器将所述物模型控制指令报文转发至所述端侧网关设备,以供所述端侧网关设备对所述物模型控制指令报文进行解析,获取与所述物模型控制指令报文相对应的设备控制指令,并将所述设备控制指令发送至与所述设备控制指令相对应的工业设备。The data management platform is used to receive the device control command input by the user, encapsulate the device control command into a physical model control command message, and forward the physical model control command message to the physical model control command message through the message queue server. The end-side gateway device is used for the end-side gateway device to analyze the object model control instruction message, obtain the device control instruction corresponding to the object model control instruction message, and send the device control instruction Send to the industrial equipment corresponding to the equipment control command. 2.根据权利要求1所述的工业设备数据采集控制系统,其特征在于,所述端侧网关设备与所述消息队列服务器之间通过5G网络进行通信。2. The industrial equipment data acquisition control system according to claim 1, wherein the communication between the end-side gateway device and the message queue server is performed through a 5G network. 3.根据权利要求1所述的工业设备数据采集控制系统,其特征在于,所述数据管理平台还用于解析所述物模型数据报文,获取与所述物模型数据报文相对应的工业数据,并对所述工业数据进行分析和展示。3. The industrial equipment data collection and control system according to claim 1, wherein the data management platform is also used for parsing the object model data message to obtain the industrial data corresponding to the object model data message. data, and analyze and present the industrial data. 4.根据权利要求1所述的工业设备数据采集控制系统,其特征在于,所述端侧网关设备上设置有多个用于连接工业设备的接口;4. The industrial equipment data collection and control system according to claim 1, wherein a plurality of interfaces for connecting industrial equipment are provided on the end-side gateway equipment; 所述接口的类型包括以下任意一项或多项:The type of the interface includes any one or more of the following: 串行接口、以太网接口和USB接口。Serial interface, Ethernet interface and USB interface. 5.一种工业设备数据采集方法,其特征在于,应用于端侧网关设备,包括:5. A method for collecting industrial equipment data, characterized in that it is applied to end-side gateway equipment, including: 确定与目标工业设备适用的接口协议相匹配的目标接口协议,所述目标工业设备为与所述端侧网关设备相连接的工业设备;determining a target interface protocol that matches an interface protocol applicable to a target industrial device, where the target industrial device is an industrial device connected to the end-side gateway device; 基于所述目标接口协议采集所述目标工业设备的工业数据;collecting industrial data of the target industrial equipment based on the target interface protocol; 将所述工业数据封装为物模型数据报文;Encapsulating the industrial data into an object model data message; 将所述物模型数据报文传输至消息队列服务器,以供所述消息队列服务器将所述物模型数据报文转发到数据管理平台。The object model data message is transmitted to the message queue server, so that the message queue server forwards the object model data message to the data management platform. 6.根据权利要求5所述的工业设备数据采集方法,其特征在于,将所述物模型数据报文传输至消息队列服务器,以供所述消息队列服务器将所述物模型数据报文转发到数据管理平台,包括:6. The method for collecting industrial equipment data according to claim 5, wherein the object model data message is transmitted to a message queue server, so that the message queue server forwards the object model data message to Data management platform, including: 基于5G网络将所述物模型数据报文传输至消息队列服务器,以供所述消息队列服务器将所述物模型数据报文转发到数据管理平台。The object model data message is transmitted to the message queue server based on the 5G network, so that the message queue server forwards the object model data message to the data management platform. 7.一种工业设备控制方法,其特征在于,应用于数据管理平台,包括:7. An industrial equipment control method, characterized in that it is applied to a data management platform, comprising: 接收用户输入的设备控制指令;Receive device control instructions input by the user; 将所述设备控制指令封装为物模型控制指令报文;Encapsulating the device control command into an object model control command message; 通过消息队列服务器将所述物模型控制指令报文转发至端侧网关设备,以供所述端侧网关设备对所述物模型控制指令报文进行解析,获取与所述物模型控制指令报文相对应的设备控制指令,并将所述设备控制指令发送至与所述设备控制指令相对应的工业设备。Forwarding the object model control instruction message to the end-side gateway device through the message queue server, so that the end-side gateway device can analyze the object model control instruction message and obtain the object model control instruction message. corresponding equipment control instruction, and send the equipment control instruction to the industrial equipment corresponding to the equipment control instruction. 8.一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利要求5或6所述工业设备数据采集方法,或实现如权利要求7所述工业设备控制方法。8. An electronic device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor according to claim 5 is implemented when executing the program. Or the industrial equipment data collection method described in claim 6, or the industrial equipment control method as claimed in claim 7. 9.一种非暂态计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求5或6所述工业设备数据采集方法,或实现如权利要求7所述工业设备控制方法。9. A non-transitory computer-readable storage medium, on which a computer program is stored, characterized in that, when the computer program is executed by a processor, it realizes the industrial equipment data collection method as claimed in claim 5 or 6, or realizes The industrial equipment control method as claimed in claim 7. 10.一种计算机程序产品,包括计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求5或6所述工业设备数据采集方法,或实现如权利要求7所述工业设备控制方法。10. A computer program product, comprising a computer program, characterized in that, when said computer program is executed by a processor, it realizes the industrial equipment data collection method as claimed in claim 5 or 6, or realizes the industrial equipment as claimed in claim 7 Control Method.
CN202210843812.7A 2022-07-18 2022-07-18 Industrial equipment data acquisition control system and method Pending CN115460258A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210843812.7A CN115460258A (en) 2022-07-18 2022-07-18 Industrial equipment data acquisition control system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210843812.7A CN115460258A (en) 2022-07-18 2022-07-18 Industrial equipment data acquisition control system and method

Publications (1)

Publication Number Publication Date
CN115460258A true CN115460258A (en) 2022-12-09

Family

ID=84296002

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210843812.7A Pending CN115460258A (en) 2022-07-18 2022-07-18 Industrial equipment data acquisition control system and method

Country Status (1)

Country Link
CN (1) CN115460258A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116249033A (en) * 2023-01-30 2023-06-09 英利能源发展(保定)有限公司 Battery printing production line data acquisition device
CN118018603A (en) * 2024-03-27 2024-05-10 安徽征途电气有限公司 Method and device for supporting multiple users to read, write data and trace message on serial port

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109167829A (en) * 2018-08-23 2019-01-08 北方工业大学 A kind of Internet of things communication method and cloud gateway
CN111163147A (en) * 2019-12-24 2020-05-15 深圳供电局有限公司 Gateway device, multi-protocol data transmission method and computer device
CN111770553A (en) * 2020-06-22 2020-10-13 深圳中兴网信科技有限公司 Internet of things equipment access system and method, electronic equipment and storage medium
CN112925660A (en) * 2021-02-26 2021-06-08 重庆斯欧智能科技研究院有限公司 Industrial interconnected information interaction system
CN114697355A (en) * 2020-12-28 2022-07-01 比亚迪股份有限公司 Data processing method and Internet of things gateway equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109167829A (en) * 2018-08-23 2019-01-08 北方工业大学 A kind of Internet of things communication method and cloud gateway
CN111163147A (en) * 2019-12-24 2020-05-15 深圳供电局有限公司 Gateway device, multi-protocol data transmission method and computer device
CN111770553A (en) * 2020-06-22 2020-10-13 深圳中兴网信科技有限公司 Internet of things equipment access system and method, electronic equipment and storage medium
CN114697355A (en) * 2020-12-28 2022-07-01 比亚迪股份有限公司 Data processing method and Internet of things gateway equipment
CN112925660A (en) * 2021-02-26 2021-06-08 重庆斯欧智能科技研究院有限公司 Industrial interconnected information interaction system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116249033A (en) * 2023-01-30 2023-06-09 英利能源发展(保定)有限公司 Battery printing production line data acquisition device
CN118018603A (en) * 2024-03-27 2024-05-10 安徽征途电气有限公司 Method and device for supporting multiple users to read, write data and trace message on serial port

Similar Documents

Publication Publication Date Title
JP7284528B2 (en) Transmission method and server of OPC UA message by CoAP
CN112261080B (en) An edge IoT proxy method applied to power IoT
CN110365758A (en) A Protocol Adaptive IoT Gateway System
CN114222009A (en) An industrial communication multi-protocol conversion system
CN111294235B (en) Data processing method, device, gateway and readable storage medium
CN115460258A (en) Industrial equipment data acquisition control system and method
CN107577820A (en) Method, device and system for data processing
CN113596017B (en) Protocol analysis method and device, soft gateway and storage medium
CN115150274A (en) Unified configuration method, system and storage medium for time-sensitive network equipment
Ghazivakili et al. Industrial data-collector by enabling OPC-UA standard for Industry 4.0
CN118227343B (en) A data processing method, system, device, equipment, medium and product
WO2022056927A1 (en) Gateway, data collection method, electronic device, storage medium, and program
CN116760872A (en) Device control system, method, apparatus, computer device, and storage medium
CN114827293B (en) Edge intelligent gateway management method and edge intelligent gateway
CN115150207B (en) Industrial network equipment identification method and device, terminal equipment and storage medium
CN115277450A (en) OPNET-based virtual reality combined heterogeneous communication network fusion system and application
CN114338274A (en) Heterogeneous industrial field bus fusion method and system
CN108989157B (en) Method and device for controlling intelligent equipment
CN102291292B (en) Method for EPA to FFH1 protocol conversion and scheduling
CN115550112B (en) Electric power edge intelligent gateway and electric power edge data processing method
CN108243232B (en) Industrial network information interconnection method and system
US20100082837A1 (en) Method and apparatus for communications accelerator on cip motion networks
Maia et al. Evaluation of OPC-UA communication in an autonomous advanced manufacturing cell implementation
CN115695090A (en) Data transmission method, internet of things gateway equipment and computer readable storage medium
CN114257623A (en) Internet of things equipment communication method based on streaming processing

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