Device aggregation group determination method and device, storage medium and electronic device

By creating device aggregation groups in the smart home system, eligible devices can be automatically filtered and controlled in batches, solving the problems of complex multi-device control and status synchronization delay, thus improving user experience and system efficiency.

CN121967105APending Publication Date: 2026-05-01QINGDAO HAIER TECH +2
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
QINGDAO HAIER TECH
Filing Date
2025-12-31
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

In existing smart home systems, controlling multiple devices is complex and suffers from status synchronization delays, resulting in poor user experience and wasted network resources.

Method used

By acquiring the status set of devices within the target area, devices that meet the criteria are filtered out, device aggregation groups are created, and batch control is performed through the aggregation groups to update device status in real time and ensure status consistency.

Benefits of technology

It simplifies the operation of controlling multiple devices, improves the user experience and the smoothness of interaction, reduces network traffic and server load, and enables timely synchronization of device status.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121967105A_ABST
    Figure CN121967105A_ABST
Patent Text Reader

Abstract

The invention discloses an equipment aggregation group determination method and device, a storage medium and an electronic device, and relates to the technical field of smart home, and the method comprises the steps: obtaining a state set of a plurality of pieces of equipment which are allowed to be aggregated in a target area; selecting a plurality of first devices from the plurality of devices according to the state set and an aggregation instruction sent by a target object on a target application; aggregation processing is carried out on the multiple first devices to obtain a device aggregation group corresponding to the target area, and the device aggregation group at least comprises the multiple first devices; the device aggregation group correspondingly stores an association relationship between a group name and the device identifiers of the plurality of first devices; and performing synchronous control on the plurality of devices in the target area by using the device aggregation group, and updating the device aggregation group when any first device in the device aggregation group has a state change. The problems that in the prior art, the operation process of multi-device control is complex, and state synchronization delay exists between different devices are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Methods, apparatus, storage media and electronic devices for determining equipment aggregation groups Technical Field

[0001] This application relates to the field of smart home technology, and more specifically, to a method, apparatus, storage medium, and electronic device for determining a device aggregation group. Background Technology

[0002] With the rapid development of smart home technology, more and more smart devices are being introduced into residential and office environments, providing users with unprecedented comfort and convenience. However, existing smart home control systems have some obvious limitations in device management and operation. For example, smart home apps typically display controllable devices to users in a list-by-list manner. Each device has its own interface and control options. If a user wants to perform a series of operations, such as turning on lights, starting an air purifier, and adjusting the air conditioner temperature simultaneously upon arriving home, they must find and control each device individually. Consequently, the device management page of the smart home app will display numerous device entries and operation buttons, resulting in a poor user experience. Furthermore, when operating multiple devices, each control command needs to be sent to the cloud server via the network, and then forwarded to the target device. This one-to-one control method generates a large amount of network traffic and server concurrency when the number of devices is large. When the interaction between the server and devices is unstable, the response speed of different devices will vary, leading to a delay in state synchronization between multiple devices that need to be controlled simultaneously. Therefore, the device status seen by the user on the smart home app may not match the actual device status, or unexpected device behavior may occur due to the order of status updates.

[0003] Therefore, in related technologies, the operation process of multi-device control is complex, and there is a problem of state synchronization delay between different devices, for which no effective solution has yet been proposed. Summary of the Invention

[0004] This application provides a method, apparatus, storage medium, and electronic device for determining a device aggregation group, in order to at least solve the problems in the related art, such as the complexity of the operation process for controlling multiple devices and the state synchronization delay between different devices.

[0005] According to one embodiment of this application, a method for determining a device aggregation group is provided, comprising: obtaining a state set of multiple devices allowed to be aggregated in a target area; selecting multiple first devices from the multiple devices according to the state set and an aggregation instruction issued by a target object on a target application; performing aggregation processing on the multiple first devices to obtain a device aggregation group corresponding to the target area, wherein the device aggregation group includes at least: an association relationship between the storage group name of the device aggregation group and the device identifier of the multiple first devices; using the device aggregation group to perform synchronous control on the multiple devices in the target area, and updating the device aggregation group when any first device in the device aggregation group experiences a state change.

[0006] In an exemplary embodiment, after obtaining the state set of multiple devices that are allowed to be aggregated in the target area, the method further includes: determining the device working information corresponding to each state in the state set, wherein the device working information includes at least one of the following: device online information, device mode information, device energy consumption information, and device security information; filtering the multiple device working information corresponding to multiple devices based on the reference working information corresponding to the preset aggregation requirements; and determining a first device set according to the filtering results, wherein the first device set contains multiple devices that support aggregation instructions.

[0007] In one exemplary embodiment, selecting a plurality of first devices from the plurality of devices based on the state set and the aggregation instruction issued by the target object on the target application includes: parsing the aggregation instruction to obtain the device type contained in the aggregation instruction; and determining a plurality of first devices that conform to the device type from the first device set corresponding to the state set.

