Internet of Things cognitive engine supporting multi-protocol analysis and multi-type data processing

Through the IoT cognitive engine that supports multi-protocol parsing and multi-type data processing, the problems of IoT device access compatibility and low data utilization efficiency are solved, and the seamless access and data processing of devices are achieved.

CN119728731APending Publication Date: 2025-03-28WUHAN FIBERHOME DIGITAL TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411779176.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

Because IoT device manufacturers adopt different IoT protocols, it is difficult to quickly access different types of IoT devices and effectively utilize perceived data.

Method used

It provides an IoT cognitive engine that supports multi-protocol analysis and multi-type data processing, including device management module, device modeling module, multi-protocol analysis module and device association module. By analyzing transformation information, object model information and association information, standardized analysis and processing of data packets are realized.

Benefits of technology

It realizes seamless access systems for different types of IoT devices, improves the efficiency and accuracy of data processing, and solves the problems of inefficient device access compatibility and data utilization efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119728731A_ABST
    Figure CN119728731A_ABST
Patent Text Reader

Abstract

The invention provides an Internet of Things cognitive engine supporting multi-protocol analysis and multi-type data processing, and the cognitive engine comprises a device management module which is used for creating Internet of Things device information; the Internet of Things equipment information at least comprises one of an equipment identifier, an equipment type, an equipment model and object model information; the equipment modeling module is used for creating an equipment model; the equipment model at least comprises analysis conversion information, object model information and associated information; the analysis conversion information is used for converting a data packet sent by the Internet of Things equipment into standardized data; the equipment association module is used for associating the Internet of Things equipment information with the equipment model; and the multi-protocol analysis module is used for responding to the received data packet sent by the Internet of Things equipment and analyzing the data packet according to the equipment model to obtain standardized data for data analysis. The invention further provides an access method of the Internet of Things equipment, the equipment and a storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of Internet of Things technology, and more specifically to an Internet of Things cognitive engine that supports multi-protocol parsing and multi-type data processing. Background Art

[0002] In 2023, the number of global IoT connections will increase by more than 20%, and the global digital economy driven by IoT smart technology is expected to exceed US$20 trillion. It is estimated that by 2030, the number of global IoT connections may exceed 80 billion, and the annual output value of the global IoT digital economy is expected to exceed US$40 trillion. Driven by policy and technological innovation, IoT devices in various industries are constantly innovating. However, due to the widespread application of IoT devices, there are more and more IoT device manufacturers. The IoT devices of various IoT manufacturers may use different IoT protocols, which brings great difficulties to the rapid access of different types of IoT devices. At the same time, various industries have accumulated a large amount of different types of perception data, which has also hindered the effective use of data. Summary of the invention

[0003] In view of the above problems, the present disclosure provides an Internet of Things cognitive engine that supports multi-protocol parsing and multi-type data processing, characterized in that the cognitive engine includes: a device management module, used to create Internet of Things device information; the Internet of Things device information includes at least one of a device identifier, a device type, a device model and a physical model information; a device modeling module, used to create a device model; the device model includes at least parsing conversion information, physical model information and association information; the parsing conversion information is used to convert a data packet sent by the Internet of Things device into standardized data; a device association module, used to associate the Internet of Things device information with the device model; a multi-protocol parsing module, used to respond to receiving a data packet sent by the Internet of Things device, and parse the data packet according to the device model to obtain standardized data for data analysis.

[0004] According to an embodiment of the present disclosure, parsing and conversion information at least includes an Internet of Things protocol parsing plug-in, a parsing script, and a conversion script; the cognitive engine also includes a framework development module; the framework development module is used to receive the developed Internet of Things protocol parsing plug-in, and form a network transport layer protocol parsing framework for parsing data packets through the network transport layer protocol parsing framework; the Internet of Things protocol parsing plug-in includes at least one of an MQTT protocol plug-in, an HTTP protocol plug-in, a Modbus protocol plug-in, a CoAP protocol plug-in, and an LwM2M protocol plug-in.

