Method and apparatus for controlling internet-of-things device, and related device

Receive and parse the operation information of IoT devices through object model rules to achieve control of different device types and models, solve the problem of automatic rule adjustment when device types and models change in the existing technology, and improve the control efficiency of IoT devices and scalability.

WO2024199508A1PCT designated stage expired Publication Date: 2024-10-03HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD

Patent Information

Application Number
PCT/CN2024/085088
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-31
Filing Date
2024-03-30
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Existing IoT device control methods require frequent adjustments or additions of automation rules when device types and models change, resulting in low scalability of the IoT and difficulty in adapting to the control needs of multiple devices.

Method used

Using the object model rules, by receiving the operation information of the Internet of Things device, determining the functions it supports, and sending control instructions to the devices with corresponding functions according to the trigger conditions of the target object model rules, achieving functional granular control of the Internet of Things device, suitable for Wide range of equipment types and models.

Benefits of technology

It improves the control efficiency and scalability of IoT devices, reduces the need for manual configuration of rules, and is suitable for automated control in a variety of scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024085088_03102024_PF_FP_ABST
    Figure CN2024085088_03102024_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present application are a method and apparatus for controlling an Internet-of-things device, and a related device. Specifically, a control device can receive a first data identifier and first detection data corresponding to the first data identifier, which first data identifier and first detection data are sent by a first Internet-of-things device; the control device can determine, on the basis of the first data identifier, that the first Internet-of-things device supports a first function; and the control device determines whether the first detection data satisfies a trigger condition for a target object model rule corresponding to the first function, and if so, the control device sends a control instruction to a second Internet-of-things device, wherein the second Internet-of-things device supports a second function corresponding to an execution action for the target object model rule. In this way, a control device can use a target object model rule to control an Internet-of-things device from the dimension of functions, such that the application to a wider range of devices or products can be realized, thereby improving the expandability of the Internet of things.
Need to check novelty before this filing date? Find Prior Art

Description

A control method, device and related equipment of Internet of Things equipment

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on March 31, 2023, with application number 202310340354.X and invention name “A control method, device and related equipment for Internet of Things devices”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of Internet of Things technology, and in particular to a control method, device and related equipment for Internet of Things devices. Background Art

[0003] With the rapid development of IoT technology, more and more IoT devices are being used in people's lives. To control IoT devices, automation rules are often set on control devices. Control devices control IoT devices based on pre-set automation rules.

[0004] Currently, pre-configured automation rules in control devices are specific to specific IoT devices or types of IoT devices. When new devices are connected to the network and control is required, staff must readjust or add automation rules, limiting the scalability of IoT.

[0005] Summary of the Invention

[0006] The embodiments of the present application provide a control method, apparatus, and related equipment for an IoT device, which can utilize physical model rules to control the IoT device based on the functions of the IoT device, thereby improving the scalability of the IoT.

[0007] In the first aspect, the present application provides a method for controlling an Internet of Things device. When the method is specifically implemented, operation information sent by a first Internet of Things device is received. The operation information includes a first data identifier and first detection data corresponding to the first data identifier. The first data identifier is used to indicate a first function supported by the first Internet of Things device. The triggering condition of the target object model rule corresponds to the first function, and the execution action corresponds to the second function. Based on the operation information, it is possible to determine the first function supported by the first Internet of Things device, and determine that the first detection data meets the triggering condition of the target object model rule. In response to determining that the first detection data meets the triggering condition of the target object model rule, a control instruction is sent to the Internet of Things device that supports the second function, that is, the second Internet of Things device. The control instruction is used to instruct the second Internet of Things device to execute the execution action of the target object model rule. In this way, the control of the Internet of Things device at a functional granularity is achieved by using the target object model rule, which is not limited to the specific model and type of the Internet of Things device, and can be more widely applied to Internet of Things devices, thereby improving the control efficiency of the Internet of Things devices.

[0008] In one possible implementation, the first data identifier is a first device identifier of a first IoT device. The method further includes obtaining the first device identifier and a first function identifier sent by the first IoT device. The first function identifier is used to identify a first function. Based on the first device identifier and the first function identifier, it can be determined that the first IoT device supports the first function. A correspondence between the first device identifier and the first function is established. In this way, upon subsequent receipt of the first device identifier, based on the correspondence between the first device identifier and the first function, it can be determined that the first IoT device supports the first function.

[0009] In a possible implementation, the first data identifier is a function name of the first function. Based on the function name of the first function, it can be determined that the first IoT device sending the operation information supports the first function.

[0010] In one possible implementation, whether the second IoT device supports the second function is determined based on a second data identifier sent by the second IoT device. The second data identifier is pre-acquired. The method further includes acquiring the second data identifier sent by the second IoT device. The second data identifier is used to indicate that the second IoT device supports the second function. After acquiring the second data identifier, determining that the second IoT device supports the second function is based on the second data identifier.

[0011] In one possible implementation, the second data identifier is a second device identifier of the second IoT device. The method further includes receiving a second function identifier sent by the second IoT device. The second function identifier is used to identify the second function. Based on the second device identifier and the second function identifier sent by the second IoT device, it can be determined that the second IoT device supports the second function, and a correspondence between the second device identifier and the second function is established, so that, based on the received second device identifier, it can be determined that the second IoT device that sent the second device identifier supports the second function.

[0012] In a possible implementation manner, the second data identifier is a function name of the second function.

[0013] In one possible implementation, the object model rule also includes a location condition. Before sending a control instruction to the second IoT device corresponding to the second data identifier, the first IoT device's location information is first obtained, and it is confirmed that the first IoT device's location information satisfies the location condition. The control instruction is then sent to the second IoT device whose location information satisfies the location condition. This enables control of IoT devices at specific locations.

[0014] In a second aspect, the present application provides a control device for an Internet of Things device, the device comprising:

[0015] a receiving unit, configured to receive operation information sent by a first IoT device, the operation information including a first data identifier and first detection data corresponding to the first data identifier, wherein the first data identifier is used to indicate that the first IoT device supports a first function;

[0016] A sending unit is used to send a control instruction to a second Internet of Things device in response to determining that the first detection data meets the triggering condition of the target object model rule, the second Internet of Things device supports a second function, and the control instruction is used to instruct the second Internet of Things device to execute the execution action of the target object model rule, the triggering condition of the target object model rule corresponds to the first function, and the execution action corresponds to the second function.