[0008] In an exemplary embodiment, after aggregating multiple first devices to obtain a device aggregation group corresponding to a target area, the method further includes: when the target object issues a running instruction for the device aggregation group, checking the real-time status of each first device in the device aggregation group; if the real-time status of the first device is the same as the execution status corresponding to the running instruction, adding a filter pool marker to the first devices in the device aggregation group that have the same status, wherein the filter pool marker is used to add the first device to a filter pool that does not execute the running instruction.

[0009] In one exemplary embodiment, after adding a filter pool marker to the first devices in the device aggregation group that have the same state, the method further includes: performing execution processing on the device aggregation group according to the filter pool marker to obtain a list of devices to be executed; calling a device gateway associated with the device list to receive change data fed back by multiple devices in the target area; and updating the execution result of the running instruction according to the change data.

[0010] In an exemplary embodiment, after aggregating multiple first devices to obtain a device aggregation group corresponding to a target area, the method further includes: when the device aggregation group completes a device linkage operation, obtaining the device execution result of each first device in the device aggregation group participating in the device linkage operation, and the final state of the device corresponding to the device execution result; and updating the display state of the visual icon corresponding to the device aggregation group on the target application based on the device execution result and the final state of the device.

[0011] In one exemplary embodiment, using the device aggregation group to synchronously control multiple devices in the target area includes: setting a control interface for the device aggregation group in a target application; when the target application receives a start command from the control interface, detecting whether the target object has issued a run instruction; if it is determined that the target object has issued a run instruction, instructing the control interface to perform a first synchronization control to send the working parameters carried in the run instruction to each first device one by one; if it is determined that the target object has not issued a run instruction, instructing the control interface to perform a second synchronization control to prohibit the sending of working parameters to each first device.

[0012] According to another aspect of the embodiments of this application, a device for determining a device aggregation group is also provided, comprising: an acquisition module, configured to acquire a set of states of multiple devices allowed to be aggregated in a target area; a selection module, configured to select multiple first devices from the multiple devices according to the set of states and an aggregation instruction issued by a target object on a target application; an aggregation module, configured to perform aggregation processing on the multiple first devices to obtain a device aggregation group corresponding to the target area, wherein the device aggregation group includes at least: an association relationship between the storage group name of the device aggregation group and the device identifier of the multiple first devices; and an update module, configured to use the device aggregation group to perform synchronous control on the multiple devices in the target area, and update the device aggregation group when any first device in the device aggregation group has a state change.

[0013] According to yet another embodiment of this application, a computer-readable storage medium is also provided, wherein a computer program is stored therein, and the computer program is configured to perform the steps in any of the above method embodiments when it is run.

[0014] According to yet another embodiment of this application, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.

[0015] According to yet another embodiment of this application, a computer program product is also provided, including a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.

[0016] In this embodiment, a set of statuses for all eligible devices in the target area is obtained. This set includes the device's online status, operating mode, energy consumption information, and security status. Then, based on the aggregation command generated by the target object and the device status set, multiple first devices meeting the criteria are automatically selected. The selection process considers the matching degree between the device's real-time status and the target object's intent, ensuring the effectiveness and security of the aggregation operation. Subsequently, these first devices are aggregated to create a specific device aggregation group. This group is stored using a group name and device identifier association. After the device aggregation group is created, the target object can batch control all first devices within the group by operating the group's control interface, such as switching on or off or changing modes. Furthermore, when the status of any first device in the target area changes, the change is captured in real time, and it is determined whether the device aggregation group needs to be adjusted and updated. Thus, even with frequent device changes, the status of the device aggregation group remains consistent with the actual device status, ensuring the accuracy and timeliness of the target object's operations. The above technical solution solves the problems of complex operation processes in multi-device control and status synchronization delays between different devices. It replaces multiple device entries with device aggregation group controls, simplifying the interface display and improving information clarity and interaction smoothness. Furthermore, batch control command issuance avoids the waste of resources required to operate each device individually, reducing network traffic and server load. Attached Figure Description

[0017] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0018] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 is a schematic diagram of the hardware environment of a method for determining a device aggregation group according to an embodiment of this application;

[0020] Figure 2 is a flowchart of a method for determining a device aggregation group according to an embodiment of this application;

[0021] Figure 3 is a timing diagram of the aggregation group creation and editing process according to an embodiment of this application;

[0022] Figure 4 is a schematic diagram of the aggregation group control flow according to an embodiment of this application;

[0023] Figure 5 is a structural block diagram of a device for determining an equipment aggregation group according to an embodiment of this application. Detailed Implementation

[0024] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0025] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, apparatus, or device that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, apparatus, or devices.

