Sub-device management method and device based on cloud control protocol, and terminal

By creating target controllers and configuring communication protocols in the cloud, the problem of low efficiency of cloud control sub-device is solved, efficient remote control and unique communication protocol configuration is achieved, avoiding sub-device control incorrectly, and improving operational security and Convenience.

CN119135707APending Publication Date: 2024-12-13深圳开鸿数字产业发展有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411145403.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

In the prior art, the sub-equipment method for controlling real devices in real devices in the cloud is relatively inefficient, the configuration is complex and difficult to respond to changes quickly, which easily leads to miscontrol among cloud devices.

Method used

Create a target controller and a target control protocol by receiving signals, use the MQTT protocol to transmit data, and configure the communication protocol on the access configuration page of the target sub-device, bind the target sub-device to the target controller, and ensure the uniqueness of the communication protocol and Remote control.

Benefits of technology

It improves the efficiency of cloud-based sub-device control, avoids mismanagement between sub-devices, realizes efficient remote monitoring and operation, and ensures the safety and convenience of operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119135707A_ABST
    Figure CN119135707A_ABST
Patent Text Reader

Abstract

The invention discloses a sub-device management method and device based on a cloud control protocol, and a terminal. The method comprises the steps that a first signal is received, a target controller is created based on the first signal, and the target controller is used for controlling target control equipment; receiving a second signal, wherein the second signal is a signal for controlling a target sub-device based on the target controller; and creating a target control protocol based on the second signal and binding the target control protocol to the target controller, wherein the target control protocol is used for remotely controlling the target sub-device. According to the method and the device, the problem of relatively low efficiency of a method for controlling the sub-equipment of the real equipment by the cloud in the prior art is solved, convenient management and control on the sub-equipment at the cloud based on the cloud control protocol are realized, and convenience is brought to a user when the sub-equipment is managed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet of Things technology and cloud computing, and in particular to a sub-device management method, device and terminal based on a cloud control protocol. Background Art

[0002] With the development of IoT technology, the demand for remote control and management of various devices is increasing. More and more physical devices are connected through the network to achieve data interoperability and intelligent management of devices. In the IoT system, the cloud usually undertakes functions such as device management, data analysis, and remote control, and is the core hub of the entire system. In order to ensure the efficient operation of the system, it is necessary to configure and manage the communication protocols of various sub-devices to ensure that they can be correctly identified, controlled, and perform corresponding tasks by the cloud. At present, combined with the business model and the application scenarios of the delivered products, equipment manufacturing companies usually use super equipment management platforms to control the products they deliver and their sub-equipment.

[0003] However, in the prior art, the cloud-based method of controlling sub-devices of real devices is inefficient, often with problems such as complex configuration and difficulty in quickly responding to changes, and it is easy to cause confusion in the management and control between cloud-based sub-devices.

[0004] Therefore, the prior art still needs to be improved and enhanced. Summary of the invention

[0005] The main purpose of the present invention is to provide a sub-device management method, apparatus and terminal based on a cloud control protocol, aiming to solve the problem of low efficiency of the cloud-based sub-device control method of real devices in the prior art.

[0006] In order to achieve the above object, the first aspect of the present invention provides a sub-device management method based on a cloud control protocol, wherein the sub-device management method based on a cloud control protocol includes:

[0007] receiving a first signal, and creating a target controller based on the first signal, wherein the target controller is used to control a target control device;

[0008] receiving a second signal, where the second signal is a signal for controlling a target sub-device based on the target controller;

[0009] A target control protocol is created based on the second signal and bound to the target controller, wherein the target control protocol is used to remotely manage and control the target sub-device.

[0010] In one implementation, creating a target controller based on the first signal includes:

[0011] Data is transmitted with the target control device based on the MQTT protocol so that the target controller can control the target control device.

[0012] In one implementation, the creating a target control protocol based on the second signal includes:

[0013] Binding the target sub-device instance to the target controller;

[0014] The target control protocol of the target sub-device is configured on the access configuration page of the target sub-device.

[0015] In one implementation, configuring the target control protocol of the target sub-device on a target configuration page includes:

[0016] The target SO plug-in is uploaded on the access configuration page of the target sub-device, and the target SO plug-in is used to identify the business logic call relationship corresponding to the target sub-device.