[0005] According to an embodiment of the present disclosure, creating a device model includes: associating an Internet of Things protocol parsing plug-in; writing a parsing script and a conversion script; the parsing script is used to encode and decode binary data parsed by the Internet of Things protocol parsing plug-in; the conversion script is used to convert the encoded and decoded data to obtain standardized data; setting the device type, device model and object model information; the object model information includes at least attribute information, service information and event information; the attribute information is used to describe the runtime status of the Internet of Things device; the event information is used to describe the event information of the runtime events of the Internet of Things device; the service information is used to describe the service information of the Internet of Things device providing services to the outside world.

[0006] According to an embodiment of the present disclosure, a data packet is parsed according to a device model to obtain standardized data for data analysis, including: determining an associated device model according to IoT device information in the data packet; parsing the data packet into binary data using an IoT protocol parsing plug-in associated with the device model; and processing the binary data using a parsing script and a conversion script to obtain standardized data.

[0007] According to an embodiment of the present disclosure, binary data is processed using a parsing script and a conversion script to obtain standardized data, including: using a parsing script in a device model to convert the binary data into JSON format data; using a conversion script to convert the JSON format data into standardized data.

[0008] According to an embodiment of the present disclosure, associating IoT device information with a device model includes: determining a corresponding device model according to a device type and a device model in the IoT device information; and associating the IoT device information with the corresponding device model.

[0009] According to an embodiment of the present disclosure, the cognitive engine also includes a data analysis module; the data analysis module is used to preprocess the standardized data; the preprocessing includes at least one of classification, association, conversion, and cleaning; the preprocessed standardized data is analyzed to generate an analysis report; the analysis report includes at least one of risk warning, trend analysis, and processing suggestions.

[0010] The second aspect of the present disclosure provides an access method for an Internet of Things device, characterized in that the Internet of Things cognitive engine used for the above-mentioned support for multi-protocol parsing and multi-type data processing includes: creating Internet of Things device information; the Internet of Things device information includes at least one of a device identifier, a device type, a device model, and a physical model information; creating a device model; the device model includes at least parsing conversion information, physical model information, and associated information; the parsing conversion information is used to convert a data packet sent by the Internet of Things device into standardized data; associating the Internet of Things device information with the device model; in response to receiving a data packet sent by the Internet of Things device, according to the device model, parsing the data packet to obtain standardized data for data analysis.

[0011] A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the access method of the above-mentioned Internet of Things device.

[0012] The fourth aspect of the present disclosure also provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the above-mentioned access method for an Internet of Things device.

[0013] According to the IoT cognitive engine that supports multi-protocol parsing and multi-type data processing provided by the present disclosure, the IoT platform can be compatible with different device types by defining parsing conversion information in the device model. Since the parsing conversion information can be obtained by querying the corresponding device model after the IoT device uploads the data packet, the technical problem that different types of IoT devices are difficult to quickly access the IoT platform is at least partially solved, and the technical effect of supporting multiple IoT protocol parsing and enabling IoT devices to seamlessly access the system is achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 A flowchart of a method for accessing an Internet of Things device according to an embodiment of the present disclosure is schematically shown;

[0015] Figure 2 A schematic diagram schematically shows a framework diagram of Internet of Things device access according to an embodiment of the present disclosure;

[0016] Figure 3 Schematically shows a structural block diagram of an Internet of Things cognitive engine supporting multi-protocol parsing and multi-type data processing according to an embodiment of the present disclosure;

[0017] Figure 4 A block diagram of an electronic device suitable for implementing an access method for an Internet of Things device according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0018] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0019] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0020] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.

[0021] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0022] Figure 3 The schematic diagram shows a structural block diagram of an IoT cognitive engine that supports multi-protocol parsing and multi-type data processing according to an embodiment of the present disclosure. Figure 3 As shown, the IoT cognitive engine supporting multi-protocol parsing and multi-type data processing of this embodiment includes a device management module, a device modeling module, a multi-protocol parsing module and a device association module. The device management module is used to create IoT device information; the IoT device information includes at least one of a device identifier, a device type, a device model and a physical model information. The device modeling module is used to create a device model; the device model includes at least parsing conversion information, physical model information and association information; the parsing conversion information is used to convert the data packet sent by the IoT device into standardized data. The device association module is used to associate the IoT device information with the device model. The multi-protocol parsing module is used to respond to receiving a data packet sent by the IoT device and, according to the device model, parse the data packet to obtain standardized data for data analysis.