[0026] According to one aspect of the embodiments of this application, a method for determining a device aggregation group is provided. This method for determining a device aggregation group is widely applicable to whole-house intelligent digital control application scenarios such as smart homes, smart home ecosystems, and intelligence house ecosystems. Optionally, in this embodiment, the above-mentioned method for determining a device aggregation group can be applied to a hardware environment consisting of a terminal device 102 and a server 104, as shown in FIG1. ​​FIG1 is a schematic diagram of the hardware environment of a method for determining a device aggregation group according to an embodiment of this application. As shown in FIG1, the server 104 is connected to the terminal device 102 via a network and can be used to provide services (such as application services) to the terminal or clients installed on the terminal. A database can be set up on the server or independently of the server to provide data storage services for the server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data processing services for the server 104.

[0027] The aforementioned network may include, but is not limited to, at least one of the following: wired network, wireless network. The aforementioned wired network may include, but is not limited to, at least one of the following: wide area network, metropolitan area network, local area network. The aforementioned wireless network may include, but is not limited to, at least one of the following: Wi-Fi (Wireless FiDelity), Bluetooth. The terminal device 102 may not be limited to PC, mobile phone, tablet computer, smart air conditioner, smart range hood, smart refrigerator, smart oven, smart stove, smart washing machine, smart water heater, smart washing equipment, smart dishwasher, smart projector, smart TV, smart clothes rack, smart curtains, smart audio-visual equipment, smart socket, smart speaker, smart speaker box, smart fresh air equipment, smart kitchen and bathroom equipment, smart bathroom equipment, smart robot vacuum cleaner, smart window cleaning robot, smart mopping robot, smart air purifier, smart steam oven, smart microwave oven, smart water heater, smart air purifier, smart water dispenser, smart door lock, etc.

[0028] This embodiment provides a method for determining a device aggregation group, applied to the aforementioned terminal device. Figure 2 is a flowchart of the method for determining a device aggregation group according to an embodiment of this application. The process includes the following steps:

[0029] Step S202: Obtain the state set of multiple devices that are allowed to be aggregated in the target area;

[0030] Understandably, in Industrial Internet of Things (IIoT) or smart home systems, a large number of devices may be distributed across different areas. Device aggregation control methods select a "target area," i.e., a specific area requiring unified control. Therefore, a "state set" can be formed by collecting the status information of all devices allowed to be aggregated within this target area. This status information can include the device's on / off status, operating parameters, energy consumption data, etc., depending on the specific needs of the target application.

[0031] Step S204: Select a plurality of first devices from the plurality of devices according to the state set and the aggregation instruction issued by the target object on the target application;

[0032] Understandably, when the target object in the target application (usually a user interface or automation control module) issues an aggregation command, devices are filtered and selected based on the previously collected state set. The selection of the first device can be based on rules or algorithms, such as the device's current state, device type, and compatibility between devices, with the aim of constructing a device group suitable for the current aggregation requirements.

[0033] Step S206: Aggregate the plurality of first devices to obtain a device aggregation group corresponding to the target area, wherein the device aggregation group includes at least the association relationship between the storage group name corresponding to the device aggregation group and the device identifier of the plurality of first devices;

[0034] In other words, once the first device that meets the criteria is selected, aggregation processing is performed, treating these devices as a whole or a group (device aggregation group). This allows for batch control by controlling the aggregation group, eliminating the need to control each device individually. Aggregation processing may include defining specific rules for the aggregation group, establishing communication protocols between devices, and ensuring that all devices respond to unified commands.

[0035] Step S208: Use the device aggregation group to synchronously control multiple devices in the target area, and update the device aggregation group if any first device in the device aggregation group experiences a state change.

[0036] Optionally, device aggregation groups can be used to perform synchronous control on all devices within the target area. For example, these devices can be turned on or off simultaneously, or their parameter settings can be adjusted. Furthermore, when the status of any device within the aggregation group changes, the aggregation group's configuration is automatically detected and updated to reflect the latest device status. This dynamic update mechanism ensures the accuracy and real-time performance of the aggregation group, maintaining effective control even when the number or status of devices changes.

[0037] Through the above steps, the status sets of all eligible devices in the target area are obtained. These status sets include the devices' online status, operating mode, energy consumption information, and security status. Then, based on the aggregation command generated by the target object and the device status sets, multiple first devices meeting the criteria are automatically selected. The selection process considers the matching degree between the device's real-time status and the target object's intent, ensuring the effectiveness and security of the aggregation operation. Subsequently, these first devices are aggregated to create a specific device aggregation group. This group is stored using a relationship between the group name and device identifier. After the device aggregation group is created, the target object can perform batch control of all first devices within the group by operating the group's control interface, such as switching on / off or mode switching. Furthermore, when the status of any first device in the target area changes, the change is captured in real time, and it is determined whether the device aggregation group needs to be adjusted and updated accordingly. In this way, even with frequent device changes, the status of the device aggregation group remains consistent with the actual device status, ensuring the accuracy and timeliness of the target object's operations. The above technical solution solves the problems of complex operation processes in multi-device control and status synchronization delays between different devices. It replaces multiple device entries with device aggregation group controls, simplifying the interface display and improving information clarity and interaction smoothness. Furthermore, batch control command issuance avoids the waste of resources required to operate each device individually, reducing network traffic and server load.