[0017] In one implementation, the creating a controller of the target sub-device based on the second signal and binding the controller of the target sub-device to the target controller further includes:

[0018] A target mapping relationship is created for the target sub-device, where the target mapping relationship is target control device-target sub-device identification information.

[0019] In one implementation, the creating a controller of the target sub-device based on the second signal and binding the controller of the target sub-device to the target controller further includes:

[0020] The first unbinding information is received, the target controller device is unbound, and the SO plug-ins of all sub-devices corresponding to the target controller are deleted.

[0021] In one implementation, after creating the controller of the target sub-device based on the second signal and binding the controller of the target sub-device to the target controller, the method further includes:

[0022] The second unbinding information is received, the target sub-device is unbound, and the SO plug-in of the target sub-device corresponding to the target controller is deleted.

[0023] A second aspect of the present invention is a sub-device management device based on a cloud control protocol, comprising:

[0024] A controller creation module, configured to receive a first signal and create a target controller based on the first signal, wherein the target controller is configured to control a target control device;

[0025] A second signal receiving module, configured to receive a second signal, where the second signal is a signal for controlling a target sub-device based on the target controller;

[0026] A binding module is used to create a target control protocol based on the second signal and bind the target control protocol to the target controller, wherein the target control protocol is used to remotely manage and control the target sub-device.

[0027] According to a third aspect of the present invention, a terminal is provided, wherein the terminal comprises: a memory, a processor, and a sub-device management program based on a cloud control protocol stored in the memory and executable on the processor, wherein the sub-device management program based on a cloud control protocol, when executed by the processor, implements the steps of the sub-device management method based on a cloud control protocol as described above.

[0028] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the sub-device management method based on the cloud control protocol as described in any of the above items.

[0029] Beneficial effects: Compared with the prior art, the present invention provides a sub-device management method, apparatus and terminal based on a cloud control protocol. In the sub-device management method based on a cloud control protocol provided by the present invention, when the device is controlled in the cloud, a first signal is received, a target controller is created based on the first signal, and the target controller is used to control the target control device, and then a second signal is received, and the second signal is a signal for controlling the target sub-device based on the target controller. Finally, a target control protocol is created based on the second signal and the target control protocol is bound to the target controller, and the target control protocol is used to remotely control the target sub-device. The present invention provides users with a sub-device management method based on a cloud control protocol, which solves the problem of low efficiency of the method when the cloud controls the sub-devices of a real device in the prior art. The control of sub-devices in the cloud based on the cloud control protocol is realized, and the communication protocol configurations of the sub-devices are unique, which will not cause confusion in the control between sub-devices in the cloud. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A flowchart of an embodiment of a sub-device management method based on a cloud control protocol provided by the present invention;

[0031] Figure 2 A sub-device access flow chart of the sub-device management method based on the cloud control protocol provided by the present invention;

[0032] Figure 3 A structural principle diagram of an embodiment of a sub-device management device based on a cloud control protocol provided by the present invention;

[0033] Figure 4 A schematic diagram of an operating environment of an embodiment of a terminal provided by the present invention. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0035] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be intermediate elements. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.

[0036] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as generally understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as herein.

[0037] A sub-device management method based on a cloud control protocol provided by the present invention can be applied to a terminal with computing capabilities. The terminal can execute the sub-device management method based on a cloud control protocol provided by the present invention to manage and control edge sub-devices.

[0038] Embodiment 1

[0039] In this embodiment, a sub-device management method based on a cloud control protocol is provided, which belongs to an edge gateway control method. In this embodiment, a complete solution for managing and controlling edge sub-devices is provided. In this embodiment, the management and control of Kaihong controllers / Kaihong adapters based on the cloud is used as an example to illustrate the management and control of its sub-devices. It is suitable for remote management and control of various sub-devices including fans, weather vanes, etc.

[0040] Specifically, in this embodiment, the communication protocol is configured on the target cloud to achieve efficient management and control of the sub-devices connected to the target control device, and the management and control can be quickly released when necessary, thereby ensuring the safety and convenience of operation.

[0041] Specific as Figure 1 As shown, the sub-device management method based on the cloud control protocol provided in this embodiment includes the following steps:

[0042] S100: Receive a first signal, and create a target controller based on the first signal, where the target controller is used to control a target control device.