[0017] In a possible implementation, the first data identifier is a first device identifier of the first Internet of Things device, and the receiving unit is further configured to receive the first device identifier and a first function identifier sent by the first Internet of Things device, where the first function identifier is used to identify a first function;

[0018] The device further comprises:

[0019] An establishing unit is used to establish a correspondence between the first device identifier and the first function.

[0020] In a possible implementation manner, the first data identifier is a function name of a first function.

[0021] In a possible implementation, the receiving unit is further configured to obtain a second data identifier sent by the second Internet of Things device, where the second data identifier is used to indicate that the second Internet of Things device supports the second function;

[0022] The device further comprises:

[0023] A determining unit is configured to determine, based on the second data identifier, whether the second Internet of Things device supports the second function.

[0024] In a possible implementation, the second data identifier is a second device identifier of the second Internet of Things device, and the receiving unit is further configured to receive a second function identifier sent by the second Internet of Things device, where the second function identifier is used to identify a second function;

[0025] The establishing unit is further configured to establish a correspondence between the second device identifier and the second function.

[0026] In a possible implementation manner, the second data identifier is a function name of the second function.

[0027] In a possible implementation, the target object model rule further includes a location condition, and the receiving unit is further configured to obtain the location information of the first Internet of Things device before sending the control instruction to the second Internet of Things device corresponding to the second data identifier;

[0028] The device further comprises:

[0029] A confirmation unit, configured to confirm that the location information of the first IoT device meets the location condition;

[0030] The sending unit is configured to send a control instruction to the second IoT device, including:

[0031] The sending unit is configured to send a control instruction to a second IoT device whose location information satisfies the location condition.

[0032] In a third aspect, the present application provides a device comprising at least one processor and at least one memory; the at least one memory is used to store instructions, and the at least one processor executes the instructions stored in the at least one memory so that the device executes the control method of an Internet of Things device in the above-mentioned first aspect or any possible implementation of the first aspect.

[0033] In a fourth aspect, the present application provides a computing device cluster, the computing device cluster including at least one computing device, the at least one computing device including at least one processor and at least one memory; the at least one memory is used to store instructions, and the at least one processor executes the instructions stored in the at least one memory, so that the computing device cluster executes the control method of the Internet of Things device in the above-mentioned first aspect or any possible implementation of the first aspect. It should be noted that the memory can be integrated into the processor or can be independent of the processor. The at least one computing device may also include a bus. The processor is connected to the memory via a bus. The memory may include a readable memory and a random access memory.

[0034] In a fifth aspect, the present application provides a computer-readable storage medium, which stores instructions. When the computer-readable storage medium is run on at least one computing device, the at least one computing device executes the method described in the first aspect or any implementation of the first aspect.

[0035] In a sixth aspect, the present application provides a computer program product comprising instructions, which, when executed on at least one computing device, enables the at least one computing device to execute the method described in the first aspect or any one of the implementations of the first aspect.

[0036] Based on the implementation methods provided in the above aspects, this application can also be further combined to provide more implementation methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] FIG1 is a schematic diagram of the structure of an Internet of Things provided by an embodiment of the present application;

[0038] FIG2 is a schematic flow chart of a control method for an Internet of Things device provided in an embodiment of the present application;

[0039] FIG3 is a schematic structural diagram of a control device for an Internet of Things device further provided in an embodiment of the present application;

[0040] FIG4 is a schematic diagram of the structure of a computing device provided in an embodiment of the present application;

[0041] FIG5 is a schematic diagram of the structure of a computing device cluster provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] The following will describe the solutions in the embodiments provided in this application in conjunction with the drawings in this application.

[0043] The terms "first," "second," and the like in the specification and claims of this application and the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate and are merely used to describe the manner in which objects with the same attributes are described in the embodiments of this application.

[0044] In some practical application scenarios of IoT devices, control devices need to obtain data collected by IoT devices and, based on this data and pre-configured automation rules, control the linkage between these IoT devices or control them to perform specific actions. Pre-configured automation rules within control devices are typically implemented using triggers and action mechanisms. When the trigger conditions are met, the trigger triggers the execution of a specific action. Currently, automation rules can be configured for individual IoT devices or for IoT devices of a specific product type. For automation rules configured for individual IoT devices, the device ID can be used to identify the specific device to be processed by the automation rule. For example, in a smart home IoT scenario, an automation rule can be configured to control a lighting device with a specific device ID. The trigger condition is detecting a door opening, and the action is to turn on the lighting device. During application, when the control device detects a door opening through another IoT device, the trigger condition is met, and the automation rule controls the lighting device with the specific device ID to turn on. Automation rules configured for IoT devices of a specific product type can also be configured to identify the specific device to be processed by the automation rule based on the specific product model. For example, in a campus IoT scenario, pre-set automation rules are used to control fire extinguishers for specific product models. The trigger condition is smoke detection, and the action mechanism is to activate the fire extinguisher. During application, when the control device detects smoke through other IoT devices, the trigger condition is met, and based on the automation rules, the fire extinguisher for the specific product model is activated.

[0045] Automation rules set for individual IoT devices are only suitable for smaller IoT configurations. When a large number of IoT devices are connected or when IoT device updates are frequent, manual adjustments or additions to the automation rules for each device are required. This makes it difficult to control IoT devices and expand the IoT. Automation rules set for specific IoT device models can only be configured for existing IoT devices. When new IoT devices of different product types come online, the automation rules must be reconfigured. Furthermore, different IoT devices with the same or similar functions also require separate automation rules. This requires staff to configure a large number of automation rules and is inconvenient for IoT expansion.

[0046] Based on this, embodiments of the present application provide a method, apparatus, and related devices for controlling an IoT device. This method can be performed by a control device in the IoT. The control device in the IoT connects to other IoT devices, processes data sent by the IoT devices, and controls the IoT devices. Embodiments of the present application do not limit the specific type of control device. For example, the control device can be a gateway, router, server, operation and maintenance platform, mobile terminal, or other device that can connect to and control IoT devices.