[0038] In an exemplary embodiment, after obtaining the state set of multiple devices that are allowed to be aggregated in the target area, the method further includes: determining the device working information corresponding to each state in the state set, wherein the device working information includes at least one of the following: device online information, device mode information, device energy consumption information, and device security information; filtering the multiple device working information corresponding to multiple devices based on the reference working information corresponding to the preset aggregation requirements; and determining a first device set according to the filtering results, wherein the first device set contains multiple devices that support aggregation instructions.

[0039] In short, after obtaining the set of device states that can be aggregated within the target area, further in-depth analysis is conducted to determine the specific device operating information represented by each state. This includes, but is not limited to, whether the device is online, its current operating mode, its real-time energy consumption level, and its safety status. By identifying these details, the system can filter devices based on preset aggregation requirements—that is, the control objectives that the user or automation control module hopes to achieve—referring to established operating information standards. This filtering process ensures that only devices that meet the current control requirements and are in a suitable state for aggregation are added to the first device set, thereby guaranteeing the efficiency and relevance of the device aggregation group. For example, if the aggregation requirement is to respond to an energy-saving command, then devices with higher energy consumption but currently in a non-critical operating state may be prioritized for aggregation control to achieve the predetermined energy reduction target without affecting the continuity of production or service.

[0040] In one exemplary embodiment, selecting a plurality of first devices from the plurality of devices based on the state set and the aggregation instruction issued by the target object on the target application includes: parsing the aggregation instruction to obtain the device type contained in the aggregation instruction; and determining a plurality of first devices that conform to the device type from the first device set corresponding to the state set.

[0041] Optionally, from the previously collected and preliminarily screened first set of devices, multiple devices that meet the device type requirements of the instruction can be further searched and identified. The first set of devices is formed after considering multiple dimensions such as the online status, operating mode, energy consumption, and safety information of the devices, and includes all devices within the target area that are allowed to be aggregated. This process is essentially a secondary screening, ensuring that the first set of devices ultimately selected for aggregation control not only meets basic operating status requirements but also strictly adheres to the type restrictions in the aggregation instruction, thereby achieving more precise and effective device management. For example, assuming the aggregation instruction issued by the target application is: shut down all non-essential power-consuming air conditioning devices, then all air conditioning devices in the currently online, non-critical operating mode device set will be found first, and their energy consumption information and safety status will be checked; subsequently, non-essential power-consuming air conditioning devices will be further screened, forming the first set of devices, and finally, a unified shutdown operation will be performed on them. In this way, the device aggregation control method not only simplifies the operation process but also enables the targeted execution of complex instructions, improving the flexibility and intelligence of industrial and home automation systems.

[0042] In an exemplary embodiment, after aggregating multiple first devices to obtain a device aggregation group corresponding to a target area, the method further includes: when the target object issues a running instruction for the device aggregation group, checking the real-time status of each first device in the device aggregation group; if the real-time status of the first device is the same as the execution status corresponding to the running instruction, adding a filter pool marker to the first devices in the device aggregation group that have the same status, wherein the filter pool marker is used to add the first device to a filter pool that does not execute the running instruction.

[0043] Optionally, after filtering and forming device aggregation groups from multiple eligible devices, when a target object in the target application (such as a user interface or automation control module) issues a run command to this aggregation group, a real-time status check is first performed on each first device in the aggregation group. This is to ensure that the actual state of the device matches the expected execution state of the command when it is issued, thus avoiding unnecessary operations or resource waste. Next, if it is found that the real-time state of a first device already matches the execution state of the run command (for example, the command requires the device to be turned on, and the device is currently turned on), a filter pool mark is added to these devices. This mark serves as an indication, meaning that the first device is classified into a special category: the filter pool for which run commands are not executed. In this way, devices that do not need to repeatedly execute commands can be intelligently filtered out, and operations are only performed on devices whose states do not meet the command requirements, greatly improving the efficiency and accuracy of command execution.

[0044] For example, suppose an instruction is issued requiring all air conditioning units in the office area to enter energy-saving mode, but some units are already in energy-saving mode when the instruction is issued. The system identifies the status of these units, adds a filter tag to them, thus avoiding duplicate instructions and only operating on those units that have not yet entered energy-saving mode. This refined instruction execution process not only saves electricity and reduces unnecessary operations on equipment but also improves the user experience.