[0043] In this embodiment, the target control device is a Kaihong controller / Kaihong adapter. In the IoT system, the Kaihong controller / Kaihong adapter is a core device for managing and controlling sub-devices. They are responsible for data communication, state synchronization, and command transmission between sub-devices and the cloud. Therefore, when the user purchases the target control device, the controller / adapter device will first be created through the cloud.

[0044] Specifically, the target device can be controlled through the target cloud platform provided by the developer. Furthermore, the developer can also manage and control the target device based on the target cloud platform. In the device management module of the target cloud system, the user can select the "Create Device" option to enter the device configuration page. According to specific needs, the user can choose to create a Kaihong controller or a Kaihong adapter. The choice of these two device types depends on the type of sub-device and its connection method. In this embodiment, the user configures the target controller, which can be a Kaihong controller or a Kaihong adapter or more types of controllers.

[0045] Specifically, the target cloud system provides corresponding templates and configuration wizards. Users only need to make selections and settings according to the prompts, which is deemed to have sent the first signal. After the target cloud receives the first signal, it can create a target controller based on the first signal to complete the creation of the target controller corresponding to the target control device.

[0046] In this way, the cloud can create a corresponding virtual device instance for each physical device that needs to be managed, thereby realizing remote monitoring and operation of these physical devices.

[0047] In this embodiment, the step of creating a target controller based on the first signal includes:

[0048] Data is transmitted with the target control device based on the MQTT protocol so that the target controller can control the target control device.

[0049] In this embodiment, the target control device is connected to the target cloud through a communication connection based on the MQTT protocol. The MQTT (Message Queue Telemetry Transport) protocol is a lightweight message transmission protocol widely used in the Internet of Things, and is particularly suitable for scenarios where device-side resources are limited.

[0050] Based on the MQTT protocol, the target cloud can perform data transmission with the target control device, so that the user can control the target control device based on the target controller on the target remote end.

[0051] S200: Receive a second signal, where the second signal is a signal for controlling a target sub-device based on the target controller.

[0052] After the target controller is connected to the target cloud, the user can create sub-devices to be managed in the target cloud system. Sub-devices can be various types of physical devices, such as fans, wind vanes, temperature sensors, etc.

[0053] Reference Figure 2 , the user can select the "Add Sub-device" option in the device management module of the cloud to enter the sub-device configuration page. According to the actual application scenario, the user can select the corresponding device type (such as fan, wind vane), and set relevant parameters for each sub-device, such as device name, device ID, connection type, etc., to send the second signal to the target cloud.

[0054] The target cloud receives the second signal and can add a sub-device based on the second signal. Specifically, the target cloud system will create a corresponding sub-device instance based on the information carried by the second signal, which is the target sub-device in this embodiment. This creation process actually establishes a digital twin model of the target sub-device in the target cloud, laying the foundation for subsequent remote control and data processing.

[0055] After the user sends the second signal, the method further includes:

[0056] The target sub-device is physically connected to the target control device.

[0057] The physical connection of the target sub-device is a key step in the entire system configuration process. In this step, the actual physical target sub-device needs to be connected to the target control device so as to achieve communication with the target cloud through the target control device.

[0058] Specifically, the target sub-device, which may be a fan, a weather vane, or the like, is physically connected to the target controller at the device end of the target control device. In the actual operation of a certain embodiment, the user connects the physical interface (such as a power cord, a communication cable) of the fan, a weather vane, or other sub-device to the corresponding port of the controller / adapter. This connection may be wired, such as through a serial interface, a USB interface, or the like, or wireless, such as through Bluetooth, Wi-Fi, or the like.

[0059] After the physical connection is completed, the target control device will automatically detect the connected sub-device and bind it to the sub-device instance created in the cloud for subsequent communication and control.

[0060] In this embodiment, after completing the physical connection of the target sub-device, the target sub-device needs to be bound to the corresponding target controller in the target cloud system so that the target controller can control the target sub-device.

[0061] S300: Create a target control protocol based on the second signal and bind the target control protocol to the target controller, wherein the target control protocol is used to remotely control the target sub-device.

[0062] The creating a target control protocol based on the second signal comprises:

[0063] Binding the target sub-device instance to the target controller;

[0064] The target control protocol of the target sub-device is configured on the access configuration page of the target sub-device.