[0047] The control device pre-configures the physical model rules. The physical model rules include trigger conditions and execution actions. Among them, the trigger condition corresponds to the first function, and the execution action corresponds to the second function. Based on the physical model rules, the control device can control the Internet of Things device with the second function to execute the execution action of the physical model rules when the detection data provided by the Internet of Things device with the first function meets the trigger condition. Specifically, as an example, refer to Figure 1, which is a structural diagram of an Internet of Things provided in an embodiment of the present application. The Internet of Things includes a control device 101, an Internet of Things device 102, an Internet of Things device 103 and an Internet of Things device 104. The control device 101 is connected to the Internet of Things device 102, the Internet of Things device 103 and the Internet of Things device 104 respectively. The control device 101 obtains the operating data reported by the Internet of Things device 102, the Internet of Things device 103 and the Internet of Things device 104, and controls the Internet of Things devices based on the obtained operating data and the physical model rules.

[0048] The following takes the IoT structure shown in Figure 1 as an example to introduce three application scenarios.

[0049] The first type: smart life application scenarios.

[0050] Control device 101 is a home router. Control device 101 is pre-configured with target object model rules. Target object model rules include trigger conditions and execution actions. The trigger condition is that the light intensity is less than 5 lux and that motion is detected. The execution action is to control the lighting device to turn on. The trigger conditions correspond to the first function, namely, light intensity detection, and the first function, namely, motion detection. The execution action corresponds to the second function, namely, the lighting function. IoT device 102 is a light intensity detector 102, IoT device 103 is a motion sensor 103, and IoT device 104 is a lighting device 104. The first data identifier of light intensity detector 102 is sun.brightness. sun.brightness indicates that light intensity detector 102 has a light intensity detection function, which is the first function. The first data identifier of motion sensor 103 is motion.detection. motion.detection indicates that motion sensor 103 has a motion detection function, which is the first function. The second data identifier of lighting device 104 is light.switch. light.switch indicates that the lighting device 104 has a lighting function, that is, a second function.

[0051] The control device 101 receives a first data identifier, namely, sun.brightness, sent by the light intensity detector 102, and first detection data corresponding to the first data identifier, namely, light intensity detection data. The control device 101 also receives a first data identifier, namely, motion.detection, sent by the motion sensor 103, and first detection data corresponding to the first data identifier, namely, motion detection data. The triggering conditions of the target object model rule correspond to the light intensity detection function supported by the light intensity detector 102 and the motion detection function supported by the motion sensor 103. When the light intensity detection data is less than 5 lux and the motion detection data indicates that motion is detected, the control device 101 determines that the triggering conditions of the target object model rule are met. The control device 101 sends a control instruction to illuminate the indicator light to the lighting device 104 having a lighting function. This enables the light light to be illuminated when the light intensity is less than 5 lux and motion is detected. The target object model rule is applicable to control scenarios that include IoT devices with light intensity detection functions, IoT devices with motion detection functions, and IoT devices with lighting functions. When adding or adjusting IoT devices in the future, there is no need to be restricted by the specific product type of IoT devices or specific IoT devices. It can match IoT devices with light intensity detection function, motion detection function and lighting function, thereby improving the scalability of the IoT.

[0052] The second type: smart park application scenario.

[0053] Control device 101 is the campus operation and maintenance platform. Object model rules are preconfigured for control device 101. These rules include trigger conditions and actions. The trigger condition is detecting a fire alarm. The action is closing the elevator and opening the fire door. The trigger condition corresponds to the first function, fire alarm detection. The actions correspond to the second functions, elevator control and fire door control, respectively. IoT device 102 is fire detector 102, IoT device 103 is elevator 103, and IoT device 104 is fire door 104. The first data identifier for fire detector 102 is fireAlarm.Detection. fireAlarm.Detection indicates that fire detector 102 has the fire alarm detection function, which is the first function. The second data identifier for elevator 103 is elevator.switch. elevator.switch indicates that elevator 103 has the elevator control function, which is the second function. The second data identifier for fire door 104 is FireDoor.switch. FireDoor.switch indicates that the fire door 104 has a fire door control function, that is, the second function.

[0054] The control device 101 receives the first data identifier, fireAlarm.Detection, sent by the fire detector 102, as well as the first detection data corresponding to fireAlarm.Detection, i.e., the fire detection data. Upon detecting a fire alarm, the control device 101 determines whether the trigger condition satisfies the target object model rule. The control device 101 sends a control instruction for closing the elevator to the elevator 103, which has an elevator control function, and a control instruction for closing the fire door to the fire door 104, which has a fire door control function. This allows the elevator and fire door to be closed when a fire alarm is detected. This allows matching IoT devices with fire alarm detection, elevator control, and fire door control functions, improving the scalability of the IoT.

[0055] The third type: smart tunnel application scenario.

[0056] Control device 101 is an edge gateway. Control device 101 is preconfigured with target object model rules. Target object model rules include trigger conditions and execution actions. The trigger condition is detecting that the carbon monoxide concentration exceeds a threshold. The execution action is setting the traffic light to full red and turning on the lighting. The trigger condition corresponds to the first function, carbon monoxide detection. The execution actions correspond to the second functions, traffic light control and lighting, respectively. IoT device 102 is a carbon monoxide concentration detector 102, IoT device 103 is a traffic light 103, and IoT device 104 is a lighting device 104. The first data identifier of carbon monoxide concentration detector 102 is CO.concentrationValue. CO.concentrationValue indicates that carbon monoxide concentration detector 102 has a carbon monoxide detection function, which is the first function. The second data identifier of traffic light 103 is trafficlight.runStatus. trafficlight.runStatus indicates that traffic light 103 has a traffic light control function, which is the second function. The second data identifier of the lighting device 104 is light.switch (lighting.switch), which indicates that the lighting device 104 has a lighting function, that is, a second function.

[0057] The control device 101 receives the first data identifier CO.concentrationValue sent by the carbon monoxide concentration detector 102, and the first detection data corresponding to the first data identifier, that is, the carbon monoxide concentration detection data. When it is detected that the carbon monoxide concentration exceeds the threshold, the control device 101 determines that the trigger condition of the target object model rule is satisfied. The control device 101 sends a control instruction for controlling the traffic light to display red to the traffic light 103 with a traffic light control function, and sends a control instruction for controlling the lighting device to turn on to the lighting device 104 with a lighting function. In this way, when carbon monoxide is detected, the traffic light can be controlled to display red and the lighting device can be turned on. In this way, the matching of IoT devices with the first carbon oxide concentration detection function, the traffic light control function and the lighting function can be achieved, thereby improving the scalability of the IoT.