[0045] In one exemplary embodiment, after adding a filter pool marker to the first devices in the device aggregation group that have the same state, the method further includes: performing execution processing on the device aggregation group according to the filter pool marker to obtain a list of devices to be executed; calling a device gateway associated with the device list to receive change data fed back by multiple devices in the target area; and updating the execution result of the running instruction according to the change data.

[0046] In short, after adding a filter pool marker to the first device in the device aggregation group that has the same state, further processing is performed on the device aggregation group based on these markers to accurately locate the list of devices that actually need to execute the run command. Subsequently, the device gateway associated with the determined device list is invoked to receive change data from multiple devices within the target area. By receiving this change data, the device state changes after the run command is executed can be monitored in real time, and whether the device has successfully adjusted to the state required by the command. Finally, based on the collected device state change data, the execution result of the run command is updated to ensure that the system state is consistent with the actual device state.

[0047] For example, if an instruction requires all devices to enter standby mode, the system monitors whether the devices have entered standby mode and automatically reissues the instruction or takes other remedial measures when any device fails to respond, ensuring that the status of all target devices meets the instruction requirements.

[0048] In an exemplary embodiment, after aggregating multiple first devices to obtain a device aggregation group corresponding to a target area, the method further includes: when the device aggregation group completes a device linkage operation, obtaining the device execution result of each first device in the device aggregation group participating in the device linkage operation, and the final state of the device corresponding to the device execution result; and updating the display state of the visual icon corresponding to the device aggregation group on the target application based on the device execution result and the final state of the device.

[0049] That is to say, whenever the device aggregation group completes a predetermined linkage operation (such as simultaneously adjusting a group of office lights and temperature controllers at one time), it automatically tracks and obtains the device execution results of each first device in the aggregation group, as well as the final states of the first devices corresponding to these execution results. According to the collected device execution results and device final states, update the visualization icons related to the device aggregation group displayed on the target application interface.

[0050] Optionally, the device execution result refers to the specific response of the device to the linkage operation command, while the device final state reflects the actual working state of the device after executing the command.

[0051] Optionally, by updating the above visualization icons, it is ensured that users can understand the execution situation of the device linkage operation through intuitive graphical displays, including important information such as which devices have responded and completed the operation, and what state the devices are currently in. For example, after completing the "meeting mode" linkage control, the visualization icons on the target application may show that the lights in the meeting room are dimmed, the curtains are automatically closed, the air conditioner is adjusted to a comfortable temperature, etc., enabling users to quickly understand the overall execution effect without checking each device one by one.

[0052] In summary, through the above implementation manners, not only the efficient linkage control of the devices is achieved, but also real-time status feedback is provided, enabling the target application interface to dynamically reflect the operation results of the device aggregation group, which helps to quickly master the device status and make adjustments or decisions in a timely manner.

[0053] In an exemplary embodiment, using the device aggregation group to synchronously control multiple devices in the target area includes: setting a control interface for the device aggregation group in the target application; detecting whether the target object issues a running instruction when the target application receives a start command of the control interface; when it is determined that the target object has issued a running instruction, instructing the control interface to execute a first synchronous control of sending the working parameters carried in the running instruction to each first device one by one; when it is determined that the target object has not issued a running instruction, instructing the control interface to execute a second synchronous control of prohibiting sending working parameters to each first device.

[0054] In other words, a dedicated control interface is established for the device aggregation group within the target application. This interface acts as a central hub for aggregation control, enabling the target application to easily interact with the entire device aggregation group. When the target application receives a start command for this control interface, it immediately checks whether a target object (such as a user or a preset automation rule) has issued a run command to the device aggregation group. If a run command is detected, it instructs the control interface to execute the first synchronization control, which uniformly and consistently distributes the specific operating parameters (such as temperature setpoints and brightness levels) carried in the run command to each first device in the device aggregation group, ensuring that all devices can simultaneously adjust to the required state and achieve seamless linkage. Conversely, if no run command is detected after the start command, the second synchronization control is triggered, whereby the control interface automatically executes a prohibition operation to prevent any unnecessary or unplanned operating parameters from being incorrectly distributed to the first devices in the device aggregation group, thereby avoiding potential chaos or energy waste. Furthermore, by using the above control methods, not only are user operations simplified and the consistency and controllability of device linkage improved, but also more refined permission management and resource scheduling are achieved by distinguishing between the status of whether or not a running command has been issued, ensuring the rationality and efficiency of device operation.

[0055] To better understand the process of determining the above-mentioned equipment aggregation group, the following description of the method flow for determining the above-mentioned equipment aggregation group is further illustrated with reference to optional embodiments, but it is not intended to limit the technical solutions of the embodiments of this application.