[0065] The configuring the target control protocol of the target sub-device on the target configuration page includes:

[0066] The target SO plug-in is uploaded on the access configuration page of the target sub-device, and the target SO plug-in is used to identify the business logic call relationship corresponding to the target sub-device.

[0067] Specifically, in order to achieve precise control of the target sub-device, a corresponding communication protocol must be configured for it. In this embodiment, this is achieved by uploading and configuring the target SO plug-in, which is used to process the logical relationship between the business data of the target sub-device and the target cloud platform object model.

[0068] Specifically, enter the access configuration page of the target sub-device and fill in the communication protocol configuration, including uploading the target SO plug-in, which is used for the business logic calling relationship between the business data / function of the target sub-device and the target cloud object model, etc., and then click to send it to the Kaihong controller / Kaihong adapter to manage and control the sub-device.

[0069] The user enters the configuration page of the target controller and selects the "Communication Protocol Configuration" option. In this page, the user can configure the specific communication protocol for the sub-device, including setting the transmission protocol type (such as MQTT, CoAP, etc.), data format (such as JSON, XML, etc.), and uploading the SO plug-in used to process the sub-device data to send the target data to the target cloud.

[0070] The target cloud receives the target receipt and uploads a target SO plug-in on the access configuration page of the target sub-device based on the target data, wherein the target SO plug-in is used to identify the business logic call relationship corresponding to the target sub-device.

[0071] Specifically, the SO plug-in is used to define how the business data of the sub-device is converted and interacted between the cloud and the device, such as how to parse sensor data, how to control actuators, etc. After the configuration is completed, the user clicks the "Send" button, and the target cloud will push the configuration content to the corresponding target control device, and the target control device will start to control and manage the target sub-device according to these configuration contents.

[0072] In this way, the target cloud can realize remote monitoring and control of the target sub-device. The user can view the operating status and historical data of the target sub-device in real time on the target cloud, and even remotely perform operations such as power on and off, and adjust parameters.

[0073] The step of creating a controller of the target sub-device based on the second signal and binding the controller of the target sub-device to the target controller further includes:

[0074] A target mapping relationship is created for the target sub-device, where the target mapping relationship is target control device-target sub-device identification information.

[0075] Specifically, the user enters the configuration page of the controller / adapter through the cloud management interface, and selects the corresponding sub-device instance in the "Sub-device Management" option. In this embodiment, the sub-device instance is the target sub-device instance. The user can manually select the target sub-device to be bound, or let the system complete the binding by itself through the system automatic identification function. After the binding is successful, the cloud will hand over all control permissions of the sub-device instance to the controller / adapter for management. All communications between the cloud and the sub-device are transferred through the controller / adapter, and then a target mapping relationship is created for the target sub-device. The target mapping relationship is the target control device-target sub-device identification information.

[0076] This binding relationship ensures the security and manageability of the system, and the data transmission and control instructions of all sub-devices can be centrally managed through the controller / adapter.

[0077] After creating the controller of the target sub-device based on the second signal and binding the controller of the target sub-device to the target controller, the method further includes:

[0078] The first unbinding information is received, the target controller device is unbound, and the SO plug-ins of all sub-devices corresponding to the target controller are deleted.

[0079] Specifically, when the user stops using the target control device, the user can send the first unbinding information to the target cloud. After receiving the first unbinding information, the target cloud will unbind the target control device and delete the SO plug-ins of all sub-devices corresponding to the target controller.

[0080] After creating the controller of the target sub-device based on the second signal and binding the controller of the target sub-device to the target controller, the method further includes:

[0081] The second unbinding information is received, the target sub-device is unbound, and the SO plug-in of the target sub-device corresponding to the target controller is deleted.

[0082] Specifically, if the user only wants to unbind a sub-device, in order to safely release the control of the sub-device, the unbinding operation must first be performed in the cloud system. The sub-device is unbound by sending the second unbinding information to the target cloud. The sub-device can be any sub-device connected to the target control device. In this embodiment, the target sub-device is taken as an example.

[0083] Specifically, the user selects the target sub-device instance in the cloud device management interface and selects the "unbind" operation, which is equivalent to sending the second unbinding information. After the target cloud receives the second unbinding information, it will prompt the user to confirm the unbinding operation and display relevant precautions, such as the device will lose the remote control function after unbinding and may need to be reconfigured. After the user clicks confirm, the control of the target sub-device can be safely released.