[0058] The above three scenarios are only examples. The control method of the Internet of Things device provided in the embodiments of the present application can be used in the control scenarios of other Internet of Things devices.

[0059] Next, various non-limiting specific implementation methods of the control method of the Internet of Things device provided in the embodiments of the present application are described in detail.

[0060] Referring to FIG. 2 , which is a flow chart illustrating a method for controlling an IoT device according to an embodiment of the present application, the method can be applied to control devices within the IoT. The control device is connected to the IoT device to control the IoT device. The method includes the following steps:

[0061] S201: Receive a first data identifier sent by a first Internet of Things device, and first detection data corresponding to the first data identifier, wherein the first data identifier is used to indicate that the first Internet of Things device supports a first function. The first Internet of Things device is an Internet of Things device that has a first function and sends a first data identifier and first detection data to a control device. The first function is a function possessed by the first Internet of Things device, and corresponds to the triggering condition of the target object model rule. As an example, the first function is an attribute of the first Internet of Things device, or, for example, an event that can be handled by the first Internet of Things device, or, for example, a method that can be provided by the first Internet of Things device. Among them, attributes can also be called functional points. Events can also be called alarms. Methods can also be called services, commands, or interfaces.

[0062] It should be noted that the number of first IoT devices can be one or more. As an example, in the case of multiple first IoT devices, using the smart life application scenario shown in Figure 1 above as an example, light intensity detector 102 and motion sensor 103 are both first IoT devices. As another example, the number of first IoT devices is one. Using the smart tunnel application scenario shown in Figure 1 above as an example, a carbon monoxide concentration detector is a first IoT device. The carbon monoxide concentration detection function of the carbon monoxide concentration detector is a first function.

[0063] In addition, the first functions of different first IoT devices may be the same or different, and the same first IoT device may have one or more first functions.

[0064] For example, the trigger condition for a target object model rule is that environmental data is below a threshold, and the execution action is to turn on an environmental purification device. The first IoT device can be an environmental detection device. The environmental detection device has an environmental detection function, which is also the first function. Multiple environmental detection devices are set up within a certain range and each sends environmental data detected based on the environmental detection function to the control device for processing. As another example, taking the application scenario of smart life shown in Figure 1, the light intensity detection function of the light intensity detector 102 and the motion detection function of the motion sensor 103 are different first functions. Both of the above examples are examples of a first IoT device having a first function. As another example, the trigger condition for the target object model rule is that the light intensity is less than 5 lux and an object motion is detected. The execution action of the target object model rule is to control the light to turn on. The first IoT device is a multi-function sensor that includes light intensity detection and motion detection functions. The multi-function sensor supports two first functions: light intensity detection and motion detection.

[0065] The embodiments of the present application do not limit the manner of receiving the first data identifier and the first detection data sent by the first Internet of Things device. In one possible implementation, the first Internet of Things device sends the first data identifier and the first detection data respectively. The control device receives the first data identifier and the first detection data sent by the first Internet of Things device respectively. In another possible implementation, the first Internet of Things device sends the first data identifier and the first detection data at the same time. As an example, the first Internet of Things device sends operation information to the control device. The operation information includes the first data identifier of the first Internet of Things device and the first detection data corresponding to the first data identifier. The control device obtains the first data identifier and the first detection data from the acquired operation information. The first data identifier is used to indicate that the first Internet of Things device supports the first function. The first detection data is collected by the first Internet of Things device based on the first function. The embodiments of the present application do not limit the specific type of the first data identifier.

[0066] In one possible implementation, the first data identifier is a first device identifier of a first IoT device. The first device identifier of the first IoT device is used to identify the first IoT device. The first device identifier of the first IoT device can reflect that the first IoT device supports the first function. For example, the first device identifier can be a device code of the first IoT device or a product code of the first IoT device. The device code or product code of the first IoT device can reflect the functions supported by the first IoT device.

[0067] The first device identifier needs to establish a correspondence with the first function supported by the first Internet of Things device in advance. In this way, the first device identifier can indicate that the first Internet of Things device supports the first function. In one possible implementation, after the first Internet of Things device establishes a connection with the control device, the first Internet of Things device sends the first device identifier and the first function identifier to the control device. The control device obtains the first device identifier and the first function identifier of the first Internet of Things device. The first function identifier is used to identify the first function. As an example, the first function identifier is the function name of the first function. The control device establishes a correspondence between the first device identifier and the first function. In this way, after the subsequent control device receives the first device identifier, that is, the first data identifier, it can match the target object model rule based on the first function corresponding to the first device identifier, or determine whether the first detection data meets the triggering conditions of the target object model rule.

[0068] In another possible implementation, the first data identifier is the function name of the first function. The function name of the first function can directly indicate that the first IoT device supports the first function. As an example, the function name of the first function can be the field name corresponding to the first detection data. This allows for quick and efficient processing of the first detection data transmitted by the first IoT device without requiring pre-configuration of the first IoT device, enabling plug-and-play of the first IoT device and improving the speed of use of the first IoT device.

[0069] The first detection data is data obtained by the first IoT device based on the first function. The embodiments of the present application do not limit the specific type of the first detection data; the specific type of the first detection data is determined based on the first function. The first detection data can be a specific numerical value or a status value obtained through detection.

[0070] S202: In response to determining that the first detection data meets the triggering condition of the target object model rule, sending a control instruction to the second Internet of Things device.

[0071] The control device can determine whether the first detection data meets the triggering condition of the target object model rule. The target object model rule is a target object model rule corresponding to a predetermined triggering condition and a first function. The embodiment of the present application does not limit the implementation method of determining the target object model rule. In one possible implementation method, each time the control device obtains the first data identifier, it queries the target object model rule corresponding to the triggering condition and the first function based on the first function indicated by the first data identifier. In another possible implementation method, the control device determines the target object model rule to be used based on the first data identifier transmitted for the first time by the first Internet of Things device. And after subsequently receiving the first detection data corresponding to the first data identifier transmitted by the first Internet of Things device, the control device directly determines whether the first detection data meets the triggering condition of the target object model rule.