[0056] As an optional implementation, this application proposes a device aggregation method for smart furniture applications, employing "dynamic aggregation" and "unified control." The method dynamically creates aggregation groups on the main interface of the user's smart furniture application's device list, and allows for one-click control of all devices within the group via an aggregation group control. This replaces multiple (N) independent device entries at the UI level with a single aggregation group control, directly reducing the number of items displayed on the main interface, effectively solving the information overload problem, making the interface layout clearer and simpler, and fundamentally optimizing the interactive experience. Furthermore, when controlling multiple devices, the user can replace the original N clicks (clicking the aggregation group switch) with a single click, significantly reducing the user's operation steps and waiting time. This is particularly suitable for scenarios with a large number of devices requiring frequent simultaneous operation, resulting in faster response times and a better user experience.

[0057] As an optional implementation, Figure 3 is a sequence diagram of the aggregation group creation and editing process according to an embodiment of this application. The following operations can be performed through the above sequence: The user enters the main interface of the APP's device list and then selects the devices to be aggregated. The user enters the aggregation group creation mode by long-pressing a device icon or clicking a specific "Create Aggregate" button. In creation mode, the device icons on the interface become selectable. The user selects multiple devices that they wish to aggregate into a group one by one. After selection, the user clicks the "Done" or "Save" button. The device aggregation is then created. The user's interactive terminal (APP) assembles data and calls the cloud service platform's aggregation management module interface to obtain the device data corresponding to the devices participating in the aggregation. The cloud service's aggregation management module receives this request, generates a new aggregation group record in the database, stores the mapping relationship between the group name and the device ID list, obtains the device collection data, and the aggregation group management module returns a confirmation message of successful creation to the user's interactive terminal. After receiving the confirmation, the user's interactive terminal re-renders the main interface. The original multiple independent devices are collapsed and replaced with a new, unified aggregation group control. This control can display the group name, a summary icon of the devices in the group, and a main switch. After completing the above control, the device list interface is refreshed, thereby reducing repetitive operations on devices with the same control requirements in the device list interface.

[0058] As an optional implementation, Figure 4 is a schematic diagram of the aggregation group control flow according to an embodiment of this application, including the following steps:

[0059] Step 1: In daily use, users will see an aggregate group control representing multiple devices on the main device list interface. Users click the main switch on this aggregate group control (intending to turn on all devices in the group).

[0060] Step 2: Aggregator group ID + device execution command. The user interaction terminal (APP) captures the click event, generates a control command to "open the aggregation group ID", and calls the cloud service platform interface.

[0061] Step 3: Query the corresponding device list based on the aggregation group ID. The cloud server aggregation group management module queries the database based on the aggregation group ID to obtain a list of all device IDs contained in the group.

[0062] Step 4: Iterate through the current device status based on the device list, and determine whether the current device status is the state that is about to be executed. The cloud server calls the IoT platform service in a loop to get the device status from the device ID list to see if it is consistent with the state that is about to be executed. If they are consistent, then filter the device in the pool.

[0063] Step 5: Filter the list of devices to be executed, and assemble the corresponding instructions from the list of devices that need to execute the instructions.

[0064] Step 6: Concurrently invoke the device gateway to execute device commands. These control commands are then distributed to the user's smart devices via the cloud service communication module.

[0065] Step 7: Each smart device executes the command and reports the successful execution status back to the cloud service platform.

[0066] Step 8: After the cloud platform summarizes the status, it pushes the result "Aggregation group operation successful" and the latest device status data back to the user terminal. The user terminal updates the UI, for example, changing the main switch status of the aggregation group control to "On", and optionally displaying a summary status of the devices in the group.

[0067] In summary, this application allows users to select devices and create aggregation groups through the user interface of the user interaction terminal; the App sends a device aggregation request for the aggregation group to the cloud service platform; the cloud service platform stores the mapping relationship between the aggregation group and device IDs and sends confirmation information to the user interaction terminal; the user operates the aggregation group control to trigger the sending of unified control commands; the cloud service platform filters target devices based on the aggregation group ID and sends the control commands in batches to the device gateway; the device gateway forwards the control commands to specific devices, the devices execute the control commands and report the execution results; the cloud service platform summarizes the execution results and updates the device status to the user interaction terminal. This overcomes the problems of cumbersome operation, redundant interface, resource waste, and delayed status synchronization caused by operating each device one by one in related technologies.

[0068] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software device. This computer software device is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.

[0069] Figure 5 is a structural block diagram of a device for determining a group of devices according to an embodiment of this application; as shown in Figure 5, it includes:

[0070] The acquisition module 52 is used to acquire the status set of multiple devices that are allowed to be aggregated in the target area;

[0071] Selection module 54 is used to select a plurality of first devices from the plurality of devices based on the state set and the aggregation instruction issued by the target object on the target application;

