WO2023015522A1 - 一种获取物联网数据的方法、装置、系统和存储介质 - Google Patents

一种获取物联网数据的方法、装置、系统和存储介质 Download PDF

Info

Publication number
WO2023015522A1
WO2023015522A1 PCT/CN2021/112268 CN2021112268W WO2023015522A1 WO 2023015522 A1 WO2023015522 A1 WO 2023015522A1 CN 2021112268 W CN2021112268 W CN 2021112268W WO 2023015522 A1 WO2023015522 A1 WO 2023015522A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
internet
things
protocol
data collection
Prior art date
Application number
PCT/CN2021/112268
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/CN2021/112268 priority Critical patent/WO2023015522A1/zh
Priority to CN202180100822.5A priority patent/CN117677907A/zh
Publication of WO2023015522A1 publication Critical patent/WO2023015522A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]

Definitions

  • the present invention relates to the technical field of the Internet of Things (IOT), in particular to a method, device, system and storage medium for obtaining data of the Internet of Things.
  • IOT Internet of Things
  • the Internet of Things refers to the real-time collection of any object or process that needs to be monitored, connected, and interacted, and its sound.
  • Various required information such as light, heat, electricity, mechanics, chemistry, biology, and location are connected through various networks to realize the ubiquitous connection between objects and objects, and between objects and people, and realize intelligent perception of objects and processes, identification and management.
  • Embodiments of the present invention propose a method, device, system, and storage medium for acquiring data from the Internet of Things.
  • a method of obtaining IoT data comprising:
  • Said respective messages are sent to the upstream interface protocol component via a message bus corresponding to the message format.
  • the embodiment of the present invention uses the data collection components corresponding to the respective data types to realize data collection in the Internet of Things scene where multiple types of data are mixed, and realizes the unification in the Internet of Things scene where multiple types of data are mixed through the message bus. Data upload, thus improving the convenience of the data acquisition process.
  • each of the data collection components includes a plurality of data collection protocols, wherein each data collection protocol corresponds to a respective Internet of Things data source in the plurality of Internet of Things data sources; the method also includes:
  • each data acquisition component has the ability to execute multiple data acquisition protocols, realizing a unified data acquisition component with multiple data acquisition capabilities. Moreover, a specific data acquisition protocol in the data acquisition component is activated based on the Internet of Things data source to which the data acquisition component is to be deployed, and a data acquisition method corresponding to requirements is also realized.
  • the activation of the data collection protocol contained in each data collection component and related to the Internet of Things data source includes:
  • the data collection protocol can be activated not only through user instructions, but also automatically based on the handshake message, which improves the adaptability.
  • the uplink interface protocol component to send the respective messages to the Internet of Things gateway, so that the Internet of Things gateway can send the respective messages to the cloud or a local server.
  • embodiments of the present invention can also implement multiple data reporting methods.
  • a device for obtaining data from the Internet of Things comprising:
  • the acquisition module is used to enable each data acquisition component corresponding to the respective data types to collect the Internet of Things data of the respective data types;
  • An encapsulation module configured to enable each data acquisition component to encapsulate the respectively collected IoT data into respective messages having the same message format
  • a sending module configured to send the respective messages to the uplink interface protocol component via a message bus corresponding to the message format.
  • the embodiment of the present invention uses the data collection components corresponding to the respective data types to realize data collection in the Internet of Things scene where multiple types of data are mixed, and realizes the unification in the Internet of Things scene where multiple types of data are mixed through the message bus. Data upload, thus improving the convenience of the data acquisition process.
  • each of the data collection components includes a plurality of data collection protocols, wherein each data collection protocol corresponds to a respective Internet of Things data source in the plurality of Internet of Things data sources;
  • the acquisition module is also used to determine the IoT data source where each data acquisition component is arranged; activate the data acquisition protocol contained in each data acquisition component and related to the IoT data source; establish the The corresponding relationship between the activated data collection protocol and the data type of the IoT data source.
  • each data acquisition component has the ability to execute multiple data acquisition protocols, realizing a unified data acquisition component with multiple data acquisition capabilities. Moreover, activating a specific data acquisition protocol in the data acquisition component based on the IoT data source to which the data acquisition component is to be deployed, also implements a data acquisition method corresponding to the requirement.
  • the collection module is configured to receive a user instruction adapted to select a data collection protocol via a man-machine interface; select a data collection protocol from the multiple data collection protocols based on the user instruction; activate the selected or, receiving a handshake message containing the identifier of the IoT data source from the IoT data source; parsing the identifier from the handshake message; selecting a data acquisition protocol based on the identifier; activating Selected data acquisition protocol.
  • the data collection protocol can be activated not only through user instructions, but also automatically based on the handshake message, which improves the adaptability.
  • the sending module is configured to enable the uplink interface protocol components to send the respective messages to the cloud or a local server; or, enable the uplink interface protocol components to send the respective messages to an Internet of Things gateway, so that the respective messages are sent by the Internet of Things gateway to a cloud or a local server.
  • embodiments of the present invention can also implement multiple data reporting methods.
  • a system for acquiring data from the Internet of Things comprising:
  • each data acquisition component includes a plurality of data acquisition protocols, each data acquisition protocol corresponds to a respective Internet of Things data source in the plurality of Internet of Things data sources, and the plurality of data acquisition protocols contains at least the activated data collection protocol; each data collection component is used to collect IoT data of respective data types from corresponding IoT data sources based on the activated data collection protocol, and encapsulate the collected IoT data for the respective messages with the same message format;
  • An upstream interface protocol component for sending said respective messages received via the message bus.
  • the embodiment of the present invention uses the data collection components corresponding to the respective data types to realize data collection in the Internet of Things scene where multiple types of data are mixed, and realizes the unification in the Internet of Things scene where multiple types of data are mixed through the message bus. Data upload, thus improving the convenience of the data acquisition process.
  • the uplink interface protocol component is configured to send the respective messages to the cloud or a local server; or send the respective messages to the Internet of Things gateway, so that the respective messages are sent by the Internet of Things gateway to cloud or local server.
  • embodiments of the present invention can also implement multiple data reporting methods.
  • a device for obtaining data from the Internet of Things comprising: a memory; a processor;
  • the memory stores an application program executable by the processor, which is used to make the processor execute the method for acquiring IoT data as described in any one of the above items.
  • the embodiment of the present invention also proposes a device with a processor-memory architecture, which can realize data collection and data upload in an Internet of Things scene where multiple types of data are mixed, and improve the convenience of the data acquisition process.
  • the device for acquiring IoT data is integrated into at least one of the following devices:
  • Micro-embedded devices IoT gateways; industrial computers; personal computers; servers; virtualized container platforms.
  • the device for obtaining data from the Internet of Things can be deployed in various ways, which has the advantage of flexible implementation.
  • a computer-readable storage medium where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for acquiring Internet of Things data as described in any one of the above items is implemented.
  • the embodiment of the present invention also proposes a computer-readable storage medium storing a computer program, which can realize data collection and data upload in an Internet of Things scene where multiple types of data are mixed, and improves the convenience of the data acquisition process.
  • FIG. 1 is an exemplary flowchart of a method for acquiring data from the Internet of Things according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of component layers of the process of acquiring data from the Internet of Things according to an embodiment of the present invention.
  • FIG. 3 is an exemplary structural diagram of a system for acquiring data from the Internet of Things according to an embodiment of the present invention.
  • Fig. 4 is an exemplary structural diagram of a device for acquiring data from the Internet of Things according to an embodiment of the present invention.
  • FIG. 5 is an exemplary structural diagram of a device for acquiring data from the Internet of Things with a processor-memory architecture according to an embodiment of the present invention.
  • a system for capturing IoT data 31 First Data Acquisition Component 32 Second Data Acquisition Component 33
  • the third data acquisition component 34
  • IoT gateway 35 MQTT interface 36 the cloud 400 Devices that capture IoT data 401 acquisition module 402
  • Encapsulation module 403 sending module 500 Devices that capture IoT data 501 memory 502 processor
  • FIG. 1 is an exemplary flow chart of the method for acquiring data from the Internet of Things of the present invention.
  • the method includes:
  • Step 101 Enabling each data collection component corresponding to the respective data type to respectively collect IoT data of the respective data type.
  • each data collection component includes multiple data collection protocols, wherein each data collection protocol corresponds to a respective Internet of Things data source among the multiple Internet of Things data sources; the method also includes: determining the arrangement of each data collection component The IoT data source obtained; activate the data acquisition protocol contained in each data acquisition component and related to the IoT data source; establish the corresponding relationship between the activated data acquisition protocol and the data type of the IoT data source .
  • each data collection component has the ability to collect respective data from multiple IoT data sources because it includes multiple data collection protocols.
  • the corresponding data acquisition protocol is activated based on the IoT data source where the data acquisition component is specifically deployed, and the activated data acquisition protocol is used to collect IoT data from the deployed IoT data source, thereby proposing a general Data collection component.
  • the data acquisition protocol may include: a sensor acquisition protocol adapted to acquire sensor data from a sensor, a building acquisition protocol adapted to acquire building data from a building, a PLC acquisition protocol adapted to acquire PLC data from a PLC, Adapt to the CNC acquisition protocol and other acquisition protocols for acquiring CNC data from the CNC.
  • the data collection protocol in the data collection component corresponding to the specifically deployed IoT data source can be activated through various implementation manners. for example:
  • Embodiment (1) receiving a user instruction adapted to select a data collection protocol via a man-machine interface; selecting a data collection protocol from multiple data collection protocols based on the user instruction; activating the selected data collection protocol. Accordingly, the corresponding data collection protocol can be activated based on user instructions.
  • each data acquisition component contains data acquisition protocols including: sensor acquisition protocol, building acquisition protocol, PLC acquisition protocol and CNC acquisition protocol.
  • data acquisition protocols including: sensor acquisition protocol, building acquisition protocol, PLC acquisition protocol and CNC acquisition protocol.
  • each data acquisition component contains data acquisition protocols including: sensor acquisition protocol, building acquisition protocol, PLC acquisition protocol and CNC acquisition protocol.
  • data acquisition protocols including: sensor acquisition protocol, building acquisition protocol, PLC acquisition protocol and CNC acquisition protocol.
  • Step 102 Enabling each data collection component to encapsulate the collected IoT data into respective messages with the same message format.
  • each data collection component encapsulates the collected IoT data into respective messages with the same message format.
  • Step 103 Send respective messages to the uplink interface protocol component via the message bus corresponding to the message format.
  • the method further includes: enabling the uplink interface protocol component to send respective messages to the cloud or the local server.
  • the method further includes: enabling the uplink interface protocol component to send respective messages to the IoT gateway, so that the IoT gateway sends the respective messages to the cloud or the local server.
  • the uplink interface protocol components may include Message Queuing Telemetry Transport (MQTT) protocol, Hyper Text Transfer Protocol (Hyper Text Transfer Protocol, HTTP), Hyper Text Transfer Protocol (Hyper Text Transfer Protocol) with secure socket layer over Secure Socket Layer, HTTPS), KAFKA protocol, Transmission Control Protocol (Transmission Control Protocol, TCP) or User Datagram Protocol (User Datagram Protocol, UDP), etc.
  • MQTT Message Queuing Telemetry Transport
  • HTTP Hyper Text Transfer Protocol
  • HTTP Hyper Text Transfer Protocol
  • HTTPS Hyper Text Transfer Protocol
  • KAFKA protocol Transmission Control Protocol
  • TCP Transmission Control Protocol
  • UDP User Datagram Protocol
  • FIG. 2 is a schematic diagram of component layers of the process of acquiring data from the Internet of Things according to an embodiment of the present invention.
  • the data acquisition layer 21 includes a sensor acquisition protocol 211 , a building acquisition protocol 212 , a PLC acquisition protocol 213 , a CNC acquisition protocol 214 and other acquisition protocols 215 .
  • the sensor acquisition protocol 211 is adapted to acquire sensor data from sensors;
  • the building acquisition protocol 212 is adapted to acquire building data from buildings;
  • the PLC acquisition protocol 213 is adapted to acquire PLC data from PLC;
  • the CNC acquisition protocol 214 is adapted to acquire data from The CNC data is acquired in the CNC;
  • the other acquisition protocol 215 is adapted to acquire data corresponding to the other acquisition protocol 215 from other IoT data sources.
  • the sensor acquisition protocol 211 encapsulates the sensor data into the first message based on the message format of the message bus 22; the building acquisition protocol 212 encapsulates the building data into the second message based on the message format of the message bus 22; the PLC acquisition protocol 213 is based on the message bus 22 The message format of PLC data is packaged as the third message; the CNC acquisition protocol 214 is based on the message format of the message bus 22, and the CNC data is packaged as the fourth message; other acquisition protocols 215 are based on the message format of the message bus 22, and other The collected data is encapsulated into a fifth message.
  • the message bus 22 sends the first message, the second message, the third message, the fourth message and the fifth message to the uplink interface protocol layer 23 .
  • Uplink interface protocol layer 23 includes MQTT protocol 231 , HTTP/HTTPS protocol 232 , KAFKA protocol 233 , TCP/UDP protocol 234 and other uplink interface protocols 235 .
  • the user may determine, based on preset settings, that at least one or all of the first message, the second message, the third message, the fourth message, and the fifth message are sent by a specific uplink protocol in the uplink interface protocol layer 23 .
  • the uplink interface protocol layer 23 may directly send at least one or all of the first message, the second message, the third message, the fourth message and the fifth message to the cloud, the server or any designated storage medium.
  • the MQTT protocol 231 sends the first message and the third message to the cloud via the message bus 22.
  • the KAFKA protocol 233 sends the fourth message to the server via the message bus 22 .
  • the required data collection protocol and uplink interface protocol can be freely selected to achieve the goal of light weight, flexibility and full coverage. At the same time, there is enough possibility for the expansion of functional components.
  • FIG. 3 is an exemplary structural diagram of a system for acquiring data from the Internet of Things according to an embodiment of the present invention.
  • the first data acquisition component 31, the second data acquisition component 32 and the third data acquisition component 33 all include a sensor acquisition protocol adapted to acquiring sensor data, a CNC acquisition protocol adapted to acquiring CNC data and Adapt to the PLC acquisition protocol for acquiring PLC data.
  • the sensor acquisition protocol in the first data acquisition component 31 is activated, and the activated sensor acquisition protocol Sensor data is obtained from a sensor data source 41 .
  • the second data acquisition component 32 receives a handshake message containing the identifier of the CNC data source 42 from the CNC data source 42 .
  • the second data acquisition component 32 parses out the identifier of the CNC data source 42 from the handshake message, selects and activates the CNC acquisition protocol based on the identifier, and obtains CNC data from the CNC data source 42 by the activated CNC acquisition protocol.
  • the third data collection component 33 receives a handshake message containing the identifier of the PLC data source 43 from the PLC data source 43 .
  • the third data acquisition component 33 parses out the identifier of the PLC data source 43 from the handshake message, selects and activates the PLC acquisition protocol based on the identifier, and obtains PLC data from the PLC data source 43 by the activated PLC acquisition protocol.
  • the first data collection component 31 packs the collected PLC data into the first message
  • the second data collection component 32 packs the collected CNC data into the second message
  • the third data collection component 33 collects the collected PLC data.
  • the packet is the third message, wherein the message formats of the first message, the second message and the third message match the transmission protocol of the message bus 22 .
  • the IoT gateway 34 including the MQTT interface 35 receives the first message, the second message and the third message via the message bus 22 .
  • the IoT gateway 34 may also have additional functions such as data caching, disconnected retransmission, or load sharing.
  • the MQTT interface 35 sends the first message, the second message and the third message to the cloud 36 .
  • IoT gateway 34 is combined with multiple data collection components, IoT gateway 34 can provide data uplink interface and data collection services, each data collection component can realize partial data collection with low cost and limited performance, and The collected data is transmitted to the IoT gateway 34 through the distributed message bus and forwarded to the cloud.
  • the system shown in Figure 3 has significant advantages.
  • the embodiment of the present invention can be deployed on a variety of software and hardware platforms, such as: micro-embedded platforms, Internet of Things gateways, industrial computers, computers, servers, virtualized container platforms, etc., and can be flexibly selected to run according to different needs Platform-targeted (i.e. platform-independent).
  • Platform-targeted i.e. platform-independent
  • the component system architecture of the embodiment of the present invention and the characteristics of not being limited by the platform can not only be deployed on a single platform, but also can be distributed and deployed on multiple (or multiple) physical platforms to maximize performance and cost benefits.
  • the platform with stronger capacity of single unit can be selected to implement the embodiment of the present invention; when the concentrated amount of data to be collected is small, the platform with relatively common performance can be selected to implement the embodiment of the present invention;
  • the embodiment of the present invention can be implemented by using a combination of multiple platforms; when the data to be collected is scattered and the amount is small or different, the corresponding platform can be selected according to the situation for distributed deployment to implement the embodiment of the present invention. It can be seen that the implementation mode of the present invention can be flexibly matched and selected according to needs, improve operating efficiency, save costs, reduce deployment difficulty, and improve performance.
  • Fig. 4 is an exemplary structural diagram of a device for acquiring data from the Internet of Things according to an embodiment of the present invention.
  • the device 400 for obtaining data from the Internet of Things includes:
  • the acquisition module 401 is configured to enable each data acquisition component corresponding to the respective data type to respectively collect the Internet of Things data of the respective data types;
  • An encapsulation module 402 configured to enable each data collection component to encapsulate the Internet of Things data collected separately into respective messages having the same message format;
  • the sending module 403 is configured to send the respective messages to the uplink interface protocol component via a message bus corresponding to the message format.
  • each data collection component includes a plurality of data collection protocols, wherein each data collection protocol corresponds to a respective Internet of Things data source in the multiple Internet of Things data sources; the collection module 401 is also used for Determining the IoT data source to which each data collection component is arranged; activating the data collection protocol contained in each data collection component and related to the IoT data source; establishing the activated data collection protocol with the IoT Correspondence between data types of networked data sources.
  • the collection module 401 is configured to receive a user instruction adapted to select a data collection protocol via a man-machine interface; select a data collection protocol from multiple data collection protocols based on the user instruction; activate the selected data collection protocol; or, receiving a handshake message containing the identifier of the IoT data source from the IoT data source; parsing the identifier from the handshake message; selecting a data collection protocol based on the identifier; activating the selected data collection protocol.
  • the sending module 403 is configured to enable the uplink interface protocol components to send respective messages to the cloud or local server; or enable the uplink interface protocol components to send the respective messages to the Internet of Things gateway, so that the Networked gateways send respective messages to cloud or local servers.
  • FIG. 5 is an exemplary structural diagram of a device for acquiring data from the Internet of Things with a processor-memory architecture according to the present invention.
  • the device 500 for acquiring IoT data includes a processor 501, a memory 502, and a computer program stored in the memory 502 and operable on the processor 501.
  • the computer program is executed by the processor 501, any of the above The method for obtaining data from the Internet of Things.
  • the apparatus 500 for acquiring IoT data can be integrated into at least one of the following devices: micro-embedded devices; IoT gateways; industrial computers; personal computers; servers;
  • the memory 502 can be specifically implemented as various storage media such as electrically erasable programmable read-only memory (EEPROM), flash memory (Flash memory), and programmable program read-only memory (PROM).
  • the processor 501 may be implemented to include one or more central processing units or one or more field programmable gate arrays, wherein the field programmable gate arrays integrate one or more central processing unit cores.
  • the central processing unit or the central processing unit core may be implemented as a CPU, MCU, or DSP, and so on.
  • the hardware modules in the various embodiments may be implemented mechanically or electronically.
  • a hardware module may include specially designed permanent circuits or logic devices (such as special-purpose processors, such as FPGAs or ASICs) to perform specific operations.
  • Hardware modules may also include programmable logic devices or circuits (eg, including general-purpose processors or other programmable processors) temporarily configured by software to perform particular operations.
  • programmable logic devices or circuits eg, including general-purpose processors or other programmable processors
  • the present invention also provides a machine-readable storage medium storing instructions for causing a machine to perform the method as described herein.
  • a system or device equipped with a storage medium may be provided, on which the software program code for realizing the functions of any implementation manner in the above-mentioned embodiments is stored, and the computer (or CPU or MPU of the system or device) ) to read and execute the program code stored in the storage medium.
  • an operating system or the like operated on a computer may also complete part or all of the actual operations through instructions based on program codes.
  • Embodiments of storage media for providing program codes include floppy disks, hard disks, magneto-optical disks, optical disks (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), Tape, non-volatile memory card, and ROM.
  • the program code can be downloaded from a server computer or cloud by a communication network.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明实施方式公开了一种获取物联网数据的方法、装置、系统和存储介质。方法包括:使能对应于各自数据类型的每个数据采集组件分别采集所述各自数据类型的物联网数据;使能每个数据采集组件将各自采集的物联网数据封装为具有相同消息格式的各自消息;经由对应于该消息格式的消息总线,将所述各自消息发送到上行接口协议组件。本发明实施方式通过支持多种数据类型的数据采集组件,实现多种类型数据混合的物联网场景中的数据获取,提高了便利性。