[0072] The embodiments of the present application do not limit the source of the target object model rules. In one possible implementation, the control device queries the locally stored object model rules for the target object model rules whose trigger conditions correspond to the first function. In another possible implementation, the control device can send a query request to the device storing the object model rules. The device storing the object model rules is, for example, a server connected to the control device. The query request includes functional information of the first function. The functional information of the first function is, for example, the functional name of the first function, or the functional identifier of the first function. The device storing the object model rules queries the target object model rules corresponding to the first function based on the functional information of the first function included in the query request. The device storing the object model rules feeds back the target object model rules to the control device. The control device can store the target object model rules received from the device storing the object model rules locally.

[0073] In one possible implementation, the target object model rule has an adjustable activation state. When a user needs to apply the target object model rule, they can adjust the target object model rule to an activated state. When the user does not need to apply the target object model rule, they can adjust the target object model rule to an inactivated state. This allows for flexible control over the application of the object model rule.

[0074] The control device determines whether the first detection data meets the triggering condition of the target object model rule. It should be noted that in some possible implementations, the control device can obtain first detection data corresponding to different first functions. Correspondingly, the triggering condition of the target object model rule includes sub-conditions corresponding to different first functions. When the first detection data meets the sub-conditions corresponding to the corresponding first function, and the sub-conditions of different first functions are all met, it is determined that the first detection data meets the triggering condition of the target object model rule. As an example, taking the application scenario of smart life shown in Figure 1 as an example, the control device obtains the light intensity detection data corresponding to sun.brightness sent by the light intensity detector 102. The control device obtains the motion detection data corresponding to motion.detection sent by the motion sensor 103. The triggering condition of the target object model rule is that the light intensity is less than 5 lux and object motion is detected. Among them, the light intensity less than 5 lux is the sub-condition corresponding to the light intensity detection function. The detection of object motion is the sub-condition corresponding to the motion detection function. When the control device determines that the light intensity detection data collected using the light intensity detection function meets the sub-condition that the light intensity is less than 5 lux, and the motion detection data collected using the motion detection function meets the sub-condition that object movement is detected, it is determined that the first detection data obtained meets the trigger condition of the target object model rule.

[0075] If the control device determines that the first detection data meets the triggering condition of the target object model rule, it controls the second IoT device to execute the execution action of the target object model rule. The second IoT device is an IoT device that supports the second function. The execution action of the target object model rule corresponds to the second function. The execution action of the target object model rule can be executed by an IoT device with the second function. It should be noted that the second IoT device can be the same IoT device as the first IoT device, or a different IoT device from the first IoT device. In addition, the number of second IoT devices can be one or more. As an example, taking the smart park application scenario shown in Figure 1 as an example, the second IoT devices are elevators 103 and fire doors 104. The second functions possessed by different second IoT devices can be the same or different. In addition, the same second IoT device can have one or more second functions.

[0076] Furthermore, the embodiments of the present application do not limit the specific implementation of determining an IoT device that supports the second function, that is, the second IoT device. As an example, the control device determines that the second IoT device supports the second function based on a second data identifier obtained from the second IoT device. The second data identifier is used to indicate that the second IoT device supports the second function.

[0077] The embodiment of the present application does not limit the specific type of the second data identifier.

[0078] In one possible implementation, the second data identifier is a second device identifier of the second IoT device. The second device identifier is used to identify the second IoT device. The second device identifier can be an identifier reflecting a second function supported by the second IoT device. For example, the device identifier of the second IoT device can be a device code of the second IoT device or a product code of the second IoT device. The device code or product code of the second IoT device can reflect the functions supported by the second IoT device.

[0079] The second device identifier of the second IoT device needs to establish a correspondence with the second function supported by the second IoT device in advance. In one possible implementation, after the second IoT device establishes a connection with the control device, the second IoT device sends the second device identifier and the second function identifier to the control device. The second function identifier is used to identify the second function. As an example, the second function identifier is the function name of the second function. The control device establishes a correspondence between the second device identifier and the second function. In this way, when the subsequent control device needs to control the IoT device with the second function based on the target object model rule, it can determine that the second IoT device has the second function based on the correspondence between the second device identifier and the second function, and then control the second IoT device.

[0080] In another possible implementation, the second data identifier is a function name of the second function. The function name of the second function can directly indicate the second function supported by the second IoT device. As an example, the function name of the second function can be the field name corresponding to the second detection data sent by the second IoT device to the control device. After receiving the second detection data sent by the second IoT device, the control device controls the second IoT device based on the function name of the second function, thereby achieving plug-and-play for the second IoT device and improving the use speed of the IoT device.

[0081] The embodiments of the present application do not limit the method for determining the second IoT device to which the control instruction is to be sent. In one possible implementation, if it is determined that the triggering condition of the target object model rule is met, the control device searches for an IoT device that supports the second function among the connected IoT devices, that is, the second IoT device. In another possible implementation, if it is determined that the triggering condition of the target object model rule is met, the control device determines the second IoT device to which the control instruction is to be sent based on historical data of controlling IoT devices using the target object model rule.

[0082] The control device generates a control instruction according to the execution action of the target object model rule and sends the control instruction to the second IoT device. The second IoT device can execute the execution action of the target object model rule based on the acquired control instruction.

[0083] Based on the relevant content of S201-S202 above, it can be seen that using the target object model rules corresponding to the first function and the second function, respectively, IoT devices can be controlled from a functional perspective. Target object model rules are not targeted at specific device or product types and can be applied to a wider range of devices or products, improving the scalability of the IoT. Furthermore, in scenarios with a large number of IoT devices, using object model rules to achieve automatic control of IoT devices can improve operational efficiency, reduce the need for manual configuration of rules for each IoT device, and reduce the probability of problems.