[0072] Aggregation module 56 is used to perform aggregation processing on the plurality of first devices to obtain a device aggregation group corresponding to the target area, wherein the device aggregation group includes at least the association relationship between the storage group name corresponding to the device aggregation group and the device identifier of the plurality of first devices;

[0073] The update module 58 is used to synchronously control multiple devices in the target area using the device aggregation group, and to update the device aggregation group when any first device in the device aggregation group experiences a state change.

[0074] The aforementioned device acquires the status sets of all eligible devices in the target area. These status sets include the devices' online status, operating mode, energy consumption information, and safety status. Then, based on the aggregation command generated by the target object and the device status sets, multiple first devices meeting the criteria are automatically selected. The selection process considers the matching degree between the device's real-time status and the target object's intent, ensuring the effectiveness and security of the aggregation operation. Subsequently, these first devices are aggregated to create a specific device aggregation group. This group is stored using a relationship between the group name and device identifier. After the device aggregation group is created, the target object can batch control all first devices within the group by operating the group's control interface, such as switching on or off or changing modes. Furthermore, when the status of any first device in the target area changes, the change is captured in real time, and it is determined whether the device aggregation group needs to be adjusted and updated. Thus, even with frequent device changes, the status of the device aggregation group remains consistent with the actual device status, ensuring the accuracy and timeliness of the target object's operations. The above technical solution solves the problems of complex operation processes in multi-device control and status synchronization delays between different devices. It replaces multiple device entries with device aggregation group controls, simplifying the interface display and improving information clarity and interaction smoothness. Furthermore, batch control command issuance avoids the waste of resources required to operate each device individually, reducing network traffic and server load.

[0075] In one exemplary embodiment, the apparatus further includes: a filtering module, configured to, after acquiring a set of states of multiple devices allowed to be aggregated in a target area, determine the device operating information corresponding to each state in the state set, wherein the device operating information includes at least one of the following: device online information, device mode information, device energy consumption information, and device security information; filter the multiple device operating information corresponding to multiple devices based on reference operating information corresponding to preset aggregation requirements; and determine a first device set according to the filtering results, wherein the first device set contains multiple devices that support aggregation instructions.

[0076] In an exemplary embodiment, the selection module is further configured to parse the aggregation instruction to obtain the device type contained in the aggregation instruction; and determine a plurality of first devices that conform to the device type from the first device set corresponding to the state set.

[0077] In one exemplary embodiment, the above apparatus further includes: a marking module, configured to perform aggregation processing on multiple first devices to obtain a device aggregation group corresponding to a target area, and, when the target object issues a running instruction for the device aggregation group, check the real-time status corresponding to each first device in the device aggregation group; if the real-time status corresponding to the first device is the same as the execution status corresponding to the running instruction, add a filter pool mark to the first devices in the device aggregation group that have the same status, wherein the filter pool mark is used to add the first device to a filter pool that does not execute the running instruction.

[0078] In one exemplary embodiment, the above apparatus further includes: a calling module, configured to add a filter pool marker to a first device in a device aggregation group that has the same state, perform execution processing on the device aggregation group according to the filter pool marker to obtain a list of devices to be executed; call a device gateway associated with the device list to receive change data fed back by multiple devices in the target area; and update the execution result of the running instruction according to the change data.

[0079] In an exemplary embodiment, the above apparatus further includes: a state module, configured to perform aggregation processing on multiple first devices to obtain a device aggregation group corresponding to a target area, and, when the device aggregation group completes a device linkage operation, obtain the device execution result of each first device in the device aggregation group participating in the device linkage operation, and the final state of the device corresponding to the device execution result; and update the display state of the visual icon corresponding to the device aggregation group on the target application according to the device execution result and the final state of the device.

[0080] In an exemplary embodiment, the update module is further configured to set a control interface for the device aggregation group in the target application; when the target application receives a start command from the control interface, detect whether the target object has issued a run instruction; if it is determined that the target object has issued a run instruction, instruct the control interface to perform a first synchronization control to send the working parameters carried in the run instruction to each first device one by one; if it is determined that the target object has not issued a run instruction, instruct the control interface to perform a second synchronization control to prohibit the sending of working parameters to each first device.

[0081] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same target processor; or, the above modules are located in different target processors in any combination.

[0082] Embodiments of this application also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above method embodiments when run.

[0083] Embodiments of this application also provide an electronic device, including a target memory and a target processor, wherein the target memory stores a computer program and the target processor is configured to run the computer program to perform the steps in any of the above method embodiments.

[0084] Embodiments of this application also provide a computer program product, which includes a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.

[0085] Embodiments of this application also provide another computer program product, including a non-volatile computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.

[0086] Embodiments of this application also provide a computer program that includes computer instructions stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the steps in any of the above method embodiments.