[0023] Figure 2 The schematic diagram schematically shows a framework diagram of IoT device access according to an embodiment of the present disclosure, such as Figure 2As shown, according to the IoT device access method disclosed in the present invention, an IoT cognitive engine that supports multi-protocol parsing and multi-type data processing is provided, and the engine is mainly composed of the following two parts: an IoT protocol parsing module and a data processing module. Among them, the IoT protocol parsing module provides multi-network and multi-protocol access capabilities, and provides scripting language operating environments such as AviatorScript and JavaScript, and supports the use of scripts to encode and decode binary stream data and format data. The data processing module provides device modeling and multi-type data cognitive analysis capabilities. The system associates, converts, and classifies various types of device data according to the device model, and conducts in-depth analysis of the processed data through multi-type data cognitive analysis capabilities, and generates trend analysis, risk warnings, disposal suggestions, etc.

[0024] Specifically, the preparation process of the IoT cognitive engine is as follows: (1) Develop the IoT protocol plug-in and upload the multi-protocol parsing module, verify and load it into the network transport layer protocol parsing framework; (2) Create the IoT device model, write the binary stream parsing script and the data standardization script (that is, each device model includes at least the data parsing script and the JSON data formatting script); (3) Associate the device model with the IoT protocol plug-in; (4) Create a new device and associate the device model according to the device model. The operation process of the IoT cognitive engine is as follows: (1) The IoT device uploads the network data packet; (2) The IoT protocol plug-in parses the network data packet into binary stream data; (3) Get the script from the device model; (4) Use the script in the script's corresponding operating environment (for example, JavaScript operating environment, AviatorScript operating environment, WebAssembly operating environment) to decode and standardize the binary stream data; (5) Classify and convert the standardized data; (6) Generate trend analysis, risk warning, disposal suggestions, etc.

[0025] Through the embodiments of the present disclosure, by creating a device model, the parsing and conversion of device data are more standardized, supporting the parsing of multiple IoT protocols, allowing IoT devices to seamlessly access the system, improving the efficiency and accuracy of data processing, and providing a systematic IoT device access process to ensure that the device can smoothly access the IoT system, greatly facilitating the access of different types of IoT devices.

[0026] Based on the above embodiment, the parsing and conversion information at least includes an Internet of Things protocol parsing plug-in, a parsing script, and a conversion script; the cognitive engine also includes a framework development module; the framework development module is used to receive the developed Internet of Things protocol parsing plug-in, and form a network transport layer protocol parsing framework for parsing data packets through the network transport layer protocol parsing framework; the Internet of Things protocol parsing plug-in includes at least one of an MQTT protocol plug-in, an HTTP protocol plug-in, a Modbus protocol plug-in, a CoAP protocol plug-in, and an LwM2M protocol plug-in.

[0027] In this embodiment, according to the protocol standards used by IoT devices, based on the unified interface of the basic network transport layer protocol parsing framework, the corresponding IoT protocol plug-in is developed, and multi-network, multi-protocol IoT device access is quickly realized through plug-ins. The system has built-in common IoT protocol parsing plug-ins including MQTT, HTTP, Modbus, CoAP, LWM2M, SNMP, etc. Users can also easily expand custom protocols based on the basic network layer protocol parsing framework to meet specific needs. The developed protocol plug-in is uploaded to the system. After the system verification is passed, the IoT protocol plug-in is loaded by the basic network transport layer protocol parsing framework.