[0084] In one possible implementation, when using the target object model rules to control IoT devices, the scope of the IoT devices also needs to be considered. The scope can be a location, or the organization to which the IoT device belongs, and this application does not limit this. For example, in the application scenario of a smart home, it is necessary to control the IoT devices belonging to a family. For another example, in the application scenario of a smart park, it is necessary to control the IoT devices belonging to the same park, or to control the IoT devices in a building in the park. The embodiment of the present application also provides a method for controlling an IoT device. The target object model rules also include scope conditions. The scope conditions are used to determine the scope conditions that the first IoT device and the second IoT device need to meet. The scope conditions can reflect the scope of application of the target object model rules. The embodiment of the present application does not limit the type of scope conditions. For example, the scope condition is a label. For another example, the scope condition is a range parameter.

[0085] Before sending a control instruction to the second IoT device in response to determining that the first detection data meets the triggering condition of the target object model rule in S202, the method further includes the following steps:

[0086] A1: Obtain range information of the first IoT device.

[0087] The range information of the first IoT device is used to indicate the range to which the first IoT device belongs. As an example, the range condition is specifically a location condition. The range of the first IoT device can be the geographical location of the entity of the first IoT device. For example, the range information is a location tag. The location tag can be set in advance based on the geographical location of the first IoT device. For example, the IoT devices belonging to the same building are set with the same location tag. For another example, the range information is the positioning data of the geographical location of the first IoT device. The range information can be generated by the positioning function possessed by the first IoT device. As another example, the location of the first IoT device can be the network location of the first IoT device. The range information can be the network address of the first IoT device.

[0088] The embodiments of the present application do not limit the manner in which the control device obtains the range information of the first IoT device. In one possible implementation, after establishing a connection with the control device, the first IoT device sends the range information of the first IoT device to the control device. In another possible implementation, the first IoT device simultaneously sends one or more of the first data identifier and the first detection data, as well as the range information, to the control device. Based on the range information of the first IoT device, the control device determines whether the location of the first IoT device meets the range condition of the target object model rule.

[0089] A2: Confirm that the range information of the first IoT device meets the range condition.

[0090] The control device determines whether the range information of the first Internet of Things device meets the range condition. After confirming that the range information of the first Internet of Things device meets the range condition, a control instruction is sent to the second Internet of Things device. The embodiment of the present application does not limit the specific implementation method of the control device to determine whether the range information of the first Internet of Things device meets the range condition. The determination of whether the range information meets the range condition can be determined based on the specific type of the range information. As an example, the range information and the range condition are both represented by tags. The control device determines whether the range information is the same as the range condition. If the range information is the same as the range condition, it means that the range information meets the range condition. As another example, the range information is the network address of the first Internet of Things device. The range condition is the network number of the network. The control device determines whether the range information belongs to the range condition. If the range information belongs to the range condition, it means that the range information meets the range condition.

[0091] In such cases, the execution action of the target object model rule needs to be executed by the second IoT device that meets the scope condition. The embodiment of the present application provides a specific implementation method of sending a control instruction to the second IoT device, including:

[0092] Send a control instruction to the second Internet of Things device whose range information meets the range condition.

[0093] The range information of the second IoT device is used to indicate the range of the second IoT device. The range of the second IoT device is expressed in the same manner as the range of the first IoT device.

[0094] The embodiments of the present application do not limit the manner in which the control device obtains the range information of the second IoT device. In one possible implementation, after establishing a connection with the control device, the second IoT device sends the range information to the control device. In another possible implementation, the second IoT device sends other data to the control device, for example, when the second data is identified, the range information of the second IoT device is sent at the same time. Based on the range information obtained from the second IoT device, the control device can determine whether the range of the second IoT device meets the range condition of the target object model rule.

[0095] The control device sends a control instruction to the second Internet of Things device whose range information meets the range condition, thereby controlling the second Internet of Things device that meets the range condition.

[0096] In this way, based on the scope conditions included in the target object model rules, IoT devices that meet the scope conditions can be controlled, achieving more precise control of IoT devices. In addition, by adjusting the scope conditions, the object model rules can be quickly promoted in different scenarios.

[0097] Based on the control method of the Internet of Things device provided in the embodiment of the present application, as shown in Figure 3, the embodiment of the present application also provides a structural schematic diagram of a control device 300 of an Internet of Things device. The control device 300 of the Internet of Things device can implement the control method of the Internet of Things device shown in Figure 2. This figure is a structural schematic diagram of a control device of an Internet of Things device provided in an embodiment of the present application. The control device 300 of the Internet of Things device includes a receiving unit 301 and a sending unit 302. The functions of each module in the control device 300 of the Internet of Things device can be specifically described in the relevant parts of the embodiment shown in Figure 2. The receiving unit 301 is used to implement S201 of the embodiment shown in Figure 2; the sending unit 302 is used to implement S202 of the embodiment shown in Figure 2.

[0098] Specifically, the receiving unit 301 is configured to receive operation information sent by a first IoT device, where the operation information includes a first data identifier and first detection data corresponding to the first data identifier, where the first data identifier is used to indicate that the first IoT device supports a first function;

[0099] The sending unit 302 is used to send a control instruction to a second Internet of Things device in response to determining that the first detection data meets the triggering condition of the target object model rule. The second Internet of Things device supports a second function. The control instruction is used to instruct the second Internet of Things device to execute the execution action of the target object model rule. The triggering condition of the target object model rule corresponds to the first function, and the execution action corresponds to the second function.

[0100] In a possible implementation, the first data identifier is a first device identifier of the first Internet of Things device, and the receiving unit 301 is further configured to receive the first device identifier and a first function identifier sent by the first Internet of Things device, where the first function identifier is used to identify a first function;

[0101] The device further comprises:

[0102] An establishing unit is used to establish a correspondence between the first device identifier and the first function.

[0103] In a possible implementation manner, the first data identifier is a function name of a first function.

[0104] In a possible implementation, the receiving unit 301 is further configured to obtain a second data identifier sent by the second IoT device, where the second data identifier is used to indicate that the second IoT device supports the second function;

[0105] The device further comprises:

[0106] A determining unit is configured to determine, based on the second data identifier, whether the second Internet of Things device supports the second function.

[0107] In a possible implementation, the second data identifier is a second device identifier of the second Internet of Things device, and the receiving unit 301 is further configured to receive a second function identifier sent by the second Internet of Things device, where the second function identifier is used to identify a second function;