[0087] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.

[0088] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0089] Obviously, those skilled in the art should understand that the modules or steps of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of N computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented here, or they can be fabricated as separate integrated circuit modules, or N modules or steps can be fabricated as a single integrated circuit module. Thus, this application is not limited to any particular combination of hardware and software.

[0090] The foregoing has provided a detailed description of the method, apparatus, device, storage medium, and program for determining a device aggregation group provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are merely for the purpose of helping to understand the method and core ideas of this application. It should be noted that those skilled in the art can make various improvements and modifications to this application without departing from its principles, and these improvements and modifications also fall within the protection scope of the claims of this application.

Claims

1. A method for determining a group of equipment clusters, characterized in that, include: Obtain a set of states of multiple devices allowed to be aggregated in the target area; select multiple first devices from the multiple devices according to the set of states and the aggregation instruction issued by the target object on the target application; perform aggregation processing on the multiple first devices to obtain a device aggregation group corresponding to the target area, wherein the device aggregation group includes at least the association relationship between the storage group name of the device aggregation group and the device identifier of the multiple first devices; use the device aggregation group to perform synchronous control on the multiple devices in the target area, and update the device aggregation group if any first device in the device aggregation group has a state change.

2. The method for determining the equipment aggregation group according to claim 1, characterized in that, After obtaining the state set of multiple devices that are allowed to be aggregated in the target area, the method further includes: determining the device working information corresponding to each state in the state set, wherein the device working information includes at least one of the following: device online information, device mode information, device energy consumption information, and device security information; filtering the multiple device working information corresponding to the multiple devices based on the reference working information corresponding to the preset aggregation requirements; and determining a first device set according to the filtering results, wherein the first device set contains multiple devices that support aggregation commands.

3. The method for determining the equipment aggregation group according to claim 1, characterized in that, Selecting multiple first devices from the plurality of devices based on the state set and the aggregation instruction issued by the target object on the target application includes: parsing the aggregation instruction to obtain the device type contained in the aggregation instruction; and determining multiple first devices that conform to the device type from the first device set corresponding to the state set.

4. The method for determining the equipment aggregation group according to claim 1, characterized in that, After aggregating the plurality of first devices to obtain a device aggregation group corresponding to the target area, the method further includes: when the target object issues a running instruction for the device aggregation group, checking the real-time status of each first device in the device aggregation group; if the real-time status of the first device is the same as the execution status corresponding to the running instruction, adding a filter pool mark to the first devices in the device aggregation group that have the same status, wherein the filter pool mark is used to add the first device to a filter pool that does not execute the running instruction.

5. The method for determining the equipment aggregation group according to claim 4, characterized in that, After adding a filter pool marker to the first device in the device aggregation group that has the same state, the method further includes: performing execution processing on the device aggregation group according to the filter pool marker to obtain a list of devices to be executed; calling the device gateway associated with the device list to receive change data fed back by multiple devices in the target area; and updating the execution result of the running instruction according to the change data.

6. The method for determining a group of equipment aggregations according to claim 1, characterized in that, After aggregating the multiple first devices to obtain a device aggregation group corresponding to the target area, the method further includes: when the device aggregation group completes a device linkage operation, obtaining the device execution result of each first device in the device aggregation group participating in the device linkage operation, and the final state of the device corresponding to the device execution result; updating the display state of the visual icon corresponding to the device aggregation group on the target application according to the device execution result and the final state of the device.

7. The method for determining a group of equipment aggregations according to claim 1, characterized in that, Synchronous control of multiple devices in the target area using the device aggregation group includes: setting a control interface for the device aggregation group in the target application; detecting whether the target object has issued a run command when the target application receives a start command from the control interface; instructing the control interface to execute a first synchronization control to send the working parameters carried in the run command to each first device one by one when it is determined that the target object has not issued a run command; and instructing the control interface to execute a second synchronization control to prohibit the sending of working parameters to each first device when it is determined that the target object has not issued a run command.

8. A device for determining a group of equipment, characterized in that, include: The acquisition module is used to acquire the status set of multiple devices that are allowed to be aggregated in the target area; The selection module is used to select a plurality of first devices from the plurality of devices based on the state set and the aggregation instruction issued by the target object on the target application; An aggregation module is used to perform aggregation processing on the plurality of first devices to obtain a device aggregation group corresponding to the target area, wherein the device aggregation group includes at least the association relationship between the storage group name corresponding to the device aggregation group and the device identifier of the plurality of first devices; The update module is used to synchronously control multiple devices in the target area using the device aggregation group, and to update the device aggregation group when any first device in the device aggregation group experiences a state change.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program, when executed, performs the method described in any one of claims 1 to 7.

10. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the method described in any one of claims 1 to 7 through the computer program.