[0028] In this embodiment, the transport layer protocol parsing framework provides a unified TCP / UDP network connection service and provides a plug-in interface to the outside world. The plug-in interface supports the transmission of network connection information to each IoT protocol plug-in. Each IoT protocol plug-in implements the plug-in interface and supports the implementation of network message data codecs and message processors according to this protocol specification. When the transport layer protocol parsing framework is started, it will automatically search and load the IoT protocol plug-in according to the plug-in interface. When a network connection comes, the transport layer protocol parsing framework first creates a network connection and transmits the network connection information to the IoT protocol plug-in. The IoT protocol plug-in initializes the network message data codec according to the network connection information and returns the message processor to the framework. When a data message arrives, the transport layer protocol parsing framework calls the network message data codec of the IoT protocol plug-in to decode the message, and then calls the message processor to process the protocol message.

[0029] Through the embodiments of the present disclosure, by abstracting the network transport layer protocol, the differences between different networks such as the underlying Lora, 2G / 3G / 4G / 5G, NB-IoT, ZigBee, wired networks, etc. are shielded, a hot-swappable basic network transport layer protocol parsing framework is implemented, and a unified network transport layer protocol interface is provided for the upper-layer Internet of Things protocol plug-in, thereby improving the compatibility and flexibility of device access.

[0030] On the basis of the above embodiment, a device model is created, including: associating an Internet of Things protocol parsing plug-in; writing a parsing script and a conversion script; the parsing script is used to encode and decode binary data parsed by the Internet of Things protocol parsing plug-in; the conversion script is used to convert the encoded and decoded data to obtain standardized data; setting the device type, device model and object model information; the object model information includes at least attribute information, service information and event information; the attribute information is used to describe the runtime status of the Internet of Things device; the event information is used to describe the event information of the runtime events of the Internet of Things device; the service information is used to describe the service information of the Internet of Things device providing services to the outside world.

[0031] In this embodiment, creating a device model specifically includes: (1) selecting a protocol plug-in: selecting a loaded IoT protocol parsing plug-in; (2) writing a parsing script: using a scripting language such as AviatorScript and JavaScirpt, writing a script to implement encoding and decoding of binary data parsed by the IoT protocol parsing plug-in, with built-in support for encoding and decoding of ProtoBuf, XML, JSON and other format data, and supporting the use of scripts to parse private format data; (3) writing a conversion script: using a scripting language such as AviatorScript and JavaScirpt, writing a script to implement conversion of JSON format data into standardized data; (4) setting data constraints: setting each data field and its data type in the data model, and defining other necessary constraints; (5) setting device type, device model and other information.

[0032] In this embodiment, users can quickly and flexibly access IoT devices of different protocols, conveniently create new device models, continuously accumulate model library innovations, and make full use of the perception data reported by IoT perception devices.

[0033] Through the embodiments of the present disclosure, the device model concept provided by the present disclosure integrates protocol plug-ins, parsing scripts, conversion scripts and traditional object model information (data constraints), and associated information, that is, it defines the entire process from protocol parsing to data standardization to data constraints. Specifically, the device model includes the loaded IoT protocol plug-in information, the written binary stream data encoding and decoding scripts and data standardization scripts, each data field and its data type definition and other necessary constraints, device type and device model information. Users can create a device model library and accumulate device models continuously. When a user creates a new IoT device, the device model in the model library can be quickly matched according to the IoT device model.

[0034] On the basis of the above embodiments, according to the device model, the data packet is parsed to obtain standardized data for data analysis, including: determining the associated device model according to the IoT device information in the data packet; using the IoT protocol parsing plug-in associated with the device model to parse the data packet into binary data; using the parsing script and the conversion script to process the binary data to obtain standardized data.

[0035] In this embodiment, multiple scripting language runtime environments such as AviatorScript and JavaScript are provided. After the binary stream data is parsed using the protocol plug-in, the system calls a unified script encoding and decoding interface and uses the corresponding script language runtime environment to run the specified script to decode the binary stream data and convert it into JSON format data. The system has built-in encoding and decoding scripts for data in formats such as JSON, Protobuf, and XML, and also provides an encoding and decoding script editing interface, which users can conveniently use to write and debug scripts.

