Flexible Internet of Things equipment management and scene linkage method and system
Through the method based on device object model configuration, the problem of device compatibility and high development cost in IoT device management is solved, the rapid access and full life cycle management of multi-protocol devices are realized, the configuration and operation and maintenance costs are reduced, and the cost of operation and maintenance is improved. This provides flexibility and security for device access and scene configuration.
Patent Information
- Application Number
- CN202410620965.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2024-08-23
AI Technical Summary
Existing IoT device management has device compatibility issues and high development costs, making it difficult to quickly build changing application scenarios, and different devices use different protocol specifications, resulting in complex development and high costs.
Through the method based on device object model configuration, device access and scene configuration are realized, dynamic protocol packages and hot deployment are supported, and the scene linkage rule engine is used to configure device linkage rules, providing full life cycle management and monitoring, reducing device access and scene Construction costs.
It improves the scalability and ease of use of IoT devices, supports rapid access to multi-protocol devices, reduces configuration workload, realizes rule configuration and full life cycle management of device linkage, and reduces development and operation and maintenance costs.
Smart Images

Figure CN118540217A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things device management, and in particular to a flexible Internet of Things device management and scene linkage method and system. Background Art
[0002] With the development and popularization of the Internet of Things, technological progress and the growth of consumer demand, business requirements are becoming more and more complex, and IoT devices that meet different scenarios have emerged. How to solve the problem of device compatibility and quickly build application scenarios has become an inevitable requirement for improving comprehensive competitiveness. At present, there are multiple versions and specifications of IoT devices. Different devices often use different protocol specifications, which involve the development and debugging of hardware and software. In addition, the application scenarios of the Internet of Things are complex and changeable. Different application scenarios require different technologies and solutions. For different application scenarios, developers need to carry out customized development, which has high development costs. Summary of the invention
[0003] The technical task of the present invention is to address the above shortcomings and provide a flexible IoT device management and scene linkage method and system, which can improve the scalability and ease of use of IoT device access, support rich and convenient rule arrangement and scene linkage configuration, and reduce the cost of device access and application scenario construction.
[0004] The technical solution adopted by the present invention to solve its technical problem is:
[0005] A flexible IoT device management and scene linkage method that implements device access and scene configuration based on device object model configuration. The implementation methods include:
[0006] Step 1: Create products based on IoT device attributes;
[0007] Step 2: Configure device access mode and create network components;
[0008] Step 3: Upload the message protocol package according to the device attributes, and support customized development of the message protocol package;
[0009] Step 4. Configure gateway information, create a corresponding access gateway according to the device type, select the created network components and message protocols, select devices of the same access mode to access the gateway, and enable the product;
[0010] Step 5: Configure the object model according to the attributes provided by the product;
[0011] Step 6. Create a device and select the product to which the device belongs. Fill in the basic information of the device and enable the device to complete the device access.
[0012] Step 7: The scene linkage adopts the business logic visual programming method to define the linkage rules between platform devices;
[0013] Step 8: When an event or attribute change event of a specified device occurs, other associated devices execute specified actions.
[0014] This method achieves rapid access to multiple protocol devices through core capabilities such as dynamic protocol packages and hot deployment, and relies on the scene linkage rule engine to implement device linkage rule configuration, while providing management and monitoring of the entire life cycle of IoT devices.
[0015] Furthermore, the products are software products of the same type with the same attributes. Product parameters need to be configured to create a product, including product ID, product name, product category, and device type. Supported device types include direct-connected devices and gateway devices.
[0016] Furthermore, the method supports multi-protocol rule device access, and through a dynamic protocol packet conversion mechanism, according to the protocol type of the device, the device protocol message is converted into a unified identifiable internal message, thereby achieving the purpose of supporting multi-protocol device access.
[0017] Furthermore, the configuration device access method creates network components while configuring parameters, including remote address, remote port, client parameters, and selects an appropriate network communication method based on actual conditions. The network communication method supports HTTP, MQTT, and WebSocket network communication methods.
[0018] Furthermore, the linkage rules between platform devices are defined, trigger rules are set in advance, and single or multiple actions are executed when the trigger conditions are met.
[0019] Furthermore, the method supports defining the name and description of the scene linkage rules. By configuring the triggers, execution conditions and execution actions of the IoT device scene linkage and monitoring the changes in the relevant attributes of the target IoT device, it is determined whether the execution conditions of the scene are met and the corresponding operations are executed, thereby achieving the purpose of rapid construction of device scene linkage.
[0020] Furthermore, the method supports product management, device management, gateway management, and protocol management to achieve the purpose of full life cycle equipment operation supervision;
[0021] By providing model-based configuration-based device management and scenario linkage methods, as well as management and monitoring of the entire life cycle of IoT devices, the flexibility and security of device access and scenario configuration are improved.
[0022] The present invention also claims protection for a flexible IoT device management and scene linkage system, including:
[0023] Product creation module, used to create products based on IoT device attributes;
[0024] Device access configuration module, used to configure the access mode of the device;
[0025] Message protocol upload module, used to upload message protocol packages according to device attributes, and supports customized development of message protocol packages;
[0026] The gateway configuration module is used to configure gateway information, create corresponding access gateways according to device types, select the created network components and message protocols, select devices of the same access mode to access the gateway, and enable the product;
[0027] The object model configuration module is used to configure the object model according to the attributes provided by the product;
[0028] The device access module is used to create a device and select the product to which the device belongs. After filling in the basic information of the device and enabling the device, the device access can be completed.
[0029] Scene linkage module: Scene linkage adopts business logic visual programming to define the linkage rules between platform devices. When an event or attribute change event of a specified device occurs, other associated devices perform specified actions.
[0030] The products are software products of the same type with the same attributes. The system can implement the above-mentioned IoT device management and scene linkage method.
[0031] The present invention also claims a flexible IoT device management and scene linkage apparatus, comprising at least one memory and one processor;
[0032] The at least one memory is used to store a machine-readable program;
[0033] The at least one processor is used to call the machine-readable program to implement the above method.
[0034] The present invention also claims protection for a computer-readable medium having computer instructions stored thereon, which implement the above method when executed by a processor.
[0035] Compared with the prior art, the flexible IoT device management and scene linkage method and system of the present invention has the following beneficial effects:
[0036] The present invention supports the rapid access of multiple protocol devices, realizes core capabilities such as dynamic protocol packages and hot deployment, and can give full play to its own advantages when developing application scenarios such as smart homes and smart campuses;
[0037] The present invention relies on the scene linkage rule engine to realize the rule configuration of device linkage. It can achieve the effect of one-time creation and multiple reuse by configuring a universal IoT device linkage model, avoiding the tedious operation of repeated configuration of the same scene, reducing the configuration workload and improving the configuration efficiency.
[0038] The present invention provides management and monitoring of the entire life cycle of IoT devices, and provides multi-perspective and systematic security guarantees for the operation management of the devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a flowchart of the implementation process of the Internet of Things device access and scene configuration method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0040] The embodiment of the present invention provides a flexible IoT device management and scenario linkage method, which implements device access and scenario configuration based on device object model configuration, realizes rapid access of multiple protocol devices through core capabilities such as dynamic protocol packages and hot deployment, and implements device linkage rule configuration based on scenario linkage rule engine, while providing management and monitoring of the entire life cycle of IoT devices.
[0041] The method supports the access of multi-protocol rule devices. Through the dynamic protocol packet conversion mechanism, the device protocol message is converted into a unified and identifiable internal message according to the protocol type of the device, thereby achieving the purpose of supporting the access of multi-protocol devices.
[0042] It supports defining the name and description of scene linkage rules. By configuring the triggers, execution conditions and execution actions of the scene linkage of IoT devices and monitoring the changes in the relevant attributes of the target IoT devices, it is determined whether the execution conditions of the scene are met and the corresponding operations are performed to achieve the purpose of rapid construction of device scene linkage.
[0043] Support product management, device management, gateway management, and protocol management to achieve the purpose of full life cycle equipment operation supervision;
[0044] By providing model-based configuration-based device management and scenario linkage methods, as well as management and monitoring of the entire life cycle of IoT devices, the flexibility and security of device access and scenario configuration are improved.
[0045] This is applicable to various application scenarios of device access. By providing a unified device access method that supports multiple protocol specifications and a scene linkage configuration method with business logic visualization, it improves the flexibility of device access and scene configuration and improves work efficiency. Including:
[0046] Create products and configure device access methods based on actual needs;
[0047] Create IoT devices while configuring the IoT model to complete device access;
[0048] Create scene linkage rules based on device attributes;
[0049] Configure scene linkage triggers, execute actions and other elements to complete scene creation.
[0050] like Figure 1 As shown, the specific implementation of this method is as follows:
[0051] Step 1. Create products based on the properties of IoT devices. Products here are the same type of development software with the same properties. You need to configure the product ID, product name, product category, device type and other parameters of the product. Device types such as direct-connected devices and gateway devices are supported.
[0052] Step 2: Configure the device access method. When creating a network component, you need to configure parameters such as the remote address, remote port, and client. Select the appropriate network communication method based on actual conditions. Network communication methods such as HTTP, MQTT, and WebSocket are supported.
[0053] Step 3: Upload the message protocol package according to the device attributes, and support customized development of the message protocol package.
[0054] Step 4: Configure gateway information, create a corresponding access gateway according to the device type, select the created network components and message protocols, select the device access gateway with the same access method, and enable the software product.
[0055] Step 5: Configure the object model according to the attributes provided by the product.
[0056] Step 6. Create a device and select the software product to which the device belongs. Fill in the basic information of the device and enable the device to complete the device access.
[0057] Step 7: Scenario linkage uses business logic visual programming to define linkage rules between platform devices, set trigger rules in advance, and single or multiple actions to be performed when the trigger conditions are met.
[0058] Step 8: When an event or attribute change event of a specified device occurs, other associated devices execute specified actions.
[0059] This method uses core capabilities such as dynamic protocol packages and hot deployment to achieve rapid access to devices with multiple protocols, improves the scalability and ease of use of IoT device access, and reduces the workload of device access; relying on the scene linkage rule engine, it implements device linkage rule configuration, and can achieve the effect of one-time creation and multiple reuse by configuring a general IoT device linkage model, avoiding the tedious operation of repeated configuration of the same scene, reducing configuration workload and improving configuration efficiency; at the same time, it provides management and monitoring of the entire life cycle of IoT devices, such as product management, device management, gateway management, and protocol management, to ensure the safety of device operation.
[0060] The embodiment of the present invention also provides a flexible IoT device management and scene linkage system, including:
[0061] The product creation module is used to create products based on the properties of IoT devices. The products are the same type of software products with the same properties developed by developers. To create a product, you need to configure parameters such as product ID, product name, product category, device type, etc., and support device types such as direct-connected devices and gateway devices.
[0062] The device access configuration module is used to configure the device access method; when creating a network component, you need to configure parameters such as the remote address, remote port, and client, and select the appropriate network communication method based on actual conditions. It supports HTTP, MQTT, WebSocket and other network communication methods.
[0063] The message protocol upload module is used to upload message protocol packages according to device attributes and supports customized development of message protocol packages.
[0064] The gateway configuration module is used to configure gateway information, create corresponding access gateways according to device types, select the created network components and message protocols, select devices with the same access method to access the gateway, and enable the product.
[0065] The object model configuration module is used to configure the object model according to the properties provided by the product.
[0066] The device access module is used to create a device and select the product to which the device belongs. After filling in the basic information of the device and enabling the device, the device access can be completed.
[0067] The scene linkage module uses business logic visual programming to define the linkage rules between platform devices, set trigger rules in advance, and single or multiple actions to be executed when the trigger conditions are met. When an event or attribute change event of a specified device occurs, other associated devices execute the specified action.
[0068] The system supports multiple device access protocols such as MQTT, MQTT Broker, Modbus-TCP, HTTP, etc. It supports flexible access to devices with different protocols with minimal changes on the device side, realizes core capabilities such as dynamic protocol packages and hot deployment, has custom expansion access capabilities, and develops device access protocols in a targeted manner. It supports rapid access to a large number of devices and provides developers with a convenient and inclusive device access method. It fully covers the device access needs in many application scenarios such as smart homes, smart campuses, and smart cities, and can give full play to the greatest advantages when developing various application scenarios. This system improves the scalability and ease of use of IoT device access, supports rich and convenient rule arrangement and scene linkage configuration, frees developers from tedious device protocol adaptation and debugging, and focuses on IoT scene construction, reducing development and operation and maintenance implementation costs.
[0069] The embodiment of the present invention also provides a flexible IoT device management and scene linkage device, comprising at least one memory and a processor;
[0070] The at least one memory is used to store a machine-readable program;
[0071] The at least one processor is used to call the machine-readable program to implement the flexible Internet of Things device management and scene linkage method described in the above embodiment.
[0072] The embodiment of the present invention also provides a computer-readable medium, on which computer instructions are stored, and when the computer instructions are executed by a processor, the processor executes the flexible IoT device management and scene linkage method described in the above embodiment. Specifically, a system or device equipped with a storage medium can be provided, on which software program codes for implementing the functions of any of the above embodiments are stored, and a computer (or CPU or MPU) of the system or device reads and executes the program code stored in the storage medium.
[0073] In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
[0074] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer by a communication network.
[0075] In addition, it should be clear that the functions of any of the above embodiments can be implemented not only by executing the program code read by the computer, but also by enabling an operating system operating on the computer to complete part or all of the actual operations based on instructions from the program code.
[0076] In addition, it can be understood that the program code read from the storage medium is written to a memory provided in an expansion board inserted into the computer or written to a memory provided in an expansion unit connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or the expansion unit is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above-mentioned embodiments.
[0077] The present invention is shown and described in detail above through the accompanying drawings and preferred embodiments. However, the present invention is not limited to these disclosed embodiments. Based on the above multiple embodiments, those skilled in the art can know that the code review methods in the above different embodiments can be combined to obtain more embodiments of the present invention, and these embodiments are also within the protection scope of the present invention.
Claims
1. A flexible IoT device management and scene linkage method, It is characterized in that Device access and scenario configuration are implemented based on device object model configuration. The implementation methods include: Step 1: Create products based on IoT device attributes; Step 2: Configure device access mode and create network components; Step 3: Upload the message protocol package according to the device attributes; Step 4. Configure gateway information, create a corresponding access gateway according to the device type, select the created network components and message protocols, select devices of the same access mode to access the gateway, and enable the product; Step 5: Configure the object model according to the attributes provided by the product; Step 6. Create a device and select the product to which the device belongs. Fill in the basic information of the device and enable the device to complete the device access. Step 7: The scene linkage adopts the business logic visual programming method to define the linkage rules between platform devices; Step 8: When an event or attribute change event of a specified device occurs, other associated devices execute specified actions.
2. According to the flexible IoT device management and scene linkage method of claim 1, It is characterized in that The products are software products of the same category with the same attributes. To create a product, you need to configure product parameters, including product ID, product name, product category, and device type. Supported device types include direct-connected devices and gateway devices.
3. According to the flexible IoT device management and scene linkage method of claim 1, It is characterized in that Supports multi-protocol device access. Through the dynamic protocol packet conversion mechanism, according to the protocol type of the device, the device protocol message is converted into a unified and identifiable internal message to support multi-protocol device access.
4. A flexible IoT device management and scene linkage method according to claim 1 or 3, It is characterized in that The configuration device access method creates network components and configures parameters at the same time, including remote address, remote port, client parameters, and selects an adaptive network communication method according to actual conditions. The network communication method supports HTTP, MQTT, and WebSocket network communication methods.
5. According to a flexible IoT device management and scene linkage method as described in claim 1, It is characterized in that The linkage rules between platform devices are defined, trigger rules are set in advance, and single or multiple actions are executed when the trigger conditions are met.
6. A flexible IoT device management and scene linkage method according to claim 1 or 5, It is characterized in that It supports defining the name and description of scene linkage rules. By configuring the triggers, execution conditions and execution actions of the scene linkage of IoT devices and monitoring the changes in the relevant attributes of the target IoT devices, it is determined whether the execution conditions of the scene are met and the corresponding operations are performed to achieve rapid construction of device scene linkage.
7. A flexible IoT device management and scene linkage method according to claim 1, It is characterized in that Supports product management, device management, gateway management, and protocol management to achieve full life cycle equipment operation supervision.
8. A flexible IoT device management and scene linkage system, It is characterized in that include: Product creation module, used to create products based on IoT device attributes; Device access configuration module, used to configure the access mode of the device; Message protocol upload module, used to upload message protocol packages according to device attributes; The gateway configuration module is used to configure gateway information, create corresponding access gateways according to device types, select the created network components and message protocols, select devices of the same access mode to access the gateway, and enable the product; The object model configuration module is used to configure the object model according to the attributes provided by the product; The device access module is used to create a device and select the product to which the device belongs. After filling in the basic information of the device and enabling the device, the device access can be completed. Scene linkage module: Scene linkage adopts business logic visual programming to define the linkage rules between platform devices. When an event or attribute change event of a specified device occurs, other associated devices perform specified actions. The system can implement the Internet of Things device management and scene linkage method described in any one of claims 1 to 7.
9. A flexible IoT device management and scene linkage device, It is characterized in that comprising at least one memory and a processor; The at least one memory is used to store a machine-readable program; The at least one processor is used to call the machine-readable program to implement the method described in any one of claims 1 to 7.
10. Computer readable media, It is characterized in that The computer readable medium stores computer instructions, and when the computer instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Multi-equipment linkage triggering method and device, equipment, storage medium and product
CN119484580A