[0108] The establishing unit is further configured to establish a correspondence between the second device identifier and the second function.

[0109] In a possible implementation manner, the second data identifier is a function name of the second function.

[0110] In a possible implementation, the target object model rule further includes a location condition, and the receiving unit 301 is further configured to obtain the location information of the first IoT device before sending the control instruction to the second IoT device corresponding to the second data identifier;

[0111] The device further comprises:

[0112] A confirmation unit, configured to confirm that the location information of the first IoT device meets the location condition;

[0113] The sending unit 302 is configured to send a control instruction to the second IoT device, including:

[0114] The sending unit 302 is configured to send a control instruction to a second IoT device whose location information meets the location condition.

[0115] Figure 4 shows a structural diagram of a computing device, on which the control device 300 of the above-mentioned Internet of Things device can be deployed. The computing device can be a computing device in a cloud environment (such as a server), or a computing device in an edge environment, or a terminal device, etc., which can be specifically used to implement the functions of the receiving module 301 and the sending module 302 in the embodiment shown in Figure 3 above.

[0116] As shown in Figure 4, the computing device 400 includes a processor 410, a memory 420, a communication interface 430 and a bus 440. The processor 410, the memory 420 and the communication interface 430 communicate with each other through the bus 440. The bus 440 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in Figure 4, but it does not mean that there is only one bus or one type of bus. The communication interface 430 is used to communicate with the outside, for example, to receive operating information sent by the first Internet of Things device.

[0117] The processor 410 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), a graphics processing unit (GPU), or one or more integrated circuits. The processor 410 may also be an integrated circuit chip with signal processing capabilities. During implementation, the functions of each module in the control device of the IoT device may be completed by hardware integrated logic circuits or software instructions in the processor 410. The processor 410 may also be a general-purpose processor, a digital signal processor (DSP), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor. The methods disclosed in the embodiments of this application may be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium mature in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or the like. The storage medium is located in the memory 420, and the processor 410 reads the information in the memory 420 and completes part or all of the functions of the control device of the Internet of Things device in combination with its hardware.

[0118] The memory 420 may include a volatile memory, such as a random access memory (RAM), or a non-volatile memory, such as a read-only memory (ROM), a flash memory, a HDD, or an SSD.

[0119] The memory 420 stores executable code, and the processor 410 executes the executable code to execute the method executed by the control device of the aforementioned Internet of Things device.

[0120] Specifically, in the case of implementing the embodiment shown in Figure 3, and the receiving module 301 and the sending module 302 described in the embodiment shown in Figure 3 are implemented by software, the software or program code required to execute the functions of the receiving module 301 and the sending module 302 in Figure 3 are stored in the memory 420, and the interaction between the receiving module 301 and other devices is realized through the communication interface 430. The processor is used to execute the instructions in the memory 420 to implement the method executed by the control device of the Internet of Things device.

[0121] Figure 5 shows a schematic diagram of the structure of a computing device cluster. The computing device cluster 50 shown in Figure 5 includes multiple computing devices, and the control device for IoT devices described above can be distributedly deployed on multiple computing devices in the computing device cluster 50. As shown in Figure 5, the computing device cluster 50 includes multiple computing devices 500, each of which includes a memory 520, a processor 510, a communication interface 530, and a bus 540. The memory 520, processor 510, and communication interface 530 are communicatively connected to each other via the bus 540.

[0122] The processor 510 can be a CPU, GPU, ASIC, or one or more integrated circuits. The processor 510 can also be an integrated circuit chip with signal processing capabilities. During implementation, some functions of the control device of the IoT device can be performed by hardware integrated logic circuits or software instructions within the processor 510. The processor 510 can also be a DSP, FPGA, general-purpose processor, other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components, and can implement or execute some of the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules within the decoding processor. The software modules can be located in a storage medium well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. This storage medium is located in memory 520. In each computing device 500, the processor 510 reads the information in memory 520 and, in conjunction with its hardware, can perform some of the functions of the control device of the IoT device.

[0123] The memory 520 may include ROM, RAM, static storage devices, dynamic storage devices, a hard disk (e.g., an SSD, an HDD), etc. The memory 520 may store program code, for example, part or all of the program code for implementing the receiving module 301, part or all of the program code for implementing the sending module 302, etc. For each computing device 500, when the program code stored in the memory 520 is executed by the processor 510, the processor 510 executes part of the method executed by the control device of the IoT device based on the communication interface 530. For example, a portion of the computing devices 500 may be used to execute the method executed by the receiving module 301, while another portion of the computing devices 500 may be used to execute the method executed by the sending module 302. The memory 520 may also store data, for example, intermediate data or result data generated by the processor 510 during execution.

[0124] The communication interface 503 in each computing device 500 is used for external communication, such as interacting with other computing devices 500 .

[0125] The bus 540 may be a peripheral component interconnect standard bus or an extended industry standard architecture bus, etc. For ease of illustration, the bus 540 in each computing device 500 in FIG5 is represented by only one thick line, but this does not mean that there is only one bus or one type of bus.

[0126] The plurality of computing devices 500 establish communication paths through a communication network to implement the functions of the control device of the IoT device. Any computing device can be a computing device in a cloud environment (e.g., a server), a computing device in an edge environment, or a terminal device.

[0127] In addition, an embodiment of the present application also provides a computer-readable storage medium, which stores instructions. When the computer-readable storage medium is run on one or more computing devices, the one or more computing devices execute any of the control methods of the Internet of Things devices in the above-mentioned embodiments.

[0128] In addition, embodiments of the present application further provide a computer program product. When executed by one or more computing devices, the one or more computing devices perform any of the aforementioned methods for controlling an IoT device. The computer program product may be a software installation package. When any of the aforementioned methods for controlling an IoT device is required, the computer program product may be downloaded and executed on a computer.

[0129] It should also be noted that the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed across multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment. In addition, in the drawings of the device embodiments provided in this application, the connection relationship between the units indicates that there is a communication connection between them, which can be specifically implemented as one or more communication buses or signal lines.