Description

一种获取物联网数据的方法、装置、系统和存储介质 技术领域
本发明涉及物联网(Internet of Things,IOT)技术领域,特别是涉及一种获取物联网数据的方法、装置、系统和存储介质。
背景技术
物联网是指通过各种信息传感器、射频识别技术、全球定位系统、红外感应器、激光扫描器等各种装置与技术,实时采集任何需要监控、连接、互动的物体或过程,采集其声、光、热、电、力学、化学、生物、位置等各种需要的信息,通过各类网络接入,实现物与物、物与人的泛在连接,实现对物品和过程的智能化感知、识别和管理。
随着物联网在各行各业的发展,目前普遍存在高效采集物联网数据的需求。各行业场景都有各自的特点,甚至同行业不同现场的条件都千差万别,但对数据采集的需要是一致的。
目前,每个单一场景(比如:可编程逻辑控制器(PLC)、计算机数字控制(CNC)、机器人、传感器、楼宇,等等)下的数据获取,都有各自的解决设备。对于多种类型数据混合的场景,需要利用多种解决设备分别采集和分别上传各自数据,具有使用不便的缺点。
发明内容
本发明实施方式提出一种获取物联网数据的方法、装置、系统和存储介质。
本发明实施方式的技术方案如下:
一种获取物联网数据的方法,包括:
使能对应于各自数据类型的每个数据采集组件分别采集所述各自数据类型的物联网数据;
使能每个数据采集组件将各自采集的物联网数据封装为具有相同消息格式的各自消息;
经由对应于该消息格式的消息总线,将所述各自消息发送到上行接口协议组件。
可见,本发明实施方式利用对应于各自数据类型的数据采集组件,实现多种类型数据混合的物联网场景中的数据采集,而且通过消息总线实现了多种类型数据混合的物联网场景中的统一数据上传,因此提高了数据获取过程的便利性。
在一个实施方式中,所述每个数据采集组件包含多个数据采集协议,其中每个数据采集协议分别对应于所述多个物联网数据源中的各自物联网数据源;该方法还包括:
确定所述每个数据采集组件布置到的物联网数据源;
激活所述每个数据采集组件中包含的、与该物联网数据源相关的数据采集协议;
建立该激活的数据采集协议与该物联网数据源的数据类型之间的对应关系。
因此,每个数据采集组件都具有执行多个数据采集协议的能力,实现一种具有多数据采集能力的统一数据采集组件。而且,基于数据采集组件要被布置到的物联网数据源激活数据采集组件中的具体数据采集协议,还实现了一种对应于需求的数据获取方法。
在一个实施方式中,所述激活每个数据采集组件中包含的、与该物联网数据源相关的数据采集协议包括:
经由人机界面接收适配于选择数据采集协议的用户指令;基于所述用户指令从所述多个数据采集协议中选择数据采集协议;激活选中的数据采集协议;或
从该物联网数据源接收包含该物联网数据源的标识的握手报文;从所述握手报文中解析出所述标识;基于所述标识选择数据采集协议;激活选中的数据采集协议。
因此,既可以通过用户指令激活数据采集协议,还可以基于握手报文自动激活数据采集协议,提高了适应性。
在一个实施方式中,还包括:
使能所述上行接口协议组件将所述各自消息发送到云端或本地服务器;或
使能所述上行接口协议组件将所述各自消息发送到物联网网关,以由所述物联网网关将所述各自消息发送到云端或本地服务器。
可见,本发明实施方式还可以实现多种数据上报方式。
一种获取物联网数据的装置,包括:
采集模块,用于使能对应于各自数据类型的每个数据采集组件分别采集所述各自数据类型的物联网数据;
封装模块,用于使能每个数据采集组件将各自采集的物联网数据封装为具有相同消息格式的各自消息;
发送模块,用于经由对应于该消息格式的消息总线,将所述各自消息发送到上行接口协议组件。
可见,本发明实施方式利用对应于各自数据类型的数据采集组件,实现多种类型数据混合的物联网场景中的数据采集,而且通过消息总线实现了多种类型数据混合的物联网场景中的统一数据上传,因此提高了数据获取过程的便利性。
在一个实施方式中,所述每个数据采集组件包含多个数据采集协议,其中每个数据采集协议分别对应于所述多个物联网数据源中的各自物联网数据源;
所述采集模块,还用于确定所述每个数据采集组件布置到的物联网数据源;激活所述每个数据采集组件中包含的、与该物联网数据源相关的数据采集协议;建立该激活的数据采集协议与该物联网数据源的数据类型之间的对应关系。
因此,每个数据采集组件都具有执行多个数据采集协议的能力,实现一种具有多数据采集能力的统一数据采集组件。而且,基于数据采集组件要被布置到的物联网数据源激活数据采集组件中的具体数据采集 协议,还实现了一种对应于需求的数据获取方法。
在一个实施方式中,所述采集模块,用于经由人机界面接收适配于选择数据采集协议的用户指令;基于所述用户指令从所述多个数据采集协议中选择数据采集协议;激活选中的数据采集协议;或,从该物联网数据源接收包含该物联网数据源的标识的握手报文;从所述握手报文中解析出所述标识;基于所述标识选择数据采集协议;激活选中的数据采集协议。
因此,既可以通过用户指令激活数据采集协议,还可以基于握手报文自动激活数据采集协议,提高了适应性。
在一个实施方式中,所述发送模块,用于使能所述上行接口协议组件将所述各自消息发送到云端或本地服务器;或,使能所述上行接口协议组件将所述各自消息发送到物联网网关,以由所述物联网网关将所述各自消息发送到云端或本地服务器。
可见,本发明实施方式还可以实现多种数据上报方式。
一种获取物联网数据的系统,包括:
多个物联网数据源;
多个数据采集组件,其中每个数据采集组件包含多个数据采集协议,每个数据采集协议分别对应于所述多个物联网数据源中的各自物联网数据源,所述多个数据采集协议中至少包含已激活的数据采集协议;每个数据采集组件,用于基于所述已激活的数据采集协议从对应的物联网数据源采集各自数据类型的物联网数据,将采集的物联网数据封装为具有相同消息格式的各自消息;
消息总线,用于将所述各自消息发送到上行接口协议组件;
上行接口协议组件,用于发送经由消息总线接收到的所述各自消息。
可见,本发明实施方式利用对应于各自数据类型的数据采集组件,实现多种类型数据混合的物联网场景中的数据采集,而且通过消息总线实现了多种类型数据混合的物联网场景中的统一数据上传,因此提高了数据获取过程的便利性。
在一个实施方式中,上行接口协议组件,用于将所述各自消息发送到云端或本地服务器;或将所述各自消息发送到物联网网关,以由所述物联网网关将所述各自消息发送到云端或本地服务器。
可见,本发明实施方式还可以实现多种数据上报方式。
一种获取物联网数据的装置,包括:存储器;处理器;
其中所述存储器中存储有可被所述处理器执行的应用程序,用于使得所述处理器执行如上任一项所述的获取物联网数据的方法。
因此,本发明实施方式还提出具有处理器-存储器架构的装置,可以实现多种类型数据混合的物联网场景中的数据采集以及数据上传,提高了数据获取过程的便利性。
在一个实施方式中,所述获取物联网数据的装置被集成到下列设备中的至少一个:
微型嵌入式设备;物联网网关;工控计算机;个人计算机;服务器;虚拟化容器平台。
因此,可以通过多种方式部署获取物联网数据的装置,具有实施灵活的优点。
一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如上任一项所述的获取物联网数据的方法。
因此,本发明实施方式还提出存储有计算机程序的计算机可读存储介质,可以实现多种类型数据混合的物联网场景中的数据采集以及数据上传,提高了数据获取过程的便利性。
附图说明
图1为本发明实施方式的获取物联网数据的方法的示范性流程图。
图2为本发明实施方式的获取物联网数据的过程的组件分层示意图。
图3为本发明实施方式的获取物联网数据的系统的示范性结构图。
图4为本发明实施方式的获取物联网数据的装置的示范性结构图。
图5为本发明实施方式的具有处理器-存储器架构的、获取物联网数据的装置的示范性结构图。
其中,附图标记如下:
100 获取物联网数据的方法
101~103 步骤
21 数据采集层
22 消息总线
23 上行接口协议层
211 传感器采集协议
212 楼宇采集协议
213 PLC采集协议
214 CNC采集协议
215 其它采集协议
231 MQTT协议
232 HTTP/HTTPS协议
233 KAFKA协议
234 TCP/UDP协议
235 其它上行接口协议
41 传感器数据源
42 CNC数据源
43 PLC数据源
30 获取物联网数据的系统
31 第一数据采集组件
32 第二数据采集组件
33 第三数据采集组件
34 IoT网关
35 MQTT接口
36 云端
400 获取物联网数据的装置
401 采集模块
402 封装模块
403 发送模块
500 获取物联网数据的装置
501 存储器
502 处理器
具体实施方式
为了使本发明的技术方案及优点更加清楚明白,以下结合附图及实施方式,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施方式仅仅用以阐述性说明本发明,并不用于限定本发明的保护范围。
为了描述上的简洁和直观,下文通过描述若干代表性的实施方式来对本发明的方案进行阐述。实施方式中大量的细节仅用于帮助理解本发明的方案。但是很明显,本发明的技术方案实现时可以不局限于这些细节。为了避免不必要地模糊了本发明的方案,一些实施方式没有进行细致地描述,而是仅给出了框架。下文中,“包括”是指“包括但不限于”,“根据……”是指“至少根据……,但不限于仅根据……”。由于汉语的语言习惯,下文中没有特别指出一个成分的数量时,意味着该成分可以是一个也可以是多个,或可理解为至少一个。
图1为本发明的获取物联网数据的方法的示范性流程图。
如图1所示,该方法包括:
步骤101:使能对应于各自数据类型的每个数据采集组件分别采集各自数据类型的物联网数据。
在这里,每个数据采集组件包含多个数据采集协议,其中每个数据采集协议分别对应于多个物联网数据源中的各自物联网数据源;该方法还包括:确定每个数据采集组件布置到的物联网数据源;激活每个数据采集组件中包含的、与该物联网数据源相关的数据采集协议;建立该激活的数据采集协议与该物联网数 据源的数据类型之间的对应关系。
可见,每个数据采集组件均因包含多个数据采集协议而具有采集多个物联网数据源中的各自数据的能力。而且,基于数据采集组件具体布置到的物联网数据源而激活相对应的数据采集协议,并利用激活的数据采集协议从布置到的物联网数据源中采集物联网数据,从而提出一种通用的数据采集组件。
具体地,数据采集协议可以包括:适配于从传感器中获取传感器数据的传感器采集协议、适配于从楼宇获取楼宇数据的楼宇采集协议、适配于从PLC中获取PLC数据的PLC采集协议、适配于从CNC中获取CNC数据的CNC采集协议以及其它采集协议。
以上示范性描述了数据采集协议的典型实例,本领域技术人员可以意识到,这种描述仅是示范性的,并不用于限定本发明实施方式的保护范围。
可以通过多种实施方式激活数据采集组件中的、对应于具体布置到的物联网数据源的数据采集协议。比如:
实施方式(1)、经由人机界面接收适配于选择数据采集协议的用户指令;基于用户指令从多个数据采集协议中选择数据采集协议;激活选中的数据采集协议。因此,可以基于用户指令而激活对应的数据采集协议。
比如,假定每个数据采集组件包含的数据采集协议包括:传感器采集协议、楼宇采集协议、PLC采集协议和CNC采集协议。用户在保存数据采集组件的库房处提取数据采集组件时,并不知晓物联网数据源具体为传感器,不过这不会对后续的布置工作带来障碍。用户提取出一个数据采集组件,其中数据采集组件中的数据采集协议都处于非激活状态。当用户将数据采集组件布置到传感器处时,用户通过目视可以确定物联网数据源具体为传感器,通过人机界面发出选择传感器采集协议的用户指令,数据采集组件相应地激活所选中的传感器采集协议,并利用传感器采集协议从传感器中采集数据。
(2)、从该物联网数据源接收包含该物联网数据源的标识的握手报文;从握手报文中解析出标识;基于标识选择数据采集协议;激活选中的数据采集协议。因此,可以基于握手报文而实现自动化激活对应的数据采集协议。
比如,假定每个数据采集组件包含的数据采集协议包括:传感器采集协议、楼宇采集协议、PLC采集协议和CNC采集协议。用户在保存数据采集组件的库房处提取数据采集组件时,并不知晓物联网数据源具体为PLC,不过这不会对后续的布置工作带来障碍。用户提取出一个数据采集组件,其中数据采集组件中的数据采集协议都处于非激活状态。当用户将该数据采集组件布置到PLC处时,PLC向数据采集组件发出包含PLC的标识的握手报文。数据采集组件从握手报文中解析出PLC的标识,从而可以确定物联网数据源具体为PLC,数据采集组件相应地激活PLC采集协议,并利用PLC采集协议从PLC中采集数据。
步骤102:使能每个数据采集组件将各自采集的物联网数据分别封装为具有相同消息格式的各自消息。
在这里,每个数据采集组件分别将各自采集的物联网数据别封装为具有相同消息格式的各自消息。
步骤103:经由对应于该消息格式的消息总线,将各自消息发送到上行接口协议组件。
在一个实施方式中,该方法还包括:使能上行接口协议组件将各自消息发送到云端或本地服务器。
在一个实施方式中,该方法还包括:使能上行接口协议组件将各自消息发送到物联网网关,以由物联网网关将所述各自消息发送到云端或本地服务器。
具体地,上行接口协议组件可以包括消息队列遥测传输(Message Queuing Telemetry Transport,MQTT)协议、超文本传输协议(Hyper Text Transfer Protocol,HTTP)、具有安全套接层的超文本传输协议(Hyper Text Transfer Protocol over Secure Socket Layer,HTTPS)、KAFKA协议、传输控制协议(Transmission Control Protocol,TCP)或用户数据报协议(User Datagram Protocol,UDP),等等。
以上示范性描述了上行接口协议的典型实例,本领域技术人员可以意识到,这种描述仅是示范性的,并不用于限定本发明实施方式的保护范围。
图2为本发明实施方式的获取物联网数据的过程的组件分层示意图。
在图2中,数据采集层21包括传感器采集协议211、楼宇采集协议212、PLC采集协议213、CNC采集协议214以及其它的采集协议215。传感器采集协议211适配于从传感器中获取传感器数据;楼宇采集协议212适配于从楼宇中获取楼宇数据;PLC采集协议213适配于从PLC中获取PLC数据;CNC采集协议214适配于从CNC中获取CNC数据;其它的采集协议215适配于从其它的物联网数据源中获取对应于其它的采集协议215的数据。
传感器采集协议211基于消息总线22的消息格式,将传感器数据封装为第一消息;楼宇采集协议212基于消息总线22的消息格式,将楼宇数据封装为第二消息;PLC采集协议213基于消息总线22的消息格式,将PLC数据封装为第三消息;CNC采集协议214基于消息总线22的消息格式,将CNC数据封装为第四消息;其它的采集协议215基于消息总线22的消息格式,将其它的采集数据封装为第五消息。
消息总线22将第一消息、第二消息、第三消息、第四消息和第五消息发送到上行接口协议层23。上行接口协议层23包含MQTT协议231、HTTP/HTTPS协议232、KAFKA协议233、TCP/UDP协议234和其它上行接口协议235。用户可以基于预先设置确定由上行接口协议层23中的具体上行协议来发送第一消息、第二消息、第三消息、第四消息和第五消息中的至少一个消息或全部消息。上行接口协议层23可以将第一消息、第二消息、第三消息、第四消息和第五消息中的至少一个消息或全部消息直接发送到云端、服务器或任意指定的存储介质。
比如,当用户指定云端通过上行接口协议层23中的MQTT协议231接收传感器数据和PLC数据时,MQTT协议231经由消息总线22将第一消息和第三消息发送到云端。
再比如,当用户指定服务器通过上行接口协议层23中的KAFKA协议233接收CNC数据时,KAFKA协议233经由消息总线22将第四消息发送到服务器。
可见,根据不同场景,可以自由选择所需数据采集协议及上行接口协议,达到轻量灵活及全覆盖的目 标。同时为功能组件拓展留足可能性。
图3为本发明实施方式的获取物联网数据的系统的示范性结构图。
在图3中,第一数据采集组件31、第二数据采集组件32和第三数据采集组件33中均包含适配于采集传感器数据的传感器采集协议、适配于采集CNC数据的CNC采集协议和适配于采集PLC数据的PLC采集协议。
当用户将第一数据采集组件31布置到传感器数据源41处时,基于用户在人机界面上的设置操作,激活第一数据采集组件31中的传感器采集协议,并由该激活的传感器采集协议从传感器数据源41处获取传感器数据。
当用户将第二数据采集组件32与CNC数据源42连接时,第二数据采集组件32从CNC数据源42接收到包含该CNC数据源42的标识的握手报文。第二数据采集组件32从握手报文中解析出CNC数据源42的标识,基于该标识选择并激活CNC采集协议,并由该激活的CNC采集协议从CNC数据源42处获取CNC数据。
当用户将第三数据采集组件33与PLC数据源43连接时,第三据采集组件33从PLC数据源43接收到包含该PLC数据源43的标识的握手报文。第三数据采集组件33从握手报文中解析出PLC数据源43的标识,基于该标识选择并激活PLC采集协议,并由该激活的PLC采集协议从PLC数据源43处获取PLC数据。
第一数据采集组件31将采集到的PLC数据组包为第一消息,第二数据采集组件32将采集到的CNC数据组包为第二消息,第三数据采集组件33将采集到的PLC数据组包为第三消息,其中第一消息、第二消息和第三消息的消息格式与消息总线22的传输协议相匹配。而且,包含MQTT接口35的IoT网关34经由消息总线22接收到第一消息、第二消息和第三消息。IoT网关34还可以具有数据缓存、断线重传或负载均摊等附加的功能。MQTT接口35将第一消息、第二消息和第三消息发送到云端36。
在图3中,IoT网关34与多个数据采集组件相组合,IoT网关34可以提供数据上行接口及数据采集的服务,每个数据采集组件能够以低廉成本、有限性能实现局部数据的采集,并通过分布式消息总线传输采集数据至IoT网关34后转发至云端。在待采目标分散多样的场景中,图3所示的系统具有显著优势。
从部署平台角度分析,本发明实施方式可以部署在多种软硬件平台,如:微型嵌入式平台、物联网网关、工控计算机、计算机、服务器、虚拟化容器平台等,可以根据不同需要灵活选择运行平台的目标(即不受平台限制)。本发明实施方式的组件式系统架构及不受平台限制的特点,其不仅可以部署到单一平台,也可以分布式部署到多个(或多种)实体平台以实现性能及成本的效益最大化。比如:当待采数据集中量大时,可选择单台运力较强的平台实施本发明实施方式;当待采数据集中量少时,可选择性能相对普通的平台实施本发明实施方式;当待采数据分散且量大时,可采用多台组合的方案实施本发明实施方式;当待采数据分散且量少或多少不一时,可根据情况选择相应平台分布部署实施本发明实施方式。可见,本发明 实施方式可以灵活搭配,按需选择,提高运行效率、节省成本、降低部署难度、提高性能。
图4为本发明实施方式的获取物联网数据的装置的示范性结构图。
如图4所示,获取物联网数据的装置400,包括:
采集模块401,用于使能对应于各自数据类型的每个数据采集组件分别采集所述各自数据类型的物联网数据;
封装模块402,用于使能每个数据采集组件将各自采集的物联网数据封装为具有相同消息格式的各自消息;
发送模块403,用于经由对应于该消息格式的消息总线,将所述各自消息发送到上行接口协议组件。
在一个实施方式中,每个数据采集组件包含多个数据采集协议,其中每个数据采集协议分别对应于所述多个物联网数据源中的各自物联网数据源;采集模块401,还用于确定所述每个数据采集组件布置到的物联网数据源;激活所述每个数据采集组件中包含的、与该物联网数据源相关的数据采集协议;建立该激活的数据采集协议与该物联网数据源的数据类型之间的对应关系。
在一个实施方式中,采集模块401,用于经由人机界面接收适配于选择数据采集协议的用户指令;基于所述用户指令从多个数据采集协议中选择数据采集协议;激活选中的数据采集协议;或,从该物联网数据源接收包含该物联网数据源的标识的握手报文;从握手报文中解析出所述标识;基于标识选择数据采集协议;激活选中的数据采集协议。
在一个实施方式中,发送模块403,用于使能上行接口协议组件将各自消息发送到云端或本地服务器;或,使能上行接口协议组件将所述各自消息发送到物联网网关,以由物联网网关将各自消息发送到云端或本地服务器。
图5为本发明的具有处理器-存储器架构的、获取物联网数据的装置的示范性结构图。
如图5所示,获取物联网数据的装置500包括处理器501、存储器502及存储在存储器502上并可在处理器501上运行的计算机程序,计算机程序被处理器501执行时实现如上任一所述的获取物联网数据的方法。
在一个实施方式中,获取物联网数据的装置500可以被集成到下列设备中的至少一个:微型嵌入式设备;物联网网关;工控计算机;个人计算机;服务器;虚拟化容器平台,等等。
其中,存储器502具体可以实施为电可擦可编程只读存储器(EEPROM)、快闪存储器(Flash memory)、可编程程序只读存储器(PROM)等多种存储介质。处理器501可以实施为包括一或多个中央处理器或一或多个现场可编程门阵列,其中现场可编程门阵列集成一或多个中央处理器核。具体地,中央处理器或中央处理器核可以实施为CPU或MCU或DSP等等。
需要说明的是,上述各流程和各结构图中不是所有的步骤和模块都是必须的,可以根据实际的需要忽略某些步骤或模块。各步骤的执行顺序不是固定的,可以根据需要进行调整。各模块的划分仅仅是为了便 于描述采用的功能上的划分,实际实现时,一个模块可以分由多个模块实现,多个模块的功能也可以由同一个模块实现,这些模块可以位于同一个设备中,也可以位于不同的设备中。
各实施方式中的硬件模块可以以机械方式或电子方式实现。例如,一个硬件模块可以包括专门设计的永久性电路或逻辑器件(如专用处理器,如FPGA或ASIC)用于完成特定的操作。硬件模块也可以包括由软件临时配置的可编程逻辑器件或电路(如包括通用处理器或其它可编程处理器)用于执行特定操作。至于具体采用机械方式,或是采用专用的永久性电路,或是采用临时配置的电路(如由软件进行配置)来实现硬件模块,可以根据成本和时间上的考虑来决定。
本发明还提供了一种机器可读的存储介质,存储用于使一机器执行如本文所述方法的指令。具体地,可以提供配有存储介质的系统或者装置,在该存储介质上存储着实现上述实施例中任一实施方式的功能的软件程序代码,且使该系统或者装置的计算机(或CPU或MPU)读出并执行存储在存储介质中的程序代码。此外,还可以通过基于程序代码的指令使计算机上操作的操作系统等来完成部分或者全部的实际操作。还可以将从存储介质读出的程序代码写到插入计算机内的扩展板中所设置的存储器中或者写到与计算机相连接的扩展单元中设置的存储器中,随后基于程序代码的指令使安装在扩展板或者扩展单元上的CPU等来执行部分和全部实际操作,从而实现上述实施方式中任一实施方式的功能。用于提供程序代码的存储介质实施方式包括软盘、硬盘、磁光盘、光盘(如CD-ROM、CD-R、CD-RW、DVD-ROM、DVD-RAM、DVD-RW、DVD+RW)、磁带、非易失性存储卡和ROM。可选择地,可以由通信网络从服务器计算机或云上下载程序代码。
以上所述,仅为本发明的较佳实施方式而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (13)

  1. 一种获取物联网数据的方法(100),其特征在于,包括:
    使能对应于各自数据类型的每个数据采集组件分别采集所述各自数据类型的物联网数据(101);
    使能每个数据采集组件将各自采集的物联网数据封装为具有相同消息格式的各自消息(102);
    经由对应于该消息格式的消息总线,将所述各自消息发送到上行接口协议组件(103)。
  2. 根据权利要求1所述的获取物联网数据的方法(100),其特征在于,所述每个数据采集组件包含多个数据采集协议,其中每个数据采集协议分别对应于多个物联网数据源中的各自物联网数据源;该方法还包括:
    确定所述每个数据采集组件布置到的物联网数据源;
    激活所述每个数据采集组件中包含的、与该物联网数据源相关的数据采集协议;
    建立该激活的数据采集协议与该物联网数据源的数据类型之间的对应关系。
  3. 根据权利要求2所述的获取物联网数据的方法(100),其特征在于,所述激活每个数据采集组件中包含的、与该物联网数据源相关的数据采集协议包括:
    经由人机界面接收适配于选择数据采集协议的用户指令;基于所述用户指令从所述多个数据采集协议中选择数据采集协议;激活选中的数据采集协议;或
    从该物联网数据源接收包含该物联网数据源的标识的握手报文;从所述握手报文中解析出所述标识;基于所述标识从所述多个数据采集协议中选择数据采集协议;激活选中的数据采集协议。
  4. 根据权利要求1所述的获取物联网数据的方法(100),其特征在于,还包括:
    使能所述上行接口协议组件将所述各自消息发送到云端或本地服务器;或
    使能所述上行接口协议组件将所述各自消息发送到物联网网关,以由所述物联网网关将所述各自消息发送到云端或本地服务器。
  5. 一种获取物联网数据的装置(400),其特征在于,包括:
    采集模块(401),用于使能对应于各自数据类型的每个数据采集组件分别采集所述各自数据类型的物联网数据;
    封装模块(402),用于使能每个数据采集组件将各自采集的物联网数据封装为具有相同消息格式的各自消息;
    发送模块(403),用于经由对应于该消息格式的消息总线,将所述各自消息发送到上行接口协议组件。
  6. 根据权利要求5所述的获取物联网数据的装置(400),其特征在于,所述每个数据采集组件包含多个数据采集协议,其中每个数据采集协议分别对应于多个物联网数据源中的各自物联网数据源;
    所述采集模块(401),还用于确定所述每个数据采集组件布置到的物联网数据源;激活所述每个数据采集组件中包含的、与该物联网数据源相关的数据采集协议;建立该激活的数据采集协议与该物联网数据源的数据类型之间的对应关系。
  7. 根据权利要求6所述的获取物联网数据的装置(400),其特征在于,
    所述采集模块(401),用于经由人机界面接收适配于选择数据采集协议的用户指令;基于所述用户指令从所述多个数据采集协议中选择数据采集协议;激活选中的数据采集协议;或,从该物联网数据源接收包含该物联网数据源的标识的握手报文;从所述握手报文中解析出所述标识;基于所述标识选择数据从所述多个数据采集协议中采集协议;激活选中的数据采集协议。
  8. 根据权利要求5所述的获取物联网数据的装置(400),其特征在于,
    所述发送模块(403),用于使能所述上行接口协议组件将所述各自消息发送到云端或本地服务器;或,使能所述上行接口协议组件将所述各自消息发送到物联网网关,以由所述物联网网关将所述各自消息发送到云端或本地服务器。
  9. 一种获取物联网数据的系统(30),其特征在于,包括:
    多个物联网数据源(41,42,43);
    多个数据采集组件(31,32,33),其中每个数据采集组件包含多个数据采集协议,每个数据采集协议分别对应于所述多个物联网数据源(41,42,43)中的各自物联网数据源,所述多个数据采集协议中至少包含已激活的数据采集协议;每个数据采集组件,用于基于所述已激活的数据采集协议从对应的物联网数据源采集各自数据类型的物联网数据,将采集的物联网数据封装为具有相同消息格式的各自消息;
    消息总线(22),用于将所述各自消息发送到上行接口协议组件(35);
    上行接口协议组件(35),用于发送经由消息总线(22)接收到的所述各自消息。
  10. 根据权利要求9所述的获取物联网数据的系统(30),其特征在于,
    上行接口协议组件(35),用于将所述各自消息发送到云端或本地服务器;或将所述各自消息发送到物联网网关,以由所述物联网网关将所述各自消息发送到云端或本地服务器。
  11. 一种获取物联网数据的装置(500),其特征在于,包括:存储器(501);处理器(502);
    其中所述存储器(501)中存储有可被所述处理器(502)执行的应用程序,用于使得所述处理器(502)执行如权利要求1至4中任一项所述的获取物联网数据的方法(100)。
  12. 根据权利要求11所述的获取物联网数据的装置(500),其特征在于,所述获取物联网数据的装置(500)被集成到下列设备中的至少一个:
    微型嵌入式设备;物联网网关;工控计算机;个人计算机;服务器;虚拟化容器平台。
  13. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至4中任一项所述的获取物联网数据的方法(100)。