[0084] In summary, this embodiment provides a sub-device management method based on the cloud control protocol. When the device is controlled in the cloud, by receiving a first signal, a target controller is created based on the first signal, and the target controller is used to control the target control device, and then a second signal is received. The second signal is a signal for controlling the target sub-device based on the target controller. Finally, a target control protocol is created based on the second signal and the target control protocol is bound to the target controller. The target control protocol is used to remotely control the target sub-device. This embodiment provides users with a sub-device management method based on the cloud control protocol, which solves the problem of low efficiency of the method when the cloud controls the sub-devices of real devices in the prior art. The control of sub-devices in the cloud based on the cloud control protocol is realized, and the communication protocol configuration of the sub-devices is unique, which will not cause confusion in the control between sub-devices in the cloud. Furthermore, the control of sub-devices can be ended at any time, avoiding the situation where actual human intervention in sub-devices to stop them may cause harm to people.

[0085] It should be understood that, although the various steps in the flowcharts given in the accompanying drawings of the present invention are displayed in sequence according to the indications of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear description in this article, the execution of the steps in the present invention is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps of the present invention may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0086] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by signaling related hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0087] Embodiment 2

[0088] Based on the above embodiments, the present invention also provides a sub-device management device based on a cloud control protocol, and its functional module diagram is as follows: Figure 3 As shown, the sub-device management device based on the cloud control protocol includes:

[0089] A controller creation module, used for receiving a first signal, and creating a target controller based on the first signal, wherein the target controller is used for controlling a target control device, as described in the first embodiment;

[0090] A second signal receiving module, used to receive a second signal, where the second signal is a signal for controlling a target sub-device based on the target controller, as described in the first embodiment;

[0091] A binding module is used to create a target control protocol based on the second signal and bind the target control protocol to the target controller, wherein the target control protocol is used to remotely control the target sub-device, as described in detail in the first embodiment.

[0092] Embodiment 3

[0093] like Figure 4 As shown, based on the above-mentioned sub-device management method based on the cloud control protocol, the present invention also provides a terminal accordingly, and the terminal includes a processor 10, a memory 20 and a display 30. Figure 4 Only some components of the terminal are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.

[0094] In some embodiments, the memory 20 may be an internal storage unit of the terminal, such as a hard disk or memory of the terminal. In other embodiments, the memory 20 may also be an external storage device of the terminal, such as a plug-in hard disk, a smart memory card (SmartMediaCard, SMC), a secure digital (SecureDigital, SD) card, a flash card (FlashCard), etc. equipped on the terminal. Further, the memory 20 may also include both an internal storage unit of the terminal and an external storage device. The memory 20 is used to store application software and various types of data installed on the terminal, such as the program code of the installation terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, a sub-device management program 40 based on a cloud control protocol is stored on the memory 20, and the sub-device management program 40 based on a cloud control protocol can be executed by the processor 10, thereby realizing the sub-device management method based on a cloud control protocol in the present application.

[0095] In some embodiments, the processor 10 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run the program code or process data stored in the memory 20, such as executing the sub-device management method based on the cloud control protocol.

[0096] In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 30 is used to display information on the terminal and to display a visual user interface. The components 10-30 of the terminal communicate with each other via a system bus.

[0097] In one embodiment, when the processor 10 executes the sub-device management program 40 based on the cloud control protocol in the memory 20, the following steps are implemented:

[0098] receiving a first signal, and creating a target controller based on the first signal, wherein the target controller is used to control a target control device;

[0099] receiving a second signal, where the second signal is a signal for controlling a target sub-device based on the target controller;

[0100] A target control protocol is created based on the second signal and bound to the target controller, wherein the target control protocol is used to remotely manage and control the target sub-device.

[0101] Wherein, creating a target controller based on the first signal includes:

[0102] Data is transmitted with the target control device based on the MQTT protocol so that the target controller can control the target control device.

[0103] The step of creating a target control protocol based on the second signal includes:

[0104] Binding the target sub-device instance to the target controller;

[0105] The target control protocol of the target sub-device is configured on the access configuration page of the target sub-device.

[0106] Wherein, configuring the target control protocol of the target sub-device on the target configuration page includes:

[0107] The target SO plug-in is uploaded on the access configuration page of the target sub-device, and the target SO plug-in is used to identify the business logic call relationship corresponding to the target sub-device.

[0108] The step of creating a controller of the target sub-device based on the second signal and binding the controller of the target sub-device to the target controller further includes:

[0109] A target mapping relationship is created for the target sub-device, where the target mapping relationship is target control device-target sub-device identification information.

[0110] The step of creating a controller of the target sub-device based on the second signal and binding the controller of the target sub-device to the target controller further includes:

[0111] The first unbinding information is received, the target controller device is unbound, and the SO plug-ins of all sub-devices corresponding to the target controller are deleted.

[0112] After creating the controller of the target sub-device based on the second signal and binding the controller of the target sub-device to the target controller, the method further includes:

[0113] The second unbinding information is received, the target sub-device is unbound, and the SO plug-in of the target sub-device corresponding to the target controller is deleted.

[0114] Embodiment 4

[0115] The present invention also provides a computer-readable storage medium on which one or more programs are stored. The one or more programs can be executed by one or more processors to implement the steps of the sub-device management method based on the cloud control protocol described in the above embodiment.

[0116] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A sub-device management method based on a cloud control protocol, characterized in that: The sub-device management method based on the cloud control protocol includes: receiving a first signal, and creating a target controller based on the first signal, wherein the target controller is used to control a target control device; receiving a second signal, where the second signal is a signal for controlling a target sub-device based on the target controller; A target control protocol is created based on the second signal and bound to the target controller, wherein the target control protocol is used to remotely manage and control the target sub-device.

2. The sub-device management method based on the cloud control protocol according to claim 1, characterized in that: The creating a target controller based on the first signal comprises: Data is transmitted with the target control device based on the MQTT protocol so that the target controller can control the target control device.

3. The sub-device management method based on the cloud control protocol according to claim 1, characterized in that: The creating a target control protocol based on the second signal comprises: Binding the target sub-device instance to the target controller; The target control protocol of the target sub-device is configured on the access configuration page of the target sub-device.

4. The sub-device management method based on the cloud control protocol according to claim 1, characterized in that: The configuring the target control protocol of the target sub-device on the target configuration page includes: The target SO plug-in is uploaded on the access configuration page of the target sub-device, and the target SO plug-in is used to identify the business logic call relationship corresponding to the target sub-device.

5. The sub-device management method based on the cloud control protocol according to claim 1, characterized in that: The step of creating a controller of the target sub-device based on the second signal and binding the controller of the target sub-device to the target controller further includes: A target mapping relationship is created for the target sub-device, where the target mapping relationship is target control device-target sub-device identification information.

6. The sub-device management method based on the cloud control protocol according to claim 1, characterized in that: The step of creating a controller of the target sub-device based on the second signal and binding the controller of the target sub-device to the target controller further includes: The first unbinding information is received, the target controller device is unbound, and the SO plug-ins of all sub-devices corresponding to the target controller are deleted.

7. The sub-device management method based on the cloud control protocol according to claim 1, characterized in that: After creating the controller of the target sub-device based on the second signal and binding the controller of the target sub-device to the target controller, the method further includes: The second unbinding information is received, the target sub-device is unbound, and the SO plug-in of the target sub-device corresponding to the target controller is deleted.

8. A sub-device management device based on a cloud control protocol, characterized in that: The device comprises: A controller creation module, configured to receive a first signal and create a target controller based on the first signal, wherein the target controller is configured to control a target control device; A second signal receiving module, configured to receive a second signal, where the second signal is a signal for controlling a target sub-device based on the target controller; A binding module is used to create a target control protocol based on the second signal and bind the target control protocol to the target controller, wherein the target control protocol is used to remotely control the target sub-device.

9. An intelligent terminal, characterized in that: The intelligent terminal includes a memory, a processor, and a sub-device management program based on a cloud control protocol stored in the memory and executable on the processor. When the sub-device management program based on a cloud control protocol is executed by the processor, the steps of the sub-device management method based on a cloud control protocol are implemented as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a sub-device management program based on a cloud control protocol, and when the sub-device management program based on a cloud control protocol is executed by a processor, the steps of the sub-device management method based on a cloud control protocol as described in any one of claims 1 to 7 are implemented.