A dynamic home processing method and system of cross-space intelligent devices, an electronic device, and a storage medium
Patent Information
- Application Number
- CN202610939402.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-26
- Publication Date
- 2026-09-22
AI Technical Summary
[0006]但是,现有处理方式通常仅能够判断不同空间是否具备参与设备归属的条件,难以进一步区分:某一空间仅具备作为设备当前归属空间的承接条件,还是该空间当前已经存在与目标设备相关的明确使用需求,需要优先作为目标设备的当前归属空间
[0047]与现有技术相比,本发明实施例至少具有以下有益效果。
Smart Images

Figure CN122802301A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of smart home control technology, and in particular to a dynamic attribution processing method, system, electronic device, and storage medium for cross-space smart devices. Background Technology
[0002] With the development of IoT and smart home technologies, more and more smart devices are being used in homes, offices, hotels, apartments, and other spaces. Smart lighting, air conditioners, curtains, ventilation systems, fans, speakers, and other devices can execute corresponding controls based on scene parameters, sensor data, user settings, or automation rules, thereby achieving automatic adjustment of the spatial environment.
[0003] In existing smart home systems, devices are typically categorized into a fixed space based on their installation location or physical layout. For example, a light fixture installed in the living room is usually categorized as belonging to the living room, and an air conditioner installed in the bedroom is usually categorized as belonging to the bedroom. When performing automated control, the system typically generates control commands based on the scene of the space where the device belongs, the status of the person in the room, or the status of the sensors.
[0004] However, in actual use, some smart devices affect more than just their installation space. For example, a light fixture installed in the living room may simultaneously affect the dining room, open kitchen, or hallway; a light fixture installed in the hallway may simultaneously affect the entrances to multiple rooms; and an air conditioner, ventilation system, or fan installed in the living room may also affect adjacent spaces. For these devices that can operate across spaces, managing them solely based on their fixed physical location can easily lead to inaccurate device control.
[0005] In existing smart home systems, the same smart device may be associated with multiple spaces. For example, lights, air conditioners, curtains, or other smart devices installed in the living room may simultaneously serve multiple spaces such as the living room, dining room, and hallway. In some device attribution handling methods, the current attribution of a device can be maintained, migrated, or rolled back based on the space status, device attribution relationship, and whether the space meets the attribution conditions.
[0006] However, existing processing methods typically only determine whether different spaces meet the criteria for participating in equipment attribution, making it difficult to further differentiate: whether a space merely meets the criteria for being the current attribution space for equipment, or whether the space already has a clear usage need related to the target equipment and should be prioritized as the current attribution space for the target equipment. If the above two types of situations are processed using the same attribution judgment result, spaces that only meet the attribution acceptance criteria may be at the same processing level as spaces that actually have a clear usage need for the equipment, making it difficult to accurately reflect the current service relationship between different spaces and the target equipment.
[0007] Furthermore, when multiple spaces simultaneously have clear usage needs related to the same target device, existing processing methods often lack a way to express attribution priority that can be uniformly compared among the space where the device is located and multiple non-location spaces. Judging based solely on a fixed space order, personnel status, trigger sequence, or whether attribution conditions are met is insufficient to determine the actual priority relationship between multiple spaces, which can easily lead to a lack of clear basis for device attribution results, or failure to prioritize spaces with higher current usage needs for the target device. Summary of the Invention
[0008] I. Technical problems to be solved
[0009] This invention provides a method, system, electronic device, and storage medium for dynamic attribution processing of cross-space intelligent devices, which addresses at least one or more of the following technical problems:
[0010] Distinguish between the space's active affiliation requirement for the target device and the space's affiliation eligibility as the target device's current affiliation location;
[0011] When the space where the device is located and one or more non-location spaces simultaneously have active affiliation requests for the same target device, a unified and comparable affiliation priority determination mechanism is provided.
[0012] When there is an active attribution requirement, the active attribution requirement is given priority in determining the current attribution space of the target device; when there is no active attribution requirement, the device attribution can still be maintained, migrated or rolled back based on the attributable or unattributable result of the space.
[0013] II. Technical Solution
[0014] To address the aforementioned technical problems, embodiments of the present invention provide a method for dynamic attribution processing of cross-space intelligent devices. The method includes the following steps.
[0015] The system acquires the space where the target device is located, at least one non-location space, and parameter information for determining the ownership of the target device. The parameter information includes preset active ownership conditions for the space where the device is located, human presence parameters for the space where the device is located, human presence parameters for each non-location space, preset active ownership conditions for each non-location space, the manual takeover status of the target device, and the device ownership parameter of the target device. The device ownership parameter represents the current ownership space of the target device.
[0016] Based on the preset active attribution conditions of the space where the device is located, attribution determination parameters for the device's space are generated. These parameters include a level number or "attributable," but do not include "unattributable." When the preset active attribution conditions of the space where the device is located are met, the attribution determination parameter is the corresponding level number; when the preset active attribution conditions are not met, the attribution determination parameter is "attributable."
[0017] Each non-local space is assigned affiliation parameters based on preset active attribution conditions and the target device's manual takeover status. These parameters include a level number and whether the space is attributable or not.
[0018] When the preset active attribution conditions for a space other than its current location are met, the attribution determination parameter for that space is set to the corresponding level number.
[0019] When the non-local space does not meet the conditions for being determined as a level number, and the target device is in a manual takeover state, the non-local space ownership determination parameter is determined as attributable.
[0020] When the non-local space does not meet the conditions for being determined as a level number, and the target device is not in a manually controlled state, the non-local space ownership determination parameter is determined as unownershipable.
[0021] The current home space of the target device is determined based on the space ownership determination parameters of the device's current location, the ownership determination parameters of each non-current location space, the presence parameters of the people in the device's current location space, and the device ownership parameters of the target device. Specifically, if a level number exists in either the space ownership determination parameters or any non-current location ownership determination parameter, the current home space of the target device is determined according to the priority corresponding to the level number. If no level number exists, the current home space of the target device is determined by performing ownership retention, reselection, or rollback processing based on the presence parameters of the people in the device's current location space, the device ownership parameters of the target device, and the attributable or unattributable results of each non-current location ownership determination parameter.
[0022] Update the device affiliation parameters of the target device based on the determined current affiliation space.
[0023] In one implementation, the level number is used to characterize the corresponding space's active affiliation requirement for the target device; the attributable status is used to characterize that the corresponding space is qualified to be the current affiliation space of the target device, and the attributable status does not necessarily characterize that the corresponding space has an active control requirement; the unattributable status is used to characterize that the corresponding non-attached space does not participate in the current affiliation decision of the target device.
[0024] In one implementation, the grade number is used to characterize the ownership priority of the corresponding space. Among multiple spaces corresponding to the same target device, the grade number is configured according to a preset rule, and the smaller the grade number, the higher the ownership priority.
[0025] In one implementation, the level numbers for different spaces corresponding to the same target device are unique, and the level numbers for different target devices are not compared with each other. When multiple preset active affiliation conditions are met simultaneously within the same space and correspond to different level numbers, the level number with the highest affiliation priority is taken as the output result for that space.
[0026] In one implementation, the preset active attribution conditions of the space where the device is located are met, including: the presence parameter of the space where the device is located is that there are people, and under the current scene parameters, user preset rules or other control parameters, the space where the device is located has the expected state of the target device, or there is a user expectation for the target device to be turned on, turned off or have its state adjusted.
[0027] In one implementation, the preset active attribution conditions of the non-local space are met, including: the presence parameter of the non-local space is that there are people, and under the current scene parameters, user preset rules or other control parameters, the non-local space has the expected state of the target device, or there is a user expectation for the target device to be turned on, off or have its state adjusted.
[0028] Among them, the parameter that there are people in the corresponding space is a necessary condition for the pre-set active affiliation condition of the corresponding space to be met.
[0029] In one implementation, when there is no level number, and the current affiliation space represented by the device affiliation parameter of the target device is a non-local space, and the affiliation determination parameter of the non-local space is affiliable, the device affiliation parameter of the target device is kept unchanged.
[0030] In one implementation, when there is no level number, and the current belonging space represented by the device affiliation parameter of the target device is a non-local space, and the non-local space affiliation determination parameter corresponding to the current belonging space is unaffiliated, if the person presence parameter of the device's local space is "occupied," then the device affiliation parameter of the target device is updated to the device's local space; if the person presence parameter of the device's local space is "occupied" and there is an affiliable non-local space, then a target non-local space is determined from the affiliable non-local spaces according to a preset selection rule, and the device affiliation parameter of the target device is updated to the target non-local space; if the person presence parameter of the device's local space is "occupied" and all non-local space affiliation determination parameters are "unaffiliated," then the device affiliation parameter of the target device is updated to the device's local space.
[0031] In one implementation, when there is no level number and the current affiliation space represented by the device affiliation parameter of the target device is the space where the device is located, if the person presence parameter of the space where the device is located is "occupied", then the device affiliation parameter of the target device remains the space where the device is located; if the person presence parameter of the space where the device is located is not "occupied" and there is a space that can be affiliated to but not located, then a target non-location space is determined from the space that can be affiliated to but not located according to a preset selection rule, and the device affiliation parameter of the target device is updated to the target non-location space; if there is no space that can be affiliated to but not located, then the device affiliation parameter of the target device remains the space where the device is located.
[0032] In one implementation, the preset selection rules include one or more of the following: physical distance, spatial adjacency, user-preset sorting, system default sorting, priority of most recent affiliation, or random selection.
[0033] In one implementation, when the device affiliation parameters of the target device change, the automated control process corresponding to the target device is triggered or re-triggered. The automated control process generates the expected state of the target device based on the updated current affiliation space, the scene parameters corresponding to the current affiliation space, the human presence parameters of the current affiliation space, user-preset rules, and the current state of the target device.
[0034] In one implementation, when the target device does not have the required state in the updated current home space, no control commands are output for the target device, so that the target device remains in its current state.
[0035] In one embodiment, the target device includes a smart device having a switch control item, a status control item, or both a switch control item and a status control item. The state to be implemented includes one or more of the following: a switch state, a numerical adjustment state, a mode state, a location state, a media state, or other state items that can be executed by the target device.
[0036] The switch state can include on or off; the numerical adjustment state can include brightness, color temperature, temperature, humidity, wind speed, wind direction, volume or other adjustable values; the mode state can include operating mode, working level or playback mode; the position state can include opening ratio, opening position, angle or lifting height; the media state can include playback, pause, media source, playback content or media switching state.
[0037] In one implementation, the target device is in a manual takeover state, which includes: any switch item and / or status item of the target device is in a takeover state formed by user operation.
[0038] This invention also provides a dynamic attribution processing system for cross-space intelligent devices. The system includes a parameter acquisition module, a device location attribution parameter generation module, a non-location attribution parameter generation module, and a device attribution decision module.
[0039] The parameter acquisition module is used to acquire the device location space corresponding to the target device, at least one non-location space, device affiliation parameters representing the current affiliation space of the target device, and parameter information for determining the affiliation of the target device.
[0040] The device location space attribution parameter generation module is used to generate device location space attribution parameters based on preset active attribution conditions of the device location space. These parameters include a level number or attributable status, but do not include unattributable status.
[0041] The non-location space attribution parameter generation module is used to generate the attribution parameters for each non-location space based on the preset active attribution conditions of each non-location space and the manual takeover status of the target device. The non-location space attribution parameters include a level number and whether the space is attributable or not.
[0042] The device affiliation decision module is used to determine the current affiliation space of the target device based on the space affiliation determination parameters of the device's location, the affiliation determination parameters of each non-location space, the presence parameters of the people in the space where the device is located, and the device affiliation parameters of the target device, and to update the device affiliation parameters of the target device based on the determined current affiliation space.
[0043] In one embodiment, the system further includes an automated process triggering module. This module triggers or re-triggers the automated control process corresponding to the target device when the device affiliation parameters of the target device change. The automated control process generates the expected state of the target device based on the updated current affiliation space, the scene parameters corresponding to the current affiliation space, the presence parameters of the current affiliation space, user-preset rules, and the current state of the target device. When the expected state of the target device does not exist under the updated current affiliation space, the automated control process does not output control commands for the target device, keeping the target device in its current state.
[0044] This invention also provides an electronic device. The electronic device includes a processor and a memory, the memory storing computer-executable instructions. When the processor executes the computer-executable instructions, it implements the dynamic attribution processing method for cross-space intelligent devices described in any of the above embodiments.
[0045] This invention also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the dynamic attribution processing method for cross-space intelligent devices described in any of the above embodiments.
[0046] III. Beneficial Effects
[0047] Compared with the prior art, the embodiments of the present invention have at least the following beneficial effects.
[0048] First, by setting the space ownership determination parameter of the device's location to a level number or "attributable," and setting the space ownership determination parameter of the non-location space to a level number, "attributable," or "unattributable," it is possible to distinguish the space's active ownership demand for the target device, its ownership carrying qualification, and its status of not participating in the current ownership decision.
[0049] Second, the level number is used to represent the active affiliation demand and affiliation priority of the corresponding space for the target device. When multiple spaces have active affiliation demands for the same target device, the system can determine the current affiliation space of the target device based on the priority corresponding to the level number. This provides a unified and clear basis for comparison of active affiliation demands between different spaces, avoiding unclear priorities caused by relying solely on fixed space order, triggering order, or whether affiliation is possible.
[0050] Third, by using the grade number as the priority decision result for space-active attribution requests, and using attributability or non-attributability as the attribution carrier judgment result when no grade number exists, the system can prioritize determining the current attribution space of a target device according to the grade number when one exists. When no grade number exists, it then performs attribution maintenance, reselection, or rollback processing based on the target device's current attribution space, the presence parameters of the space where the device is located, and the attributability or non-attributability results of each non-location space. Thus, spaces with clear active attribution requests can participate in attribution decisions first, while spaces that only qualify as attribution carriers will not be at the same processing level as spaces with active attribution requests, while maintaining the continuity and stability of attribution processing when no grade number exists. Attached Figure Description
[0051] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments are briefly described below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without any creative effort.
[0052] Figure 1 This is a schematic diagram of the module structure of the cross-space intelligent device dynamic attribution processing system provided in an embodiment of the present invention;
[0053] Figure 2 This is a schematic diagram of the process for generating parameters for determining the spatial location of a device, provided in an embodiment of the present invention.
[0054] Figure 3 This is a schematic diagram of the process for generating non-local space attribution determination parameters provided in an embodiment of the present invention;
[0055] Figure 4 This is a schematic diagram of the device attribution parameter decision-making process provided in an embodiment of the present invention;
[0056] Figure 5 This is a schematic diagram illustrating the triggering of the automated control process after a change in equipment ownership, provided in an embodiment of the present invention. Detailed Implementation
[0057] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the described embodiments are only some embodiments of the present invention, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0058] In the description of this invention, unless otherwise expressly defined, the terms “comprising,” “including,” or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, system, product, or apparatus that comprises a list of elements may include not only the elements expressly listed, but also other elements not expressly listed, or elements inherent to the process, method, system, product, or apparatus.
[0059] In the description of this invention, the terms "first," "second," etc., are used only for descriptive purposes and should not be construed as indicating or implying relative importance, nor should they be construed as limiting quantity or order.
[0060] The cross-space intelligent device dynamic attribution processing solution provided in this invention can be applied to homes, offices, hotels, apartments, elderly care spaces, commercial spaces, or other spatial environments equipped with IoT intelligent devices. The solution can be executed collaboratively by a local smart home host, IoT gateway, edge computing device, server, cloud system, mobile terminal, or multiple devices. This invention does not limit the specific executing entity, communication protocol, smart home platform, or device brand.
[0061] In this embodiment of the invention, the target device can be an intelligent device capable of operating on one or more spaces. For example, the target device can be a lamp, light strip, air conditioner, fresh air system, curtain, fan, humidifier, dehumidifier, audio equipment, or other intelligent device. The target device can be a switch-type device, a status-type device, or a switch-state-type device.
[0062] The core of this invention lies in generating space affiliation determination parameters for the target device that can function across spaces, and generating space affiliation determination parameters for the device's location and other spaces. By using results such as level numbers, affiliability, and non-affiliability, the invention distinguishes the space's active affiliation demand for the target device, its affiliation carrying qualification, and its status of not participating in the current affiliation decision, thereby dynamically determining the target device's current affiliation space. Terminology Definition
[0063] To facilitate understanding of the embodiments of the present invention, some of the terms involved in the present invention are explained below. The following terminology definitions are used to explain the technical solutions of the present invention and should not be construed as undue limitation on the scope of protection. Target equipment
[0064] A target device refers to an intelligent device that requires dynamic cross-space attribution processing. A target device may be installed, arranged, or pre-installed in a certain space, but its scope of operation, service objects, or control effects may involve one or more other spaces.
[0065] For example, lighting fixtures installed in the living room may have a lighting effect on the dining room or open kitchen; lighting fixtures installed in the hallway may have a lighting effect on the entrances to multiple rooms; air conditioners, fans, or fresh air systems installed in the living room may have an environmental conditioning effect on adjacent spaces. Equipment space
[0066] The space where the equipment is located refers to the space where the target equipment is actually installed, arranged, or pre-defined by the user or system as its primary location.
[0067] The space where the device is located is not the same as the space where the user is located, nor is it necessarily the same as the currently occupied space. The space where the device is located is used to characterize the basic spatial relationship of the target device, and in this invention, it serves as the catch-all space to which the target device belongs.
[0068] In this embodiment of the invention, the space attribution determination parameter for the device location does not output "unattributable". Therefore, when all non-location spaces do not have the active attribution requirement or attribution carrying qualification, the target device can remain in or fall back to the space where the device is located. Non-local space
[0069] Non-location space refers to the space outside the space where the device is located, which has a pre-set service relationship, function relationship, association relationship or attributable relationship with the target device.
[0070] Non-location spaces can be adjacent to, connected to, visible to, or covered by the device's operating range, or spaces that are preset by the user or system as serviceable objects of the target device. A target device can correspond to one non-location space or multiple non-location spaces. Current home space
[0071] The current home space refers to the space used at the current moment to determine the control logic of the target device or to characterize the target device's current service object.
[0072] A change in the current home space does not indicate a change in the physical location of the target device, but rather a change in the space used to determine the control logic of the target device or to characterize the target device's current service objects.
[0073] For example, a light fixture installed in the living room may be assigned to the living room at one time, and to the dining room at another. This change does not mean that the light fixture has moved from the living room to the dining room, but rather that the system currently determines that the light fixture is serving the needs or belonging to the dining room. Equipment Attribution Parameters
[0074] The device attribution parameter is used to characterize the current attribution space of the target device.
[0075] The device attribution parameter can record whether the target device is currently assigned to its current location or to a location other than its current location. When the device attribution parameter changes, the system can trigger or re-trigger the corresponding automated control process for the target device. Equipment location space ownership determination parameters
[0076] The space attribution determination parameter refers to the parameter generated for the space where the device is located and used to participate in the determination of the current space attribution of the target device.
[0077] In this embodiment of the invention, the space attribution determination parameter for the location of the device includes a level number or attributable, but does not include unattributable.
[0078] When the preset active attribution conditions of the space where the device is located are met, the attribution determination parameter of the space where the device is located is the corresponding level number; when the preset active attribution conditions of the space where the device is located are not met, the attribution determination parameter of the space where the device is located is attributable. Non-local spatial attribution determination parameters
[0079] The non-local space attribution determination parameter refers to the parameter generated for each non-local space and used to participate in the determination of the current attribution space of the target device.
[0080] In this embodiment of the invention, the non-local space attribution determination parameters include a level number, attributable or non-attributable.
[0081] When the preset active attribution conditions of the non-local space are met, the attribution determination parameter of the non-local space can be determined as the corresponding level number.
[0082] When the non-local space does not meet the conditions for being determined as a level number, and the target device is in a manual takeover state, the non-local space attribution determination parameter can be determined as attributable.
[0083] When the non-local space does not meet the conditions for being determined as a level number, and the target device is not in a manually controlled state, the non-local space ownership determination parameter can be determined as unowned.
[0084] For ease of description, the non-location space attribution determination parameters generated for each non-location space will be collectively referred to as each non-location space attribution determination parameter. Level Number
[0085] The rank number is used to characterize the active affiliation demand of the corresponding space for the target device, and is used to determine the affiliation priority when there are active affiliation demands in multiple spaces.
[0086] In one implementation, a smaller rank number indicates a higher priority. For example, rank number 1 has a higher priority than rank number 2, and rank number 2 has a higher priority than rank number 3.
[0087] In other implementations, a higher level number can indicate a higher priority, or other comparable priority identifiers can be used. The key is that the system can determine the target device's current home space based on the level number or priority identifier. Attributable
[0088] "Attributable" is used to characterize that the corresponding space has the qualification to be the current attributable space of the target device.
[0089] Being attributable does not necessarily mean that there is an active control requirement for the corresponding space. In other words, when the attribution determination parameter of a space is attributable, it only means that the space can be used as a candidate space or carrier space for the target device's current attribution space, and does not necessarily mean that the system needs to immediately output control commands for the target device based on the space.
[0090] The non-local space attribution determination parameter is the non-local space that can be attributed, hereinafter referred to as the attributable non-local space.
[0091] In this embodiment of the invention, when the target device is in a manual takeover state, non-local spaces that do not meet the level digital output conditions can output "attributable" to serve as passive attribution carriers or candidate objects. Unattributable
[0092] "Unattributable" is used to characterize that the corresponding space does not participate in the current attribution decision of the target device.
[0093] "Unagreeable" is only used for attribution parameters outside the device's current location. The device's current location attribution parameter does not output "unagreeable".
[0094] When a non-location space attribution parameter is unattributable and that non-location space is the target device's current attribution space, the system can combine the device's location space's human presence parameter with other non-location space attribution parameters to perform hold, reselect, or rollback processing. Preset active affiliation conditions
[0095] Preset active attribution conditions refer to preset conditions used to determine whether a space has an active attribution requirement for a target device.
[0096] For the space where the device is located, the preset active attribution conditions can include: the presence parameter of the space where the device is located is that there are people, and under the current scene parameters, user preset rules or other control parameters, the space where the device is located has the state that the target device should achieve, or there is a user expectation that the target device will be turned on, turned off or have its state adjusted.
[0097] For non-local spaces, the preset active attribution conditions can include: the non-local space is occupied, and under the current scene parameters, user preset rules or other control parameters, the non-local space has the expected state of the target device, or there is a user expectation for the target device to be turned on, off or have its state adjusted. Manual takeover status
[0098] Manual takeover status refers to any switch item and / or status item of the target device being in a takeover state caused by user operation.
[0099] The manual takeover status can be determined by user manual control records, the source of equipment status changes, the takeover flag of status items, the source identification of control commands, comparison of status change values, or other methods. This invention does not limit the specific identification mechanism for the manual takeover status, nor does it limit the internal parameter values corresponding to the manual takeover status. The equipment should achieve the following state
[0100] The state that the device should achieve refers to the state that the target device needs to reach, generated by the system based on the scene parameters corresponding to the current home space, the human presence parameters of the current home space, user preset rules, the current state of the target device, or other control parameters.
[0101] The device should be able to achieve states including on / off, brightness, color temperature, color, temperature, humidity, wind speed, wind direction, opening / closing ratio, operating mode, volume, playback status, or other state items that can be executed by the target device.
[0102] When the target device does not have the required state in the updated current home space, the system does not output control commands for the target device, thus keeping the target device in its current state. People in parameters
[0103] The "person" parameter is used to characterize the presence, predicted state, or activity state of people within a certain space.
[0104] In one implementation, the "person" parameter can include "present," "no one present," and "potentially present." In other implementations, the "person" parameter may also include other parameters characterizing the presence, predicted state, or activity state of a person.
[0105] For any given space, the system outputs the corresponding level number only when the preset active attribution conditions for that space are met; wherein, the preset active attribution conditions being met include the presence of people in that space being present.
[0106] In the device attribution parameter decision process, the presence parameter of the space where the device is located is used to determine whether there are people in the space where the device is located. When there is no level number, the system determines whether to maintain the current device attribution parameter, adjust the device attribution parameter to the space where the device is located, or adjust the device attribution parameter to a non-location space that can be attributed according to preset selection rules, based on the presence parameter of the space where the device is located, the device attribution parameter, and the attribution judgment parameters of each non-location space. Method Implementation Examples
[0107] See Figures 2 to 5 This invention provides a method for dynamic attribution processing of smart devices across spatial boundaries. This method can be executed collaboratively by a smart home host, an IoT gateway, an edge computing device, a server, a cloud system, a mobile terminal, or multiple devices.
[0108] In one implementation, the method may include the following steps.
[0109] S101. Obtain the target device and its spatial relationship.
[0110] The system obtains the space where the target device is located and at least one non-location space.
[0111] The space where the device is located refers to the space where the target device is actually installed, arranged, or pre-assigned by the user or system. The space other than the space where the device is located refers to any space outside the space where there is a pre-defined service relationship, functional relationship, association relationship, or attributable relationship with the target device. The current attributable space refers to the space used at the current moment to determine the control logic of the target device or to characterize the target device's current service objects.
[0112] A target device can correspond to one or more non-local spaces. Non-local spaces can be determined based on user presets, spatial adjacency relationships, spatial connectivity relationships, device operating range, device visibility range, or other spatial relationships.
[0113] S102. Obtain parameter information used to determine the ownership of the target device.
[0114] The system acquires parameter information used to determine the ownership of the target device. The parameter information includes the preset active ownership conditions of the space where the device is located, the human presence parameters of the space where the device is located, the human presence parameters of each space other than the device's location, the preset active ownership conditions of each space other than the device's location, the manual takeover status of the target device, and the device ownership parameters of the target device.
[0115] In one implementation, the system can also acquire current scene parameters, current device status, user-preset rules, sensor parameters, time parameters, or other control parameters that can affect the state that the target device should achieve.
[0116] The aforementioned parameter information can be obtained when a preset trigger event occurs. The preset trigger event may include changes in the presence parameter of the person in the space where the device is located, changes in the ownership determination parameter of any space other than the device's location, changes in the presence parameter of the person, changes in scene parameters, changes in user preset rules, changes in the target device's status, changes in the target device's manual takeover status, changes in the device's ownership parameter, or other events related to the ownership determination of the target device.
[0117] S103, Generating parameters for determining the spatial location of the generating device
[0118] The system generates space ownership determination parameters based on the preset active ownership conditions of the space where the device is located.
[0119] Among them, the space ownership determination parameters for the location of the equipment include the level number or the attributable level, but do not include the unattributable level.
[0120] When the preset active attribution conditions of the space where the device is located are met, the system will determine the attribution parameter of the space where the device is located as the corresponding level number.
[0121] When the preset active attribution conditions of the space where the device is located are not met, the system will determine the attribution judgment parameters of the space where the device is located as attributable.
[0122] In one implementation, the preset active attribution conditions of the space where the device is located can include: the presence parameter of the space where the device is located is that there are people, and under the current scene parameters, user preset rules or other control parameters, the space where the device is located has the state that the target device should achieve, or there is a user expectation for the target device to be turned on, turned off or have its state adjusted.
[0123] Since the space attribution parameter for a device does not output "unattributable," the space where the device is located can serve as a fallback space for the target device. When none of the non-location spaces have an active attribution requirement or attribution eligibility, the target device can remain in or fall back to its original space.
[0124] S104. Generate parameters for determining non-local space affiliation.
[0125] The system generates ownership determination parameters for each non-local space based on the preset active ownership conditions of each non-local space and the manual takeover status of the target device.
[0126] Among them, the parameters for determining the affiliation of a space other than its location include the level number and whether it can be affiliated or not.
[0127] For any space other than the one in question, when the preset active attribution conditions for that space are met, the system determines the attribution parameter of that space as the corresponding level number.
[0128] When the non-local space does not meet the conditions for being determined as a level number, and the target device is in a manual takeover state, the system determines the non-local space as attributable based on its attribution parameters.
[0129] When the non-local space does not meet the conditions for being determined as a level number, and the target device is not in a manual takeover state, the system determines the non-local space's ownership determination parameter as unattributable.
[0130] In one implementation, the preset active attribution conditions for a non-local space are met, which may include: the presence parameter of the non-local space is that there are people, and under the current scene parameters, user preset rules or other control parameters, the non-local space has the expected state of the target device, or there is a user expectation for the target device to be turned on, off or have its state adjusted.
[0131] Through the above processing, the non-local space only outputs the level number when there is an active attribution requirement; when the target device is in a manual takeover state and the level number output condition is not met, it can output "attributable" to serve as a passive attribution carrier or candidate object; when neither the level number output condition is met nor the manual takeover state exists, it outputs "unattributable".
[0132] S105. Determine if a grade number exists.
[0133] The system obtains the space ownership determination parameters of the device's location and the space ownership determination parameters of each non-location space, and determines whether there are level numbers in the above parameters.
[0134] The rank number is used to characterize the active affiliation request of the corresponding space for the target device and is used to determine the affiliation priority.
[0135] If one or more level numbers exist, execute S106.
[0136] If no level number exists, execute S107.
[0137] S106. When a level number exists, the current assigned space is determined according to the priority corresponding to the level number.
[0138] When a level number exists in the space attribution parameter of the device or any non-space attribution parameter, the system determines the current space attribution of the target device based on the priority corresponding to the level number.
[0139] In one implementation, a smaller level number indicates a higher priority. The system determines the highest priority level number from all level numbers and assigns the target device's current home space to the space corresponding to that level number.
[0140] In other implementations, a higher level number can indicate a higher priority, or other comparable priority identifiers can be used. The key is that the system can determine the target device's current home space based on the level number or priority identifier.
[0141] When a level number is present, it indicates that at least one space has an active homeownership request for the target device. In this case, the system prioritizes the level number when making homeownership decisions, giving priority to active homeownership requests over homeownership eligibility.
[0142] S107. When no level number exists, perform attribution retention, reselection, or rollback processing based on the personnel presence parameters of the device's location space, the device's attribution parameters, and the attributable / unattributable results.
[0143] When neither the space attribution parameter of the device nor any of the non-space attribution parameters contain a level number, the system obtains the presence parameter of the space where the device is located and determines whether the presence parameter of the space where the device is located indicates that someone is present.
[0144] When the "person present" parameter of the device's location is "occupied", if the current location space represented by the device's location parameter is a non-location space, and the non-location space location determination parameter corresponding to the current location space is "unattributable", then the system will update the device's location parameter to the device's location space; otherwise, the system will maintain the current device location parameter.
[0145] When the "person present" parameter of the space where the device is located is not "person present", and the current belonging space represented by the device belonging parameter of the target device is a non-local space, if the non-local space belonging determination parameter corresponding to the current belonging space is "attributable", then the system maintains the current device belonging parameter.
[0146] When the "person present" parameter of the space where the device is located is not "person present", and the current belonging space represented by the device's device affiliation parameter is a non-local space, and the non-local space affiliation determination parameter corresponding to the current belonging space is "unaffiliable", if there is an affiliable non-local space, the system determines the target non-local space from the affiliable non-local spaces according to a preset selection rule, and updates the device's device affiliation parameter to the target non-local space; if all non-local space affiliation determination parameters are "unaffiliable", the system updates the target device's device affiliation parameter to the device's local space.
[0147] When the "person present" parameter of the space where the device is located is not "person present", and the current home space represented by the device home parameter of the target device is the space where the device is located, if there is a homeable non-home space, the system determines the target non-home space from the homeable non-home spaces according to the preset selection rules, and updates the device home parameter of the target device to the target non-home space; if there is no homeable non-home space, the system maintains the current device home parameter.
[0148] The preset selection rules may include one or more of the following: physical distance, spatial adjacency, user-preset sorting, system default sorting, priority based on most recent affiliation, priority based on historical usage frequency, or random selection.
[0149] S108. Update the device ownership parameters of the target device.
[0150] The system updates the device home parameters of the target device based on the current home space determined in S106 or S107.
[0151] The device attribution parameter is used to characterize the final determined current attribution space of the target device. The device attribution parameter can record whether the target device is currently attributed to the space where it is located, or it can record whether the target device is currently attributed to a space other than its current location.
[0152] In one implementation, if the newly determined current home space is different from the original current home space of the target device, the system updates the device home space parameters of the target device. If the newly determined current home space is the same as the original current home space of the target device, the system can keep the device home space parameters unchanged.
[0153] S109. Automatic control process triggered or retried after equipment ownership parameters change.
[0154] When the device ownership parameters of the target device change, the system triggers or re-triggers the corresponding automated control process of the target device.
[0155] The automated control process generates the desired state of the target device based on the updated current home space, the scene parameters corresponding to the current home space, the human presence parameters of the current home space, user-preset rules, and the current state of the target device.
[0156] When the target device has a required state in the updated current home space, the system generates control commands based on the required state and outputs them to the target device.
[0157] When the target device does not have the required state in the updated current home space, the system does not output control commands for the target device, thus keeping the target device in its current state.
[0158] Through the above processing, changes in the device ownership parameters of the target device can trigger or re-trigger the automated control process, but do not necessarily lead to the output of control commands. Whether a control command is output depends on whether the target device's required state exists in the updated current ownership space. critical branch process
[0159] To further illustrate the cross-space intelligent device dynamic affiliation processing method in the embodiments of the present invention, the following is combined with... Figures 2 to 5 The document further explains the process for generating parameters for determining the spatial affiliation of equipment, the process for generating parameters for determining the spatial affiliation of equipment, the process for making decisions on equipment affiliation parameters, and the process for automated control after changes in equipment affiliation. Process for generating parameters for determining the spatial ownership of a device
[0160] See Figure 2 In one implementation, the process for generating space ownership determination parameters for a device may include the following steps.
[0161] The system responds to changes in parameters related to the space where the device is located and obtains the preset active attribution conditions for the space where the device is located. The changes in parameters related to the space where the device is located may include changes in human presence parameters, changes in scene parameters, changes in user-preset rules, changes in the target device's state, or other parameter changes that can affect the state that the target device should achieve.
[0162] The system determines whether the preset active ownership conditions of the space where the device is located are met.
[0163] When the preset active attribution conditions of the space where the device is located are met, the system determines the attribution parameter of the space where the device is located to the corresponding level number. The preset active attribution conditions may include the presence of people in the space where the device is located being present, and the space where the device is located having the desired state of the target device under the current scene parameters, user preset rules, or other control parameters, or the user having an expectation to turn the target device on, off, or adjust its state.
[0164] When the preset active attribution conditions of the space where the device is located are not met, the system will determine the attribution judgment parameters of the space where the device is located as attributable.
[0165] The space attribution determination parameter for the device's location does not output "unattributable". Therefore, the space where the device is located always possesses the qualification to be the target device's current home space. When all non-location spaces lack the need for active attribution or the qualification to be attributed, the target device can remain in or revert to its current location space.
[0166] In one implementation, the priority level number of the space where the device is located can be defaulted to the highest priority level. For example, when a smaller priority number indicates a higher priority, the priority level number of the space where the device is located can be defaulted to 1. This default value can also be configured by the user, or determined by the system based on the target device type, device scope, spatial structure, or user-preset rules. Parameter generation process for determining non-local spatial affiliation
[0167] See Figure 3 In one implementation, the process for generating non-local space attribution determination parameters may include the following steps.
[0168] The system responds to any change in parameters related to a space other than its current location by acquiring the presence parameters of people in that space, the preset active attribution conditions for that space, and the manual takeover status of the target device. Changes in parameters related to a space other than the current location may include changes in the presence parameters of people in that space, changes in scene parameters, changes in user-preset rules, changes in preset active attribution conditions, changes in the manual takeover status of the target device, or other parameter changes that affect the state the target device should achieve.
[0169] The system determines whether the preset active affiliation conditions for the non-local space are met.
[0170] When the preset active attribution conditions of the non-local space are met, the system determines the attribution judgment parameter of the non-local space as the corresponding level number. At this time, the non-local space is considered to have an active attribution requirement for the target device and can participate in the level number priority determination.
[0171] When the non-local space does not meet the conditions for being determined as a level number, and the target device is in a manual takeover state, the system determines the non-local space's attribution judgment parameter as attributable. In this case, "attributable" means that the non-local space has the qualification to be the current attribution space of the target device, but does not necessarily mean that the non-local space has an active control requirement.
[0172] When the non-local space does not meet the conditions for being determined as a level number, and the target device is not in a manually taken-over state, the system determines the non-local space's ownership determination parameter as unattributable. In this case, the non-local space does not participate in the target device's current ownership decision.
[0173] Through the above process, the non-local space attribution determination parameters can vary between level numbers, attributable, and unattributable. Level numbers express active attribution needs, attributable express attribution eligibility, and unattributable release the non-local space's eligibility to participate in attribution to the target device. Three-equipment attribution parameter decision process
[0174] See Figure 4 In one implementation, the device attribution parameter decision process may include the following steps.
[0175] The system obtains the space ownership determination parameters of the device, the device ownership parameters of the target device, the human presence parameters of the space where the device is located, and all non-space ownership determination parameters corresponding to the target device.
[0176] The system determines whether there is a level number among the above parameters.
[0177] When a level number exists in the space attribution parameter of the device or any non-space attribution parameter, the system determines the current space attribution of the target device based on the priority corresponding to the level number.
[0178] In one implementation, a smaller level number indicates a higher priority. The system determines the highest priority level number from all level numbers and assigns the target device's current home space to the space corresponding to that level number. In other implementations, a larger level number may indicate a higher priority, or other comparable priority identifiers may be used.
[0179] When no level number exists, the system performs attribution retention, reselection, or rollback based on the attribution parameters of the space where the device is located, the device attribution parameters of the target device, and the attribution determination parameters of each space other than the location.
[0180] Specifically, when the "person present" parameter of the space where the device is located is "occupied", if the current space represented by the device affiliation parameter of the target device is a non-located space, and the non-located space affiliation determination parameter corresponding to the current space is "unaffiliable", then the system will update the device affiliation parameter of the target device to the space where the device is located; in other cases, the system will maintain the current device affiliation parameter.
[0181] When the "person present" parameter of the space where the device is located is not "person present", and the current belonging space represented by the device belonging parameter of the target device is a non-local space, if the non-local space belonging determination parameter corresponding to the current belonging space is "attributable", then the system maintains the current device belonging parameter.
[0182] When the "person present" parameter of the space where the device is located is not "person present", and the current belonging space represented by the device's device affiliation parameter is a non-local space, and the non-local space affiliation determination parameter corresponding to the current belonging space is "unaffiliable", if there is an affiliable non-local space, the system determines the target non-local space from the affiliable non-local spaces according to the preset selection rules, and updates the device's device affiliation parameter to the target non-local space; if all non-local space affiliation determination parameters are "unaffiliable", the system updates the target device's device affiliation parameter to the device's local space.
[0183] When the "person present" parameter of the space where the device is located is not "person present", and the current home space represented by the device home parameter of the target device is the space where the device is located, if there is a homeable non-home space, the system determines the target non-home space from the homeable non-home spaces according to the preset selection rules, and updates the device home parameter of the target device to the target non-home space; if there is no homeable non-home space, the system maintains the current device home parameter.
[0184] The preset selection rules may include one or more of the following: physical distance, spatial adjacency, user-preset sorting, system default sorting, priority based on most recent affiliation, priority based on historical usage frequency, or random selection. Using preset selection rules can avoid uncertain selection results when multiple non-local spaces are simultaneously affixable.
[0185] Through the above-mentioned device affiliation parameter decision process, the system can prioritize responding to active affiliation requests when such requests exist; when no active affiliation requests exist, the system can maintain, migrate, or roll back the current affiliation space of the target device by combining the human presence parameters and affiliation eligibility of the space where the device is located. Automation control branches after four-way change
[0186] See Figure 5 In one implementation, when the device ownership parameters of the target device change, the system triggers or re-triggers the automated control process corresponding to the target device.
[0187] The automated control process obtains the updated current home space and generates the target device's expected state based on the scene parameters corresponding to the current home space, the human presence parameters of the current home space, user preset rules, and the current state of the target device.
[0188] When the updated current home space contains the expected state of the target device, the system generates control commands based on the expected state and outputs them to the target device.
[0189] When the updated current home space does not contain the required state of the target device, the system does not output control commands for the target device, thus keeping the target device in its current state.
[0190] This branch is used to establish a conditional connection between changes in device affiliation and device control output. Changes in device affiliation parameters can trigger or re-trigger automated control processes, but do not necessarily lead to the output of control commands; whether a control command is output depends on whether the target device's required state exists in the updated current affiliation space. System Implementation Examples
[0191] See Figure 1 This invention also provides a dynamic attribution processing system for cross-space intelligent devices. This system can be used to execute the dynamic attribution processing method for cross-space intelligent devices described in any of the foregoing embodiments.
[0192] In one embodiment, the system includes a parameter acquisition module, a device location space attribution parameter generation module, a non-location space attribution parameter generation module, a device attribution decision module, and an automated process triggering module. Parameter acquisition module
[0193] The parameter acquisition module is used to acquire the space where the target device is located, at least one non-location space, and parameter information for determining the ownership of the target device. The parameter information includes the preset active ownership conditions of the space where the device is located, the human presence parameters of the space where the device is located, the human presence parameters of each non-location space, the preset active ownership conditions of each non-location space, the manual takeover status of the target device, and the device ownership parameters representing the current ownership space of the target device.
[0194] In one implementation, the parameter acquisition module can also acquire scene parameters corresponding to the current home space, human presence parameters of the current home space, user preset rules, current state of the target device, and other control parameters used to generate the state that the target device should achieve.
[0195] The parameter acquisition module can acquire parameters in response to changes in parameters of people in the space where the device is located, changes in attribution determination parameters in any space other than the device's location, changes in parameters related to the space where the device is located, changes in parameters related to spaces other than the device's location, changes in preset active attribution conditions, changes in the target device's manual takeover status, changes in device attribution parameters, or other preset trigger events. Module for Generating Parameters for Determining the Spatial Occupation of Two Devices
[0196] The device location space attribution parameter generation module is used to generate device location space attribution parameters based on the preset active attribution conditions of the device location space.
[0197] The space ownership determination parameters for the location of the device include a level number or "attributable," but do not include "unattributable."
[0198] When the preset active attribution conditions of the space where the device is located are met, the device space attribution determination parameter generation module will determine the device space attribution determination parameter as the corresponding level number.
[0199] When the preset active attribution conditions of the space where the device is located are not met, the device space attribution determination parameter generation module will determine the device space attribution determination parameter as attributable.
[0200] Therefore, the space where the device is located is not determined to be unattributable, making the space where the device is located a fallback space for the target device. Module for Generating Parameters for Determining the Spatial Attribution of Three Non-Locations
[0201] The non-local space attribution parameter generation module is used to generate attribution parameters for each non-local space based on the preset active attribution conditions of each non-local space and the manual takeover status of the target device.
[0202] The non-local space attribution determination parameters include a level number, attributable or unattributable status.
[0203] When the preset active attribution conditions for a space other than its current location are met, the non-current location attribution determination parameter generation module determines the non-current location attribution determination parameter as the corresponding level number.
[0204] When the non-local space does not meet the conditions for being determined as a level number, and the target device is in a manual takeover state, the non-local space attribution determination parameter generation module determines the non-local space attribution determination parameter as attributable.
[0205] When the non-local space does not meet the conditions for being determined as a level number, and the target device is not in a manual takeover state, the non-local space attribution parameter generation module determines the non-local space attribution parameter as unattributable.
[0206] Through the non-local space attribution determination parameter generation module, the non-local space can output a level number, attributable or unattributable, depending on whether there is an active attribution requirement or whether there is a manual takeover status. Four-device ownership decision module
[0207] The device affiliation decision module is used to determine the current affiliation space of the target device based on the device's location space affiliation judgment parameters, the affiliation judgment parameters of each non-location space, the human presence parameters of the device's location space, and the device affiliation parameters of the target device, and to update the target device's device affiliation parameters based on the determined current affiliation space.
[0208] When a level number exists in the space attribution determination parameter of the device's location or any non-location attribution determination parameter, the device attribution decision module determines the current space attribution of the target device based on the priority corresponding to the level number.
[0209] When no level number exists, the device affiliation decision module determines the current affiliation space of the target device based on the human presence parameters of the space where the device is located, the device affiliation parameters of the target device, and the affiliation results of each non-space affiliation judgment parameter.
[0210] In one implementation, when the "person present" parameter of the space where the device is located is "occupied", if the current belonging space represented by the device belonging parameter of the target device is a non-local space, and the non-local space belonging determination parameter corresponding to the current belonging space is "unattributable", then the device belonging decision module updates the device belonging parameter of the target device to the space where the device is located; in other cases, the device belonging decision module maintains the current device belonging parameter.
[0211] In one implementation, when the presence parameter of the space where the device is located is not "occupied" and the current belonging space represented by the device belonging parameter of the target device is a non-location space, if the non-location space belonging determination parameter corresponding to the current belonging space is "attributable", the device belonging decision module maintains the current device belonging parameter; if the non-location space belonging determination parameter corresponding to the current belonging space is "unattributable" and there is an attributable non-location space, the device belonging decision module determines the target non-location space from the attributable non-location spaces according to a preset selection rule; if all non-location space belonging determination parameters are "unattributable", the device belonging decision module updates the device belonging parameter of the target device to the device's location space.
[0212] In one implementation, when the presence parameter of the space where the device is located is not "occupied", and the current home space represented by the device home parameter of the target device is the space where the device is located, if there is a homeable non-home space, the device home decision module determines the target non-home space from the homeable non-home spaces according to a preset selection rule; if there is no homeable non-home space, the device home decision module maintains the current device home parameter.
[0213] The preset selection rules may include one or more of the following: physical distance, spatial adjacency, user-preset sorting, system default sorting, priority based on most recent affiliation, priority based on historical usage frequency, or random selection. Five automated process triggering modules
[0214] The automated process triggering module is used to trigger or re-trigger the automated control process corresponding to the target device when the device ownership parameters of the target device change.
[0215] The automated control process generates the desired state of the target device based on the updated current home space, the scene parameters corresponding to the current home space, the human presence parameters of the current home space, user-preset rules, and the current state of the target device.
[0216] When the target device has a desired state in the updated current home space, the automated process triggering module can cause the system to output control commands corresponding to the desired state.
[0217] When the target device does not have the required state in the updated current home space, the automated process triggering module prevents the system from outputting control commands for the target device, thus keeping the target device in its current state.
[0218] Through the automated process triggering module, changes in equipment ownership parameters can be linked with the automated control process, but this linkage does not necessarily lead to the output of control commands. Six system deployment methods
[0219] In some implementations, the parameter acquisition module, the device location space attribution parameter generation module, the non-location space attribution parameter generation module, the device attribution decision module, and the automated process triggering module can be located in the same control device, or they can be distributed in multiple control devices, smart home hosts, IoT gateways, servers, local controllers, edge computing devices, or cloud control systems.
[0220] The above modules can be implemented through software, hardware, or a combination of both. This invention does not limit the specific deployment location, communication method, data storage method, or executing entity of the modules.
[0221] In some implementations, modules can exchange parameters and update their status through local communication, LAN communication, cloud communication, message queues, event buses, database read / write, API calls, or other data interaction methods. Electronic device examples
[0222] This invention also provides an electronic device.
[0223] The electronic device may include a processor and a memory. The memory stores computer-executable instructions, which, when executed by the processor, cause the processor to implement the dynamic attribution processing method for cross-space intelligent devices as described in any of the foregoing embodiments.
[0224] The processor may be a central processing unit, microprocessor, digital signal processor, programmable logic device, application-specific integrated circuit, or other processing unit capable of executing computer-executable instructions.
[0225] The memory may include volatile memory, non-volatile memory, magnetic storage medium, optical storage medium, flash memory, solid-state storage medium, or other data storage medium capable of storing computer-executable instructions.
[0226] The electronic device may be a smart home host, an IoT gateway, an edge computing device, a local controller, a server, a cloud control device, a mobile terminal, or other devices capable of performing the steps of the method of the present invention.
[0227] In one implementation, when the processor executes the computer-executable instructions, it may perform the following steps:
[0228] Obtain the space where the target device is located and at least one non-location space;
[0229] Acquire the preset active attribution conditions of the space where the device is located, the human presence parameters of the space where the device is located, the human presence parameters of each space other than the space where the device is located, the preset active attribution conditions of each space other than the space where the device is located, the manual takeover status of the target device, and the device attribution parameters of the target device.
[0230] Generate parameters for determining the spatial ownership of the generated device;
[0231] Generate parameters for determining the affiliation of each non-local space;
[0232] The current home space of the target device is determined based on the space ownership determination parameters of the device's location, the space ownership determination parameters of each non-location space, the human presence parameters of the space where the device is located, and the device ownership parameters.
[0233] Update the device affiliation parameters of the target device based on the determined current affiliation space.
[0234] In one implementation, when the device attribution parameter changes, the processor can also trigger or re-trigger the automated control process corresponding to the target device, and if the target device does not have the required state in the updated current attribution space, it will not output control commands for the target device, so that the target device remains in its current state. Computer-readable storage medium embodiments
[0235] This invention also provides a computer-readable storage medium.
[0236] The computer-readable storage medium stores a computer program or computer-executable instructions. When the computer program or computer-executable instructions are executed by a processor, the dynamic attribution processing method for cross-space intelligent devices described in any of the foregoing embodiments is implemented.
[0237] The computer-readable storage medium may include, but is not limited to, read-only memory, random access memory, disk, optical disk, flash memory, solid-state memory, mobile storage medium, or other non-transitory storage medium capable of storing computer programs. Specific Implementation Example 1: Hierarchical Number Adjudication Based on Active Attribution Demand
[0238] This embodiment illustrates how the system determines the current home space of a target device through a level number when multiple spaces may have an active home requirement for the same target device.
[0239] In this embodiment, the target device is a light fixture installed in the living room, which provides lighting services to the living room, dining room, and kitchen. The living room is the space where the device is located, while the dining room and kitchen are not. The system pre-configures the service relationships between the space where the device is located and the non-located spaces, and respectively configures preset active attribution conditions for the living room, dining room, and kitchen relative to the light fixture.
[0240] In one implementation, the system sets the level number for the living room to 1, the dining room to 2, and the kitchen to 3. The lower the level number, the higher the priority. The level numbers mentioned above are merely examples; in other implementations, they can be determined based on user settings, spatial distance, spatial adjacency, space type, or the range of functioning devices.
[0241] When the "occupants" parameter in the living room indicates that someone is present, and the living room meets the required lighting conditions under the current scene parameters, user-preset rules, or other control parameters, or when there is an expectation from the user to turn the lighting on, off, or adjust its status, the system determines that the preset active attribution condition for the living room is met and sets the device's space attribution determination parameter to level 1. For example, the living room being in a meeting scene, a movie-watching scene, or other scene requiring the lighting fixture can all be considered as the living room meeting the required lighting conditions for the fixture.
[0242] When the preset active attribution conditions for the restaurant are met, the system will determine the non-location space attribution parameter of the restaurant as level number 2.
[0243] When the preset active attribution conditions for the kitchen are met, the system will determine the non-location space attribution parameter of the kitchen as level number 3.
[0244] The system acquires the space attribution parameters of the equipment, the non-space attribution parameters of the restaurant, and the non-space attribution parameters of the kitchen, and determines whether there are any level numbers among them.
[0245] When only the living room outputs a level number of 1, the system updates the device affiliation parameter of the lamp to the living room.
[0246] When the living room does not output a level number, but the dining room outputs a level number of 2, the system determines the current assigned space of the light fixture as the dining room.
[0247] When the living room and dining room do not output a level number, but the kitchen outputs a level number of 3, the system updates the device affiliation parameter of the light fixture to the kitchen.
[0248] When two or more spaces in the living room, dining room, and kitchen simultaneously output level numbers, the system determines the current assigned space of the light fixture based on the priority corresponding to each output level number. For example, if the living room outputs level number 1, the dining room outputs level number 2, and the kitchen does not output a level number, the system updates the device assignment parameter of the light fixture to the living room; if the dining room outputs level number 2, the kitchen outputs level number 3, and the living room does not output a level number, the system updates the device assignment parameter of the light fixture to the dining room.
[0249] Therefore, when multiple spaces may have active affiliation requests for the same target device, the system can form a definite affiliation decision result through the level number, avoiding repeated changes in device affiliation due to relying solely on the presence of people or simple affiliation results.
[0250] The target device in this embodiment is not limited to lighting fixtures, but can also be an air conditioner, a fresh air system, curtains, fans, light strips, or other devices capable of serving multiple spaces simultaneously. The living room, dining room, and kitchen in this embodiment are for illustrative purposes only; in actual applications, they can be replaced with a bedroom, study, corridor, entryway, open kitchen, or other physical space. Specific Implementation Example 2: Passive Attributable Bearing under Manual Takeover Status
[0251] This embodiment illustrates how, when a target device is in a manually taken-over state, a space other than its current location can output a space that can be assigned to it without actively requesting attribution, and serve as the carrier of the target device's current attribution space.
[0252] In this embodiment, the target device is a light fixture installed in the living room. The space where the device is located is the living room, and other spaces include the dining room and kitchen. The light fixture can provide illumination to the living room, dining room, and kitchen. Initially, the device attribute parameter of the light fixture is the living room, and it operates according to the scene parameters corresponding to the living room or user-preset rules.
[0253] After a user manually adjusts the brightness, color temperature, on / off status, or other status items of the light fixture in the living room, the system recognizes that the light fixture is in a manually controlled state. This manually controlled state can be determined by the system based on user manual operation, the source of the device status change, the control status marker, or other manual identification mechanisms. This embodiment does not limit the specific internal parameter values of the manually controlled state.
[0254] Subsequently, if the preset active attribution conditions for the living room are not met, the system will determine the attribution parameters of the space where the device is located as attributable. If neither the dining room nor the kitchen meets the conditions for determining the level number, and the light fixture is still in a manually controlled state, the system will determine the attribution parameters of the non-located spaces of the dining room and kitchen as attributable, respectively.
[0255] In the above scenario, the attribution parameter for the non-local space of the restaurant and kitchen being "attributable" does not indicate that the restaurant or kitchen has an active control requirement for the lighting fixtures. Rather, it indicates that the restaurant or kitchen can serve as the host or candidate host of the lighting fixtures' current attribution space. This attributable status ensures that even when the target device is in a manually controlled state, the non-local space can still serve as the host or candidate host of the target device's current attribution space. Whether a control command is output after the target device's attribution parameter changes depends on whether the target device's required state exists in the updated current attribution space.
[0256] For example, when the space where the device is located is not occupied (parameter indicates occupancy), the device affiliation parameter of the light fixture is "living room," and there is no level number, while the affiliation parameters of the dining room and kitchen are both "attributable," the system can determine a target non-location space from the dining room and kitchen according to preset selection rules, and update the device affiliation parameter of the light fixture to that target non-location space. The preset selection rules can be one or more of the following: closest physical distance, spatial adjacency, user-preset sorting, system default sorting, priority of most recent affiliation, or random selection.
[0257] After the device affiliation parameters of the luminaire are updated to indicate that the target is not in the designated space, the system can trigger or re-trigger the automated control process corresponding to the luminaire. The automated control process reads the scene parameters corresponding to the updated current affiliation space, the presence parameters of the current affiliation space, the user-preset rules, and the current state of the luminaire, and determines whether the required state of the luminaire exists in the updated current affiliation space.
[0258] When the required state for the lamp does not exist in the updated current home space, the system does not output control commands for the lamp, keeping the lamp in its current state as manually adjusted by the user. Therefore, even if the device's home parameters change, the device state will not change because the new current home space lacks a corresponding control target.
[0259] When the required state of the luminaire exists in the updated current home space, the system can generate corresponding control commands based on the required state. This situation indicates that the current home space has a control target for the target device, and does not belong to the situation of passive support only.
[0260] Through this embodiment, the system can distinguish between the active attribution request and the attribution eligibility of a space for a target device. The level number is used for active attribution decision-making, while "attributable" is used for attribution eligibility or as a candidate, and does not automatically trigger device control. When the target device is in a manual takeover state, even if the space outside the target device has not formed an active attribution request, it can still output "attributable," ensuring that the target device maintains the expected state formed by the user's manual takeover during attribution changes.
[0261] The target device in this embodiment is not limited to lighting fixtures, but can also be an air conditioner, fresh air system, curtains, fans, light strips, or other intelligent devices that can serve multiple spaces. The manual takeover state can correspond to any switch item and / or status item of the target device. Specific Implementation Example 3: Unattributable Release and Attribution Rollback
[0262] This embodiment illustrates how the system releases the affiliation relationship of the non-location space to the target device when the non-location space affiliation determination parameter becomes unaffiliated, and affixes the target device to other affiliable non-location spaces or the space where the device is located.
[0263] In this embodiment, the target device is a light fixture installed in the living room. The space where the device is located is the living room, and other spaces include the dining room and kitchen. The light fixture can provide illumination to the living room, dining room, and kitchen.
[0264] At a certain moment, the device affiliation parameter of the lighting fixture is "restaurant". At this time, the non-location space affiliation determination parameter of the restaurant can be a level number or an affiliation parameter.
[0265] When the parameters, scene parameters, user preset rules or other control parameters of the restaurant change, the system regenerates the non-local space ownership determination parameters of the restaurant.
[0266] If the preset active attribution conditions for the restaurant are not met, and the lighting fixtures are not in a manually controlled state, the system will determine the non-attribution parameters of the restaurant as unattributable.
[0267] When the device affiliation parameter of the lamp is a restaurant, and the non-location space affiliation determination parameter of the restaurant changes from a level number or affiliable to non-affiliable, the system will no longer keep the restaurant as the current affiliation space of the lamp.
[0268] In this case, the system further obtains the human presence parameters of the space where the device is located, and determines new device affiliation parameters based on the human presence parameters of the space where the device is located and other non-space affiliation determination parameters.
[0269] If the "People are here" parameter for the living room where the device is located is set to "People are here", the system will update the device affiliation parameter of the light fixture to "Living Room".
[0270] If the "person present" parameter for the living room where the device is located is not "occupied," and the "attribution" parameter for the kitchen (not the location of the device) is "attributable," then the system can update the device attribution parameter of the light fixture to the kitchen according to preset selection rules. The preset selection rules may include one or more of the following: physical distance, spatial adjacency, user-preset sorting, system default sorting, priority of the most recent attribution, or random selection.
[0271] If the "people present" parameter for the living room where the device is located is not "present", and the "non-location" parameters for the dining room and kitchen are both "unattributable", and there are no other attributable non-location spaces, then the system will update the device attribution parameter of the light fixture to the space where the device is located, i.e., the living room.
[0272] The space attribution parameter for a device does not output "unattributable". Therefore, when no other space is qualified to be attributed, the space where the device is located can serve as a fallback space for the target device.
[0273] After the device affiliation parameters of the luminaire are updated, the system can trigger or re-trigger the corresponding automated control process for the luminaire. This automated control process generates the desired state of the luminaire based on the updated scene parameters corresponding to the current affiliation space, the presence parameters of the current affiliation space, user-preset rules, and the current state of the luminaire.
[0274] If the required state for the luminaire exists in the updated current home space, the system generates control commands based on that required state. If the required state for the luminaire does not exist in the updated current home space, the system does not output control commands, and the luminaire remains in its current state.
[0275] In this embodiment, when a non-location space no longer has an active need for attribution, nor does it possess the attribution qualification formed by manual takeover, the system can release the attribution relationship between the non-location space and the target device. Furthermore, by combining the presence parameters of the device's location space, the system can further determine the device's location space or other attributable non-location spaces as the new current attribution space. This avoids the target device from remaining in an unsuitable non-location space for an extended period. In specific embodiment four, no control command is output when there are no devices in the current home space that should be in a state of operation.
[0276] This embodiment illustrates how the system determines whether to output a control command based on the updated current home space of the target device after the current home space changes.
[0277] In this embodiment, the target device is a light fixture installed in the living room. The space where the device is located is the living room, and other spaces include the dining room and kitchen. The light fixture can provide illumination to the living room, dining room, and kitchen.
[0278] At a certain point, the user manually adjusts the brightness of the light fixture, putting it into manual control mode. Subsequently, the system redetermines the current location of the light fixture based on the space location determination parameters of the device, the non-location space determination parameters of the restaurant, and the non-location space determination parameters of the kitchen.
[0279] For example, if the occupant is not in the living room (where the light fixture is located), and the occupant is in the dining room (where the light fixture is not located), the system can update the light fixture's occupant parameter from living room to dining room. At this time, the light fixture's occupant parameter changes, and the system triggers or re-triggers the corresponding automated control process for that light fixture.
[0280] The automated control process obtains the updated current home space, i.e., the restaurant, and reads the scene parameters, human parameters, user-preset rules, and the current status of the lighting fixtures corresponding to the restaurant.
[0281] The system determines whether the restaurant has the required state for the lighting fixtures under the current scene parameters, human parameters, or user-preset rules.
[0282] If the restaurant has a desired state for the lighting fixtures, such as the current scene requiring the lighting fixtures to be turned on to a preset brightness or to be adjusted to a preset color temperature, the system can generate control commands based on the desired state and output them to the lighting fixtures.
[0283] If the restaurant does not have the required state for the lighting fixture, the system will not output control commands for the lighting fixture, and the lighting fixture will remain in its current state.
[0284] Therefore, a change in the device's attribution parameters only indicates a change in the target device's current service object space; it does not necessarily mean the system must immediately change the target device's state. Whether to output control commands depends on whether the target device's required state exists in the updated current attribution space.
[0285] In another implementation, the target device can be an air conditioner, a fresh air system, curtains, a fan, or other device that can serve multiple spaces. When the current assigned space of the target device changes, if the new current assigned space does not have the target device's on / off state, temperature, fan speed, opening / closing ratio, operating mode, or other required states, the system will not output control commands for the target device, thus keeping the target device in its current state.
[0286] In this embodiment, the "no output of control commands" applies to switch-type devices, status-type devices, and switch-state-type devices. For switch-type devices, if there is no open or close target in the current home space, no open or close command is output. For status-type devices, if there is no status adjustment target in the current home space, no status adjustment command is output. For switch-state-type devices, if there is no switch target or status adjustment target in the current home space, no corresponding control command is output.
[0287] Through this embodiment, the system can separate the processing of device ownership determination and device status control, avoiding unnecessary status changes of the target device due to changes in the current ownership space, thereby reducing the erroneous output of control commands. Other implementation methods
[0288] In the above embodiments, taking a lighting fixture installed in the living room serving the living room, dining room, and kitchen as an example, the dynamic attribution processing method for cross-space intelligent devices of the present invention has been described. However, the present invention is not limited to the specific space, device, or parameter configuration methods described above.
[0289] In other embodiments, the target device may be an air conditioner, a fresh air system, curtains, a fan, a light strip, a humidifier, a dehumidifier, an audio system, or other intelligent devices capable of affecting one or more spaces. The target device may be a switch-type device, a status-type device, or a switch-state-type device.
[0290] In other embodiments, the space where the device is located can be a bedroom, study, corridor, entrance hall, living room, dining room, kitchen, bathroom, balcony, or other physical space. A non-location space can be a space adjacent to, connected to, visible to, covered by the device's operating range, or a space preset by the user as a service target. There can be one or more non-location spaces.
[0291] In other implementations, the level numbers can be manually configured by the user or automatically generated by the system. The system can determine the level number corresponding to each space based on spatial distance, spatial adjacency, spatial connectivity, space type, device operating range, user's historical usage habits, or system default rules.
[0292] In one implementation, a smaller level number indicates a higher priority. The level number of the space where the device is located can be set to 1 by default, and other spaces can be set to 2, 3, 4, etc., according to their distance or spatial relationship from the space where the device is located. In other implementations, a larger level number can indicate a higher priority, or other comparable priority identifiers can be used, as long as the current space to which the target device belongs can be determined based on the priority identifier.
[0293] In other implementations, the preset selection rules may include one or more of the following: closest physical distance, spatial adjacency priority, user-preset sorting, system default sorting, most recent affiliation priority, historical usage frequency priority, or random selection. The preset selection rules can be configured by the user or automatically determined by the system based on spatial structure, device type, or operating status.
[0294] In other implementations, the "persons present" parameter may include "present," "no one present," and "potentially present," or other parameters characterizing the presence, predicted state, or activity state of people within the space. For any given space, the system outputs the corresponding level number only when the preset active attribution condition for that space is met; wherein, the preset active attribution condition being met includes the "persons present" parameter indicating that the space is occupied.
[0295] In other embodiments, the manual takeover status can be determined by the source of equipment status changes, user manual control records, status item takeover flags, control command source identification, status change value comparison, or other methods. This invention does not limit the specific identification mechanism for the manual takeover status, nor does it limit the internal parameter values corresponding to the manual takeover status.
[0296] In other implementations, the states that the device should achieve may include on / off, brightness, color temperature, color, temperature, humidity, wind speed, wind direction, opening / closing ratio, operating mode, volume, playback status, or other state items that can be executed by the target device. Different devices may have different sets of states that should be achieved.
[0297] In other implementations, when the device attribution parameter changes, the system can immediately trigger the automated control process corresponding to the target device, or it can trigger it after a preset delay time, or after the relevant parameters have been updated. If the change in attribution parameter occurs simultaneously with changes in other parameters, the system can determine the triggering timing of the automated control process based on a preset order, parameter snapshots, or consistency verification results.
[0298] In other implementations, after the device attribution parameters change, the automated control process can act only on the target device, or it can act on other devices that are linked to the target device. This linkage relationship can be preset by the user, or it can be determined by the system based on spatial relationships, device types, or scenario rules.
[0299] In other implementations, if the target device does not exist in the current home space and therefore does not achieve the required state, the system does not output control commands for the target device. This "not outputting control commands" may include not outputting switch commands, not outputting state adjustment commands, not outputting mode switching commands, or not outputting other control commands that would change the state of the target device.
[0300] In other embodiments, the method of the present invention can be executed by a local control device, or by a cloud server, smart home host, IoT gateway, edge computing device, mobile terminal, or multiple devices working together. The present invention does not limit the specific executing entity, communication protocol, platform architecture, or data storage method.
[0301] In other embodiments, the device location space attribution parameters, non-location space attribution parameters, and device ownership parameters can be stored in a local database, cache, configuration file, cloud database, smart home platform entity, state variable, or other data structure capable of recording parameter values. This invention does not limit the specific storage format of the above parameters.
[0302] In other embodiments, the current home space of the target device may be recorded by a space identifier, room identifier, area identifier, user-defined name, system internal number, or other data representation methods that can characterize a spatial object. This invention does not limit the specific representation of the current home space.
[0303] In other implementations, the preset active attribution conditions can be configured by the user or generated by the system based on scene parameters, human parameters, device capabilities, spatial relationships, historical usage data, or other rules. Preset active attribution conditions can include a single condition or a combination of multiple conditions.
[0304] In other implementations, the service relationship between the space where the device is located and the spaces outside the space can be manually configured by the user or generated by the system based on spatial topology, apartment layout, device operating range, device installation location, sensor data, or historical control records. A target device can correspond to one space where the device is located and one space outside the space, or it can correspond to one space where the device is located and multiple spaces outside the space.
[0305] In other implementations, after the device attribution parameters are updated, the system can use the updated results for device control, scene judgment, spatial status calculation, linkage device screening, automation process triggering, parameter verification, or other smart home control processes.
[0306] It should be understood that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. For those skilled in the art, any equivalent substitutions, combinations or modifications made to the parameter form, triggering conditions, space type, device type, priority configuration method, module division method, parameter storage method or process execution method of the present invention without departing from the core concept of the present invention shall fall within the protection scope of the present invention.
[0307] The method steps in the embodiments of the present invention can be executed in the described order, or the execution order can be adjusted without affecting the technical effect, or some steps can be executed in parallel. The modules in the embodiments of the present invention can be merged, split, or combined in other ways, and the scope of protection of the present invention should not be limited by the module names or division methods in the specification.
[0308] The above description is only a partial embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements or combinations made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for dynamic attribution processing of cross-space intelligent devices, characterized in that, include: The system acquires the space where the target device is located, at least one non-location space, and parameter information for determining the ownership of the target device. The parameter information includes a preset active ownership condition corresponding to the space where the device is located, a human presence parameter in the space where the device is located, a human presence parameter corresponding to each non-location space, a preset active ownership condition corresponding to each non-location space, the manual takeover status of the target device, and a device ownership parameter representing the current ownership space of the target device. Based on the preset active attribution conditions of the space where the device is located, an attribution determination parameter for the space where the device is located is generated; wherein, the attribution determination parameter for the space where the device is located includes a level number or attributable, but does not include unattributable; when the preset active attribution conditions of the space where the device is located are met, the attribution determination parameter for the space where the device is located is the corresponding level number; when the preset active attribution conditions of the space where the device is located are not met, the attribution determination parameter for the space where the device is located is attributable. Based on the preset active attribution conditions of each non-local space and the manual takeover status of the target device, attribution determination parameters for each non-local space are generated; wherein, the attribution determination parameters for each non-local space include a level number, attributable or unattributable. When any preset active affiliation condition for a space other than the current location is met, the affiliation determination parameter for that space is set to the corresponding level number. When any non-local space does not meet the conditions for being determined as a level number, and the target device is in a manual takeover state, the non-local space is determined to be attributable based on its attribution parameter. When any non-local space does not meet the conditions for being determined as a level number, and the target device is not in a manually controlled state, the non-local space ownership determination parameter is determined as unowned. Based on the space ownership determination parameters of the device's location, the ownership determination parameters of each non-location space, the presence parameters of the people in the device's location space, and the device ownership parameters of the target device, the current ownership space of the target device is determined. Wherein, if a level number exists in the space ownership determination parameters of the device's location space or any non-location space ownership determination parameter, the current ownership space of the target device is determined according to the priority corresponding to the level number. If no level number exists, the current ownership space of the target device is determined by performing ownership retention, reselection, or rollback processing based on the presence parameters of the people in the device's location space, the device ownership parameters of the target device, and the attributable or unattributable results in each non-location space ownership determination parameter. Update the device affiliation parameters of the target device based on the determined current affiliation space.
2. The dynamic attribution processing method for cross-space intelligent devices according to claim 1, characterized in that, The level number is used to characterize the corresponding space's active affiliation requirement for the target device; the attributable level is used to characterize that the corresponding space has the qualification to be the current affiliation space of the target device, and the attributable level does not necessarily indicate that the corresponding space has an active control requirement; the non-attributable level is used to characterize that the corresponding non-location space does not participate in the current affiliation decision of the target device.
3. The dynamic attribution processing method for cross-space intelligent devices according to claim 1, characterized in that, The grade number is used to represent the ownership priority of the corresponding space; among multiple spaces corresponding to the same target device, the grade number is configured according to a preset rule, and the smaller the grade number, the higher the ownership priority.
4. The dynamic attribution processing method for cross-space intelligent devices according to claim 3, characterized in that, The level numbers of different spaces corresponding to the same target device are unique, and the level numbers of different target devices are not compared with each other; when multiple preset active affiliation conditions are met at the same time in the same space and correspond to different level numbers, the level number with the highest affiliation priority is taken as the output result corresponding to that space.
5. The dynamic attribution processing method for cross-space intelligent devices according to claim 1, characterized in that, The preset active attribution conditions of the space where the device is located are met, including: the presence parameter of the space where the device is located is that there are people, and under the current scene parameters, user preset rules or other control parameters, the space where the device is located has the expected state of the target device, or there is a user expectation for the target device to be turned on, turned off or have its state adjusted.
6. The dynamic attribution processing method for cross-space intelligent devices according to claim 1, characterized in that, The preset active attribution conditions for the non-local space are met, including: the presence parameter of the non-local space is that there are people, and under the current scene parameters, user preset rules or other control parameters, the non-local space has the expected state of the target device, or there is a user expectation for the target device to be turned on, off or have its state adjusted.
7. The dynamic attribution processing method for cross-space intelligent devices according to claim 1, characterized in that, When there is no level number, and the current affiliation space represented by the device affiliation parameter of the target device is a non-local space, and the affiliation determination parameter of the non-local space corresponding to the current affiliation space is affiliable, the device affiliation parameter of the target device remains unchanged.
8. The dynamic attribution processing method for cross-space intelligent devices according to claim 1, characterized in that, When there is no level number, and the current belonging space represented by the device affiliation parameter of the target device is a non-local space, and the non-local space affiliation determination parameter corresponding to the current belonging space is unaffiliated, if the person presence parameter of the device's local space is "occupied," then the device affiliation parameter of the target device is updated to the device's local space; if the person presence parameter of the device's local space is "occupied" and there is a non-local space with an affiliation determination parameter that is affiliable, then a target non-local space is determined from the non-local spaces with an affiliation determination parameter that is affiliable according to a preset selection rule, and the device affiliation parameter of the target device is updated to the target non-local space; if the person presence parameter of the device's local space is "occupied" and all non-local space affiliation determination parameters are unaffiliated, then the device affiliation parameter of the target device is updated to the device's local space.
9. The dynamic attribution processing method for cross-space intelligent devices according to claim 1, characterized in that, When there is no level number, and the current belonging space represented by the device affiliation parameter of the target device is the space where the device is located, if the person presence parameter of the space where the device is located is "occupied", then the device affiliation parameter of the target device remains the space where the device is located; if the person presence parameter of the space where the device is located is not "occupied" and there is a non-space whose affiliation determination parameter is "attributable", then a target non-space is determined from the non-spaces whose affiliation determination parameter is "attributable" according to a preset selection rule, and the device affiliation parameter of the target device is updated to the target non-space; if there is no non-space whose affiliation determination parameter is "attributable", then the device affiliation parameter of the target device remains the space where the device is located.
10. The dynamic attribution processing method for cross-space intelligent devices according to claim 8 or 9, characterized in that, The preset selection rules include one or more of the following: physical distance, spatial adjacency, user-preset sorting, system default sorting, priority of most recent affiliation, or random selection.
11. The dynamic attribution processing method for cross-space intelligent devices according to claim 1, characterized in that, When the device affiliation parameter of the target device changes, the automated control process corresponding to the target device is triggered or re-triggered; the automated control process generates the expected state of the target device based on the updated current affiliation space, the scene parameters corresponding to the current affiliation space, the human presence parameters of the current affiliation space, the user preset rules, and the current state of the target device.
12. The dynamic attribution processing method for cross-space intelligent devices according to claim 11, characterized in that, If the target device does not have the required state in the updated current home space, no control commands are output for the target device, and the target device remains in its current state.
13. The dynamic attribution processing method for cross-space intelligent devices according to claim 11, characterized in that, The target device includes a smart device having a switch control item, a status control item, or both a switch control item and a status control item; the state to be realized includes one or more of the following: switch state, numerical adjustment state, mode state, location state, media state, or other state items that can be executed by the target device.
14. The dynamic attribution processing method for cross-space intelligent devices according to claim 1, characterized in that, The target device is in a manual takeover state, including: any switch item and / or status item of the target device is in a takeover state formed by user operation.
15. A dynamic attribution processing system for cross-space intelligent devices, characterized in that, include: The parameter acquisition module is used to acquire the space where the target device is located, at least one non-location space, and parameter information for determining the affiliation of the target device; wherein, the parameter information includes the preset active affiliation conditions of the space where the device is located, the human presence parameters of the space where the device is located, the human presence parameters of each non-location space, the preset active affiliation conditions of each non-location space, the manual takeover status of the target device, and the device affiliation parameters representing the current affiliation space of the target device. The device location space attribution parameter generation module is used to generate device location space attribution parameters based on preset active attribution conditions of the device location space; wherein, the device location space attribution parameters include a level number or attributable, but do not include unattributable; when the preset active attribution conditions of the device location space are met, the device location space attribution parameters are the corresponding level number; when the preset active attribution conditions of the device location space are not met, the device location space attribution parameters are attributable. The non-location space attribution parameter generation module is used to generate attribution parameters for each non-location space based on the preset active attribution conditions of each non-location space and the manual takeover status of the target device. The non-location space attribution parameters include a level number, attributable, or unattributable. When the preset active attribution condition of any non-location space is met, the non-location space attribution parameter is determined to be the corresponding level number. When any non-location space does not meet the condition for being determined to be a level number, and the target device is in a manual takeover status, the non-location space attribution parameter is determined to be attributable. When any non-location space does not meet the condition for being determined to be a level number, and the target device is not in a manual takeover status, the non-location space attribution parameter is determined to be unattributable. The device affiliation decision module is used to determine the current affiliation space of the target device based on the device's current location affiliation parameters, affiliation parameters of each non-current location space, human presence parameters of the device's current location space, and device affiliation parameters of the target device. Specifically, when a level number exists in either the device's current location affiliation parameters or any non-current location affiliation parameters, the current affiliation space of the target device is determined according to the priority corresponding to the level number. When no level number exists, the module performs affiliation retention, reselection, or rollback processing based on the human presence parameters of the device's current location space, the target device's device affiliation parameters, and the attributable or non-attributable results of each non-current location affiliation parameters to determine the current affiliation space of the target device, and updates the target device's device affiliation parameters based on the determined current affiliation space.
16. The dynamic attribution processing system for cross-space intelligent devices according to claim 15, characterized in that, It also includes an automated process triggering module; The automated process triggering module is used to trigger or re-trigger the automated control process corresponding to the target device when the device ownership parameters of the target device change. The automated control process generates the desired state of the target device based on the updated current home space, the scene parameters corresponding to the current home space, the human presence parameters of the current home space, the user preset rules, and the current state of the target device. When the target device does not have the required state in the updated current home space, the automated control process does not output control commands for the target device, so that the target device remains in its current state.
17. An electronic device, characterized in that, It includes a processor and a memory, wherein the memory stores computer-executable instructions, and when the computer-executable instructions are executed by the processor, the dynamic attribution processing method for cross-space intelligent devices as described in any one of claims 1 to 14 is implemented.
18. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the dynamic attribution processing method for cross-space intelligent devices as described in any one of claims 1 to 14.