PCT/CN2021/112268 2021-08-12 2021-08-12 一种获取物联网数据的方法、装置、系统和存储介质 WO2023015522A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2021/112268 WO2023015522A1 (zh) 2021-08-12 2021-08-12 一种获取物联网数据的方法、装置、系统和存储介质
CN202180100822.5A CN117677907A (zh) 2021-08-12 2021-08-12 一种获取物联网数据的方法、装置、系统和存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/112268 WO2023015522A1 (zh) 2021-08-12 2021-08-12 一种获取物联网数据的方法、装置、系统和存储介质

Publications (1)

Publication Number Publication Date
WO2023015522A1 true WO2023015522A1 (zh) 2023-02-16

Family

ID=85199765

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/112268 WO2023015522A1 (zh) 2021-08-12 2021-08-12 一种获取物联网数据的方法、装置、系统和存储介质

Country Status (2)

Country Link
CN (1) CN117677907A (zh)
WO (1) WO2023015522A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107390650A (zh) * 2016-11-18 2017-11-24 厦门嵘拓物联科技有限公司 一种基于物联网的数据采集系统及基于该系统的数据压缩方法
CN108769121A (zh) * 2018-04-24 2018-11-06 浙江正泰电器股份有限公司 智能工业装备物联网数据采集系统及采集数据的上传方法
US20190068433A1 (en) * 2017-08-30 2019-02-28 Boe Technology Group Co., Ltd. Management method and management apparatus of internet of things and internet of things system
CN112968908A (zh) * 2021-03-26 2021-06-15 中国电子科技集团公司第三十研究所 具有数据汇聚和单向传输的物联网安全网关及实现方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107390650A (zh) * 2016-11-18 2017-11-24 厦门嵘拓物联科技有限公司 一种基于物联网的数据采集系统及基于该系统的数据压缩方法
US20190068433A1 (en) * 2017-08-30 2019-02-28 Boe Technology Group Co., Ltd. Management method and management apparatus of internet of things and internet of things system
CN108769121A (zh) * 2018-04-24 2018-11-06 浙江正泰电器股份有限公司 智能工业装备物联网数据采集系统及采集数据的上传方法
CN112968908A (zh) * 2021-03-26 2021-06-15 中国电子科技集团公司第三十研究所 具有数据汇聚和单向传输的物联网安全网关及实现方法