[0036] Through the embodiments of the present disclosure, efficient parsing of data packets is achieved through the Internet of Things protocol parsing plug-in in the associated device model; standardized data is quickly acquired through the parsing script and conversion script in the associated device model, and a unified process for parsing data packets to obtain standardized data is provided, thereby improving the compatibility of device access.

[0037] Based on the above embodiment, binary data is processed using a parsing script and a conversion script to obtain standardized data, including: using the parsing script in the device model to convert the binary data into JSON format data; using the conversion script to convert the JSON format data into standardized data.

[0038] Through the embodiments of the present disclosure, users are allowed to write data parsing scripts and conversion scripts, providing the ability to convert raw stream data into standard models.

[0039] On the basis of the above embodiment, associating the IoT device information with the device model includes: determining the corresponding device model according to the device type and device model in the IoT device information; and associating the IoT device information with the corresponding device model.

[0040] According to the embodiments of the present disclosure, by determining the corresponding device model according to the device type and device model, it is ensured that the device information is accurately matched to the corresponding device model.

[0041] Based on the above embodiment, the cognitive engine further includes a data analysis module;

[0042] The data analysis module is used to preprocess the standardized data; the preprocessing includes at least one of classification, association, conversion, and cleaning; the preprocessed standardized data is analyzed to generate an analysis report; the analysis report includes at least one of risk warning, trend analysis, and processing suggestions.

[0043] In this embodiment, the standardized data is first pre-processed by classification, association, conversion, cleaning, etc., and then the processed data is sent to the cognitive analysis and reasoning module, which studies and analyzes the data and generates trend analysis, risk warnings, disposal suggestions, etc.

[0044] Through the embodiments of the present disclosure, data cognitive analysis capabilities are provided. After the data reported by different types of IoT devices are parsed through the protocol plug-in, the binary stream parsing script defined in the created device model is used to perform decoding and data standardization. The cognitive analysis technology is used to conduct in-depth analysis of the IoT device perception data, which will greatly improve the utilization efficiency of the IoT device perception data.

[0045] Based on the above-mentioned IoT cognitive engine that supports multi-protocol parsing and multi-type data processing, the present disclosure also provides an access method for IoT devices. Figure 1 The flowchart of the method for accessing an Internet of Things device according to an embodiment of the present disclosure is schematically shown. Figure 1 As shown, an embodiment of the present disclosure provides an access method for an Internet of Things device, including: creating Internet of Things device information; the Internet of Things device information includes at least one of a device identifier, a device type, a device model, and a physical model information; creating a device model; the device model includes at least parsing conversion information, physical model information, and associated information; the parsing conversion information is used to convert a data packet sent by the Internet of Things device into standardized data; associating the Internet of Things device information with the device model; in response to receiving a data packet sent by the Internet of Things device, parsing the data packet according to the device model to obtain standardized data for data analysis.

[0046] Figure 4 A block diagram of an electronic device suitable for implementing an access method for an Internet of Things device according to an embodiment of the present disclosure is schematically shown.

[0047] like Figure 4As shown, the electronic device 400 according to an embodiment of the present disclosure includes a processor 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage part 408 to a random access memory (RAM) 403. The processor 401 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 401 may also include an onboard memory for caching purposes. The processor 401 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0048] In RAM 403, various programs and data required for the operation of electronic device 400 are stored. Processor 401, ROM 402 and RAM 403 are connected to each other via bus 404. Processor 401 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 402 and / or RAM 403. It should be noted that the program can also be stored in one or more memories other than ROM 402 and RAM 403. Processor 401 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.

[0049] According to an embodiment of the present disclosure, the electronic device 400 may further include an input / output (I / O) interface 405, which is also connected to the bus 404. The electronic device 400 may further include one or more of the following components connected to the I / O interface 405: an input portion 406 including a keyboard, a mouse, etc.; an output portion 407 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 408 including a hard disk, etc.; and a communication portion 409 including a network interface card such as a LAN card, a modem, etc. The communication portion 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to the I / O interface 405 as needed. A removable medium 411, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 410 as needed, so that a computer program read therefrom is installed into the storage portion 408 as needed.