[0130] Through the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by means of software plus necessary general-purpose hardware, and of course can also be implemented by means of dedicated hardware including application-specific integrated circuits, dedicated CPUs, dedicated memories, dedicated components, etc. In general, any function performed by a computer program can be easily implemented by means of corresponding hardware, and the specific hardware structures used to implement the same function can also be diverse, such as analog circuits, digital circuits, or dedicated circuits. However, for the present application, software program implementation is often the preferred embodiment. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, USB flash drive, mobile hard disk, ROM, RAM, magnetic disk, or optical disk, etc., and includes a number of instructions for causing a computer device (which can be a personal computer, training equipment, or network equipment, etc.) to execute the methods described in each embodiment of the present application.

[0131] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.

[0132] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, a computer, a training device or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website, a computer, a training device or a data center. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)).

[0133] Those skilled in the art will appreciate that, in one or more of the examples above, the functions described herein may be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions may be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transmission of a computer program from one place to another. The storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0134] The specific implementation methods described above further illustrate the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above description is only a specific implementation method of the present application.

[0135] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A control method for an Internet of Things device, It is characterized in that The method is applied to a control device, and the method comprises: Receive a first data identifier sent by a first Internet of Things device and first detection data corresponding to the first data identifier, where the first data identifier is used to indicate that the first Internet of Things device supports a first function; In response to determining that the first detection data meets the triggering condition of the target object model rule, a control instruction is sent to a second Internet of Things device, the second Internet of Things device supports a second function, and the control instruction is used to instruct the second Internet of Things device to execute the execution action of the target object model rule, the triggering condition of the target object model rule corresponds to the first function, and the execution action corresponds to the second function.

2. The method according to claim 1, It is characterized in that The first data identifier is a first device identifier of the first Internet of Things device, and the method further includes: Receive a first device identifier and a first function identifier sent by the first Internet of Things device, where the first function identifier is used to identify a first function; A correspondence between the first device identifier and the first function is established.

3. The method according to claim 1, It is characterized in that The first data identifier is a function name of a first function.

4. The method according to any one of claims 1 to 3, It is characterized in that The method further comprises: Acquire a second data identifier sent by the second Internet of Things device, where the second data identifier is used to indicate that the second Internet of Things device supports the second function; Determine, based on the second data identifier, that the second Internet of Things device supports the second function.

5. The method according to claim 4, It is characterized in that The second data identifier is a second device identifier of the second Internet of Things device, and the method further includes: receiving a second function identifier sent by the second Internet of Things device, where the second function identifier is used to identify a second function; A correspondence between the second device identifier and the second function is established.

6. The method according to claim 4, It is characterized in that The second data identifier is a function name of a second function.

7. The method according to any one of claims 1 to 6, It is characterized in that The target object model rule further includes a range condition. Before sending the control instruction to the second Internet of Things device corresponding to the second data identifier, the method further includes: Obtaining range information of the first IoT device; Confirming that the range information of the first IoT device satisfies the range condition; The sending of the control instruction to the second IoT device includes: Send a control instruction to a second Internet of Things device whose range information satisfies the range condition.

8. A control device for an Internet of Things device, It is characterized in that The device comprises: A receiving unit, configured to receive operation information sent by a first Internet of Things device, wherein the operation information includes a first data identifier and first detection data corresponding to the first data identifier, wherein the first data identifier is used to indicate that the first Internet of Things device supports a first function; A sending unit is used to send a control instruction to a second Internet of Things device in response to determining that the first detection data meets the triggering condition of the target object model rule, the second Internet of Things device supports a second function, the control instruction is used to instruct the second Internet of Things device to execute an execution action of the target object model rule, the triggering condition of the target object model rule corresponds to the first function, and the execution action corresponds to the second function.

9. The device according to claim 8, It is characterized in that The first data identifier is a first device identifier of the first Internet of Things device, and the receiving unit is further used to receive the first device identifier and a first function identifier sent by the first Internet of Things device, where the first function identifier is used to identify a first function; The device also includes: An establishing unit is used to establish a corresponding relationship between the first device identifier and the first function.

10. The device according to claim 8, It is characterized in that The first data identifier is a function name of a first function.

11. The device according to any one of claims 8 to 10, It is characterized in that The receiving unit is further used to obtain a second data identifier sent by the second Internet of Things device, where the second data identifier is used to indicate that the second Internet of Things device supports the second function; The device also includes: A determining unit is used to determine, based on the second data identifier, whether the second Internet of Things device supports the second function.

12. The device according to claim 11, It is characterized in that The second data identifier is a second device identifier of the second Internet of Things device, and the receiving unit is further used to receive a second function identifier sent by the second Internet of Things device, where the second function identifier is used to identify a second function; The establishing unit is further used to establish a corresponding relationship between the second device identifier and the second function.

13. The device according to claim 11, It is characterized in that The second data identifier is a function name of a second function.

14. The device according to any one of claims 8 to 13, It is characterized in that The target object model rule also includes a location condition, and the receiving unit is further used to obtain the location information of the first Internet of Things device before sending the control instruction to the second Internet of Things device corresponding to the second data identifier; The device also includes: A confirmation unit, configured to confirm that the location information of the first IoT device satisfies the location condition; The sending unit is used to send a control instruction to the second IoT device, including: The sending unit is used to send a control instruction to a second Internet of Things device whose location information meets the location condition.

15. A device, It is characterized in that The device comprises a processor and a memory; The processor is configured to execute instructions stored in the memory, so that the device performs the method according to any one of claims 1 to 7.

16. A computing device cluster, It is characterized in that comprising at least one computing device, each computing device comprising a processor and a memory; The processor is configured to execute instructions stored in the memory, so that the computing device cluster executes the method according to any one of claims 1 to 7.

17. [Corrected 22.05.2024 in accordance with Rule 91] A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores instructions, which, when executed on at least one computing device, enable the at least one computing device to perform the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Control method and device of Internet of Things equipment and related equipment

    CN118784685A

  • Internet of things equipment control method and device, computer equipment and storage medium

    CN111818132A

  • Internet of Things equipment control method, Internet of Things platform and related equipment

    CN111948952A

  • Data processing method and device, computer readable storage medium and computer equipment

    CN113986349A

  • Equipment operation management method and device, equipment and storage medium

    CN114896751A

Cited By

  • Event-driven rule data interaction method and device, equipment and storage medium

    CN119906727A