Equipment linkage control system and method, electronic equipment and storage medium
By selecting target node devices through the cloud platform and directly sending scenario data to them, the problem of device linkage control failure caused by gateway anomalies is solved, and reliable scenario execution is achieved in the event of gateway anomalies.
Patent Information
- Application Number
- CN202511187383.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-22
- Publication Date
- 2025-12-12
AI Technical Summary
In existing technologies, device linkage control relies on a gateway, and gateway malfunctions can easily lead to scenario execution failures, which cannot be effectively avoided.
By selecting target node devices with computing and control capabilities through the cloud platform, scenario data is directly sent to them. The target node devices then judge and control the execution devices, avoiding failures caused by gateway anomalies.
When the gateway malfunctions, the reliability of the scenario execution is ensured by selecting a replacement target node device, thus avoiding overall failure due to gateway failure.
Smart Images

Figure CN121125376A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet of Things (IoT) technology, and in particular to a device linkage control system and method, electronic device, and storage medium. Background Technology
[0002] In the field of IoT technology, an increasing number of devices are being controlled through scene-based operations. Taking a smart home scenario as an example, in the "coming home" scenario, one can control the living room lights to turn on, and control the air conditioner to turn on and adjust the temperature. By linking different devices through different scenes, a more comfortable user experience is provided. Currently, the control of each device either transmits signals from the cloud to the designated device or sends signals through a gateway. The more data a gateway handles, the greater its load; conversely, if the gateway malfunctions, it can cause all devices to fail. Summary of the Invention
[0003] The main technical problem addressed by this application is to provide a device linkage control system and method, electronic device and storage medium that can control each device to execute a scene without using a gateway, so as to avoid the failure of scene execution due to gateway malfunction.
[0004] To address the aforementioned technical problems, the first aspect of this application provides a device linkage control system. This system includes a cloud platform and target node devices. The cloud platform is used to distribute scene data; the scene data includes scene triggering conditions and multiple execution devices. The target node devices are used to receive the scene data distributed by the cloud platform and, based on the scene data, determine whether the execution of the scene can be controlled. In response to the ability to control the execution of the scene and the satisfaction of the scene triggering conditions, control commands are distributed to the multiple execution devices to enable the execution devices to execute the scene through the control commands. The target node devices are selected from multiple node devices possessing computational and control capabilities.
[0005] The cloud platform is also used to select one of multiple node devices as the target node device based on the association information of each node device; the association information includes at least one of the terminal device set corresponding to the node device and the node information of the node device.
[0006] The associated information includes a set of terminal devices corresponding to the node device, and the set of terminal devices includes terminal devices that trust the node device. Based on the associated information of each node device, one of the multiple node devices is selected as the target node device, including: determining whether each set of terminal devices contains multiple execution devices; and selecting the node device corresponding to the set of terminal devices containing multiple execution devices as the target node device.
[0007] The cloud platform is also used to send a first communication key to each node device and a second communication key to the terminal device; the node device is used to periodically broadcast a request containing the first communication key in the local area network; the terminal device in the local area network is used to receive the request, and use the second communication key to verify whether the first communication key is correct, and in response to the first communication key being correct, send a request response information to the node device; the node device is also used to add the terminal device that sent the request response information to the terminal device set, and report the terminal device set to the cloud platform.
[0008] The associated information includes node information of the node devices, which represents the operational and storage capabilities of the node devices. Based on the associated information of each node device, one of the multiple node devices is selected as the target node device, which includes: sorting the multiple node devices based on the node information, and selecting the node device with the highest ranking from the ranking results as the target node device; wherein the ranking results are arranged in descending order of the total capabilities of the node devices, and the total capabilities of the node devices include operational and storage capabilities.
[0009] The equipment linkage control system also includes: a scene triggering device, which is used to send the status data of the scene triggering device to the target node device, and the scene triggering condition indicates that the scene triggering device is in a specific state; the target node device is also used to determine whether the status data of the scene triggering device meets the scene triggering condition.
[0010] The status data is the response data sent by the scene triggering device to the target node device after the third communication key is verified. The subscription request is sent from the target node device to the scene triggering device and includes the third communication key.
[0011] The cloud platform is also used to detect whether the target node device has a first anomaly, and in response to the detection of the first anomaly of the target node device, it can reselect the target node device or issue control commands to multiple execution devices itself.
[0012] Among them, the target node device is also used to detect whether it has a second anomaly, and in response to the detection of a second anomaly, it synchronizes historical data to the cloud platform or sends information about the uncontrollable execution of the scenario to the cloud platform.
[0013] Among them, determining whether the execution of the scenario can be controlled based on the scenario data includes: judging whether the storage space and running space of the target node device support the storage and running of the scenario data, so as to determine whether the execution of the scenario can be controlled.
[0014] To address the aforementioned technical problems, a second aspect of this application provides a device linkage control method, comprising: a target node device receiving scene data from a cloud platform; wherein the scene data includes scene triggering conditions and multiple execution devices; determining, based on the scene data, whether the execution of the scene can be controlled; and, in response to the ability to control the execution of the scene and the fulfillment of the scene triggering conditions, issuing control commands to the multiple execution devices respectively, so that the execution devices execute the scene through the control commands.
[0015] To address the aforementioned technical problems, a third aspect of this application provides a device linkage control method. This method includes: a cloud platform acquiring association information and scene data from multiple node devices; wherein the association information includes at least one of a set of terminal devices corresponding to the node devices and node information of the node devices; the scene data includes scene triggering conditions and multiple execution devices; based on the association information of each node device, selecting one of the multiple node devices as the target node device; sending the scene data to the target node device, so that the target node device can determine whether it can control the execution of the scene based on the scene data; and in response to being able to control the execution of the scene and meeting the scene triggering conditions, sending control commands to the multiple execution devices respectively, so that the execution devices can execute the scene through the control commands.
[0016] To address the aforementioned technical problems, a fourth aspect of this application provides an electronic device comprising a memory and a processor. The memory stores program instructions, and the processor executes the program instructions to implement the methods provided in the second or third aspect.
[0017] To address the aforementioned technical problems, the fifth aspect of this application provides a computer-readable storage medium storing program instructions for implementing the methods provided in the second or third aspect.
[0018] The beneficial effects of this application are as follows: Unlike existing technologies, this application provides a linkage control system, including a cloud platform and target node devices. The cloud platform is used to distribute scene data, and the target node devices are used to receive the scene data distributed by the cloud platform and, based on the scene data, determine whether the execution of the scene can be controlled. In response to the ability to control the execution of the scene and the fulfillment of the scene triggering conditions, control commands are distributed to multiple execution devices, enabling the execution devices to execute the scene through the control commands. The target node devices are selected from multiple node devices with computational and control capabilities. By distributing control commands through the target node devices, without needing to distribute them through a gateway, the execution of the scene by each device can be controlled without using a gateway. Since the target node devices are selected from multiple node devices, if one target node device fails, a new target node device can be selected to distribute control commands, avoiding the situation where scene execution fails if the gateway malfunctions when distributing commands. Attached Figure Description
[0019] Figure 1 This is a schematic diagram of the framework structure of one embodiment of the equipment linkage control system provided in this application;
[0020] Figure 2 This is a flowchart illustrating one embodiment of the equipment linkage control method provided in this application;
[0021] Figure 3 This is a flowchart illustrating another embodiment of the equipment linkage control method provided in this application;
[0022] Figure 4 This is a schematic diagram of the framework structure of one embodiment of the electronic device provided in this application;
[0023] Figure 5 This is a schematic diagram of the framework structure of one embodiment of the computer-readable storage medium provided in this application. Detailed Implementation
[0024] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0025] It should be noted that the embodiments of this application contain descriptions involving "first," "second," etc., which are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of that feature.
[0026] In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified. All directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of this application are only used to explain the relative positional relationships and movement of the components in a specific posture (as shown in the figures). If the specific posture changes, the directional indication will also change accordingly. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices.
[0027] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0028] Please see Figure 1 , Figure 1 This is a schematic diagram of the framework structure of one embodiment of the equipment linkage control system provided in this application.
[0029] In one embodiment, the device linkage control system 100 includes a cloud platform 10 and target node devices 20. The cloud platform 10 is used to send scene data to the target node devices 20. The scene data is obtained by the user selecting the execution device and filling in the necessary information to form the scene through a mobile client or other terminal, and then uploading it to the cloud platform 10. The necessary information to form the scene includes at least one of the following: scene triggering conditions, execution actions of the execution device, and target state of the execution device. For example, a scenario of returning home is that the door lock is opened, the air conditioner is turned on and the temperature is adjusted to 25°C; the scene triggering condition can be that the door lock is opened, the execution device is the air conditioner, the execution action of the execution device is to turn it on and adjust the temperature, and the target state of the execution device is to adjust the temperature to 25°C.
[0030] After the scene data is uploaded to the cloud platform 10, the cloud service integrated in the cloud platform 10 saves the scene data and can parse the scene data. After confirming that the data is legal, the data is persisted.
[0031] After identifying the target node device 20, the cloud platform 10 sends the scene data to the target node device 20. The target node device 20 receives the scene data sent by the cloud platform 10 and determines whether it can control the execution of the scene based on the scene data. In response to being able to control the execution of the scene and meeting the scene triggering conditions, it sends control commands to multiple execution devices so that the execution devices can execute the scene through the control commands.
[0032] In one embodiment, the target node device 20 is selected from a plurality of node devices with computing and control capabilities. These node devices can be either execution devices or gateway devices. Taking a home network including a Wi-Fi light bulb, Wi-Fi camera, router, Bluetooth gateway and accessories, and Zigbee gateway and accessories as an example, any one of the Wi-Fi camera, router, Bluetooth gateway, or Zigbee gateway with relatively strong computing power can be used as the target node device 20. In a preferred embodiment, the execution device with relatively strong computing power can be preferentially selected as the target node device 20.
[0033] After receiving the scene data, the target node device 20 determines whether it can control the execution of the scene based on the scene data. In one embodiment, the target node device 20 parses the scene data and determines whether its storage space and runtime space support the storage and execution of the scene data to determine whether it can control the execution of the scene. If the storage space and runtime space of the target node device 20 support the storage and execution of the scene data, it is determined that the execution of the scene can be controlled; otherwise, it is determined that the execution of the scene cannot be controlled. The determination result of whether the scene execution can be controlled is fed back to the cloud platform 10. If the target node device 20 can control the execution of the scene, the cloud platform 10 associates the scene with the target node device 20, and sends the modified scene data to the target node device 20 if the scene data of the scene changes; if the target node device 20 cannot control the execution of the scene, the cloud platform 10 selects a new target node device 20 or directly controls the execution of the scene.
[0034] The above method sends control commands through the target node device 20 without going through the gateway. This allows for control of each device to execute scenarios without using a gateway. Since the target node device 20 is selected from multiple node devices, if one target node device 20 fails, a new target node device 20 can be selected to send control commands. This avoids the situation where, when sending commands through the gateway device, the scenario completely fails if the gateway device malfunctions.
[0035] In one embodiment, the target node device 20 can be selected by the cloud platform 10 from multiple node devices based on the association information of each node device. The association information includes at least one of the following: a set of terminal devices corresponding to the node device and node information of the node device. The set of terminal devices includes terminal devices that mutually trust the node device, and the node information of the node device includes information that can characterize the node device's operating capabilities and storage capabilities.
[0036] In one specific implementation, the association information includes a set of terminal devices corresponding to the node devices; based on the association information of each node device, selecting one of the multiple node devices as the target node device 20 includes: determining whether each set of terminal devices contains multiple execution devices; and selecting the node device corresponding to the set of terminal devices containing multiple execution devices as the target node device 20.
[0037] Specifically, for each node device, it first identifies trusted terminal devices, forming a terminal device set, and sends this set to the cloud platform 10. After parsing the scene data to obtain the multiple execution devices included in the scene data, the cloud platform 10 determines whether the terminal device set contains all the execution devices in the scene. If so, the node device corresponding to the terminal device set can be used as the target node device 20. When multiple node devices have terminal device sets that contain all execution devices, any one of the node devices can be selected as the target node device 20.
[0038] The set of terminal devices can be predetermined in the following manner: the cloud platform 10 sends a first communication key to each node device and a second communication key to each terminal device. The first and second communication keys can be numbers, letters, etc., and their forms are not specifically limited. Each node device periodically broadcasts a request containing the first communication key in the local area network. Each terminal device in the local area network receives the request and uses the second communication key to verify whether the first communication key is correct. In response to the first communication key being correct, it sends a request response information to the node device. In one embodiment, if the second communication key and the first communication key are the same, then the first communication key is determined to be correct. The node device adds the terminal device that sent the request response information to the set of terminal devices and reports the set of terminal devices to the cloud platform 10.
[0039] In another specific embodiment, the association information includes node information of the node devices; based on the association information of each node device, one of the multiple node devices is selected as the target node device 20, including: sorting the multiple node devices based on the node information, and selecting the node device with the highest ranking from the sorting results as the target node device 20; wherein, the sorting results are arranged from largest to smallest according to the total capacity of the node devices, and the total capacity of the node devices includes operating capacity and storage capacity.
[0040] Specifically, the total capability of each node device can be obtained based on its operational and storage capabilities. For example, the operational capabilities of each node device can be scored to obtain an operational score, and the storage capabilities of each node device can be scored to obtain a storage score. The operational and storage scores are then weighted and summed to obtain the total score of the node device. The total score represents the total capability of the node device. The node devices are then sorted from largest to smallest total capability, and the node device with the largest total capability is selected as the target node device 20.
[0041] In other specific implementations, the associated information includes the set of terminal devices corresponding to the node device and the node information of the node device. First, the node devices corresponding to the set of terminal devices containing multiple execution devices can be obtained as candidate node devices. Then, the total capabilities of each candidate node device are sorted, and the candidate node device with the largest total capability is selected as the target node device 20.
[0042] In the above embodiments, the scene triggering condition can be triggered by the user. For example, the user issues a certain command through the client, and the target node device 20 determines that the scene triggering condition is met upon receiving the command.
[0043] In other embodiments, a scene triggering condition indicates that a scene triggering device is in a specific state. In this case, the device linkage control system 100 may further include a scene triggering device. The scene triggering device is used to send the status data of the scene triggering device to the target node device 20. The target node device 20 analyzes the status data to determine whether the scene triggering device is in a specific state. If so, it is determined that the scene triggering condition is met. Taking the aforementioned homecoming scenario as an example of the door lock being opened, the air conditioner being turned on, and the temperature being adjusted to 25°C, the door lock is the scene triggering device, and the door lock being open is the specific state of the scene triggering device.
[0044] In one implementation, the scene triggering device will only send its own status data to the target node device 20 after the target node device 20 has successfully subscribed to the status data. Specifically, the target node device 20 sends a subscription request to the scene triggering device, which includes a third communication key. The scene triggering device verifies the third communication key, and upon successful verification, responds to the subscription request by sending its own status data to the target node device 20. The scene triggering device can use a fourth communication key issued to it by the cloud platform 10 to verify the third communication key. If the fourth communication key and the third communication key are the same, the verification is considered successful.
[0045] In other embodiments, the cloud platform 10 is also used to detect whether the target node device 20 has a first anomaly, and in response to detecting the first anomaly of the target node device 20, to reselect the target node device 20 or to issue control commands to multiple execution devices itself. The first anomaly includes, but is not limited to, node anomaly or damage. For example, if the cloud platform 10 cannot receive the heartbeat of the target node device 20 for a period of time, but can still communicate with the execution devices, it proves that the target node device 20 has a first anomaly, and changes the scene execution control to be executed by itself or reselects the target node device 20.
[0046] The target node device 20 is also used to detect whether it has encountered a second anomaly, and in response to the detection of a second anomaly, it synchronizes historical data to the cloud platform 10 or sends information to the cloud platform 10 indicating that the execution of the scenario cannot be controlled. The second anomaly includes, but is not limited to, reset and network changes. If the target node device 20 resets, it can send a synchronization request to the cloud platform 10 to synchronize historical data after verification by the cloud platform 10. This enables the re-fetching of node device configurations, ensuring the recoverability and continuity of scenario data.
[0047] If the target node device 20 experiences a network change, it will be unable to discover multiple execution devices in the scenario. If it is unable to connect to multiple execution devices after multiple attempts, it will send a message to the cloud platform 10 indicating that it cannot control the execution of the scenario, so that the scenario will be switched to be controlled by the cloud platform 10.
[0048] Please see Figure 2 , Figure 2 This is a flowchart illustrating one embodiment of the equipment linkage control method provided in this application. The method includes:
[0049] S21: The target node device receives the scenario data sent by the cloud platform.
[0050] The scene data includes scene triggering conditions and multiple execution devices;
[0051] S22: Based on the scenario data, determine whether the execution of the scenario can be controlled.
[0052] S23: In response to the ability to control the execution of the scene and the satisfaction of the scene triggering conditions, control commands are issued to multiple execution devices respectively, so that the execution devices execute the scene through the control commands.
[0053] The control method provided in this embodiment is executed by the target node device, which is the target node device in the aforementioned device linkage control system. Therefore, for detailed implementation of each step in this embodiment, please refer to the aforementioned relevant description, which will not be repeated here.
[0054] Please see Figure 3 , Figure 3 This is a flowchart illustrating another embodiment of the equipment linkage control method provided in this application, the method comprising:
[0055] S31: The cloud platform obtains the association information and scene data of multiple node devices.
[0056] The associated information includes at least one of the following: the set of terminal devices corresponding to the node device and the node information of the node device; the scene data includes the scene triggering conditions and multiple execution devices.
[0057] S32: Based on the association information of each node device, select one of the multiple node devices as the target node device.
[0058] S33: Send scene data to the target node device so that the target node device can determine whether it can control the execution of the scene based on the scene data. In response to being able to control the execution of the scene and meeting the scene triggering conditions, send control commands to multiple execution devices so that the execution devices can execute the scene through the control commands.
[0059] The control method provided in this embodiment is executed by a cloud platform, which is the cloud platform in the aforementioned equipment linkage control system. Therefore, for detailed implementation of each step in this embodiment, please refer to the aforementioned relevant description, which will not be repeated here.
[0060] In one specific implementation, the device linkage control method includes the following steps: After each node device connects to the cloud platform, it informs the cloud platform of its control capabilities for scene execution, its currently supported storage space, RAM usage, etc. The cloud platform calculates the total capability value based on the capabilities of each node device through weighted calculations and sorts the node devices from largest to smallest according to the total capability value. The cloud platform also sends a random string as the first communication key to the node devices based on the account information used by the logged-in node devices; the same random string will be sent to the same account information.
[0061] After each terminal device in the local area network connects to the cloud platform, the cloud platform will also issue a random string as a second communication key based on the account information used by the logged-in terminal device. The first and second communication keys can have time limits, that is, they are valid for a certain period of time and will be reissued after they expire.
[0062] Each node device periodically broadcasts a request containing a first communication key within the local area network (LAN). Terminal devices receive the request and determine if a second communication key matches the first. If they do, the first communication key is considered correct, and the node device sends a request-response message to the node device. The node device then adds the terminal device that sent the request-response message to its corresponding terminal device set and reports the terminal device set to the cloud platform. This enables authentication of devices within the LAN, prevents malicious devices from interfering with signaling, and ensures security.
[0063] After users upload scene data to the cloud platform, the cloud platform verifies the validity of the scene data. If the scene data is valid, it searches for at least one set of terminal devices where multiple execution devices in the scene data exist. It then obtains the total capability value of the node devices corresponding to at least one set of terminal devices and designates the node device with the highest total capability value as the target node device. Finally, it distributes the scene data to the target node device.
[0064] The target node device receives scene data from the cloud platform and determines whether it can control the execution of the scene based on the scene data. In response to the ability to control scene execution and the fulfillment of scene triggering conditions, it sends control commands to multiple execution devices, enabling the execution devices to execute the scene through these commands. When sending control commands to multiple execution devices, a first communication key can be sent simultaneously. The execution devices determine whether the first communication key is the same as a fifth communication key; if they are the same, they execute the control command. The fifth communication key can be sent to the execution devices by the cloud platform. The target node device does not participate in scene triggering or execution; it is only responsible for storing scene data, listening to triggering devices, and sending signaling to execution devices.
[0065] Please see Figure 4 , Figure 4 This is a schematic diagram of the framework structure of one embodiment of the electronic device provided in this application.
[0066] The electronic device 40 includes a memory 41 and a processor 42 coupled to each other. The memory 41 stores program instructions, and the processor 42 executes the program instructions stored in the memory 41 to implement the steps of any of the above-described method embodiments. In a specific implementation scenario, the electronic device 40 may include, but is not limited to, a microcomputer or a server. In addition, the electronic device 40 may also include mobile devices such as laptops and tablets, which are not limited here.
[0067] Specifically, processor 42 controls itself and memory 41 to implement the steps of any of the above-described method embodiments. Processor 42 may also be referred to as a CPU (Central Processing Unit). Processor 42 may be an integrated circuit chip with signal processing capabilities. Processor 42 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. A general-purpose processor may be a microprocessor or any conventional processor. Furthermore, processor 42 may be implemented using integrated circuit chips.
[0068] Please see Figure 5 , Figure 5 This is a schematic diagram of the framework structure of one embodiment of the computer-readable storage medium provided in this application.
[0069] The computer-readable storage medium 50 stores program instructions 51, which, when executed by a processor, are used to implement the steps of any of the above-described method implementations.
[0070] The computer-readable storage medium 50 may specifically be a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, or a medium capable of storing computer programs. Alternatively, it may be a server storing the computer program, which can send the stored computer program to other devices for execution or can also execute the stored computer program itself.
[0071] If the technical solution of this application involves personal information, the product using this technical solution has clearly informed the user of the personal information processing rules and obtained the user's voluntary consent before processing the personal information. If the technical solution of this application involves sensitive personal information, the product using this technical solution has obtained the user's separate consent before processing the sensitive personal information, and also meets the requirement of "express consent". For example, at personal information collection devices such as cameras, clear and prominent signs are set up to inform users that they have entered the scope of personal information collection and that personal information will be collected. If an individual voluntarily enters the collection scope, it is deemed that they have agreed to the collection of their personal information; or on the personal information processing device, with clear signs / information informing users of the personal information processing rules, authorization is obtained from the individual through pop-up information or by asking the individual to upload their personal information; wherein, the personal information processing rules may include information such as the personal information processor, the purpose of personal information processing, the processing method, and the types of personal information processed.
[0072] The above are merely embodiments of this application and do not limit the scope of this patent application. Any equivalent structural or procedural changes made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of this application.
Claims
1. An apparatus interlock control system, characterized by comprising: The system comprises: a cloud platform configured to issue scene data, wherein the scene data comprises a scene triggering condition and a plurality of execution devices; a target node device configured to receive the scene data issued by the cloud platform, and determine whether the target node device can control execution of the scene based on the scene data; and in response to the target node device being able to control execution of the scene and the scene triggering condition being met, issue control instructions to the plurality of execution devices respectively, so that the execution devices execute the scene through the control instructions; wherein the target node device is selected from a plurality of node devices with operation control capabilities.
2. The system of claim 1, wherein, The cloud platform is further configured to select one of the plurality of node devices as the target node device based on association information of each node device, wherein the association information comprises at least one of a terminal device set corresponding to the node device and node information of the node device.
3. The system of claim 2, wherein, The association information comprises the terminal device set corresponding to the node device, and the terminal device set comprises terminal devices trusted by the node device. The selecting one of the plurality of node devices as the target node device based on the association information of each node device comprises: determining whether each terminal device set contains the plurality of execution devices; and selecting the node device corresponding to the terminal device set containing the plurality of execution devices as the target node device.
4. The system of claim 3, wherein, The cloud platform is further configured to send a first communication key to each node device and a second communication key to the terminal devices. The node device is configured to periodically broadcast a request containing the first communication key in a local area network. The terminal devices in the local area network are configured to receive the request, verify whether the first communication key is correct by using the second communication key, and in response to the first communication key being correct, send request response information to the node device. The node device is further configured to add the terminal device sending the request response information to the terminal device set, and report the terminal device set to the cloud platform.
5. The system of claim 2, wherein, The association information comprises node information of the node device, and the node information represents operation capability and storage capability of the node device. The selecting one of the plurality of node devices as the target node device based on the association information of each node device comprises: sorting the plurality of node devices based on the node information, and selecting the node device with the highest ranking from the sorting result as the target node device; wherein the sorting result is arranged from large to small according to total capability of the node device, and the total capability of the node device comprises the operation capability and the storage capability.
6. The system of claim 1, wherein, The system further comprises: a scene triggering device configured to send state data of the scene triggering device to the target node device, and the scene triggering condition represents that the scene triggering device is in a specific state. The target node device is further configured to determine whether the state data of the scene triggering device meets the scene triggering condition.
7. The system of claim 6, wherein, The state data is sent to the target node device in response to a subscription request after the scene triggering device passes a third communication key verification, wherein the subscription request is sent by the target node device to the scene triggering device, and the subscription request contains the third communication key.
8. The system of claim 1, wherein, The cloud platform is further configured to detect whether the target node device has a first abnormality, and in response to detecting that the target node device has the first abnormality, reselect the target node device or issue the control instruction to the plurality of execution devices by itself. And / or, the target node device is further configured to detect whether it has a second abnormality, and in response to detecting that it has the second abnormality, synchronize historical data to the cloud platform or send information that it cannot control the scene execution to the cloud platform.
9. The system of claim 1, wherein, The determination of whether the scene execution can be controlled based on the scene data comprises: Determining whether the storage space and the running space of the target node device support the storage and running of the scene data to determine whether the scene execution can be controlled.
10. An apparatus linkage control method characterized by comprising: Comprise: The target node device receives scene data issued by the cloud platform; wherein the scene data comprises a scene triggering condition and a plurality of execution devices; Determine whether the scene execution can be controlled based on the scene data; In response to being able to control the scene execution and meeting the scene triggering condition, issue control instructions to the plurality of execution devices respectively, so that the execution devices execute the scene through the control instructions.
11. An apparatus linkage control method characterized by comprising: Comprise: The cloud platform obtains association information and scene data of a plurality of node devices; wherein the association information comprises at least one of a terminal device set corresponding to the node device and node information of the node device; the scene data comprises a scene triggering condition and a plurality of execution devices; Select one of the plurality of node devices as a target node device based on the association information of each node device; Issue scene data to the target node device, so that the target node device determines whether the scene execution can be controlled based on the scene data, and in response to being able to control the scene execution and meeting the scene triggering condition, issues control instructions to the plurality of execution devices respectively, so that the execution devices execute the scene through the control instructions.
12. An electronic device, comprising: Comprise: The device comprises a processor and a memory, the memory stores program instructions, and the processor is configured to execute the program instructions to implement the method of any one of claims 10-11.
13. A computer-readable storage medium, characterized in that, The computer readable storage medium stores program instructions for implementing the method of any one of claims 10-11.
Citation Information
Patent Citations
Scene linkage control method and system, gateway equipment and storage medium
CN109936489A
Scene and linkage recommendation method and system, storage medium and network side equipment
CN110825973A
Multi-device linkage method and system
CN112153137A
Equipment control method and device, terminal equipment, gateway and medium
CN115390462A
Distributed scene execution method and device, storage medium and electronic device
CN117762025A