[0050] The present disclosure also provides a computer-readable storage medium, which may be included in the device / cognitive engine / system described in the above embodiments; or may exist independently without being assembled into the device / cognitive engine / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

[0051] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the method provided by the embodiment of the present disclosure.

[0052] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).

[0053] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0054] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.

[0055] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. An IoT cognitive engine that supports multi-protocol parsing and multi-type data processing, characterized in that: The cognitive engine includes: A device management module, used to create IoT device information; the IoT device information includes at least one of a device identifier, a device type, a device model, and a physical model information; A device modeling module is used to create a device model; the device model at least includes parsing conversion information, object model information and association information; the parsing conversion information is used to convert the data packets sent by the IoT device into standardized data; A device association module, used to associate the IoT device information with the device model; The multi-protocol parsing module is used to respond to receiving a data packet sent by an IoT device and parse the data packet according to the device model to obtain standardized data for data analysis.

2. The cognitive engine of claim 1, wherein: The parsing and conversion information at least includes an IoT protocol parsing plug-in, a parsing script, and a conversion script; the cognitive engine also includes a framework development module; The framework development module is used to receive the developed Internet of Things protocol parsing plug-in, form a network transport layer protocol parsing framework for parsing the data packet through the network transport layer protocol parsing framework; the Internet of Things protocol parsing plug-in includes at least one of an MQTT protocol plug-in, an HTTP protocol plug-in, a Modbus protocol plug-in, a CoAP protocol plug-in, and an LwM2M protocol plug-in.

3. The cognitive engine of claim 2, wherein: The creating of the device model comprises: Associating the IoT protocol parsing plug-in; Write a parsing script and a conversion script; the parsing script is used to encode and decode the binary data parsed by the IoT protocol parsing plug-in; the conversion script is used to convert the encoded and decoded data to obtain standardized data; Set the device type, device model and object model information; the object model information includes at least attribute information, service information and event information; the attribute information is used to describe the runtime status of the IoT device; the event information is used to describe the event information of the IoT device runtime events; the service information is used to describe the service information of the IoT device providing services to the outside world.

4. The cognitive engine of claim 3, wherein: The step of parsing the data packet to obtain standardized data for data analysis according to the device model includes: Determine the associated device model according to the IoT device information in the data packet; Parsing the data packet into binary data using the IoT protocol parsing plug-in associated with the device model; The binary data is processed using the parsing script and the conversion script to obtain standardized data.

5. The cognitive engine of claim 4, wherein: The using the parsing script and the conversion script to process the binary data to obtain standardized data includes: Convert the binary data into JSON format data using a parsing script in the device model; The JSON format data is converted into standardized data using the conversion script.

6. The cognitive engine of claim 1, wherein: The associating the IoT device information with the device model includes: Determine the corresponding device model according to the device type and device model in the IoT device information; The IoT device information is associated with the corresponding device model.

7. The cognitive engine of claim 1, wherein: The cognitive engine also includes a data analysis module; The data analysis module is used to preprocess the standardized data; the preprocessing includes at least one of classification, association, conversion, and cleaning; the preprocessed standardized data is analyzed to generate an analysis report; the analysis report includes at least one of risk warning, trend analysis, and processing suggestions.

8. A method for accessing an Internet of Things device, characterized in that: The IoT cognitive engine supporting multi-protocol parsing and multi-type data processing as claimed in claim 1 comprises: Creating IoT device information; the IoT device information includes at least one of a device identifier, a device type, a device model, and a physical model information; Creating a device model; the device model at least includes parsing conversion information, object model information and association information; the parsing conversion information is used to convert data packets sent by the IoT device into standardized data; Associating the IoT device information with the device model; In response to receiving a data packet sent by an IoT device, the data packet is parsed according to the device model to obtain standardized data for data analysis.

9. An electronic device, comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are caused to perform the method according to claim 8.

10. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to perform the method according to claim 8.

Citation Information

Cited By

  • Access method and system of Internet of Things equipment, equipment and medium

    CN121567724A