Also Published As

Publication number Publication date
CN117677907A (zh) 2024-03-08

Similar Documents

Publication Publication Date Title
US9998297B2 (en) Method and apparatus for controlling smart home device to upload data, method and apparatus for acquiring data uploaded by smart home device
CN112769873B (zh) 一种数据处理方法、装置、物联网平台及存储介质
US20140074994A1 (en) Gateway apparatus, communication method of gateway apparatus, node apparatus, communication method of node apparatus, and communication system
CN101138219B (zh) 通过网络与客户机通信的方法和系统
CN110266713A (zh) 内外网通信方法、装置、系统及代理服务器和存储介质
JP2005027289A5 (zh)
US20100142538A1 (en) M2M data router
CN104412566B (zh) 用于处理资源的地址的方法和节点
CN110995859A (zh) 一种基于泛在物联网的变电站智能支撑平台系统
CN113612820A (zh) 基于SuperEdge和EdgeXFoundry的云边端设备平台控制架构和方法
KR102025631B1 (ko) Non-TCP/IP 기반의 네트워크상의 IoT 기기와 oneM2M 표준 기반의 IoT 서버 상호간을 중계하는 게이트웨이 서버 및 그 동작 방법
CN111818156A (zh) 一种边缘计算装置和共享方法
CN103747061B (zh) 一种支持多组网接入的动力环境监控系统及其运行方法
WO2023015522A1 (zh) 一种获取物联网数据的方法、装置、系统和存储介质
CN108924773B (zh) 消息处理方法及装置
CN112637370B (zh) 一种数据处理方法、装置、设备及存储介质
US20140092763A1 (en) Method for managing a wireless sensor network, and corresponding sensor node, sensor network, and computer program product
Dimitrios et al. Employing Internet of Things technologies for building automation
CN101312412A (zh) 一种基于嵌入式的以太网传输系统
CN110213177B (zh) 基于4g模块的分时发送方法
Dibaba IoT Implementation with Cayenne Platform
CN111416921B (zh) 摄像机调试方法、摄像机及存储介质
JP2021100233A (ja) サーバーモジュール内蔵のゲートウェイ装置及び通信システム
CN106411552A (zh) 虚拟机状态管理方法及装置
Zhang et al. Remote sensing system for cultural buildings utilizing ZigBee Technology

Legal Events

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

Ref document number: 21953140

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 202180100822.5

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE